Closed kittaakos closed 4 years ago
I thought this might be a permission issue, and started CMD.EXE
as an administrator; I had the same error.
Related?
I have downloaded and installed the driver for Black Magic Probe from here, checked the wires again 😊, re-ran the upload, and now it works now 🎉
C:\Users\kittaakos\Desktop>arduino-cli.exe upload -p COM7 --fqbn arduino:samd:arduino_zero_edbg UploadToZeroOnWin10
Open On-Chip Debugger 0.10.0+dev-gf0767a31 (2018-06-11-13:36)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
debug_level: 0
none separate
adapter speed: 400 kHz
cortex_m reset_config sysresetreq
target halted due to debug-request, current mode: Thread
xPSR: 0x61000000 pc: 0x0000060c msp: 0x20007ffc
** Programming Started **
auto erase enabled
wrote 11776 bytes from file UploadToZeroOnWin10/UploadToZeroOnWin10.arduino.samd.arduino_zero_edbg.bin in 1.318470s (8.722 KiB/s)
** Programming Finished **
** Verify Started **
verified 11592 bytes in 0.978771s (11.566 KiB/s)
** Verified OK **
** Resetting Target **
shutdown command invoked
Bug Report
The verification phase is OK, the upload fails.
Current behavior
Steps to reproduce after wiping all previous state from
C:\Users\kittaakos\AppData\Local\Arduino15
:Expected behavior
Environment
arduino-cli version
):arduino-cli.exe Version: 0.9.0 Commit: e4d02b4
Additional context