LCD2041 Displaying garbage

LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT Series

Moderators: Henry, Mods

Post Reply
linuxdude
LCD?
Posts: 4
Joined: Mon Jun 26, 2006 1:53 pm

LCD2041 Displaying garbage

Post 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?
Raquel
Matrix Orbital
Matrix Orbital
Posts: 834
Joined: Thu Aug 19, 2004 3:37 pm
Location: MO Office

Post 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.
Raquel Malinis
Design and Development
Matrix Orbital
linuxdude
LCD?
Posts: 4
Joined: Mon Jun 26, 2006 1:53 pm

Post 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)
Raquel
Matrix Orbital
Matrix Orbital
Posts: 834
Joined: Thu Aug 19, 2004 3:37 pm
Location: MO Office

Post 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,
Raquel Malinis
Design and Development
Matrix Orbital
Post Reply