board_android-IoT/ESP32 2024. 6. 1. 23:59

A fatal esptool.py error occurred: Cannot configure port, something went wrong

 

https://forum.arduino.cc/t/a-fatal-esptool-py-error-occurred-cannot-configure-port-something-went-wrong/1225308/7

 

A fatal esptool.py error occurred: Cannot configure port, something went wrong

I have found that when the driver installation gets into this state, it can be solved by uninstalling and then reinstalling the drivers. After that, the "roll back" option should be enabled. I'll provide instructions: Close Arduino IDE if it is running. Co

forum.arduino.cc

>

  1. Click the "Close" button in the "Update Drivers Device - USB-SERIAL CH340 (COMn)" dialog.
    The dialog will close.
  2. Click the "Roll Back Driver" button in the "USB-SERIAL CH340 (COMn) Properties" dialog.
    The "Driver Package rollback" dialog will open.
  3. Click the radio button next to "My apps don't work with this driver" in the "Driver Package rollback" dialog .
  4. Click the "Yes" button.
    The "Driver Package rollback" dialog will close.
  5. Click the "Close" button in the "USB-SERIAL CH340 (COMn) Properties" dialog.
Now start Arduino IDE again and repeat whatever you were doing before when you encountered that error before. Hopefully this time you will not encounter that error during the sketch upload.
posted by cskimair
: