ESP-IDF Build not bootable?


I just created a new default project for an esp32 devboard on the espidf framework.
I only added the sample hello world code from the esp32 github repo and loaded it onto the devkit.

But the application wont start on the board. In the terminal I repeatedly see, that the esp32 is rebooting:

rst:0x7 (TG0WDT_SYS_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
mode:DIO, clock div:2
ho 0 tail 12 room 4
entry 0x400806e8
␛[0;31mE (122) not bootable: Assert failed in bootloader_init, C:\Users\foobar.platformio\packages\framework-espidf\components\bootloader_support\src\bootloader_init.c:83 )sp < &_bss_start@)␛[0m

can anyone help with this?

Which Repo? The current ESP-IDF repo? PlatformIO uses ESP-IDF 4.0.1 so bleeding edge ESP-IDF example code might not be compatible with that.

You should start from platform-espressif32/examples/espidf-blink at develop · platformio/platform-espressif32 · GitHub and flash that to see if it can boot. If there errors, we’d need to know your exact platformio.ini and hardware you’re running on.