I keep finding posts about this here and on the Arduino site about enabling verbose mode in the IDE and copying the command line. I tried...
Code: Select all
MyMachine% /.../Arduino15/packages/adafruit/hardware/nrf52/1.1.0/tools/adafruit-nrfutil/macos/adafruit-nrfutil --verbose dfu serial -pkg /.../tc_firmware_v1.ino.zip -p /dev/cu.usbmodem1101 -b 115200 --singlebank
Upgrading target on /dev/cu.usbmodem1101 with DFU package /.../tc_firmware_v1.ino.zip. Flow control is disabled, Single bank, Touch disabled
Opened serial port /dev/cu.usbmodem1101
Starting DFU upgrade of type 4, SoftDevice size: 0, bootloader size: 0, application size: 165564
Sending DFU start packet
Timed out waiting for acknowledgement from device.
Failed to upgrade target. Error is: No data received on serial port. Not able to proceed.
Traceback (most recent call last):
File "__main__.py", line 296, in serial
... StackTrace Follows
There HAS to be a better way of allowing non-technical end users to push updates to Adafruit devices in the wild...
Anyone know of how this is being accomplished? I keep coming up empty on my searches.