Hello,
I have executed the install script. post install script
Afterwards I had further entries in the port selection.
I don't know what "3-2" is supposed to be, it doesn't work either.
All others are grayed out.
The group plugdev does not exist.
Upload Error:
Opening DFU capable USB device...
dfu-util: error get_status: LIBUSB_ERROR_PIPE
Device ID 2341:0070
Device DFU version 0101
Claiming USB DFU Interface...
Setting Alternate Interface #0 ...
Determining device status...
Failed upload: Upload error: exit status 74
My honest opinion. I have a different expectation of an original Nano ESP32 board with Arduino IDE. It should work out of the box. After all, Arduino is meant to be used by non-students, non-electronics and non-computer professionals. When I read the forum for error messages, it's all just totally disjointed. There is not a single coherent manual.
The ease of use that started with the Uno is long gone.
Hi,
I don't know exactly what happened.
I had read more on the Internet.
You should press the reset button twice in quick succession.
dfu-util-no-dfu-capable-usb-device-available-solved/
I did that and was apparently in bootloader mode.
In this mode, the RGB LED only flashes green.
I was able to flash normally.
But still not really. Sometimes it worked and sometimes not. I plugged the board in again and since then I can flash without press reset. No idea what the effect was.
It is still available as a port
/dev/tty/ACM0
is still selected.
Opening DFU capable USB device...
Device ID 2341:0070
Device DFU version 0101
Claiming USB DFU Interface...
Setting Alternate Interface #0 ...
Determining device status...
DFU state(2) = dfuIDLE, status(0) = No error condition is present
DFU mode device DFU version 0101
Device returned transfer size 4096
Copying data from PC to DFU device
Download [ ] 0% 0 bytes
Download [= ] 4% 12288 bytes
Download [== ] 8% 24576 bytes
Download [== ] 9% 28672 bytes
Download [=== ] 12% 36864 bytes
Download [==== ] 16% 49152 bytes
Download [===== ] 21% 61440 bytes
Download [====== ] 25% 73728 bytes
Download [======= ] 28% 81920 bytes
Download [======== ] 32% 94208 bytes
Download [========= ] 36% 106496 bytes
Download [========== ] 40% 118784 bytes
Download [=========== ] 45% 131072 bytes
Download [============ ] 49% 143360 bytes
Download [============= ] 52% 151552 bytes
Download [============== ] 56% 163840 bytes
Download [=============== ] 60% 176128 bytes
Download [================ ] 64% 188416 bytes
Download [================ ] 67% 196608 bytes
Download [================= ] 69% 200704 bytes
Download [================== ] 73% 212992 bytes
Download [=================== ] 76% 221184 bytes
Download [==================== ] 80% 233472 bytes
Download [===================== ] 84% 245760 bytes
Download [====================== ] 88% 258048 bytes
Download [======================= ] 93% 270336 bytes
Download [======================== ] 97% 282624 bytes
Download [=========================] 100% 286256 bytes
Download done.
DFU state(7) = dfuMANIFEST, status(0) = No error condition is present
DFU state(2) = dfuIDLE, status(0) = No error condition is present
Done!
Some Arduino boards support uploading firmware via "Device Firmware Upgrade" (DFU). This mechanism does not use the serial port, using instead direct USB communication. For this reason, the Arduino developers created a dfu-discovery tool that recognizes these devices and includes them in the ports listed in Arduino IDE.
That is not necessary in the case where the board is also producing a USB CDC serial port, but some Arduino sketches may cause the board to not produce such a port. In this case it is useful to still have a port to select in the IDE for uploads.
You can think of "3-2" as just an arbitrary identifier. It is not necessary to know what it is "supposed to be" any more than it is necessary to know what "/dev/ttyACM0" is supposed to be.
I think there is definitely room for improvement in improving the user experience for the Nano ESP32, bringing it closer to the "Uno experience".
However, creating things with embedded systems is inherently a complex endeavor. Arduino is about reducing the amount of unnecessary complexity involved. But eliminating all complexity while still allowing the users freedom to make a near infinite number of amazing things is impossible. The amount of necessary complexity will always be higher with the more advanced boards. More advanced users will be happy to accept the increase in complexity in order to gain access to the additional capabilities of these boards, but these boards might not be a good fit for a less experienced user or a user who simply wants to work with a more simple system. Fortunately the beloved Uno, Nano, Mega, Leonardo, Micro boards remain a great option for those users and the community has proven many times over that incredible things can be done within the constraints of the more limited resources those boards provide.
If you aren't enjoying your experience with the Nano ESP32, I suggest you put it aside for now and go back to the good old Uno. At some point in the future you might find the need for the capabilities of the Nano ESP32 and give it another try with the benefit of a new perspective on your end and more resources on Arduino's end.
I'm glad it is working now. Thanks for taking the time to post an update!
1 Like
Thanks for the explanation.