My ESP-WROOM-32 Dev Board was working fine for weeks and now it is not allowing code to be uploaded through Arduino IDE while getting very hot within a minute. I am using Windows and the problem started when the usb port went off with an error (probably due to reverse current from ESP32).
I was trying to use GPIO32 to check if it was receiving a 3.9V signal or not. And suddenly the usb port went off and afterwards ESP32 gets very very hot and all uploads return with the same error:
'A fatal error occurred: Failed to connect to ESP32: No serial data received.'
This is my code from a previous post. Just added a bit about digitalRead() of GPIO32 in loop.
I have now disconnected ESP32 from rest of the circuit. It has stopped giving errors in 'Ports' of 'Device Manager', however, still cannot upload and 'A fatal error...' still persists.
Voltage measurements for on-board voltage regulator:
GND and middle: 3.08V
GND and top pin: 4.06V (USB)
Any help will be appreciated.