Monitor output:
Code: Select all
...
Writing at 0x00074000... (96 %)
Writing at 0x00078000... (100 %)
Wrote 693056 bytes (439172 compressed) at 0x00010000 in 9.8 seconds (effective 563.0 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
[100%] Built target app-flash
Done
ets Jun 8 2016 00:22:57
rst:0x1 (POWERON_RESET),boot:0x33 (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:1
load:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:8896
load:0x40080400,len:5816
0x40080400: _init at ??:?
entry 0x400806ac
I (251) cpu_start: Pro cpu up.
I (251) cpu_start: Starting app cpu, entry point is 0x40081214
0x40081214: call_start_cpu1 at /home/neddie/esp/esp-idf/components/esp_system/port/cpu_start.c:126
I (0) cpu_start: App cpu up.
ets Jun 8 2016 00:22:57
rst:0x10 (RTCWDT_RTC_RESET),boot:0x33 (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:1
...
The first line in app_main is:
Code: Select all
esp_log_write(ESP_LOG_INFO, "AcMeter", "AcMeter app_main start");
When it boot-loops it is clearly not getting to my code at all. So it is something in the configuration.
The menuconfig settings are all default except for FreeRTOS --> enable static allocation API
The problem happens on two different devices, a WROOM32 ESP32-D0WDQ6 (revision 1) from aliexpress and a pico-kit from Digikey.
Output of esptool.py image_info is:
Code: Select all
esptool.py v3.0
Image version: 1
Entry point: 400812fc
6 segments
Segment 1: len 0x181d8 load 0x3f400020 file_offs 0x00000018 [DROM]
Segment 2: len 0x042e4 load 0x3ffb0000 file_offs 0x000181f8 [BYTE_ACCESSIBLE, DRAM]
Segment 3: len 0x00404 load 0x40080000 file_offs 0x0001c4e4 [IRAM]
Segment 4: len 0x03720 load 0x40080404 file_offs 0x0001c8f0 [IRAM]
Segment 5: len 0x779d0 load 0x400d0020 file_offs 0x00020018 [IROM]
Segment 6: len 0x11a84 load 0x40083b24 file_offs 0x000979f0 [IRAM]
Checksum: 7a (valid)
Validation Hash: 27da376a55cc308ed19d9f6880230c778a073396d579c3c36ae009b12a6b1571 (valid)