I have just created my first Arduino board based on the SparkFun SAMD21 Mini Breakout.
I’m trying to program the board for the first time via the SWD header using an Atmel SAM-ICE J-link programmer.
I don’t think the Arudino software is detecting the SAM-ICE so I am not able to burn the bootloader with the following error:
Arduino: 1.8.4 (Windows 7), Board: "SparkFun SAMD21 Dev Breakout"
C:\Users\cmorriso\AppData\Local\Arduino15\packages\arduino\tools\openocd\0.9.0-arduino6-static/bin/openocd.exe -d2 -s C:\Users\cmorriso\AppData\Local\Arduino15\packages\arduino\tools\openocd\0.9.0-arduino6-static/share/openocd/scripts/ -f C:\Users\cmorriso\AppData\Local\Arduino15\packages\SparkFun\hardware\samd\1.4.0/variants/arduino_zero/openocd_scripts/arduino_zero.cfg -c telnet_port disabled; init; halt; at91samd bootloader 0; program {{C:\Users\cmorriso\AppData\Local\Arduino15\packages\SparkFun\hardware\samd\1.4.0/bootloaders/zero/SparkFun_SAMD21_Dev.bin}} verify reset; shutdown
Open On-Chip Debugger 0.9.0-g932ec70 (2017-02-15-12:34)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
debug_level: 2
Info : only one transport option; autoselect 'swd'
Error while burning bootloader.
adapter speed: 500 kHz
adapter_nsrst_delay: 100
cortex_m reset_config sysresetreq
Error: unable to find CMSIS-DAP device
I have Atmel Studio installed but I’ve no idea where to start to get this up and running. Ideally I’d like to get this running in the Arduino IDE.
Any help would be much appreciated.
Chris