-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Guru Meditation Error: Core 1 panic'ed #3429
Comments
When checking again, I had a few lines more in the exception decoder, here the complete : PC : 0x420267fa PS : 0x00060430 A0 : 0x820269d8 A1 : 0x3fcebd20 Backtrace: 0x420267f7:0x3fcebd20 0x420269d5:0x3fcebd50 0x42026bf4:0x3fcebd80 0x420020bb:0x3fcebda0 0x4202be06:0x3fcebe10 0x4037ed22:0x3fcebe30 PC: 0x420267fa: is in TFT_eSPI::writecommand(unsigned char) (i:\arduino\hardware\espressif\esp32\sketches\S035\SjotterS035\libraries\TFT_eSPI\TFT_eSPI.cpp:81). Decoding stack results |
Hi Bodmer, |
I have put the question to github espressif-esp32 |
It would be nice to have a solution, as when I now compile other programs with 2.0.14, I get errors : |
I think this issue is a duplicate of: Did you try the workaround? |
Hi Bodmer, Can you confirm which workaround to test for the ESP32-S3 ? Note : As I mentioned before, I also have put this issue in github espressif-esp32, and they state that the issue is that TFT_eSPI library is not compatible with Arduino v3. Can you talk to them to understand how to make it compatible ? |
Hi Bodmer, |
oops, just found that you changed this already : |
Hi, |
In your TFT_eSPI.cpp, at line 81, you have SET_BUS_WRITE_MODE; |
OK, sorry I did not notice...
…On Mon, 5 Aug 2024 at 21:43, Alex ***@***.***> wrote:
Hi,
Sorry I'm not bodmer but just another user. Hope you get on well.
—
Reply to this email directly, view it on GitHub
<#3429 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMMBAJRHBUIK7BXVKNXLHYLZP7IUXAVCNFSM6AAAAABL6VTM6WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRZG44DKMRXGY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Hi, I came to the solution by reading soo many "solutions" that did not solve anything, In ESP32 technical reference manual, you can find FSPI, VSPI, HSPI, but these terms do not show up in the ESP32-S3 What has changed in ESP32 board package 2.015....I do not know, I have no access to it, and cannot get So had to look into the library part, and came to TFT_eSPI_ESP32_S3.h, where my solution with #define USE_HSPI_PORT #ifdef USE_HSPI_PORT Looking into this : I had selected ESP32-S3, so the first "if" is for ESP32 that it omits, then it defined I then added some print instructions to see which SPI_PORT selection from this snippet was made and had With //#define USE_HSPI_PORT (taking out), with ESP32-S3, it selects VSPI, and gives the GURU panic error. With //#define USE_HSPI_PORT , and Changing #define SPI_PORT FSPI to #define SPI_PORT 3 (2*) solved the issue So my conclusion is : when selecting processor ESP32 -->> FSPI, VSPI, HSPI can be used Hope this cures a lot of headackes, and would appreciate your feedback to know if my ideas are confirmed. |
Ture,dude! Looking closely at “SET_BUS_WRITE_MODE,” it actually executes the code “(volatile uint32_t)(((((0)>=2) ? (0x60024000 + (0-2) * 0x1000) : (0)) + 0x10)) = ((1UL << (27)))”. We can see that FSPI in the new version of the ESP32S3 firmware library refers to 0, and since 0>=2 is false, it returns the register address 0. Adding the offset 0x10 to register 0 and then performing a write operation causes a CPU panic and a reboot. A temporary solution is to change “SPI_PORT” to “SPI_PORT+2” in the following lines within “TFT_eSPI\Processors\TFT_eSPI_ESP32_S3.h”: |
ツ Hello!Many users are now using the (ILI9486 on) ‘Board package version 3.0.4 ESP32 by Espressif Systems.’ I am personally waiting for such support/update for ESP Board 3.0.4 |
Hi, I have esp32s3 zero, st7789 display and use sd library, esp32 3.1.0 board, Arduino ide |
ILI9486.txt
2.Arduino IDE 2.3.2
3. TFT_eSPI library version 2.5.43
4. Board package version 3.0.4 esp32 by espressif systems
5. ESP32 S3 DevkitC-1
6. TFT driver ILI9486
7. Interface type SPI
Plus further information as appropriate to the problem:
Sketch: ui FQBN: esp32:esp32:esp32s3
PC : 0x420267fa PS : 0x00060430 A0 : 0x820269d8 A1 : 0x3fcebd20
A2 : 0x3fc969a8 A3 : 0x00000000 A4 : 0x60004000 A5 : 0x00000010
A6 : 0x000000ff A7 : 0xff000000 A8 : 0x08000000 A9 : 0x3fcebcf0
A10 : 0x3fcaa72c A11 : 0x00000001 A12 : 0x02625a00 A13 : 0xffffffff
A14 : 0x00000031 A15 : 0x00000000 SAR : 0x00000006 EXCCAUSE: 0x0000001d
EXCVADDR: 0x00000010 LBEG : 0x4202ae24 LEND : 0x4202ae6b LCOUNT : 0x00000003
Backtrace: 0x420267f7:0x3fcebd20 0x420269d5:0x3fce
PC: 0x420267fa: is in TFT_eSPI::writecommand(unsigned char) (i:\arduino\hardware\espressif\esp32\sketches\S035\SjotterS035\libraries\TFT_eSPI\TFT_eSPI.cpp:81).
EXCVADDR: 0x00000010
Decoding stack results
0x420267f7: is in TFT_eSPI::writecommand(unsigned char) (i:\arduino\hardware\espressif\esp32\sketches\S035\SjotterS035\libraries\TFT_eSPI\TFT_eSPI.cpp:81).
0x420269d5: is in TFT_eSPI::init(unsigned char) (i:\arduino\hardware\espressif\esp32\sketches\S035\SjotterS035\libraries\TFT_eSPI\TFT_eSPI.cpp:692).
Any suggestions are welcome.
thanks in advance
best regards
Ludo
The text was updated successfully, but these errors were encountered: