Hello,
As stated above, I try to upload the BasicOTA excample, wich works perfectly fine uploaded by Arduino, but the ESP32 fails with a BrownOutDetection failure and resets itself continuously.
Output from the serial terminal:
ets Jun 8 2016 00:22:57
rst:0x10 (RTCWDT_RTC_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:1
load:0x3fff0010,len:4
load:0x3fff0014,len:588
load:0x40078000,len:0
load:0x40078000,len:9768
entry 0x400789b8
Booting
Wifi_STA
Brownout detector was triggered
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:1
load:0x3fff0010,len:4
load:0x3fff0014,len:588
load:0x40078000,len:0
load:0x40078000,len:9768
entry 0x400789b8
Booting
Wifi_STA
Brownout detector was triggered
And so on…
I noticed that Arduino uses the esptool.exe with the following flags:
C:\Users\<name>\Documents\Arduino\hardware\espressif\esp32/tools/esptool.exe --chip esp32 --port COM15 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_freq 80m --flash_mode dio --flash_size 4MB 0x1000 C:\Users\<name>\Documents\Arduino\hardware\espressif\esp32/tools/sdk/bin/bootloader.bin 0x8000 C:\Users\<name>~1\AppData\Local\Temp\arduino_build_717920/BasicOTA.ino.partitions.bin 0xe000 C:\Users\<name>\Documents\Arduino\hardware\espressif\esp32/tools/partitions/boot_app0.bin 0x10000 C:\Users\<name>~1\AppData\Local\Temp\arduino_build_717920/BasicOTA.ino.bin
and PlatformIO IDE uses esptool.py, but won’t show the arguments used there…
So I’m pretty confused right now and i can’t even find were to edit the flash command…
maybe anyone can help…
cad435