Having just upgraded my [macOS 10.14.5] Arduino IDE (2.0.2) installation to support the new V3 boards I find that I can no longer successfully upload software to my V1 boards if I choose the ‘WiFi LoRa 32’ option from the [new] Tools > Board > Heltec-ESP-32 Series Dev-boards menu. The board goes into infinite reboot with the following messages:
16:01:21.104 -> ELF file SHA256: 0000000000000000
16:01:21.104 ->
16:01:21.104 -> Rebooting...
16:01:21.104 -> ets Jun 8 2016 00:22:57
16:01:21.104 ->
16:01:21.104 -> rst:0xc (SW_CPU_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
16:01:21.137 -> configsip: 0, SPIWP:0xee
16:01:21.137 -> clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
16:01:21.137 -> mode:DIO, clock div:1
16:01:21.137 -> load:0x3fff0030,len:1184
16:01:21.137 -> load:0x40078000,len:13160
16:01:21.137 -> load:0x40080400,len:3036
16:01:21.137 -> entry 0x400805e4
16:01:21.240 -> E (115) spi_flash: Detected size(4096k) smaller than the size in the binary image header(8192k). Probe failed.
16:01:21.240 ->
16:01:21.240 -> assert failed: do_core_init startup.c:298 (flash_ret == ESP_OK)
16:01:21.240 ->
16:01:21.240 ->
16:01:21.240 -> Backtrace:0x400832ed:0x3ffe3aa00x40087155:0x3ffe3ac0 0x4008bc65:0x3ffe3ae0 0x400d5912:0x3ffe3c10 0x40082a09:0x3ffe3c40 0x400792ba:0x3ffe3c90 |<-CORRUPTED
I find that I can still upload sketches if I choose ‘Heltec WiFi LoRa 32’ from the Tools > Board > ESP32 Arduino menu, so all is not lost, but there would appear to be a problem with whatever has changed between the old and the new arrangement.
Presumably, at some point in the future, the more recently included V1 board definition, the one that’s failing, will be the only one available so this problem really needs to be resolved before the old board definition disappears.
Uploads to V2 boards seem to be OK whichever [V2] menu option is chosen.