ESP32-S3 boot stuck after exactly 10 consecutive resets (CHIP_PU)
Posted: Sat May 04, 2024 10:39 am
Hi Everyone,
I'm encountering a peculiar issue with my custom ESP32-S3 board and would greatly appreciate your insights.
Board Specifications:
SoC: ESP32-S3-WROOM-1-N8R2
Focus: Reset/Enable and Boot Circuit (Exact replica of reference circuit)
Circuit Details:
Reset PIN (EN pin 3 connected internally to S3 CHIP_PU) is linked to an RC delay filter comprising 10K/1uF, with a reset button to GND.
Boot PIN /GPIO0 is directly connected to the boot button (no external pull-up resistor), also to GND.
Scenario:
I've uploaded a simple "blink" sketch via Arduino IDE and core. This sketch toggles a GPIO connected to an LED.
The Quirk:
After pressing reset exaclty 10 times, with a 2-3 second gap between each reset, the S3 freezes. The bootloader fails to load the sketch, as if there's a "memory" or protective mechanism preventing boot after a certain number of reset attempts.
The situation is deterministic... 10 reset press and the booloader stuck
Observations:
This behavior is consistent across both my custom board and a commercial ESP32-S3 breakout board (M5stack stamp S3).
On the commercial board, the issue occurs after 8 to 12 resets.
Seeking Explanation:
Can anyone provide a logical explanation for this phenomenon?
Thanks in advance for any assistance.
Best regards,
David
I'm encountering a peculiar issue with my custom ESP32-S3 board and would greatly appreciate your insights.
Board Specifications:
SoC: ESP32-S3-WROOM-1-N8R2
Focus: Reset/Enable and Boot Circuit (Exact replica of reference circuit)
Circuit Details:
Reset PIN (EN pin 3 connected internally to S3 CHIP_PU) is linked to an RC delay filter comprising 10K/1uF, with a reset button to GND.
Boot PIN /GPIO0 is directly connected to the boot button (no external pull-up resistor), also to GND.
Scenario:
I've uploaded a simple "blink" sketch via Arduino IDE and core. This sketch toggles a GPIO connected to an LED.
The Quirk:
After pressing reset exaclty 10 times, with a 2-3 second gap between each reset, the S3 freezes. The bootloader fails to load the sketch, as if there's a "memory" or protective mechanism preventing boot after a certain number of reset attempts.
The situation is deterministic... 10 reset press and the booloader stuck
Observations:
This behavior is consistent across both my custom board and a commercial ESP32-S3 breakout board (M5stack stamp S3).
On the commercial board, the issue occurs after 8 to 12 resets.
Seeking Explanation:
Can anyone provide a logical explanation for this phenomenon?
Thanks in advance for any assistance.
Best regards,
David