aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2016-06-14 15:15:34 -0400
committerKevin O'Connor <kevin@koconnor.net>2016-06-14 15:17:03 -0400
commitafb1839b6bc60730e73b0b3fa6fad0804555193d (patch)
tree5ac20068941edeacb5177cfa95aa1d6193c666db
parentcc62a3dbf387dffe2d7e836c64cb5f5169971f05 (diff)
downloadkutter-afb1839b6bc60730e73b0b3fa6fad0804555193d.tar.gz
kutter-afb1839b6bc60730e73b0b3fa6fad0804555193d.tar.xz
kutter-afb1839b6bc60730e73b0b3fa6fad0804555193d.zip
docs: Update documentation with Arduino Due installation info
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
-rw-r--r--docs/Installation.md21
1 files changed, 18 insertions, 3 deletions
diff --git a/docs/Installation.md b/docs/Installation.md
index aae13511..8116673f 100644
--- a/docs/Installation.md
+++ b/docs/Installation.md
@@ -23,7 +23,9 @@ following commands:
```
sudo apt-get update
-sudo apt-get install avrdude gcc-avr binutils-avr avr-libc libncurses-dev
+sudo apt-get install libncurses-dev
+sudo apt-get install avrdude gcc-avr binutils-avr avr-libc # AVR toolchain
+sudo apt-get install bossa-cli libnewlib-arm-none-eabi # ARM toolchain
```
The host software (Klippy) requires a one-time setup - run as the
@@ -60,8 +62,8 @@ make
Ignore any warnings you may see about "misspelled signal handler" (it
is due to a bug fixed in gcc v4.8.3).
-Installing Klipper on a micro-controller
-----------------------------------------
+Installing Klipper on an AVR micro-controller
+---------------------------------------------
The avrdude package can be used to install the micro-controller code
on an AVR ATmega chip. The exact syntax of the avrdude command is
@@ -72,6 +74,19 @@ command for atmega2560 chips:
example-only$ avrdude -C/etc/avrdude.conf -v -patmega2560 -cwiring -P/dev/ttyACM0 -b115200 -D -Uflash:w:/home/pi/klipper/out/klipper.elf.hex:i
```
+Installing Klipper on an Arduino Due
+------------------------------------
+
+Klipper currently uses the Arduino Due USB programming port (it will
+not work when connected to the application USB port). The programming
+port is the USB port closest to the power supply. To flash Klipper to
+the Due connect it to the host machine and run:
+
+```
+stty -F /dev/ttyACM0 1200
+bossac -i -p ttyACM0 -R -e -w -v -b ~/klipper/out/klipper.bin
+```
+
Setting up the printer configuration
====================================