Uploading code to this card now fails unconditionally. It has been working, I have loaded the Gateway code using both the Arduio as well as PlatformIO. But the uploading has been erratic. Now it is impossible. The card seems to run into a tight loop ignoring enything else while printing:
rst:0x10 (RTCWDT_RTC_RESET),boot:0x33 (SPI_FAST_FLASH_BOOT)
flash read err, 1000
ets_main.c 371
I have tried to clear the flash using esptool but the same thing happens:
esptool.py -p com8 erase_flash
esptool.py v3.0
Serial port com8
Connecting…
Detecting chip type… ESP32
Chip is ESP32-D0WDQ6 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 4c:11:ae:89:9d:2c
Uploading stub…
Running stub…
Stub running…
Erasing flash (this may take a while)…
A fatal error occurred: Timed out waiting for packet content
But also this fails unconditionally.
Are there anything I could do to get this card working again?