I'm new to these little gadgets and often out of my depth but managed to make some great IoT projects so far! ESP32 and Arduino IDE 1.8.9. - I had exclusively used the IDE to upload and had no problems. Recently I used an app that I coded as lazily as possible on an ESP32, basically it wrote and retrieved 6 or 7 ints to NVM every time through loop (which was unnecessary but I wanted to see how it'd work before i rewrote it to only write and retrieve when necessary). It worked for a few weeks and then lost connection constantly. I figured I just abused NVM too much, so I figured let's start fresh. I used the ESP Flash Download tool to do a clean erase of the board. Ever since, I can't get anything uploaded from the IDE (see below). Did I erase some bin file that came pre-installed to play nice with Arduino? How do I get my new code on this board! Greatly appreciate any help at all.
Code: Select all
esptool.py v2.6
Serial port COM3
Connecting........_____....._
Chip is ESP32D0WDQ6 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
MAC: a4
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Auto-detected Flash size: 4MB
Compressed 8192 bytes to 47...
Writing at 0x0000e000... (100 %)
Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.0 seconds (effective 4096.0 kbit/s)...
A fatal error occurred: Timed out waiting for packet header
A fatal error occurred: Timed out waiting for packet header