Programming the Arduino bootloader

For the discussion of Arduino related topics.

Moderator: phalanx

Post Reply
Posts: 1
Joined: Wed Nov 22, 2017 8:11 am

Programming the Arduino bootloader

Post by Morrison1984 » Wed Nov 22, 2017 8:29 am

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
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.


Posts: 3
Joined: Thu Mar 22, 2018 11:56 am

Re: Programming the Arduino bootloader

Post by mennamorato » Fri May 04, 2018 5:30 am

Did you ever figure this out? I need to do the same thing.

Post Reply