Arduino nano ESP32
I have been using an Arduino nano esp32 for a project and I have been messing around with varying stepper motor code. The accel stepper library would upload onto my arduino just fine but the stepper motor wouldnt turn, just release a high frequency buzzing. This led me to mess around and experiment with varying code until I have reached the point now, where nothing will download onto my arduino and the same "exit status 74" error keeps popping up. Additionally, anytime I log into the arduino IoT cloud It does not recognize the plugged in arduino and makes me redownload the create agent. I hope I have provided enough information.
Thank you.
Anonymous
Used platform Version Path
arduino:esp32 2.0.11 /home/builder/.arduino15/packages/arduino/hardware/esp32/2.0.11
Upload started
Programming with: Serial
Flashing with command:C:/Users/dsiac/.arduino-create/arduino/dfu-util/0.11.0-arduino5/dfu-util.exe --device 0x2341:0x0070 -D C:/Users/dsiac/AppData/Local/Temp/arduino-create-agent2509688852/KneePleaser_aug14a.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
Error during download get_status (LIBUSB_ERROR_PIPE)
Download [ ] 0% 0 bytes
Download [= ] 4% 12288 bytes
Download [== ] 8% 24576 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 [=============== ] 62% 180224 bytes
Executing command: exit status 74
The exit status from dfu-util of 74 means I/O error. It quit because of "Error during download get_status (LIBUSB_ERROR_PIPE)".
LIBUSB_ERROR_PIPE means the bootloader refused a transfer or request. It shouldn't do that unless there is an error and it cannot continue.
If it always happen at the same spot, it might be a flash memory issue. If it appears randomly, it can also be a bug in the bootloader, like many STM32 devices have (see e.g. https://sourceforge.net/p/dfu-util/tickets/141/).