This is an old revision of the document!
Table of Contents
SAMD21 Bootloader
... with a Raspberry Pi
One has to install OpenOCD on a Raspberry Pi:
Update and install some tools:
sudo apt-get update sudo apt-get install git autoconf libtool make pkg-config libusb-1.0-0 libusb-1.0-0-dev htop
Download OpenOCD from http://openocd.zylin.com/#/admin/projects/openocd:
git clone http://openocd.zylin.com/openocd
Compile:
cd openocd-code ./bootstrap ./configure --enable-sysfsgpio --enable-bcm2835gpio make sudo make install
List of Interfaces:
cd /usr/local/share/openocd/scripts/interface ls
Wiring the SAMD21 Board:
RasPi-GPIO SAMD21 18 Reset 24 SWD IO 25 SWD CLK GND GND 3V§ 3V3
... with a Segger J-Link Programmer
Bootloader
Here one finds some SAMD21 bootloader: