My ESP32 S3 led is continuosly blinking yellow

hydnum
Posts: 2
Joined: Sat Oct 28, 2023 9:10 pm

My ESP32 S3 led is continuosly blinking yellow

Postby hydnum » Sat Oct 28, 2023 9:32 pm

Good evening friends
I am not expert. I have just started with my first micro-controller to learn microphyton. I have followed instructions to burn the firmware on the ESP S3. I didn't get any errors but now my ESP32 is continuously blinking yellow. Is this normal? the serial monitor is displaying continuosly as follows:

------------------------------------------------------------
ELF file SHA256: 1fc5db5094440301

Rebooting...
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0xc (RTC_SW_CPU_RST),boot:0xb (SPI_FAST_FLASH_BOOT)
Saved PC:0x420ff696
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3808,len:0xf34
load:0x403c9700,len:0xc44
load:0x403cc700,len:0x2c78
entry 0x403c98f4
[0;31mE (253) psram: PSRAM ID read error: 0x00ffffff[0m
[0;31mE (254) spiram: SPI RAM enabled but initialization failed. Bailing out.[0m
[0;31mE (10) spiram: SPI RAM not initialized[0m

abort() was called at PC 0x420069e8 on core 1

Backtrace: 0x40375c5e:0x3fcee2a0 0x40383919:0x3fcee2c0 0x40389ea2:0x3fcee2e0 0x420069e8:0x3fcee350 0x4200720f:0x3fcee370

ELF file SHA256: 1fc5db5094440301

Rebooting...
...
Rebooting...
...
etc etc
------------------------------------------------------------

I can show you the output from flashing the firmware if required.
Thank you very much

PS: Please be patience with this newcomer I am trying my best :oops:

Agree007
Posts: 103
Joined: Mon Sep 18, 2017 7:11 pm
Location: Copenhagen

Re: My ESP32 S3 led is continuosly blinking yellow

Postby Agree007 » Mon Oct 30, 2023 1:01 pm

It seems you Python code make the esp32 reboot, try with some minimum code and if you still have an issue, then post your code here.

hydnum
Posts: 2
Joined: Sat Oct 28, 2023 9:10 pm

Re: My ESP32 S3 led is continuosly blinking yellow

Postby hydnum » Tue Oct 31, 2023 9:23 pm

Thank you for your reply Agree007.! I have not written any micropython code yet! The instructions say that before writing any code one has to burn the firmware on the ESP32-S3 using the ESPTOOL. The problem described earlier occurs just after this.

1) Write the latest firmware "GENERIC_S3-20220618-v1.19.1.bin" to the drive
-------------------------------------------------------------------------
hydnum@fontaines:~/Freenove/Basic/Python/Python_Firmware$ python3 esptool/esptool.py --chip esp32s3 --port /dev/ttyCH343USB0 --baud 2000000 write_flash -z 0 ESP32_GENERIC_S3-20230426-v1.20.0.bin
esptool.py v4.7-dev
Serial port /dev/ttyCH343USB0
Connecting...
Failed to get PID of a device on /dev/ttyCH343USB0, using standard reset sequence.
.
Chip is ESP32-S3 (QFN56) (revision v0.1)
Features: WiFi, BLE, Embedded PSRAM 8MB (AP_3v3)
Crystal is 40MHz
MAC: 34:85:18:94:28:fc
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 2000000
Changed.
Configuring flash size...
Flash will be erased from 0x00000000 to 0x00160fff...
Compressed 1445232 bytes to 957441...
Wrote 1445232 bytes (957441 compressed) at 0x00000000 in 11.0 seconds (effective 1053.8 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...
---------------------------------------------------------------------------------

2) Check the new flash id in the drive
--------------------------------------------------------------
hydnum@fontaines:~/Downloads/esptool-master$ python3 esptool.py -p /dev/ttyCH343USB0 flash_id
esptool.py v4.7-dev
Serial port /dev/ttyCH343USB0
Connecting...
Failed to get PID of a device on /dev/ttyCH343USB0, using standard reset sequence.
.
Detecting chip type... ESP32-S3
Chip is ESP32-S3 (QFN56) (revision v0.1)
Features: WiFi, BLE, Embedded PSRAM 8MB (AP_3v3)
Crystal is 40MHz
MAC: 34:85:18:94:28:fc
Uploading stub...
Running stub...
Stub running...
Manufacturer: c8
Device: 4017
Detected flash size: 8MB
Flash type set in eFuse: quad (4 data lines)
Hard resetting via RTS pin...
--------------------------------------------------------------

And now the blinking yellow starts and never ends . . .

For the flashing I use my PC running Kubuntu 23.04. Please let me know if you need any other information

Kind regards

Agree007
Posts: 103
Joined: Mon Sep 18, 2017 7:11 pm
Location: Copenhagen

Re: My ESP32 S3 led is continuosly blinking yellow

Postby Agree007 » Thu Nov 02, 2023 1:59 am

Im not using Micro Python, just trying to assist you. Are you following freenove or esp own guide and bin file ? I think you need a version with the correct size of psram and flash ?
I have some freenove ESP32-S3 modules and they work great with Arduino ide 😉

Who is online

Users browsing this forum: No registered users and 316 guests