espressif / esp-box

The ESP-BOX is a new generation AIoT development platform released by Espressif Systems.
Apache License 2.0
714 stars 173 forks source link

[After playing well for one day ...] A device attached to the system is not functioning #10

Closed BigJohnn closed 2 years ago

BigJohnn commented 2 years ago

Hi, I have followed some tutorials, and do

idf.py -p COMX build flash

... things go well. But one day later, when I open my PC again, trying to run

idf.py -p COMX monitor

I got

serial.serialutil.SerialException: Cannot configure port, something went wrong. Original message: PermissionError(13, 'A device attached to the system is not functioning.', None, 31)`

I have tried to change my COM number or uninstall&&reinstall the driver of the serial, but nothing works T.T Any ideas? Thx. P.S. win10 env~

Real-YuZhe commented 2 years ago

Try manually putting the device into download mode and try again. To do this, keep GPIO0 low while toggling reset. On many development boards, the “Boot” button is connected to GPIO0, and you can press “Reset” button while holding “Boot”.

BigJohnn commented 2 years ago

@Real-YuZhe Thank you very much! I'll try this later~

BigJohnn commented 2 years ago

@Real-YuZhe It WORKS again! 多谢多谢~~