diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2018-11-30 22:22:42 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2018-11-30 22:22:42 -0500 |
commit | e505ab0df1cb4c31b171dde285fa4361d1e89df2 (patch) | |
tree | 1e1c4915e09baba6fe1d69f7af75d38ca8c4f513 /docs/Bootloaders.md | |
parent | f2179da8adfaff9862f12982713b27150c9bd9d1 (diff) | |
download | kutter-e505ab0df1cb4c31b171dde285fa4361d1e89df2.tar.gz kutter-e505ab0df1cb4c31b171dde285fa4361d1e89df2.tar.xz kutter-e505ab0df1cb4c31b171dde285fa4361d1e89df2.zip |
samd21: Add support for flashing an application via the bossac tool
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'docs/Bootloaders.md')
-rwxr-xr-x | docs/Bootloaders.md | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/docs/Bootloaders.md b/docs/Bootloaders.md index 079ad164..77f3ad3b 100755 --- a/docs/Bootloaders.md +++ b/docs/Bootloaders.md @@ -195,8 +195,12 @@ 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 -the flashing mechanism for this bootloader. +compiled with a start address of 8KiB). One can enter the bootloader +by double clicking the reset button. To flash an application use +something like: +``` +bossac -U -p "$(FLASH_DEVICE)" --offset=0x2000 -w out/klipper.bin -v -b -R +``` The Arduino M0 uses a 16KiB bootloader (the application must be compiled with a start address of 16KiB). To flash an application, |