We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The verification phase is OK, the upload fails.
Error: unable to open CMSIS-DAP device 0x3eb:0x2157 Error: No Valid JTAG Interface Configured. Upload error: Error: 2 UNKNOWN: uploading error: exit status 4294967295
Steps to reproduce after wiping all previous state from C:\Users\kittaakos\AppData\Local\Arduino15:
C:\Users\kittaakos\AppData\Local\Arduino15
C:\Users\kittaakos\Desktop>arduino-cli.exe version arduino-cli.exe Version: 0.9.0 Commit: e4d02b4 C:\Users\kittaakos\Desktop>arduino-cli.exe core update-index Downloading missing tool builtin:ctags@5.8-arduino11... builtin:ctags@5.8-arduino11 downloaded Installing builtin:ctags@5.8-arduino11... builtin:ctags@5.8-arduino11 installed Downloading missing tool builtin:serial-discovery@1.0.0... builtin:serial-discovery@1.0.0 downloaded Installing builtin:serial-discovery@1.0.0... builtin:serial-discovery@1.0.0 installed Updating index: library_index.json downloaded Updating index: package_index.json downloaded C:\Users\kittaakos\Desktop>arduino-cli.exe core list C:\Users\kittaakos\Desktop>arduino-cli.exe core search ID Version Name Arrow:samd 2.1.0 Arrow Boards Intel:arc32 2.0.4 Intel Curie Boards Intel:i586 1.6.7+1.0 Intel i586 Boards Intel:i686 1.6.7+1.0 Intel i686 Boards Microsoft:win10 1.1.2 Windows 10 Iot Core arduino:avr 1.8.2 Arduino AVR Boards arduino:mbed 1.1.4 Arduino nRF528x Boards (Mbed OS) arduino:megaavr 1.8.6 Arduino megaAVR Boards arduino:nrf52 1.0.2 Arduino nRF52 Boards arduino:sam 1.6.12 Arduino SAM Boards (32-bits ARM Cortex-M3) arduino:samd 1.8.6 Arduino SAMD Boards (32-bits ARM Cortex-M0+) arduino:samd_beta 1.6.25 Arduino SAMD Beta Boards (32-bits ARM Cortex-M0+) atmel-avr-xminis:avr 0.6.0 Atmel AVR Xplained-minis emoro:avr 3.2.2 EMORO 2560 industruino:samd 1.0.1 Industruino SAMD Boards (32-bits ARM Cortex-M0+) littleBits:avr 1.0.0 littleBits Arduino AVR Modules C:\Users\kittaakos\Desktop>arduino-cli.exe core install arduino:samd Downloading packages... arduino:arm-none-eabi-gcc@7-2017q4 downloaded arduino:bossac@1.7.0-arduino3 downloaded arduino:openocd@0.10.0-arduino7 downloaded arduino:CMSIS@4.5.0 downloaded arduino:CMSIS-Atmel@1.2.0 downloaded arduino:arduinoOTA@1.2.1 downloaded arduino:samd@1.8.6 downloaded Installing arduino:arm-none-eabi-gcc@7-2017q4... arduino:arm-none-eabi-gcc@7-2017q4 installed Installing arduino:bossac@1.7.0-arduino3... arduino:bossac@1.7.0-arduino3 installed Installing arduino:openocd@0.10.0-arduino7... arduino:openocd@0.10.0-arduino7 installed Installing arduino:CMSIS@4.5.0... arduino:CMSIS@4.5.0 installed Installing arduino:CMSIS-Atmel@1.2.0... arduino:CMSIS-Atmel@1.2.0 installed Installing arduino:arduinoOTA@1.2.1... arduino:arduinoOTA@1.2.1 installed Installing arduino:samd@1.8.6... arduino:samd@1.8.6 installed C:\Users\kittaakos\Desktop>arduino-cli.exe core list ID Installed Latest Name arduino:samd 1.8.6 1.8.6 Arduino SAMD Boards (32-bits ARM Cortex-M0+) C:\Users\kittaakos\Desktop>arduino-cli.exe board list Port Type Board Name FQBN Core COM3 Serial Port (USB) Unknown COM4 Serial Port (USB) Unknown COM5 Serial Port (USB) Unknown COM6 Serial Port (USB) Unknown COM7 Serial Port (USB) Arduino Zero (Programming Port) arduino:samd:arduino_zero_edbg arduino:samd C:\Users\kittaakos\Desktop>arduino-cli.exe board list --format json [ { "address": "COM3", "protocol": "serial", "protocol_label": "Serial Port (USB)" }, { "address": "COM4", "protocol": "serial", "protocol_label": "Serial Port (USB)" }, { "address": "COM5", "protocol": "serial", "protocol_label": "Serial Port (USB)" }, { "address": "COM6", "protocol": "serial", "protocol_label": "Serial Port (USB)" }, { "address": "COM7", "protocol": "serial", "protocol_label": "Serial Port (USB)", "boards": [ { "name": "Arduino Zero (Programming Port)", "FQBN": "arduino:samd:arduino_zero_edbg" } ] } ] C:\Users\kittaakos\Desktop>arduino-cli.exe sketch new UploadToZeroOnWin10 Sketch created in: C:\Users\kittaakos\Desktop\UploadToZeroOnWin10 C:\Users\kittaakos\Desktop>arduino-cli.exe compile --fqbn arduino:samd:arduino_zero_edbg UploadToZeroOnWin10 Sketch uses 11592 bytes (4%) of program storage space. Maximum is 262144 bytes. Global variables use 2936 bytes of dynamic memory. 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 Error: unable to open CMSIS-DAP device 0x3eb:0x2157 Error: No Valid JTAG Interface Configured. Error during Upload: uploading error: exit status 4294967295 C:\Users\kittaakos\Desktop>
arduino-cli version
arduino-cli.exe Version: 0.9.0 Commit: e4d02b4
The text was updated successfully, but these errors were encountered:
I thought this might be a permission issue, and started CMD.EXE as an administrator; I had the same error.
CMD.EXE
Related?
Sorry, something went wrong.
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
No branches or pull requests
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
The text was updated successfully, but these errors were encountered: