-
Notifications
You must be signed in to change notification settings - Fork 262
The screen seems to break when I call Update.write() #786
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
Comments
You can change i2sspeed the to try. I found that this parameter will affect WiFi.
|
Thank you for your reply, however it was not effective. |
Interesting. I'll try have a look and see if I can replicate. |
I figured it out what is the problem. I'm not an expert for esp32, ESP-IDF, and DMA.. so I can't explain it well. I recommend you to see this thread: so I modified it and now working charm! However, this change ONLY works under the ESP-IDF framework because it requires the use of the esp_cache_msync() API. so I'm hesitant to pull request this change. |
Can you create a pull request with code that detects if the library is being compiled using the esp32-arduino framework or not? And includes this work around if no Arduino. They would be greatly appreciated. |
Why? Just call it from Arduino. |
Sorry, Forget about it. I just forget to include esp_cache.h. |
When I tried to use under ESP-IDF it works okay but after change to arduino framework, the screen crashes. so I temporally changed 226th line of gdma_lcd_parallel16.cpp
to
|
I think I misunderstood this problem has been solved. my screen still crashing in arduino framework when I tried to update. EDIT: I set the target_compile_option() in CMakeLists.txt on my ESP-IDF framework workspace like this:
but SPIRAM_FRAMEBUFFER doesn't seems to work. even MATRIX_ONE_SCAN (I added it in my forked code) is working. it's strange, anyway in ESP-IDF framework test application was always using internal sram, not the psram. So.. my code is definitely not effective anything to this problem. |
See if using |
Okay, don't mind about using ESP-IDF framework, I will focusing to solve this problem now..
When screen is gone. my pseudo code:
https://www.youtube.com/watch?v=Ko0QhLQT7tY I don't know what makes it set to 0. |
That's bizarre, potentially worth reporting to the esp-idf repository. |
Uh oh!
There was an error while loading. Please reload this page.
I wanted to show OTA progress to my led matrix like this: #50 (comment)
But I cannot print anything to my led matrix while OTA updating..
I think when the Update.write() is called, the led matrix screen breaks.
https://www.youtube.com/watch?v=WrNr8dVeAxI
I'm using esp32s3 n16r8 with PSRAM on.
I'm using 6 panels now, so I must enable SPIRAM_FRAMEBUFFER.
This is my sample test code:
platformio.ini
ESP32HTTPUpdateServer.h (From ESP MQTT Client, avdovin/ESP MQTT Client)
main.cpp
What is the problem and How can I solve this?
The text was updated successfully, but these errors were encountered: