FroggMaster/ESP32-Wi-Fi-Penetration-Tool

[BUG] - False Unhandled Exception Error on Windows 11

FroggMaster opened this issue · 0 comments

Describe the bug
When flashing VIA Windows 11 there is a false error outputted. Despite this error being displayed the Firmware will still successfully flash to the ESP32.

Leaving...
Staying in bootloader.

Traceback (most recent call last):
  File "esptool.py", line 34, in <module>
  File "esptool\__init__.py", line 995, in _main
  File "esptool\__init__.py", line 820, in main
  File "esptool\loader.py", line 1334, in soft_reset
  File "esptool\loader.py", line 806, in flash_finish
  File "esptool\loader.py", line 378, in check_command
  File "esptool\loader.py", line 365, in command
  File "serial\serialutil.py", line 372, in timeout
  File "serial\serialwin32.py", line 222, in _reconfigure_port
serial.serialutil.SerialException: Cannot configure port, something went wrong. Original message: PermissionError(13, 'A device attached to the system is not functioning.', None, 31)
[40516] Failed to execute script 'esptool' due to unhandled exception!

To Reproduce
Steps to reproduce the behavior:

  1. Flash VIA the flash.bat
  2. Both the Auto and Manual method output the same error

Expected behavior
This error does not display and only confirmation that FW has successfully flashed displayed;

Screenshots
N/A

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser: N/A
  • Version: N/A