You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I'm trying to use your library on ESP32. I tried both C3 and S3, but once the program is built and uploaded, the device ends up in an infinite reboot loop.
These are the values from User_Setup.h
// For ESP32 Dev board (only tested with ILI9341 display)
// The hardware SPI can be mapped to any pins
#define TFT_MISO 5
#define TFT_MOSI 6
#define TFT_SCLK 4
#define TFT_CS 7 // Chip select control pin
#define TFT_DC 2 // Data Command control pin
#define TFT_RST 3 // Reset pin (could connect to RST pin)
//#define TFT_RST -1 // Set TFT_RST to -1 if display RESET is connected to ESP32 board RST
Driver is currently left as default ILI9341. The other pin definition has been commented. Nothing else was changed.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I'm trying to use your library on ESP32. I tried both C3 and S3, but once the program is built and uploaded, the device ends up in an infinite reboot loop.
These are the values from User_Setup.h
// For ESP32 Dev board (only tested with ILI9341 display)
// The hardware SPI can be mapped to any pins
#define TFT_MISO 5
#define TFT_MOSI 6
#define TFT_SCLK 4
#define TFT_CS 7 // Chip select control pin
#define TFT_DC 2 // Data Command control pin
#define TFT_RST 3 // Reset pin (could connect to RST pin)
//#define TFT_RST -1 // Set TFT_RST to -1 if display RESET is connected to ESP32 board RST
Driver is currently left as default ILI9341. The other pin definition has been commented. Nothing else was changed.
Regardless of what arduino example I use, the ESP32 ends up in infinite reboot loop. This is what it sends over the serial over and over again.
14:26:23.863 -> ELF file SHA256: 2134cb4b0e8a4884
14:26:23.863 ->
14:26:23.863 -> Rebooting...
14:26:23.863 -> ESP-ROM:esp32c3-api1-20210207
14:26:23.863 -> Build:Feb 7 2021
14:26:23.863 -> rst:0x3 (RTC_SW_SYS_RST),boot:0xc (SPI_FAST_FLASH_BOOT)
14:26:23.863 -> Saved PC:0x40048b82
14:26:23.863 -> SPIWP:0xee
14:26:23.863 -> mode:DIO, clock div:1
14:26:23.863 -> load:0x3fcd5820,len:0x1058
14:26:23.863 -> load:0x403cc710,len:0x8a8
14:26:23.863 -> load:0x403ce710,len:0x2fac
14:26:23.863 -> entry 0x403cc710
14:26:24.297 -> Guru Meditation Error: Core 0 panic'ed (Store access fault). Exception was unhandled.
14:26:24.297 ->
14:26:24.297 -> Core 0 register dump:
14:26:24.297 -> MEPC : 0x42002496 RA : 0x42002486 SP : 0x3fc96020 GP : 0x3fc8c400
14:26:24.297 -> TP : 0x3fc851a4 T0 : 0x00051616 T1 : 0xffc3ffff T2 : 0x00000000
14:26:24.297 -> S0/FP : 0x60004000 S1 : 0x3fc8d060 A0 : 0x00000001 A1 : 0xffffffff
14:26:24.297 -> A2 : 0x00000000 A3 : 0x00800000 A4 : 0x08000000 A5 : 0x00000010
14:26:24.297 -> A6 : 0x00000002 A7 : 0x00000020 S2 : 0x00000000 S3 : 0x00000000
14:26:24.297 -> S4 : 0x00000000 S5 : 0x00000000 S6 : 0x00000000 S7 : 0x00000000
14:26:24.297 -> S8 : 0x00000000 S9 : 0x00000000 S10 : 0x00000000 S11 : 0x00000000
14:26:24.297 -> T3 : 0x01927358 T4 : 0x0196e6aa T5 : 0x00000041 T6 : 0x0000000f
14:26:24.297 -> MSTATUS : 0x00001881 MTVEC : 0x40380001 MCAUSE : 0x00000007 MTVAL : 0x00000010
14:26:24.297 -> MHARTID : 0x00000000
14:26:24.297 ->
14:26:24.297 -> Stack memory:
14:26:24.297 -> 3fc96020: 0x00000003 0x00000000 0x019bfcc0 0x00000001 0x00000001 0x3fc8d000 0x3fc8d060 0x420027e0
14:26:24.297 -> 3fc96040: 0xa5a5a5a5 0x00000000 0x00000000 0x00000014 0x00000000 0x00000000 0x3fc8d000 0x42000074
14:26:24.297 -> 3fc96060: 0x00000000 0x3fc8bca0 0x00000001 0x42007b5e 0x00000000 0x00000000 0x4200813c 0x00000000
14:26:24.297 -> 3fc96080: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
14:26:24.297 -> 3fc960a0: 0x00000000 0x00000000 0x00000000 0x42008164 0x00000000 0x00000000 0x00000000 0x4038755a
14:26:24.297 -> 3fc960c0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
14:26:24.297 -> 3fc960e0: 0x00000000 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xbaad5678 0x00000160
14:26:24.297 -> 3fc96100: 0xabba1234 0x00000154 0x3fc96050 0xc1f07468 0x3fc926c0 0x3fc8d6c0 0x3fc96108 0x3fc8d6b8
14:26:24.297 -> 3fc96120: 0x00000018 0xb0dbd492 0x91fe7bac 0x3fc96108 0x00000000 0x00000001 0x3fc940f8 0x706f6f6c
14:26:24.297 -> 3fc96140: 0x6b736154 0xd079d900 0x0017e6c6 0x00000000 0x3fc960f0 0x00000001 0x00000002 0x00000000
14:26:24.297 -> 3fc96160: 0x00000000 0x00000000 0x3fc8f480 0x3fc8f4e8 0x3fc8f550 0x00000000 0x00000000 0x00000001
14:26:24.297 -> 3fc96180: 0x00000000 0x00000000 0x00000000 0x42022d2c 0x00000000 0x00000000 0x00000000 0x00000000
14:26:24.297 -> 3fc961a0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
14:26:24.297 -> 3fc961c0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
14:26:24.297 -> 3fc961e0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
14:26:24.297 -> 3fc96200: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
14:26:24.297 -> 3fc96220: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
14:26:24.297 -> 3fc96240: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x1f000000 0xbaad5678
14:26:24.297 -> 3fc96260: 0x00000060 0xabba1234 0x00000054 0x00000000 0x3fc9626c 0x3fc96108 0x00000000 0x00000000
14:26:24.297 -> 3fc96280: 0x3fc96284 0xffffffff 0x3fc96284 0x3fc96284 0x00000000 0x3fc96298 0xffffffff 0x3fc96298
14:26:24.297 -> 3fc962a0: 0x3fc96298 0x00000000 0x00000001 0x00000000 0x8d00ffff 0x00000000 0xb33fffff 0x00000000
14:26:24.297 -> 3fc962c0: 0xbaad5678 0x00000060 0xabba1234 0x00000054 0x00000000 0x3fc962d0 0x00000000 0x00000000
14:26:24.297 -> 3fc962e0: 0x00000000 0x3fc962e8 0xffffffff 0x3fc962e8 0x3fc962e8 0x00000000 0x3fc962fc 0xffffffff
14:26:24.297 -> 3fc96300: 0x3fc962fc 0x3fc962fc 0x00000001 0x00000001 0x00000000 0x8300ffff 0x00000000 0xb33fffff
14:26:24.297 -> 3fc96320: 0x00000000 0xbaad5678 0x0000001c 0xabba1234 0x00000010 0x00000000 0x00000000 0x3fc8bc90
14:26:24.297 -> 3fc96340: 0x4200742a 0xbaad5678 0x00029cb1 0x3fc8ed54 0x3fc8ed54 0xc2f6a22e 0xbc928437 0x911cb1cd
14:26:24.297 -> 3fc96360: 0x72f6650e 0xd6985dd0 0xab0b8f3c 0xd80617e3 0xd28cff6b 0xcfdde1a7 0xc7ef99a7 0xaeb19972
14:26:24.297 -> 3fc96380: 0xa3aaac89 0xfbe53e4a 0x94a9c3f4 0xfa5610e4 0xaad2b710 0xe254ac9e 0x89dde6a3 0xf544e00a
14:26:24.297 -> 3fc963a0: 0x6f0a54d4 0x130e6d0a 0x01ef5f07 0xf86a5866 0x6705a77c 0xee39f7bf 0xe143ac68 0xe1c9b59b
14:26:24.297 -> 3fc963c0: 0x1a61a31d 0x5bc2d5a2 0x3f9295d5 0x9c3171e7 0x12f4ce00 0xee38242d 0xfb374c0a 0xd2fdd789
14:26:24.297 -> 3fc963e0: 0x4df9c099 0xb6c932a4 0x766b2969 0x1fff0d68 0xf1659eb7 0x448af921 0x5d9b89f5 0xf65ad4f9
14:26:24.297 -> 3fc96400: 0x76f41718 0x17b89c27 0x8a318d5c 0x15f13eb9 0xd4122352 0x4853e8d7 0xec025aa7 0xe4150082
Any ideas, what should I look for?
Beta Was this translation helpful? Give feedback.
All reactions