New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pi Pico with P5 panels "crashing" the displays #89
Comments
Hi!
Could you please show the code that produce this result? |
These particular panels are P5 64x32 using SMD2121 RGB LEDs and IC: 16207 / ICN2038S with 1/16 scan. I will create a minimalist example to share. One observation is that it might occur quicker/more often when the flash is being read frequently. |
Is the other code in PiPico still running after display stucks? |
This is also a great question, I haven't checked that yet. So a minimal example that should induce the crash and also logs to Serial from time to time? |
It would help, I think. |
Addition |
What were the symptomps, though? |
The image on panels freezes after a few hours of work. It seems to be a bad soldering on the plate. |
Still trying to get a minimal easy reproduction. So far I've noticed that single panel seems less prone to this crash than chained panels. |
And yes, after the display crashes the serial messages still go on. |
OK. I got it. https://github.com/DoomHammer/dmd-crash This with two 64x64 panels crashes the screen within several seconds (and later still posts Serial messages). |
Tried that with a single panel and it seems to be crashing as well. |
Thank you, I will test it and see what I can do with it. |
Hi |
1.1.2 |
The base class of DMD_RGB is the DMD_RGB_BASE2, not the DMD_RGB_BASE. Using the DMD_RGB_BASE can lead to unpredictable results. |
And we have unpredictable results 😅 Why is it so, though? |
Same results with |
Thank you for the info. |
Hi To the file DMD_RGB.cpp in the method
just before the lines :
(these are lines 290-291 according to the latest version of the library). Let me know if this solves the problem. |
It definitely works better now. I will test on some other workloads as well. Should I create a PR with this? |
It is up to you. If not, I will add this in the next commit (if your tests confirm that it works, of course). |
BTW: any ideas why this seems to be more pronounced when there's a lot of flash reading? |
Thank you, PR merged. |
Fixed in 6916082 |
Recently I've observed this behavior on P5 panels, but I think I've seen this before with others as well.
The thing can manifest itself either earlier or later and I haven't found any rule to why this happens.
Basically, after some time of scrolling various images (either text or bitmaps) the display stays stuck on some rectangular patterns and doesn't update any further.
Here are some examples of the crashed displays:
What might be the reason for this behavior and how can we remedy it?
The text was updated successfully, but these errors were encountered: