Serial port not working on GTA02 with debug board
Abhishek Bajpai
abhisheietk at gmail.com
Tue Jun 9 09:51:00 CEST 2009
2009/6/9 Timo Juhani Lindfors <timo.lindfors at iki.fi>
> Abhishek Bajpai <abhisheietk at gmail.com> writes:
> > but I am not using getty instead I am using minicom with same baudrate.
>
> Did you check if the terminal settings are exactly same (stty -F
> /dev/ttySAC2 -a)?
>
> root at om-gta02:~# stty -F /dev/ttySAC2 -a
speed 115200 baud; rows 24; columns 80;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>;
eol2 = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W;
lnext = ^V; flush = ^O; min = 1; time = 0;
-parenb -parodd cs8 -hupcl -cstopb cread clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon
-ixoff
-iuclc -ixany -imaxbel
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0
ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt
echoctl echoke
root at om-gta02:~#
+++++++++++++++++++++++++++++++++++++++++++++
abhishek at abhishek-desktop:~$ stty -F /dev/ttyUSB0 -a
speed 9600 baud; rows 0; columns 0; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>;
eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt =
^R;
werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0;
-parenb -parodd cs8 hupcl -cstopb cread clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon
-ixoff
-iuclc -ixany -imaxbel -iutf8
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0
ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt
echoctl echoke
abhishek at abhishek-desktop:~$
This shows that the settings are not same.....
but on minicom I am using same baudrate for both. Even If i change the
baudrates on both. I am able to get oneway response
Computer>minicom ---> GTA02>minicom ----> Even I am getting some special
charactors echoed back on the Computer>minicom
but not getting any response from
GTA02>minicom ----> Computer>minicom (No Response)
--
" Even The word Impossible says I M Possible"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/devel/attachments/20090609/ab7d007b/attachment.htm
More information about the devel
mailing list