Hi all,
I tested a lcd screen for GPIO port of soekris, following instuctions of 2
links :
http://soekris.hejl.de/
http://centerclick.org/lcd/
I tried with a orion module 4*20 (datasheet on this link :
http://www.lextronic.fr/ODT/20x4/20416B.zip )
However, i got a little problem : i don't have display. I use the last gpio
driver 1.3.2 of Martin Hejland, tested and approuved by another user.. The
error_led, temp and voltage work fine.
But lcd4linux display nothing information. (link of the schema used :
http://paracyber.org/other/shema.PNG )
I use a 4-Bit wiring but without success :-(
Today, just one time the sign 0 on the display, after many configuration of
lcd4linux.
Here, the important part of my config file and the log of lcd4linux :
# GPIO HD44780 display (LCD4Linux wiring)
Display HD44780-gpio {
Driver 'HD44780'
Port '/dev/gpio0'
Size '20x4'
Bits '4'
asc255bug 0
Wire {
RW 'DB5'
RS 'DB4'
ENABLE 'DB6'
GPO 'GND'
}
}
Layout Test {
Row01.Col1 'Test'
Row02.Col1 'Test'
Row03.Col1 'Test'
Row04.Col1 'Test'
}
Display 'HD44780-gpio'
Layout 'Test'
Variables {
tick 500
tack 100
minute 60000
}
#############################################
Logs :
Darkvabox# lcd4linux -Fvv
Version 0.10.0 starting
plugin_cfg.c: Variable minute = '60000' (60000)
plugin_cfg.c: Variable tack = '100' (100)
plugin_cfg.c: Variable tick = '500' (500)
lcd4linux.c: initializing driver HD44780
HD44780: using model 'generic'
HD44780: using parallel port
HD44780: using 1 Controller(s)
HD44780: using 4 bit mode
udelay: CPU supports Time Stamp Counter
udelay: CPU runs at 266.655000 MHz
udelay: using TSC delay loop, 267 ticks per microsecond
HD44780: using ppdev /dev/gpio0
HD44780: wiring: [DISPLAY:RS]<==>[PARPORT:DB4 (Pin 6)]
HD44780: wiring: [DISPLAY:RW]<==>[PARPORT:DB5 (Pin 7)]
HD44780: wiring: [DISPLAY:ENABLE]<==>[PARPORT:DB6 (Pin 8)]
HD44780: wiring: [DISPLAY:ENABLE2]<==>[PARPORT:GND]
HD44780: wiring: [DISPLAY:ENABLE3]<==>[PARPORT:GND]
HD44780: wiring: [DISPLAY:ENABLE4]<==>[PARPORT:GND]
HD44780: wiring: [DISPLAY:BACKLIGHT]<==>[PARPORT:GND]
HD44780: wiring: [DISPLAY:GPO]<==>[PARPORT:GND]
HD44780: not using busy-flag checking
initializing layout 'Test'
lcd4linux.c: starting main loop
Another very important thing: I am a shit in electronics :)
If somebody can confirm that lcd4linux is valid and shoud be working ...
perhaps that my connections are bad :-S (but i tested and re-tested)
Any ideas ?
Thank,
David
|