How to reset wESP32 board.

tunikinc wrote 05/12/2024 at 22:27 0 points

I'm a beginner with the wESP32 board. My problem is that I can upload a program only once and then the board won't accept another program. I'm using Visual Studio Code on Windows with the Platformio IDE and the Arduino platform. The first program (a wifi scanner) loads and runs just fine but subsequent attempts end with a serial port communication error. Yes, Windows and the IDE can find the port (COM5 on my machine), and yes the serial monitor has no problem reading input from the wESP32 on that same port (baud = 115200). What am I doing wrong?




I've tried using a different platform (Expressif IDE) with the same result. I've also tried specifying the COM port and the baud rate (9600) in the platformio.ini file. No luck.

ask