PDA

View Full Version : Trying to attach a Magellan Sportrak



Ubicumque
November 18th, 2006, 14:51
Hi ppl, thanks to all that have helped Deniska in the project, and Deniska, for all that work and the great idea.

Well, I'm trying to add to the list of supported devices the following device.

Magellan Sportrak Pro

http://img100.imageshack.us/img100/8058/b00006418901ss500sclzzzez9.jpg
http://img157.imageshack.us/img157/7631/proinsidea2wf6.jpg

It supports various versions of NMEA, the last that it can hold is the V2.1 GSA. I don't know if it is fully supported by the scripts of Deniska or if it will need some modifications, but this is not the point now :cool: , and the following baud rates, [1200,4800,9600,19200,57600,115200].

According to http://pinouts.ru/ this is the pinout:

http://img92.imageshack.us/img92/459/pinoutsv7.jpg

So I've connected the units like this:
Magellan ---> PSP
pin 3 GND ---> pin 2 GND
pin 4 TXD ---> pin 6 RXD

I've checked the TX voltage with the multimeter and never exceeds 3.3V. I didn't try with any resistor, but I have some them here :D

GPSlim always says that isn't any unit connected, so I decided to try with the serial port echo from lua player, and this is what the screen shows.

I've tried all the baud rates changing the line "System.sioInit(xxxx)" and matching the baud rate in the unit but the result is always the same.

http://img453.imageshack.us/img453/2686/echosu4.jpg

So... any suggestion?

I'll attach a portion of nmea sentences from this device.

Thanks in advance, and sorry about my bad english I'm from... well, look at the nmea file :thumbup:

Ubicumque
December 9th, 2006, 02:09
Wow, I can't handle this amount of feedback :P

Please, anybody know what I'm doing bad? ^^

Thanks in advance.

A Fn NOOB
December 9th, 2006, 06:54
Hi, first.... what options does the GPS unit give you as far as selecting output protocol/ bitrate?



Try swapping the tx tx. This site suggests that the pinout is different than the one you posted.

http://silicon-verl.de/home/flo/projects/meridian/

Ubicumque
December 10th, 2006, 22:05
Hi, first.... what options does the GPS unit give you as far as selecting output protocol/ bitrate?

Related to the output interface I think that these are the only ones:

http://static.flickr.com/132/318877325_b9c9cb0bef.jpg (http://www.flickr.com/photos/19915365@N00/318877332/)http://static.flickr.com/140/318877332_6396e2def8.jpg (http://www.flickr.com/photos/19915365@N00/318877332/)http://static.flickr.com/140/318919050_402411d94d.jpg (http://www.flickr.com/photos/19915365@N00/318919050/)

If you select off the port stop working. The others modify a little bit the output format of the strings (I don't know nothing about the nmea standard).



Try swapping the tx tx. This site suggests that the pinout is different than the one you posted.

http://silicon-verl.de/home/flo/projects/meridian/

I think that the guy in this site is talking about the connector not the port.

http://static.flickr.com/131/318707060_1e3b5223cc.jpg (http://www.flickr.com/photos/19915365@N00/318707060/)

Anyway I've tried switching the tx-rx and the screen only show dots from the echo program :(

Thanks for the reply A Fn NOOB :) :) :)

deniska
December 12th, 2006, 22:45
Hey,
Sorry for a delayed response. I don't check this part of the forum too often...
Anyway, it seems like your device baud may be different from whatever the lua player is set to...
In any case lua is probably too slow to read it correctly... I suggest that you try to recompile the sample, attached to this thread:
http://forums.ps2dev.org/viewtopic.php?t=6294
http://files.futaris.org/psp/pspgpslim236/pspgpslim236.zip
(you just need to change 38400 to whatever baud you use)...

Well, let me know if it works...
BTW, I think, someone already connected some Magelan device to map this... Search through my forums, you may just find relative info....

PS: the nmea data file looks ok...

Ubicumque
December 15th, 2006, 00:02
Thanks for the reply.

I have gathered the latest toolchain on my debian sarge box (it's a little tricky because it has a problem with the last automake on debian, but at last I've installed it), I don't know if I'm doing this in the correct way.

After unzipping the directory of the pspgpslim I run the following commands:

(editing main.c to match 57600).

$ make
$ mv EBOOT.PBP pspgpslim236/
$ mv PARAM.SFO pspgpslim236%/EBOOT.PBP

Then I copy the directories to the MS but the application did not start

Impossible to start the game.
(8002001)
http://static.flickr.com/128/322571402_efd3a4dc35_m.jpg (http://www.flickr.com/photos/19915365@N00/322571402/)

I think that you have compiled it over cygwin, can you compile it for me to match the 57600 and/or 19200 please? I don't know that if it's my fault or I'm not compiling with the right version of toolchains... I've limited access to a windows box, but if you can't compile it for me I'll try to gather the right privileges ^^.

I've tried with the gpslim version that you have provided in the links and this is the result (my device didn't have the 38400 baud rate, this is at 19200).

This is the result:
http://static.flickr.com/126/322591373_1a96bb2f7f.jpg (http://www.flickr.com/photos/19915365@N00/322591373/)

I also have tried the 4800 binary from this page of your post http://www.dcemu.co.uk/vbulletin/showthread.php?t=30035&page=2 but the screen keeps saying that I need to connect the gps...

Thanks for the replies guys, and sorry the image-spamming ^^'

Ubicumque
December 15th, 2006, 13:56
ok ok make kxploit :rofl:

Researching...

Ubicumque
December 15th, 2006, 15:06
Ok, I've compiled it for 4800, 19200, 57600 and 115200, NONE of the speeds drops out readable strings :(

At higher speeds the strings looks like shorter :confused: like the psp is cutting down them... anyway, the string is not readable :(

This is the result at 4800:

http://static.flickr.com/142/323065457_d5bc803c28.jpg (http://www.flickr.com/photos/19915365@N00/323065457/)

Edit: Is there any specific setup related to the umd drive or the wifi switch? I've read somewhere that you need to have the umd tray empty and the wifi switch off is this correct ?

deniska
December 18th, 2006, 18:36
hmm, could that be that the signal level is too low on your device? I got gibberish with my setup too, until I lowered the resistor value to ~1K....
Have you tried to use a resistor? Could that be that the '0' level on your device is too high, and this confuses the psp? try to plug in different values (100,200,500 ohms and maybe 1k,2k) and run your prog with different baud settings again.
It's more likely to work with lower bauds (4800, 9600)....
Well, let me know if you make any progress...
It took me about a week to figure out my setup for holux device ;-)