ESP32-DevKitC reboot loop (aws-demos)

debugging wrote on August 10, 2019:

SOLVED: breadboard shorting issue.

sudo cmake -DVENDOR=espressif -DBOARD=esp32_wrover_kit -DCOMPILER=xtensa-esp32 -S . -B build
make all -j4

make and flash all done, then
./vendors/espressif/esp-idf/tools/idf.py erase_flash flash monitor -p /dev/ttyUSB0 -B build

Build output

Running esptool.py in directory /amazon-freertos/build
Executing “/usr/bin/python /aws/amazon-freertos/vendors/espressif/esp-idf/components/esptool_py/esptool/esptool.py -p /dev/ttyUSB0 -b 460800 write_flash @flash_project_args”…
esptool.py -p /dev/ttyUSB0 -b 460800 write_flash --flash_mode dio --flash_freq 40m --flash_size 4MB 0x1000 bootloader/bootloader.bin 0x8000 partition_table/partition-table.bin 0x16000 ota_data_initial.bin 0x20000 aws_demos.bin
esptool.py v2.6
Serial port /dev/ttyUSB0
Connecting…_
Detecting chip type… ESP32
Chip is ESP32D0WDQ6 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
MAC: 84:0d:8e:06:80:94
Uploading stub…
Running stub…
Stub running…
Changing baud rate to 460800
Changed.
Configuring flash size…
Compressed 23744 bytes to 14093…
Wrote 23744 bytes (14093 compressed) at 0x00001000 in 0.3 seconds (effective 599.3 kbit/s)…
Hash of data verified.
Compressed 3072 bytes to 118…
Wrote 3072 bytes (118 compressed) at 0x00008000 in 0.0 seconds (effective 4800.0 kbit/s)…
Hash of data verified.
Compressed 8192 bytes to 31…
Wrote 8192 bytes (31 compressed) at 0x00016000 in 0.0 seconds (effective 21867.8 kbit/s)…
Hash of data verified.
Compressed 969088 bytes to 591105…

After this flash completed But starts to reboot.

ESP-32 keeps rebooting in a loop:

Rebooting…
ets Jun 8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:6276
load:0x40078000,len:11276
load:0x40080000,len:6084
0x40080000: _WindowOverflow4 at /amazon-freertos/freertos_kernel/portable/ThirdParty/GCC/Xtensa_ESP32/xtensa_vectors.S:1685

entry 0x4008032c
0x4008032c: _KernelExceptionVector at ??:?

I (29) boot: ESP-IDF v3.1.3-25-g36733db8d 2nd stage bootloader
I (29) boot: compile time 16:14:51
I (29) boot: Enabling RNG early entropy source…
I (35) boot: SPI Speed : 40MHz
I (39) boot: SPI Mode : DIO
I (43) boot: SPI Flash Size : 4MB
I (47) boot: Partition Table:
I (51) boot: ## Label Usage Type ST Offset Length
I (58) boot: 0 nvs WiFi data 01 02 00010000 00006000
I (65) boot: 1 otadata OTA data 01 00 00016000 00002000
I (73) boot: 2 phy_init RF data 01 01 00018000 00001000
I (80) boot: 3 ota_0 OTA app 00 10 00020000 00177000
I (88) boot: 4 ota_1 OTA app 00 11 001a0000 00177000
I (95) boot: 5 storage WiFi data 01 02 00317000 00010000
I (103) boot: End of partition table
I (107) esp_image: segment 0: paddr=0x00020020 vaddr=0x3f400020 size=0x2073c (132924) map
I (163) esp_image: segment 1: paddr=0x00040764 vaddr=0x3ffc0000 size=0x03018 ( 12312) load
I (168) esp_image: segment 2: paddr=0x00043784 vaddr=0x40080000 size=0x00400 ( 1024) load
0x40080000: _WindowOverflow4 at /amazon-freertos/freertos_kernel/portable/ThirdParty/GCC/Xtensa_ESP32/xtensa_vectors.S:1685

Edited by: debugging on Aug 10, 2019 2:52 AM

Yuki-AWS wrote on August 12, 2019:

This post appears to be self-resolved. “SOLVED: breadboard shorting issue.” I’m marking it as answered.

Edited by: Yuki-AWS on Aug 13, 2019 9:56 AM