I just got a Nano ESP32 and attempted to install MicroPython. The instructions were quite clear. The installer recognized my Nano and it appeared I was able to put it into the special Bootloader mode. Everything progressed exactly as the instructions side, but then the installer came back and gave me an error message saying "Installing from native bootloader is not supported yet."
I got the light purple LED that said I was in the special Bootloader mode. I repeated this several times, always with the same result. Any suggestions on what I am doing wrong?
At the moment flashing the application image is the only supported mode which means that you should not put the board into native bootloader mode to install MicroPython. Just connect the board and click install.
That said, we'll very soon add support also for native bootloader mode.
Documentation is being updated, thanks for pointing this out!
Thanks for the prompt reply. Just connecting the board and clicking install resulted in this rather cryptic error message:
Error invoking remote method 'on-install': Error running dfu-util: 'Command failed: "C:\Users\Doug.000\AppData\Local\MicroPythonInstaller\app-1.2.0\resources\app\node_modules\firmware-flash\bin\win32\ia32\dfu-util.exe" -a 0 -d 0x2341:0x0070 -D "C:\Users\Doug.000\AppData\Local\Temp\nanoesp32_jul14_micropython.bin" -Q Cannot open DFU device 2341:0070 found on devnum 10 (LIBUSB_ERROR_NOT_FOUND) No DFU capable USB device available '
Any other suggestions? (I am running the MicroPython installer on Windows 10)
Additional info: I decided to connect my board using the Arduino IDE. It appeared to connect through port 9 and I was able to see the board info:
BN: Arduino Nano ESP32
VID: 2341
PID: 0070
SN: 3485187B1F54
However, when I tried to upload a simple blink program, I got the following error:
Cannot open DFU device 2341:0070 found on devnum 10 (LIBUSB_ERROR_NOT_FOUND)
No DFU capable USB device available
Failed uploading: uploading error: exit status 74
Similar to the error I got above trying to install MicroPython. I have many different Arduino boards and am not having any problems uploading to any of them. Does the Nano ESP32 require a special driver for the serial interface or ???
This issue was resolved by deleting the Nano ESP32 board package and reinstalling it. I was missing the Arduino DFU driver according to Windows Device Manager. I can upload programs from the Arduino IDE, and I did get MicroPython installed and working.
Hi! Thank you for posting your solution! I have the exact same issue. Was that the "Arduino ESP32 Boards" package or the "esp32" package? I followed the instructions from this post which got me to the install of the "esp32" package. Also how did you install the Arduino DFU driver in Windows?
The board package is esp32, version2.0.11. With that installed, you have to select from it Arduino Nano ESP32, which is separate from the list of other esp32 boards. That is only one that actually worked.