You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When trying to upload any sketch using the official arduino-cli, the adafruit-nrfutil upload utility fails to locate the generated DFU .zip package, and thus can't program the device.
Set up (please complete the following information)
Expected behavior
I expect the adafruit-nrfutil to locate the generated DFU .zip package and use it to program the device.
Screenshots
N/A
Additional context
This issue was also posted at arduino/arduino-cli#641 because I'm not really sure which project is responsible. There is a little more detail in diagnosing the issue in that thread.
If I manually upload using the utility template and provide the DFU .zip path explicitly, the programming works as expected:
ardnew
changed the title
Unable to upload any sketch to ItsyBitsy nRF52840 using adafruit-nrfutil in arduino-cli
Unable to upload any sketch to ItsyBitsy nRF52840 using adafruit-nrfutil and arduino-cli
Apr 4, 2020
I have tried with arduino-cli 0.11.0 , seems like they fix the issue, it is worth to give it a try again.
arduino-cli Version: 0.11.0 Commit: 0296f4d
Tested with much simpler command that take the sketch folder as parameter (this is necessary for the output zip file is expanded correctly in the upload command). Note: if you have issue with arduino-cli cannot perform DTR, please update to master which add a few ms delay before reset into DFU #549 .
arduino-cli compile --fqbn adafruit:nrf52:feather52840:softdevice=s140v6,debug=l0 --upload --port /dev/ttyACM0 sketch_jul29a
Sketch uses 74116 bytes (9%) of program storage space. Maximum is 815104 bytes.
Global variables use 11996 bytes (5%) of dynamic memory, leaving 225572 bytes for local variables. Maximum is 237568 bytes.
Upgrading target on /dev/ttyACM0 with DFU package /home/hathach/Arduino/sketches/sketch_jul29a/build/adafruit.nrf52.feather52840/sketch_jul29a.ino.zip. Flow control is disabled, Single bank, Touch disabled
########################################
########################################
########################################
#########################
Activating new firmware
Device programmed.
Describe the bug
When trying to upload any sketch using the official arduino-cli, the
adafruit-nrfutil
upload utility fails to locate the generated DFU .zip package, and thus can't program the device.Set up (please complete the following information)
adafruit:nrf52 0.19.0
,arduino-cli Version: 0.0.0-git Commit: 8759bf46
Ubuntu 18.04.4 LTS
To Reproduce
Steps to reproduce the behavior:
arduino-cli
Expected behavior
I expect the
adafruit-nrfutil
to locate the generated DFU .zip package and use it to program the device.Screenshots
N/A
Additional context
This issue was also posted at arduino/arduino-cli#641 because I'm not really sure which project is responsible. There is a little more detail in diagnosing the issue in that thread.
If I manually upload using the utility template and provide the DFU .zip path explicitly, the programming works as expected:
The text was updated successfully, but these errors were encountered: