I am unable to get the tolcd program under
ftp.embeddedarm.com/ts7800/tolcd working with the TS7800 and an
OP-LCD-LED, I just get the first row with black sqaures. I looked at
the source code, curiously, it mentions that the LCD header on the
board is the mirror of the LCD module. However there seems to be pin
inconsistencies between the comments in the source code and the
preliminary data sheet of the TS7800.
The Source code says:
/*
HD44780 character based LCD
Pin Assignments
---------------------------------
1 GND
2 +5V
3 contrast
4 I RS (0=instruction, 1=data)
5 I RW (0=write, 1=read)
6 I E (enable)
7 I/O DB0 (data bus line 0, lsb)
8 I/O DB1 ...
9 I/O DB2
10 I/O DB3
11 I/O DB4
12 I/O DB5
13 I/O DB6
14 I/O DB7 (data bus line 7, msb)
Mirrored Pin Assignments
---------------------------------
1 GND
2 +5V
4 contrast
3 I RS (0=instruction, 1=data)
6 I RW (0=write, 1=read)
5 I E (enable)
8 I/O DB0 (data bus line 0, lsb)
7 I/O DB1 ...
10 I/O DB2
9 I/O DB3
12 I/O DB4
11 I/O DB5
14 I/O DB6
13 I/O DB7 (data bus line 7, msb)
*/
Where as the preliminary datasheet says:
pin bit pull
1 16 +5V
2 17 GND
3 18 N/A
4 19 470ohminline
5 20 51.1ohm(1%) inline
6 21 N/A
7 22 HI via 2.2k
8 23 HI via 2.2k
9 24 HI via 2.2k
10 25 HI via 2.2k
11 26 HI via 2.2k
12 27 HI via 2.2k
13 28 HI via 2.2k
14 29 HI via 2.2k
Pin 6 is described as N/A whereas the statement above says that the
Header is the mirror of the LCD module hence Pin 6 should be RW if it
is mirrored and E if it is not, regardless, the N/A does not make sense.
Did anybody get the tolcd program to work with TS7800?
Moussa
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/
|