I'm new to using the Nano ESP32, and I've also been struggling with many of the same problems described above when trying to upload a sketch (getting the "No DFU capable USB device available" error). I'm using a Windows 11 PC and the latest version of the IDE (2.3.2) and Arduino ESP32 file from the Board Manager.
My question at this point is, do we always have to use the "Upload using Programmer" method for the Nano ESP32 board, or should I simply be able to use the normal Upload arrow if things are working properly?
Another error I've gotten is "A fatal error occurred: Failed to connect to ESP32: No serial data received." Any suggestions as to what this is about? I've tried searching on it and have gotten a variety of suggestions, but none seemed to work.
Hi @huskaroo.
If you connect your Nano ESP32 board to your computer with a USB cable and then open the Tools > Port menu in Arduino IDE, do you see an entry in the menu that is labeled as "Arduino Nano ESP32" (e.g., "COM42 (Arduino Nano ESP32)")?
You should use the "Upload" rightward pointing arrow button to upload to the Nano ESP32. The "Upload Using Programmer" is only used for certain advanced use cases.
Yes, I do see the Arduino Nano ESP32 show up in that menu, with an associated COM port.
The reason I ask about using the "Upload Using Programmer" is that in reading many posts regarding this issue, that seems to have been almost universally the recommendation.
I was beginning to wonder if I needed to try an older version of the IDE (which I've had to do to upload to my Pro-Mini boards), but with the Nano ESP32 being so relatively new, I figured older versions of the IDE might not work.
So somehow, after trying various things for hours, and downloading and installing the CP210x Driver file (one of the recommendations I had seen in other threads on this forum), and using the Boot button (more than once), I've finally managed to get the upload to work. I just don't know what did it and if it will continue to work in the future.
I'm glad it is working now. Thanks for taking the time to post an update!
Regards,
Per
Are you familiar with the CP210x Driver? Do you think downloading and installing that was necessary for using the Nano ESP32 with Windows?
I just like to understand what worked and why.
Thanks!
Definitely not. That is only necessary when using a board that has one of the Silicon Labs CP210x USB to serial bridge chips. Although some of the 3rd party ESP32-based boards do use that chip and so do require the driver, the Nano ESP32 does not use this chip. In fact, the ESP32-S3 microcontroller on the Nano ESP32 has a native USB capability which means it doesn't use any USB to serial bridge chip at all since the computer is able to communicate directly with the microcontroller.
OK, thanks. Good to know.
A post was split to a new topic: Blynk project with dimmer