[Lcdproc] lcdserializer problems
Christian Kruft
ckruft@dev0.sytes.net
Thu Aug 3 12:47:03 2006
Hey,
I've completly rewritten Tom Coonan's lcdserialzer code to make it work
on a PIC16F873 using hardware UART (with 9600 bauds) and interrupts. The
LCD is only connected with 4 bits and I'm checking the R/W port to see
if the display is busy. His windows Tool LCDSerializer is working fine,
explode, marquee and so on without problems. I can also send commandos
and strings from the linux console.
echo -ne '\xFE' > /dev/ttyS0 (cmd mode)
echo -ne '\x01' > /dev/ttyS0 (clear display)
echo -n just testing my asm > /dev/ttyS0 (show "just testing my
asm" on LCD)
all ok until here but lcdproc doesn't work :(
I think the init isn't correct - only garbage appears on LCD. I've
tested the 0.5.0, the CVS and the patch from here
http://wiki.ilc.pd.it/ilc_wiki/LcdprocSerial.
What might be the problem? Some timings or a 4/8 bit issue? Don't know
about coding in C, so I can't play with the source.
When working, I'm going to make the new ASM public.
Greetings, Christian