diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2018-08-27 09:06:50 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2018-08-27 09:07:27 -0400 |
commit | 28fe6a5df0c4f857527ce6f07bc066bf796cf9c7 (patch) | |
tree | f9c7eb5f6a7b5bfd50d7a6569734f0ea3326feb3 /docs/Bootloaders.md | |
parent | 9b56c4f7800d81ed71c49f9c2b3a76b8aa3398a0 (diff) | |
download | kutter-28fe6a5df0c4f857527ce6f07bc066bf796cf9c7.tar.gz kutter-28fe6a5df0c4f857527ce6f07bc066bf796cf9c7.tar.xz kutter-28fe6a5df0c4f857527ce6f07bc066bf796cf9c7.zip |
docs: Update SAMD21 flashing information in Bootloaders.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'docs/Bootloaders.md')
-rwxr-xr-x | docs/Bootloaders.md | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/docs/Bootloaders.md b/docs/Bootloaders.md index c6147567..a45c7ea6 100755 --- a/docs/Bootloaders.md +++ b/docs/Bootloaders.md @@ -164,12 +164,16 @@ bossac --port=/dev/ttyACM0 -b -U -e -w -v -R out/klipper.bin SAMD21 micro-controllers (Arduino Zero) ======================================= -This document does not cover the method to flash a bootloader to the -SAMD21. +The SAMD21 bootloader is flashed via the ARM Serial Wire Debug (SWD) +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 -for the SAMD21. One comes standard with the "Arduino Zero" and the -other comes standard with the "Arduino M0". +Unfortunately, there are two common bootloaders deployed on the +SAMD21. One comes standard with the "Arduino Zero" and the other comes +standard with the "Arduino M0". The Arduino Zero uses an 8KiB bootloader (the application must be compiled with a start address of 8KiB). This document does not cover |