1

I am trying to load nanoFramework firmware onto an ESP32-Wroom-32 board (DEVKITV1).

When connected via USB the device shows up in Device Manager as COM3. I have tried connecting it via Putty and can read messages on baud rate 115200.

image

The device displays the restart message when EN is pressed, and when Boot+EN is pressed, device enters 'waiting for download' mode.

enter image description here

Despite this, I cannot get the device to show up in the device list in Device Explorer in Visual Studio enter image description here The debug window shows the following messages when I connect the USB cable connected to ESP32: enter image description here

Using commend prompt, trying to flash the firmware gives the following error: enter image description here

I have tried running command prompt with admin privileges but it doesn't help either. I tried forcing the device into 'waiting for download' mode aswell but that doesnt help either. Restarted visual studio, computer, that doesnt work aswell

Any idea what exactly could be going wrong. While Putty seems to be able to communicate with the device, it seems nanoframework cannot reach it.

Nouman Qaiser
  • 283
  • 4
  • 14

3 Answers3

2

The E4000 error that you get it's coming from the esp tool. Please run it again setting the output to verbose by adding: -v diag

José Simões
  • 606
  • 1
  • 5
  • 12
1

I realized the issue was caused by not holding the boot button for long enough. Apparently you have to hold it before you enter the nanoff command until you see the 'Erasing' message and you would be able to successfully download the firmware.

Nouman Qaiser
  • 283
  • 4
  • 14
0

By default nanoff uses 1500000 baud rate. Try set baud to 115200 manually:

nanoff --target ESP32_WROOM_32 --serialport COM3 --update --baud 115200