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?
LCD2041 Displaying garbage
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)
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)