I just bought Waveshare ESP32-S3-Nano Development Board, Based On ESP32-S3R8, Compatible with Arduino Nano ESP32, in my search for an ESP32 with PSRAM.
I cannot upload any example. Error: No DFU capable USB device available
IDE finds a port COMxx ESP32 Family device.
Windows device manager does not show the drive CH343SER or similar for that IDE detected port.
Also I do not find the board in my boards manager. And I cannot find the URL to update.
I tried similar S3 boards, the compile goes on well.
With the recommended board the compile goes well, at upload moment I get:
A fatal error occurred: Could not open COM4, the port is busy or doesn't exist.
(Cannot configure port, something went wrong. Original message: PermissionError(13, 'A device attached to the system is not functioning.', None, 31))
esptool v5.1.0
Serial port COM4:
Failed uploading: uploading error: exit status 2
Checking the COM4 on Windows it does not show the CH driver
Sorry, I drive a Mac and don't have those errors. The Permissions error might be a clue, search the forum on that but keep an eye on OS as it's also a common error on Linux but the cause is different. Good luck.
The problem is not the sketch, the problem is uploading,
In IDE I select the board ESP32S3 DEV Module.
The COM port XX saying (All ESP32 Family)
On Windows 11, Device manager the port shows USB Serial (CH340) COMxx.
Compiling goes well.
Uploading is the problem,
A fatal error occurred: Could not open COM4, the port is busy or doesn't exist.
(Cannot configure port, something went wrong. Original message: PermissionError(13, 'A device attached to the system is not functioning.', None, 31))
esptool v5.1.0
Serial port COM4:
Failed uploading: uploading error: exit status 2
Can you please post a photo of both sides of your board. AFIK the Waveshare board should not have that chip.
The error you are seeing is often associated with a CH340 driver needing to be rolled back or other fixes applied with Win11 but let see if that chip is indeed on your board.
In IDE I select the board ESP32S3 DEV Module.
Why are you not selecting the Arduino Nano ESP32 as suggested in the Waveshare Wiki referenced earlier in this thread?
Now I have the error C:/Users/mikem/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2511/bin/../lib/gcc/xtensa-esp-elf/14.2.0/../../../../xtensa-esp-elf/bin/ar.exe: unable to copy file
A defective board would not give a compile problem.
What i don't understand is how you went from a situation where a program compiled but wouldn't download to one where the program wouldn't compile after you made some changes to fix the ch340 on the port anomaly.