Can't upload to Genuino 101, IDE 2.2.1

OSX 13.6.3 (Ventura) using IDE 2.2.1, uploading blink_example.ino runs forever, but pressing master_reset results in:

Sketch uses 12528 bytes (8%) of program storage space. Maximum is 155648 bytes.
Starting download script...
exit status 74
Failed uploading: uploading error: exit status 1

Hi @Hal_cat. I'm going to ask you to post the full verbose output from an upload attempt.


:exclamation: This procedure is not intended to solve the problem. The purpose is to gather more information.


Please do this:

  1. Select File > Preferences... (or Arduino IDE > Settings... for macOS users) from the Arduino IDE menus.
    The "Preferences" dialog will open.
  2. Uncheck the box next to Show verbose output during: compilation in the "Preferences" dialog.
  3. Check the box next to Show verbose output during: ☐ upload.
  4. Click the "OK" button.
  5. Attempt an upload, as you did before.
  6. Wait until you are sure the upload has gone into the hang state
    (which would typically be indicated by no additional output being printed to the "Output" panel at the bottom of the Arduino IDE window)
  7. Press the "master_reset" button to force the upload to fail.
  8. You will see a "Upload error: ..." notification at the bottom right corner of the Arduino IDE window. Click the "COPY ERROR MESSAGES" button on that notification.
  9. Open a forum reply here by clicking the "Reply" button.
  10. Click the <CODE/> icon on the post composer toolbar.
    This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.
    Code block icon on toolbar
  11. Press the Ctrl+V keyboard shortcut (Command+V for macOS users).
    This will paste the error output from the upload into the code block.
  12. Move the cursor outside of the code block markup before you add any additional text to your reply.
  13. Click the "Reply" button to post the output.
ketch uses 12528 bytes (8%) of program storage space. Maximum is 155648 bytes.
Performing 1200-bps touch reset on serial port /dev/cu.usbmodem14601
"/Users/hal/Library/Arduino15/packages/Intel/tools/arduino101load/2.3.0/arduino101load" "-dfu=/Users/hal/Library/Arduino15/packages/arduino/tools/dfu-util/0.9.0-arduino1" "-bin=/private/var/folders/z_/mg2qts097nsfyc46h0tz76jw0000gn/T/arduino/sketches/ED3551AAEDA80BFF45DBA97DB343055A/blink_example.ino.bin" -port=/dev/cu.usbmodem14601 "-v" -ble_fw_str="ATP1BLE00R-1631C4439" -ble_fw_pos=169984 -rtos_fw_str="" -rtos_fw_pos=0 -core=2.0.0
arduino101load Version: 2.3.0 Commit: 176b46a Date: 2023-02-15T09:28:44Z
Starting download script...
Serial Port: /dev/cu.usbmodem14601
BIN FILE /private/var/folders/z_/mg2qts097nsfyc46h0tz76jw0000gn/T/arduino/sketches/ED3551AAEDA80BFF45DBA97DB343055A/blink_example.ino.bin
Waiting for device...
Device found!
Verifying BLE version: ATP1BLE00R-1631C4439
dfu-util: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
BLE version: verified
dfu-util 0.9

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 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...
ID 8087:0aba
Run-time device DFU version 0011
Claiming USB DFU Interface...
Setting Alternate Setting #7 ...
Determining device status: state = dfuDNLOAD-IDLE, status = 0
aborting previous incomplete transfer
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 0011
Device returned transfer size 2048
Copying data from PC to DFU device

Download	[                         ]   0%            0 bytes
Download	[===                      ]  14%         2048 bytes
Download	[=======                  ]  28%         4096 bytes
Download	[==========               ]  42%         6144 bytes
Download	[==============           ]  56%         8192 bytes
Download	[=================        ]  70%        10240 bytes
Download	[=====================    ]  84%        12288 bytesdfu-util: can't detach

Download	[======================== ]  98%        12528 bytes
Download	[=========================] 100%        12528 bytes
Download done.
Sent a total of 12528 bytes
state(2) = dfuIDLE, status(0) = No error condition is present
Done!
Resetting USB to switch back to runtime mode
SUCCESS: Sketch will execute in about 5 seconds.**[quote="Hal_cat, post:1, topic:1216332, full:true"]
OSX 13.6.3 (Ventura) using IDE 2.2.1, uploading blink_example.ino runs forever, but pressing master_reset results in:

Sketch uses 12528 bytes (8%) of program storage space. Maximum is 155648 bytes.
Starting download script...
exit status 74
Failed uploading: uploading error: exit status 1
[/quote]

**
So today's result is different than yesterday's.  Just for fun, I tried the other Genuino 101 I have, and it worked fine too.  Then I unchecked the verbose box, and it still worked.  I have absolutely nothing I can complain about now.  Thanks for your help.

Hal

The only other thing I can think of is that I had used IDE 1.x just before using IDE 2.2.1 and reporting my problem.
After that however I had rebooted my computer so that when I tried IDE 2.2.1 today it was a fresh start.

You are welcome. I'm glad it is working now. Thanks for taking the time to post an update!

Regards,
Per

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.