aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Heilmann <Florian.Heilmann@gmx.net>2018-08-23 01:17:43 +0200
committerKevinOConnor <kevin@koconnor.net>2018-08-22 19:17:43 -0400
commita8a912fbb5ddef0b36f38656fb5d0268b75f595c (patch)
treefb66f7a81dc6341cf2a1a3b451373aca3597ee97
parente94f3b78271cdff6889628a76951eef9f3c8cecf (diff)
downloadkutter-a8a912fbb5ddef0b36f38656fb5d0268b75f595c.tar.gz
kutter-a8a912fbb5ddef0b36f38656fb5d0268b75f595c.tar.xz
kutter-a8a912fbb5ddef0b36f38656fb5d0268b75f595c.zip
docs: Update sam4e8e docs and benchmarks (#562)
Signed-off-by: Florian Heilmann <Florian.Heilmann@gmx.net>
-rwxr-xr-x[-rw-r--r--]docs/Bootloaders.md18
-rwxr-xr-x[-rw-r--r--]docs/Debugging.md17
-rwxr-xr-x[-rw-r--r--]docs/Features.md2
3 files changed, 36 insertions, 1 deletions
diff --git a/docs/Bootloaders.md b/docs/Bootloaders.md
index c1528c32..87ce0b00 100644..100755
--- 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)
=======================================
diff --git a/docs/Debugging.md b/docs/Debugging.md
index cc68d526..054a687e 100644..100755
--- a/docs/Debugging.md
+++ b/docs/Debugging.md
@@ -288,6 +288,23 @@ single stepper result is `SET ticks 249`, the best dual stepper result
is `SET ticks 220`, and the best three stepper result is `SET ticks
374`.
+### Duet Wifi step rate benchmark ###
+
+The following configuration sequence is used on the Duet Wifi:
+```
+allocate_oids count=3
+config_stepper oid=0 step_pin=PD6 dir_pin=PD11 min_stop_interval=0 invert_step=0
+config_stepper oid=1 step_pin=PD7 dir_pin=PD12 min_stop_interval=0 invert_step=0
+config_stepper oid=2 step_pin=PD8 dir_pin=PD13 min_stop_interval=0 invert_step=0
+finalize_config crc=0
+```
+
+The test was last run on commit `e94f3b7` with gcc version
+`arm-none-eabi-gcc (15:5.4.1+svn241155-1) 5.4.1 20160919`. The best
+single stepper result is `SET ticks 325`, the best dual stepper result
+is `SET ticks 283`, and the best three stepper result is `SET ticks
+379`.
+
### Beaglebone PRU step rate benchmark ###
The following configuration sequence is used on the PRU:
diff --git a/docs/Features.md b/docs/Features.md
index 01152373..bf4d9319 100644..100755
--- a/docs/Features.md
+++ b/docs/Features.md
@@ -98,7 +98,7 @@ represent total number of steps per second on the micro-controller.
| Arduino Due (ARM SAM3X8E) | 382K | 337K |
| Smoothieboard (ARM LPC1768) | 385K | 385K |
| Smoothieboard (ARM LPC1769) | 462K | 462K |
-| Duet Wifi/Eth (ARM SAM4E8E) | 545K | 545K |
+| Duet Wifi/Eth (ARM SAM4E8E) | 475K | 475K |
| Beaglebone PRU | 689K | 689K |
On AVR platforms, the highest achievable step rate is with just one