I was working on a simple debounce test and inadvertently connected the 5V to the ground pin (I think). I may have connected to GPIO12 maybe. Before long I also had the 5V in connected to the 5V from the power source. The board did not power up. So I removed the wires and then things went south.
Now I just get this in the serial monitor.
rst:0x10 (RTCWDT_RTC_RESET),boot:0x1f (SPI_FAST_FLASH_BOOT)
flash read err, 1000
ets Jun 8 2016 00:22:57
Hard reset also does not seem to work.
% esptool.py –chip esp32 –port /dev/tty.usbserial-A50285BI –baud 115200 –before default_reset –after hard_reset erase_flash
Serial port /dev/tty.usbserial-A50285BI
A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
Did I fry my board?
How do I pull. pin 12 to low if I have messed that up?
If you’ve connected 5V to GND, you’ve fried your board. However, if that was the case it wouldn’t even be found by your computer.
That error means that the ESP32 is not in flashing mode when you try to upload code. When you start seeing those dots, you need to press the on-board BOOT button.
Learn more about that here: https://randomnerdtutorials.com/solved-failed-to-connect-to-esp32-timed-out-waiting-for-packet-header/
Let me know if this helps.