docs: Update SAMD21 flashing information in Bootloaders.md

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2018-08-27 09:06:50 -04:00
parent 9b56c4f780
commit 28fe6a5df0
1 changed files with 9 additions and 5 deletions

View File

@ -164,12 +164,16 @@ bossac --port=/dev/ttyACM0 -b -U -e -w -v -R out/klipper.bin
SAMD21 micro-controllers (Arduino Zero) SAMD21 micro-controllers (Arduino Zero)
======================================= =======================================
This document does not cover the method to flash a bootloader to the The SAMD21 bootloader is flashed via the ARM Serial Wire Debug (SWD)
SAMD21. interface. This is commonly done with a dedicated SWD hardware dongle.
Alternatively, it appears one can use a Raspberry Pi with OpenOCD as a
programmer (see:
https://learn.adafruit.com/programming-microcontrollers-using-openocd-on-raspberry-pi/wiring-and-test
).
Unfortunately, it appears there are two common bootloaders available Unfortunately, there are two common bootloaders deployed on the
for the SAMD21. One comes standard with the "Arduino Zero" and the SAMD21. One comes standard with the "Arduino Zero" and the other comes
other comes standard with the "Arduino M0". standard with the "Arduino M0".
The Arduino Zero uses an 8KiB bootloader (the application must be The Arduino Zero uses an 8KiB bootloader (the application must be
compiled with a start address of 8KiB). This document does not cover compiled with a start address of 8KiB). This document does not cover