From a8a912fbb5ddef0b36f38656fb5d0268b75f595c Mon Sep 17 00:00:00 2001 From: Florian Heilmann Date: Thu, 23 Aug 2018 01:17:43 +0200 Subject: docs: Update sam4e8e docs and benchmarks (#562) Signed-off-by: Florian Heilmann --- docs/Bootloaders.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) mode change 100644 => 100755 docs/Bootloaders.md (limited to 'docs/Bootloaders.md') diff --git a/docs/Bootloaders.md b/docs/Bootloaders.md old mode 100644 new mode 100755 index c1528c32..87ce0b00 --- a/docs/Bootloaders.md +++ b/docs/Bootloaders.md @@ -144,6 +144,24 @@ stty -F /dev/ttyACM0 1200 bossac -i -p ttyACM0 -R -e -w -v -b out/klipper.bin ``` +SAM4 micro-controllers (Duet Wifi) +==================================== + +It is not common to use a bootloader with the SAM4 mcu. The chip +itself has a ROM that allows the flash to be programmed from 3.3V +serial port or from USB. + +To enable the ROM, the "erase" pin is held high during a reset, which +erases the flash contents, and causes the ROM to run. + +The code at https://github.com/shumatech/BOSSA can be used to program +the SAM4. It is necessary to use version `1.8.0` or higher. + +To flash an application use something like: +``` +bossac --port=/dev/ttyACM0 -b -U -e -w -v -R out/klipper.bin +``` + SAMD21 micro-controllers (Arduino Zero) ======================================= -- cgit v1.2.3-70-g09d2