Good evening all,
Its been a while, but good to be back.
I had an opportunity to finally finish a project (LCD serial/I2C interface board) I had got printed, but never got to finish, and its not behaving quite as well as I would like (which I think might be a serial issue, but thought I'd throw the question out to those more knowledgeable than I)
The interface board uses Hippy's LCD interface code and acts as a serial/I2C wrapper around it and the code can be found here..no wait...attached...its too long.
Now the reason I say its behaving funny is because it works - sort of....
When I apply power it runs through the initialisation code, and as expected finishes by displaying:
And it does this over two lines, exactly as expected.
The problem is when I try to go from there.
I tried connected the download cable to the hserial port - no response. Slight modification, yep can receive correctly, but no response when I send anything.
Okay fine, modify the Main routine to simulate hserial using the serrxd, this time it triggers the interrupt, but instead of displaying my text, it filled the screen with a random shape. However, baud and polarity seem to be correct because I'm correctly receiving the "Serial" notification. I tried sending both control characters and regular ASCII, still nothing.
Knowing my luck, its simply because I'm using the serial monitor from the editor, but I thought someone might see something I've missed.
Thanks in advance for the help everyone.
Its been a while, but good to be back.
I had an opportunity to finally finish a project (LCD serial/I2C interface board) I had got printed, but never got to finish, and its not behaving quite as well as I would like (which I think might be a serial issue, but thought I'd throw the question out to those more knowledgeable than I)
The interface board uses Hippy's LCD interface code and acts as a serial/I2C wrapper around it and the code can be found here..no wait...attached...its too long.
Now the reason I say its behaving funny is because it works - sort of....
When I apply power it runs through the initialisation code, and as expected finishes by displaying:
Code:
[color=Red]"LCD Firmware"[/color]
[color=Red]"Version .5"[/color]
The problem is when I try to go from there.
I tried connected the download cable to the hserial port - no response. Slight modification, yep can receive correctly, but no response when I send anything.
Okay fine, modify the Main routine to simulate hserial using the serrxd, this time it triggers the interrupt, but instead of displaying my text, it filled the screen with a random shape. However, baud and polarity seem to be correct because I'm correctly receiving the "Serial" notification. I tried sending both control characters and regular ASCII, still nothing.
Knowing my luck, its simply because I'm using the serial monitor from the editor, but I thought someone might see something I've missed.
Thanks in advance for the help everyone.
Attachments
-
6.5 KB Views: 21