SparkFun Forums 

Where electronics enthusiasts find answers.

For the discussion of Arduino related topics.
By Morrison1984
#197022
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:
Code: Select all
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
long long title how many chars? lets see 123 ok more? yes 60

We have created lots of YouTube videos just so you can achieve [...]

Another post test yes yes yes or no, maybe ni? :-/

The best flat phpBB theme around. Period. Fine craftmanship and [...]

Do you need a super MOD? Well here it is. chew on this

All you need is right here. Content tag, SEO, listing, Pizza and spaghetti [...]

Lasagna on me this time ok? I got plenty of cash

this should be fantastic. but what about links,images, bbcodes etc etc? [...]