Problem with esptool

hello, when sending code to my arduino ESP32 CAM, i got this error (in french, sorry), the code is:

void setup() {


void loop() {


and the error:

Traceback (most recent call last):
File "", line 3682, in
File "", line 3675, in main
File "", line 3329, in main
File "", line 263, in init
File "site-packages\serial_init
.py", line 88, in serial_for_url
File "site-packages\serial\", line 62, in open
serial.serialutil.SerialException: could not open port 'COM4': WindowsError(31, 'Un p\xe9riph\xe9rique attach\xe9 au syst\xe8me ne fonctionne pas correctement.')
Failed to execute script esptool
le port série sélectionné Failed to execute script esptool
n'existe pas ou votre Arduino n'est pas connectée

Does Windows recognise show COM4 in Device Manager ?

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.