Hi,
EDIT - looks like a dead board. I bought two (Thank God), and the second one works.
I did nothing weird; powered from the Mac; not using 5V anywhere; only one sensor device connected and it outputs a verified 3.3V, and 5 LEDs with a 100R resistor each. No static, mounted on a breadboard... this is very disappointing. I buy genuine Arduino hardware because it's meant to be reliable. So: anyone any idea?
Original post:
I am making a little project that is, so far, going well, with an Arduino ESP32.
All of a sudden, I can no longer successfully upload. That is, the upload goes fine, up to 100% etc, and then I get an error. And indeed my new code is not activated.
Only slightly panicking here... so any help, as always, much appreciated.
This is on an iMac (M1); zero changes since midway through the evening when suddenly it started doing this after the upload:
Sketch uses 825105 bytes (26%) of program storage space. Maximum is 3145728 bytes.
Global variables use 57192 bytes (17%) of dynamic memory, leaving 270488 bytes for local variables. Maximum is 327680 bytes.
"/Users/michael/Library/Arduino15/packages/arduino/tools/dfu-util/0.11.0-arduino5/dfu-util" --device 0x2341:0x0070 -D "/private/var/folders/2r/gj8grnbs1z53j1c2mn6yp2jh0000gn/T/arduino/sketches/E07B98EDE247A2E669E68711C8FD5EAA/esp32_test_sketch_aug3a.ino.bin" -Q
dfu-util 0.11-arduino4
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2021 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/
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 [ ] 2% 20480 bytes
Download [= ] 4% 36864 bytes
Download [= ] 7% 65536 bytes
Download [== ] 8% 69632 bytes
Download [=== ] 12% 102400 bytes
Download [=== ] 13% 110592 bytes
Download [==== ] 16% 135168 bytes
Download [==== ] 18% 151552 bytes
Download [===== ] 20% 167936 bytes
Download [====== ] 24% 200704 bytes
Download [======= ] 28% 233472 bytes
Download [======= ] 28% 237568 bytes
Download [======== ] 32% 266240 bytes
Download [======== ] 34% 282624 bytes
Download [========= ] 36% 299008 bytes
Download [========= ] 39% 327680 bytes
Download [========== ] 40% 335872 bytes
Download [=========== ] 44% 368640 bytes
Download [=========== ] 44% 372736 bytes
Download [============ ] 48% 401408 bytes
Download [============ ] 49% 409600 bytes
Download [============= ] 52% 434176 bytes
Download [============= ] 55% 458752 bytes
Download [============== ] 56% 466944 bytes
Download [=============== ] 60% 499712 bytes
Download [================ ] 64% 532480 bytes
Download [================ ] 65% 544768 bytes
Download [================= ] 68% 565248 bytes
Download [================= ] 71% 589824 bytes
Download [================== ] 72% 598016 bytes
Download [=================== ] 76% 630784 bytes
Download [==================== ] 80% 667648 bytes
Download [==================== ] 80% 671744 bytes
Download [===================== ] 84% 700416 bytes
Download [===================== ] 86% 720896 bytes
Download [====================== ] 88% 733184 bytes
Download [====================== ] 91% 761856 bytes
Download [======================= ] 92% 765952 bytes
Download [======================== ] 96% 798720 bytes
Download [======================== ] 97% 806912 bytes
Download [=========================] 100% 825472 bytes
Download done.
DFU state(7) = dfuMANIFEST, status(0) = No error condition is present
dfu-util: unable to read DFU status after completion (LIBUSB_ERROR_NO_DEVICE)
Failed uploading: uploading error: exit status 74```
Any ideas? Why suddenly?
Of course I have powered down the nano, etc etc