Waveshare ESP32-S3-Nano Development Board, Based On ESP32-S3R8, Compatible with Arduino Nano ESP32,

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.

Please, HELP

Hello,

You’re not telling us what board you chose in your IDE?
Can you try to follow the steps detailed here pls :

In the menu on the left you can go to ‘Install Nano ESP32 Package’ and then ‘Create Example’

I think you are confused. Your board is an esp32, it is NOT an arduino nano esp32.

Show us what board you have selected.

@sonofcy

My board is Waveshare ESP32-S3-Nano Development Board, Based On ESP32-S3R8, Compatible with Arduino Nano ESP32,

I do not find in the boards list.

@Anthony_P

I have all this already done.

Just use the generic esp32-s3.

The pin out and processor is the same as the Arduino Nano ESP32 and that's why the Waveshare wiki linked in Post #2 says to select that board.

@sonofcy

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

IDE shows the port as ESP32 Family Device

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.

That is correct, there is no CH chip as a usb interface on that board.

In the IDE pull down under Preferences please check to show verbose output for compile and unload.

It's would be best to use a simple sketch like Blink or the Bare Minuimum. Ensure there are no connections to the board other than the usb cable.

Please post the complete results.

@cattledog

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?

@cattledog

In the support email Waveshare recommended the board I’m using. Before I tried Arduino Nano ESP32, no difference.

Sending you the pic soon.

@cattledog

That board looks as expected, and I do not see a CH340 chip.

Why your Windows device manager is detecting a CH340 chip is a mystery to me.

Is it possible that you are using a USB cable with a built in CH340.

Does the device manager finding come and go when the board is connected and disconnected?

You may try download and use the Windows Process Explorer tool to see what can be going on with that Port.

@cattledog

I removed the CH340 driver from the COM port.

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

I think this indicates something wrong with the esp32 core installation in the IDE and a gcc compiler problem as a consequence.

My suggestion would be to use the board manager to uninstall the ESP32 core with the Remove button and then reinstall.

I removed the CH340 driver from the COM port.

How did you achieve this?

@cattledog

I removed the library and re-installed it. Same behaviour.

I’m thinking about declare a defective board.

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.