On Sun, 8 Oct 2006, Rob wrote:
> Sorry I am not clear. I normally use COM1 to login with the jumpers set at
> #2 and #3 in
> that configuration with " T1:23:respawn:/sbin/getty -L ttyAM1 115200 vt100"
> commented
> out in the /etc/inittab file I just get zero data.
>
> I temporarily set the jumper to #2 and #4 to see if anything could use COM2,
> in that
> configuration I could see the console but it wanted a password to login
> (something the
> same system did not want on COM1, I found that bizarre.
>
> I could not login using COM2 as the console and connecting the GPS to COM1 as
> it wanted
> a password and I do not have one set. This prevented me from seeing if it
> was code or
> port.
>
At this point, I'd connect a null modem cable to /dev/ttyAM1 and to a PC
rs232 port, with a terminal emulator running on it.
I'd uncomment the the inittab entry (you do not need to reboot - use the
command "kill -1 1", it means send process number 1 (always init) the HUP
signal) and make sure you can login on that port and use the shell.
That proves the hardware works.
Then comment out the getty on ttyAM1, and try your program to the terminal
emulator (set the baud rate etc). See if you get anything.
ttyAM1 has no control signals (RTS, DTR etc), so in the GPS set needs
control to see e.g. DSR &/or CTS then this has to be faked by a suitably
looped back cable connection at the gps end - (usually DTR linked DSR and
DCD, and RTC linked to CTS - google should throw up laods of pages
explaining).
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|