# Blinking Rainbow LED - What Does It Mean?

**URL:** <https://forum.arduino.cc/t/blinking-rainbow-led-what-does-it-mean/1318337>\
**Category:** Nano ESP32\
**Created:** [November 4, 2024, 7:43am UTC](https://forum.arduino.cc/t/blinking-rainbow-led-what-does-it-mean/1318337 "2024-11-04T07:43:20Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![gchliu](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/gchliu/32/1101590_2.png) [@gchliu](https://forum.arduino.cc/u/gchliu)\
**Post date:** [November 4, 2024, 7:43am UTC](https://forum.arduino.cc/t/blinking-rainbow-led-what-does-it-mean/1318337/1 "2024-11-04T07:43:21Z")

</div>

So far I am not having much luck in getting my ILI9488 TFT to work with Nano ESP32.

Each time I compile and upload example display programs, Nano would go into a strange state, where the LED blinks slowly from Blue-\>Red-\>Green and the Comm Port (USB) becomes unresponsive and remains so even after power cycle by disconnecting the USB cable.

I have tried TFT\_eSPI library, compiled and uploaded "Read\_User\_Setup.ino" example program. I also tried Adafruit\_GFX library, ILI9488 Arduino Library, and "GraphicsTest.ino" sample program . Both combinations complied successful but go into the same unknown state after uploading. I am certain that the wirings are correctly assigned, both on software and hardware.

The only way way to get out of this state is by pressing the reset button quickly a few times, then the LED changes to slow blinking blue light. This seems to be one of the ways to unfreeze the Comm port. The other way is to short circuit the GND and B1 pins.

Question -  
What does it mean and what triggers the board going into slow blinking rainbow light?

If ILI9488 won't work, my second option is to switch to L2C LCD display. Hopefully, I wouldn't have to that far.

Thank you for reading this.

 ![RainBowNANO](https://europe1.discourse-cdn.com/arduino/original/4X/8/3/d/83d7d4d6c935a7d35dfcec2ce9f6194519a7b7ae.jpeg)

---

<div class="post-metadata">

**Author:** ![aliarifat794](https://avatars.discourse-cdn.com/v4/letter/a/eb8c5e/32.png) [@aliarifat794](https://forum.arduino.cc/u/aliarifat794)\
**Post date:** [November 4, 2024, 8:03am UTC](https://forum.arduino.cc/t/blinking-rainbow-led-what-does-it-mean/1318337/2 "2024-11-04T08:03:12Z")

</div>

The ILI9488 display libraries can be memory-intensive, particularly with large graphics libraries and complex screen updates. The ESP32 might be crashing if it's running out of memory or hitting a stack overflow.

---

<div class="post-metadata">

**Author:** ![jim-p](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/jim-p/32/922840_2.png) [@jim-p](https://forum.arduino.cc/u/jim-p)\
**Post date:** [November 4, 2024, 9:58am UTC](https://forum.arduino.cc/t/blinking-rainbow-led-what-does-it-mean/1318337/4 "2024-11-04T09:58:03Z")

</div>

Does the standard arduino Blink sketch upload and work?

---

<div class="post-metadata">

**Author:** ![TomGeorge](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/tomgeorge/32/215261_2.png) [@TomGeorge](https://forum.arduino.cc/u/TomGeorge)\
**Post date:** [November 4, 2024, 10:04am UTC](https://forum.arduino.cc/t/blinking-rainbow-led-what-does-it-mean/1318337/5 "2024-11-04T10:04:56Z")

</div>

Hi, @gchliu  
Welcome to the forum.

Are the libraries compatible with ESP32 controller?

Have you Googled;

> ILI9488 TFT Nano ESP32

Thanks.. Tom.. 😃 👍 ☕ 🇦🇺

---

<div class="post-metadata">

**Author:** ![lburelli](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/lburelli/32/989898_2.png) [@lburelli](https://forum.arduino.cc/u/lburelli)\
**Post date:** [November 4, 2024, 3:27pm UTC](https://forum.arduino.cc/t/blinking-rainbow-led-what-does-it-mean/1318337/6 "2024-11-04T15:27:32Z")

</div>

Hello @aliarifat794, I think I have some suggestions for you - please try them and let me know if the situation improves:

- Make sure you are using the **Arduino ESP32 Boards** package, not the "esp32" package, and update to the latest version.
- Update the bootloader on the board by following [this guide](https://support.arduino.cc/hc/en-us/articles/9810414060188-Reset-the-Arduino-bootloader-on-the-Nano-ESP32).
- Make sure the Pin mapping is set to **By GPIO Number** by following [this guide](https://docs.arduino.cc/tutorials/nano-esp32/pin-setup).

As a last resort, if you have a 3V3 USB-to-TTL serial cable you can attach it to the board's TX/RX pins and check the output there for some clues...

---

<div class="post-metadata">

**Author:** ![gchliu](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/gchliu/32/1101590_2.png) [@gchliu](https://forum.arduino.cc/u/gchliu)\
**Post date:** [November 4, 2024, 5:35pm UTC](https://forum.arduino.cc/t/blinking-rainbow-led-what-does-it-mean/1318337/8 "2024-11-04T17:35:24Z")

</div>

Thank you for the suggestion. I have already tried the example blinking program that came with the Arduino IDE. It worked fine as it should be without freezing the comm port and does not light up rainbow LED. The problem seems to be the TFT libraries that Nano ESP32 do not like. I have already tried 3 library packages - TFT\_eSPI, TB\_TFT\_sSPI, and Adafruit. All compiled nicely but soon after uploading, they all froze the Comm port and turned on the rainbow led light.

---

<div class="post-metadata">

**Author:** ![gchliu](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/gchliu/32/1101590_2.png) [@gchliu](https://forum.arduino.cc/u/gchliu)\
**Post date:** [November 4, 2024, 6:25pm UTC](https://forum.arduino.cc/t/blinking-rainbow-led-what-does-it-mean/1318337/9 "2024-11-04T18:25:28Z")

</div>

Iburelli,

Thank for the suggestions. Unfortunately, it did not work. The COMM port becomes unresponsive and LED lights up with rainbow colours. Yes, I have assigned the wires correctly as per Nano's definitions, i.e. CIPO(MISO), COPI(MOSI) and SCK GPIO numbers (47, 38 and 48 respectively).

To eliminate the possible ILI9488 hardware conflict, I have completely disconnected it from the Nano ESP32 board and switched back on forth between the default(PIN) and legacy (GPIO) modes in IDE. All caused the COMM port unresponsive and turns on rainbow LED light, after uploading.

Not sure what to do next. I can change my game plan of either getting a knockoff ESP32 board or change the display.

The TFT\_eSPI library by Bodmer appears to be the most common library for TFT integration. I am puzzled that I have so much trouble with this Nano ESP32 board.

George

---

<div class="post-metadata">

**Author:** ![gchliu](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/gchliu/32/1101590_2.png) [@gchliu](https://forum.arduino.cc/u/gchliu)\
**Post date:** [November 5, 2024, 2:32am UTC](https://forum.arduino.cc/t/blinking-rainbow-led-what-does-it-mean/1318337/10 "2024-11-05T02:32:01Z")

</div>

Hi Tom,  
According google search, no one seems to have good experience with the ESP32+ILI9488 combination. This includes myself.

George

---

<div class="post-metadata">

**Author:** ![lburelli](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/lburelli/32/989898_2.png) [@lburelli](https://forum.arduino.cc/u/lburelli)\
**Post date:** [November 5, 2024, 4:01pm UTC](https://forum.arduino.cc/t/blinking-rainbow-led-what-does-it-mean/1318337/11 "2024-11-05T16:01:02Z")

</div>

> I have assigned the wires correctly as per Nano's definitions, i.e. CIPO(MISO), COPI(MOSI) and SCK GPIO numbers (47, 38 and 48 respectively).

Please read the guides I linked to carefully.

- ALWAYS use **pin labels** in your sketch (write `D12`, not 47!) with the Nano ESP32.
- Also, ALWAYS set **By GPIO Number** since you use libraries.

Do not try other combinations as they will just result in more confusing situations.

Can you please post:

- the sketch 🙂 or even better a minimal version that still crashes
- the board package you are currently using and its version
- the IDE log of a bootloader upgrade procedure

Thanks!

---

<div class="post-metadata">

**Author:** ![gchliu](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/gchliu/32/1101590_2.png) [@gchliu](https://forum.arduino.cc/u/gchliu)\
**Post date:** [November 6, 2024, 6:05am UTC](https://forum.arduino.cc/t/blinking-rainbow-led-what-does-it-mean/1318337/12 "2024-11-06T06:05:09Z")

</div>

Iburelli,  
Thanks for responding. The difficulties that I am having with Nano ESP32 board is finding a compatible library for ILI9488. So far, I have tried a handful of libraries and just couldn't upload any of the example sketchs each package comes with. The led to unresponsive state, eg. blinking rainbow LED.

If you like to experiment with TFT\_eSPI library. It comes with an example sketch "TFT\_eSPI\examples\Test and diagnostics\Read\_User\_Setup.ino" I am assuming you have access to a Nano ESP32 board. I would be interested to know if you were able to successfuly upload. You don't need an ILI9488 screen for this experiment.

FYI - as an experiment of my own, I was able to compile and upload the same example sketch to my UNO Wifi R2 board. There's definitely something that Nano ESP32 do not like with various TFT libraries.

Yes, it is confusing working with ESP32 GPIO and Arduino pin naming systems. Further confusing the situation, Nano ESP32 renamed MOSI and MISO to COPI and CIPO, respectively.

Thanks again for your time.

---

<div class="post-metadata">

**Author:** ![dreamgame](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/dreamgame/32/1127461_2.png) [@dreamgame](https://forum.arduino.cc/u/dreamgame)\
**Post date:** [January 18, 2025, 9:12pm UTC](https://forum.arduino.cc/t/blinking-rainbow-led-what-does-it-mean/1318337/13 "2025-01-18T21:12:00Z")

</div>

I am in the exact same situation.

Any sketch upload related with the TFT\_eSPI, makes the Nano ESP32 go into the rgb led color circling mode, and the board dissapears from the board selector.  
A double tap in the reset button allows to upload another functional sketch, and everything returns.

Nobody has had success with an ili9488 with an Arduino Nano ESP32?

Anybody knows where the problem can be? I suspect is something related about the VSPI and HSPI declarations.

---

<div class="post-metadata">

**Author:** ![ptillisch](https://avatars.discourse-cdn.com/v4/letter/p/ad7895/32.png) [@ptillisch](https://forum.arduino.cc/u/ptillisch)\
**Post date:** [January 18, 2025, 11:44pm UTC](https://forum.arduino.cc/t/blinking-rainbow-led-what-does-it-mean/1318337/14 "2025-01-18T23:44:39Z")

</div>

Hi @dreamgame.

> [@dreamgame](#):
>
> Any sketch upload related with the TFT\_eSPI, makes the Nano ESP32 go into the rgb led color circling mode, and the board dissapears from the board selector.

I believe all these reports are related:

If so, this is probably caused by a bug in either the " **TFT\_eSPI**" library or version \>2.0.14 of the " **Arduino ESP32 Boards**" / " **esp32**" boards platform:

> <https://github.com/Bodmer/TFT_eSPI/issues/3284>
>
> Hi,
> I use arduino ide 2.3.0, tft\_espi 2.5.43 library, and esp32 by espressif 2….0.15 package , and the esp32c3 super mini module.
> The following code lights the led 1 time.
> But when I uncomment // tft.init() the led keeps blinking, so the module keeps restarting.
> 
> It does not happen when I use esp32 package 2.0.14
> 
> Any idea what the problem is ?
> Regards
> Sjors
> 
> code :
> /\*
> 
> \*/
> 
> \#include \<TFT\_eSPI.h\>
> TFT\_eSPI tft = TFT\_eSPI();
> 
> const byte led8 = 8;
> byte UseFont;
> char str\[80\];
> 
> void setup(){
> // Serial.begin(115200);
> // delay(2000);
> 
> pinMode(8, OUTPUT);
> digitalWrite(8, HIGH);
> delay(1000);
> digitalWrite(8, LOW);
> delay(1000);
> digitalWrite(8, HIGH);
> 
> // tft.init(); // tft.begin(); zijn hetzelfde
> }
> 
> void loop(){
> }

> <https://github.com/Bodmer/TFT_eSPI/issues/3289>
>
> I'm having issues with my ESP32-S3 module crashing and rebooting on \`tft.begin(…)\` (or on \`tft.init()\`). The following output repeats over and over in the monitor:
> \`\`\`
> ESP-ROM:esp32s3-20210327
> Build:Mar 27 2021
> rst:0x1 (POWERON),boot:0x2b (SPI\_FAST\_FLASH\_BOOT)
> SPIWP:0xee
> mode:DIO, clock div:1
> load:0x3fce3808,len:0x4bc
> load:0x403c9700,len:0xbd8
> load:0x403cc700,len:0x2a0c
> entry 0x403c98d0
> E (99) esp\_core\_dump\_flash: Core dump data check failed:
> Calculated checksum='db82bb1c'
> Image checksum='ffffffff'
> Guru Meditation Error: Core 1 panic'ed (StoreProhibited). Exception was unhandled.
> 
> Core 1 register dump:
> PC : 0x4200289b PS : 0x00060a30 A0 : 0x82002928 A1 : 0x3fcebd80  
> A2 : 0x00000010 A3 : 0x00000000 A4 : 0x60004000 A5 : 0x00000015  
> A6 : 0x000000ff A7 : 0x00000001 A8 : 0x08000000 A9 : 0x3fcebd50  
> A10 : 0x3fc952b0 A11 : 0x00000001 A12 : 0xffffffff A13 : 0x00000010  
> A14 : 0x00000000 A15 : 0x3fc91d98 SAR : 0x00000010 EXCCAUSE: 0x0000001d  
> EXCVADDR: 0x00000010 LBEG : 0x42004dec LEND : 0x42004e4f LCOUNT : 0x00000003  
> 
> 
> Backtrace: 0x42002898:0x3fcebd80 0x42002925:0x3fcebdb0 0x42002930:0x3fcebdd0 0x4200184d:0x3fcebdf0 0x420058da:0x3fcebe20
> \`\`\`
> Using the \[EspExceptionDecoder\](https://github.com/me-no-dev/EspExceptionDecoder) to decode the dump (only works in Arduino 1.8.19) with the \[ELF file\](https://github.com/Bodmer/TFT\_eSPI/files/15031350/minimal\_tft.ino.elf.zip) from the build gives this:
> \`\`\`
> PC: 0x4200289b: TFT\_eSPI::writecommand(unsigned char) at C:\\Users\\stompp\\Documents\\Arduino\\libraries\\TFT\_eSPI\\TFT\_eSPI.cpp line 81
> EXCVADDR: 0x00000010
> 
> Decoding stack results
> 0x42002898: TFT\_eSPI::writecommand(unsigned char) at C:\\Users\\stompp\\Documents\\Arduino\\libraries\\TFT\_eSPI\\TFT\_eSPI.cpp line 81
> 0x42002925: TFT\_eSPI::init(unsigned char) at C:\\Users\\stompp\\Documents\\Arduino\\libraries\\TFT\_eSPI\\TFT\_eSPI.cpp line 692
> 0x42002930: TFT\_eSPI::begin(unsigned char) at C:\\Users\\stompp\\Documents\\Arduino\\libraries\\TFT\_eSPI\\TFT\_eSPI.cpp line 603
> 0x4200184d: setup() at C:\\DEV\\ESP32\\minimal\_tft/minimal\_tft.ino line 7
> 0x420058da: loopTask(void\*) at C:\\Users\\stompp\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.15\\cores\\esp32\\main.cpp line 42
> \`\`\`
> I've minimized the code to the following:
> \`\`\`C
> \#include \<SPI.h\>
> \#include \<TFT\_eSPI.h\>
> 
> TFT\_eSPI tft = TFT\_eSPI();
> void setup() {
> Serial.begin(115200);
> tft.begin();
> }
> 
> void loop() {
> }
> \`\`\`
> My setup is the following:
> IDE: Arduino 1.8.19 & 2.3.2
> TFT\_eSPI version: 2.5.43
> Board package version: \[2.0.15\](https://github.com/espressif/arduino-esp32/releases/download/2.0.15/esp32-2.0.15.zip)
> Processor: \[ESP32-S3\](https://github.com/Freenove/Freenove\_ESP32\_S3\_WROOM\_Board)
> TFT driver: \[GC9A01\](https://www.waveshare.com/wiki/1.28inch\_LCD\_Module?amazon)
> Interface: SPI
> 
> The \[setup file\](https://github.com/Bodmer/TFT\_eSPI/files/15031361/Setup406\_GC9A01\_ESP32.zip) is a copy of 46 with a different MOSI pin. It's added to the \`User\_Setup\_Select.h\` file and the \`User\_Setup.h\` is set to use the GC9A01 driver.

> <https://github.com/Bodmer/TFT_eSPI/issues/3304>
>
> in board manger v 2.0.15 we have this:
> 
> \`\`\`
> Rebooting...
> ⸮ESP-ROM:esp32s3-20…210327
> Build:Mar 27 2021
> rst:0xc (RTC\_SW\_CPU\_RST),boot:0x2b (SPI\_FAST\_FLASH\_BOOT)
> Saved PC:0x4037736c
> SPIWP:0xee
> mode:DIO, clock div:1
> load:0x3fce3808,len:0x4bc
> load:0x403c9700,len:0xbd8
> load:0x403cc700,len:0x2a0c
> entry 0x403c98d0
> Guru Meditation Error: Core 0 panic'ed (StoreProhibited). Exception was unhandled.
> 
> Core 0 register dump:
> PC : 0x420037ee PS : 0x00060a30 A0 : 0x820038c8 A1 : 0x3fcebbd0  
> A2 : 0x00000010 A3 : 0x00000000 A4 : 0x60004000 A5 : 0x0000000b  
> A6 : 0x000000ff A7 : 0x00000000 A8 : 0x08000000 A9 : 0x3fcebba0  
> A10 : 0x3fc95938 A11 : 0x00000001 A12 : 0xffffffff A13 : 0x00000000  
> A14 : 0x00004000 A15 : 0x3fc91e3c SAR : 0x00000010 EXCCAUSE: 0x0000001d  
> EXCVADDR: 0x00000010 LBEG : 0x42005d1c LEND : 0x42005d7f LCOUNT : 0x00000000  
> 
> 
> Backtrace: 0x420037eb:0x3fcebbd0 0x420038c5:0x3fcebc00 0x420025a9:0x3fcebc20 0x42006926:0x3fcebc50
> 
> 
> \`\`\`
> esp32s3
> Demo\_3D\_cube.ino
> ST7796
> with or without touch
> any frequency!
> 
> but in board manger v 2.0.14 it works.

> <https://github.com/Bodmer/TFT_eSPI/issues/3329>
>
> Device crashes at boot.
> Open issue in Arduino repo https://github.com/espressif…/arduino-esp32/issues/9618#issuecomment-2113344119
> and
> https://github.com/Xinyuan-LilyGO/T-Dongle-S3/issues/26

> <https://github.com/Bodmer/TFT_eSPI/issues/3332>
>
> The issue that I am encountering is that a "Guru Meditation Error: Core 1 panic…'ed (StoreProhibited). Exception was unhandled." just prior to executing the tft.init() function. This issue appears to be only graphics bases since I can execute this sketch with only Serial.println("..."); calls. I can use the Adafruit\_GFX.h with the Adafruit\_ST7789.h driver to do a test on a GFX application.
> 
> During an update something changed and I am at a loss to determine the root cause. Wiring is correct ( I have checked it many times).
> 
> 1. IDE - Arduino version 2.3.2 CLI version 0.35.3
> 2. TFT\_eSPI - version 2.5.43
> 3. Board Version - esp32 version 3.0.0.rc3 (I have regressed it back to ESP version 2.0.16 with no change in functionality, still reboots).
> 4. PROCESSOR - ESP32-S3
> 5. TFT Driver - ST7789 (TFT\_eSPI sourced)
> 6. TFT Interface - SPI
> 
> See the following attached files for additional information you require:
> 
> \[User\_Setup.zip\](https://github.com/Bodmer/TFT\_eSPI/files/15383585/User\_Setup.zip)
> 
> Sketch:
> \[WIFI\_Channel\_List.zip\](https://github.com/Bodmer/TFT\_eSPI/files/15383589/WIFI\_Channel\_List.zip)
> 
> TFT ; ST7789 IC 1.9 Inch ips Full View TFT Display LCD Color Module SPI Serial Port HD 170x320 MSP430 and C51 Programs
> I have only one of these displays....  
> 
> !\[1\_9inch ST7789 TFT\](https://github.com/Bodmer/TFT\_eSPI/assets/67809491/9d0ee67d-4482-447a-849c-f635c43043d9)
> 
> DEBUG Output:
> \[Debug Output.zip\](https://github.com/Bodmer/TFT\_eSPI/files/15383726/Debug.Output.zip)
> 
> Plus further information as appropriate to the problem:
> 1. TFT to processor connections used
> 2. A zip file containing your setup file (just drag and drop in message window - do not paste in long files!)
> 3. A zip file containing a simple and complete example sketch that demonstrates the problem but needs no special hardware sensors or libraries.
> 4. Screen shot pictures showing the setup 
> 
> !\[TFT\_eSPI Setup\](https://github.com/Bodmer/TFT\_eSPI/assets/67809491/5cbae0b6-8cd5-42d3-bee8-6e21db4b3881)
> 
> Thanks, John Taylor
> I can be reached at taylorjw.nc@att.net

> <https://github.com/Bodmer/TFT_eSPI/issues/3429>
>
> 1. I get a Guru Meditation Error: Core 1 panic'ed, after loading an LVGL file t…hat is running well on ESP32-3248S035, using ESP32wroom , but due to insufficient memory to include BLE, I needed to go to ESP32-S3, with a separate TFT display , ILI9486. For this, I wrote a user\_setup file, as I could not find any existing one to match this combination. I attached the user set up file.
> \[ILI9486.txt\](https://github.com/user-attachments/files/16486968/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:
> 1. TFT connections : ILI9486.txt , attached file, in fact user\_setup.h file.
> 2. A zip file containing your setup file (just drag and drop in message window - do not paste in long files!)
> 3. ESP Exception Decoder
> 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

> <https://github.com/Bodmer/TFT_eSPI/issues/3464>
>
> Guru Meditation Error: Core 0 panic'ed (Store access fault). Exception was unha…ndled.
> 
> Core 0 register dump:
> MEPC : 0x4205061a RA : 0x42050612 SP : 0x3fca6c80 GP : 0x3fc8c600  
> TP : 0x3fc89c68 T0 : 0x00000003 T1 : 0xffc3ffff T2 : 0x00000020
> S0/FP : 0x3fca2b50 S1 : 0x00000000 A0 : 0x00000001 A1 : 0xffffffff
> A2 : 0x00000000 A3 : 0xfdffffff A4 : 0x08000000 A5 : 0x00000010  
> A6 : 0xffffffff A7 : 0x04c4b400 S2 : 0x00000002 S3 : 0x00000001  
> S4 : 0x000000a0 S5 : 0x3fc8dd6c S6 : 0x00000a00 S7 : 0x00000000
> S8 : 0x00000000 S9 : 0x00000000 S10 : 0x00000000 S11 : 0x00000000  
> T3 : 0x0196e6aa T4 : 0x0000000f T5 : 0x003c0000 T6 : 0x00000003
> MSTATUS : 0x00001881 MTVEC : 0x40380001 MCAUSE : 0x00000007 MTVAL : 0x00000010
> MHARTID : 0x00000000

> <https://github.com/espressif/arduino-esp32/issues/9618>
>
> \### Board
> 
> lilygo-t-dongle-s3
> 
> \### Device Description
> 
> ESP32-s3 dev module…
> 
> \### Hardware Configuration
> 
> Dongle has a winbond - W25Q32 chip + small st3775 lcd screen built in:
> https://github.com/Xinyuan-LilyGO/T-Dongle-S3
> 
> 
> \### Version
> 
> latest master (checkout manually)
> 
> \### IDE Name
> 
> Arduino IDE 1.8.19
> 
> \### Operating System
> 
> Windows 10
> 
> \### Flash frequency
> 
> QUI 80 mhz
> 
> \### PSRAM enabled
> 
> no
> 
> \### Upload speed
> 
> 921600
> 
> \### Description
> 
> Sketch works fine, compiles and runs fine using esp32 board definitions version 2.0.14.
> 
> When the board is updated via Arduino board manager to a greater version 2.0.15+2.0.16 the sketch compiles fine and uploads but the dongle doesn't run the code anymore. I traced the fault to this file:
> 
> C:\\Users\\someuser\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.16\\tools\\sdk\\esp32s3\\include\\soc\\esp32s3\\include\\soc\\soc.h
> 
> A new entry was added to line 122:
> \#define REG\_SPI\_BASE(i) (((i)\>=2) ? (DR\_REG\_SPI2\_BASE + (i-2) \* 0x1000) : (0)) // GPSPI2 and GPSPI3
> 
> This line when commented out lets my code run fine on my dongle again using the 2.0.15+2.0.16, somehow though that line of code breaks the lilygo-t-dongle from being able to run the compiled and uploaded code.
> 
> 
> \### Sketch
> 
> \`\`\`cpp
> No issue with the sketch using the modded 2.0.16\\tools\\sdk\\esp32s3\\include\\soc\\esp32s3\\include\\soc\\soc.h file with the line commented out as above.
> \`\`\`
> 
> 
> \### Debug Message
> 
> \`\`\`plain
> No debug message is displayed.
> \`\`\`
> 
> 
> \### Other Steps to Reproduce
> 
> \_No response\_
> 
> \### I have checked existing issues, online documentation and the Troubleshooting Guide
> 
> \- \[X\] I confirm I have checked existing issues, online documentation and Troubleshooting guide.
