ESP32-S3-WROOM-1U not starting program correctly

mscott
Posts: 2
Joined: Sun Jun 14, 2026 1:05 am

ESP32-S3-WROOM-1U not starting program correctly

Postby mscott » Sun Jun 14, 2026 1:16 am

I cant seem to figure out whats wrong. I have a custom board and am trying a basic barebones hello world program with minimal sdkconfig:

The watchdog trips and it sits an infinite loop. If I disable the watchdog then it sits there forever, if it hit reset it just goes back to that spot again. I have tried erasing the flash, wiping the build. Running idf v6.0.1, also tried v 5.5.4

I have scoped 3.3V and its solid through the boot process. Reset has 10k pullup with 2.2uF cap.

Code: Select all

CONFIG_IDF_TARGET="esp32s3"
CONFIG_ESPTOOLPY_FLASHFREQ_20M=y
CONFIG_ESPTOOLPY_FLASHSIZE_8MB=y

Code: Select all

--- esp-idf-monitor 1.9.0 on /dev/ttyACM0 115200
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x1 (POWERON),boot:0x2a (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:4
load:0x3fce2820,len:0x14f0
load:0x403c8700,len:0xda0
--- 0x403c8700: _stext at ??:?
load:0x403cb700,len:0x2f58
entry 0x403c8908
--- 0x403c8908: call_start_cpu0 at /home/hsh/.espressif/v6.0.1/esp-idf/components/bootloader/subproject/main/bootloader_start.c:27
I (41) boot: ESP-IDF v6.0.1 2nd stage bootloader
I (41) boot: compile time Jun 13 2026 16:48:23
I (42) boot: Multicore bootloader
I (42) boot: chip revision: v0.2
I (44) boot: efuse block revision: v1.3
I (47) boot.esp32s3: Boot SPI Speed : 20MHz
I (49) boot.esp32s3: SPI Mode       : DIO
I (52) boot.esp32s3: SPI Flash Size : 8MB
I (55) boot: Enabling RNG early entropy source...
I (59) boot: Partition Table:
I (61) boot: ## Label            Usage          Type ST Offset   Length
I (65) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (70) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (75) boot:  2 factory          factory app      00 00 00010000 00100000
I (80) boot: End of partition table
I (83) esp_image: segment 0: paddr=00010020 vaddr=3c020020 size=091ech ( 37356) map
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x10 (RTCWDT_RTC_RST),boot:0x2a (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:4
load:0x3fce2820,len:0x14f0
load:0x403c8700,len:0xda0
--- 0x403c8700: _stext at ??:?
load:0x403cb700,len:0x2f58
entry 0x403c8908
--- 0x403c8908: call_start_cpu0 at /home/hsh/.espressif/v6.0.1/esp-idf/components/bootloader/subproject/main/bootloader_start.c:27
I (41) boot: ESP-IDF v6.0.1 2nd stage bootloader
I (42) boot: compile time Jun 13 2026 16:48:23
I (42) boot: Multicore bootloader
I (42) boot: chip revision: v0.2
I (44) boot: efuse block revision: v.3
I (47) boot.esp32s3: Boot SPI Speed : 20MHz
I (50) boot.esp32s: SPI Mode       : DIO
I (52) boot.esp32s3: SPI Flash Size : 8MB
I (55) boot: Enabling RNG early  ntropy source...
I (59) boot: Partition Table:
I (61) boot: ## Label            Usage          Type ST Offset   Length
I (66) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (71) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (76) boot:  2 factory          factory app      00 00 00010000 00100000
I (81) boot: End of partition table
I (83) esp_image: segment 0: paddr=00010020 vaddr=3c020020 size=091ech ( 37356) map
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x10 (RTCWDT_RTC_RST),boot:0x2a (SPI_FAST_FLASH_BOOT)

mscott
Posts: 2
Joined: Sun Jun 14, 2026 1:05 am

Re: ESP32-S3-WROOM-1U not starting program correctly

Postby mscott » Sun Jun 14, 2026 1:19 am

Note I left it run for a while and while its looping sometimes it shows partition 0 invalid magic number. See attached log.txt
Attachments
log.txt
(46.49 KiB) Downloaded 2 times

MicroController
Posts: 2672
Joined: Mon Oct 17, 2022 7:38 pm
Location: Europe, Germany

Re: ESP32-S3-WROOM-1U not starting program correctly

Postby MicroController » Mon Jun 15, 2026 9:12 am

Sounds like a hardware problem. Any external components/devices connected to pins which shouldn't be used (flash SPI pins)?

Who is online

Users browsing this forum: ChatGPT-User, PerplexityBot, trendictionbot and 2 guests