Jump to content

ST7565 and ChibiOS


antoncoetzee

Recommended Posts

So, after sorting my last problem with ChibiOS (Turns out the -O2 was optimising out something important in uGFX), it's now working great, except for a frustrating issue - after a few minutes (varies, from 3-10 minutes), the screen goes blank. The threads writing to the LCD are all still running fine, but it just goes blank.

Any ideas?

Link to comment
Share on other sites

are you absolutely sure that the rest of the system keeps running? If so this must be either some weird hardware issue or a bug in the LCD controller.

To be more specific: Does this happen if you display something and leave it for 3-10 minutes without ever refreshing the contents of the display controller or does this only happen when you're writing something new?

~ Tectu

Link to comment
Share on other sites

Hmm. Good point, hadn't thought about seeing whether it happens under constant refresh or not.

Turns out it happens in both instances. Testing using MBed, it works fine, so it doesn't seem to be a hardware issue.

With ChibiOS (2.whatever and 3.0) and uGFX, it goes blank after a few minutes. Need to dig a bit deeper....

Link to comment
Share on other sites

This sounds like it will be very difficult to debug. Can you please add some kind of heart-beat thread that flashes and LED and prints out some text through the serial port every 500ms and see if it keeps running w/o any problems as soon as the display "freezes"?

it might also be a good idea to check the signals on the physical interface of the display.

~ Tectu

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...