can't erase-flash with esptool because serial port busy
Posted: Wed Jan 18, 2023 2:23 am
I flashed an esp32 with micropython then found I needed to code in C++. I figured that micropython was taking up space uselessly and when I tried to remove it with esptool erase_flash I got "Device is busy" from the Windows Thonny IDE. It won't let me use the COM port to stop it the running sketch. Admin level esptool, rebooting windows, rebooting the ESP, get the same result. What can I do to get past this? Thanks.