Page 1 of 1

LCD2041 Displaying garbage

Posted: Tue Oct 03, 2006 4:30 pm
by linuxdude
HARDWARE SETUP:
LCD2041-WB connected via serial on com2 via the onboard connector at 19200-8N1
VIA EN12000EG mini-itx motherboard
Linux OS (Debian)

ISSUE DESCRIPTION:
When I write to the serial port I get output on the display, it just isn't readable...it's garbage.
I have used the same LCD2041-WB connected to my development box running the same version of Debian and the same software and everything worked. The development box is a standard x86 intel motherboard.
When I connected the LCD2041 to my VIA EN12000EG motherboard using the same version of linux and serial port software, I just get garbage when writing to the display.
I double checked my serial connections and everything is fine.

Does anybody have any ideas about this one?
Has anybody used the Matrix Orbital LCD2041-WB serial connected to VIA motherboards before?

Posted: Wed Oct 04, 2006 1:07 pm
by Raquel
Hello linuxdude,

I have not heard of the same problem; nor people using VIA motherboards here at the office. I hope that we get some replies from those who are using them, more so if they have an MO module they can try out.

Posted: Wed Oct 04, 2006 4:52 pm
by linuxdude
Turns out it was a BAUD rate issue.
Seems as though on my development machine, I ran a testing program called lcdproc. This program set the baud rate correctly, so when I would run my own program the rate was already set correctly.

When I put the program on my VIA board, the baud rate was never set correctly. I figured it out when I put the testing program (lcdproc) on the VIA motherboard and my program and the display worked perfectly after that.

I fixed my program and now everything is working correctly.

Thanks for all your help.

---Dean (aka. linuxdude)

Posted: Wed Oct 04, 2006 5:16 pm
by Raquel
Hello Dean,

I am glad to hear that you figured it out. I do not think I helped out at all, but it sure is good to hear that things are working now on your VIA board. :)

Best Regards,