I have read the posts here about using the TS7800 TTL (LCD) serial
port but I cannot get it to work.
So far I have done this:
root# apt-get install minicom
installed fine
root# modprobe tsuart1
root# modprobe tsuart7800
root# lsmod
tsuart1
tsscard
tsuart7800
root# ./mdev -s
I set minicom to read ttts7, 4800 baud, 8bits, 1 stop, no flow
control.
This is where I get lost.
I tried the serial test code in:
http://tech.groups.yahoo.com/group/ts-7000/messages/9378?
threaded=1&m=e&var=1&tidx=1
but when compiling I get this warning:
serial.c: In function 'UART_init':
serial.c:119: warning: large integer implicitly truncated to unsigned
type
When I run this program it freezes the system.
I also tried term.c but and I got this error:
:root# gcc -o term term.c
/usr/lib/gcc/arm-linux-gnu/4.1.2/../../../crt1.o: In function
`_start':
../sysdeps/arm/elf/start.S:94: undefined reference to `main'
collect2: ld returned 1 exit status
Does anybody know what commands I must use to set the LCD uart for
4800 8N1 no flow?
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/
|