From 9be065952a6b8ed2265958e241a55f5a31976d90 Mon Sep 17 00:00:00 2001 From: Nathan Faber <22845858+teadetime@users.noreply.github.com> Date: Wed, 19 Apr 2023 14:23:50 -0400 Subject: [PATCH] Adds Docs option for ArduinoIDE's example `ArduinoISP` (#20486) --- docs/isp_flashing_guide.md | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/docs/isp_flashing_guide.md b/docs/isp_flashing_guide.md index 08f56e987b0e..80fd1ddda125 100644 --- a/docs/isp_flashing_guide.md +++ b/docs/isp_flashing_guide.md @@ -35,6 +35,40 @@ To use a 5V/16MHz Pro Micro as an ISP flashing tool, you will first need to load !> Note that the `10` pin on the Pro Micro should be wired to the `RESET` pin on the keyboard's controller. ***DO NOT*** connect the `RESET` pin on the Pro Micro to the `RESET` on the keyboard. + +### Arduino Uno / Micro as ISP + +[Arduino Uno](https://store.arduino.cc/products/arduino-uno-rev3) +[Arduino Micro](https://store.arduino.cc/products/arduino-micro) + +A standard Uno or Micro can be used as an ISP flashing tool using the [example "ArduinoISP" sketch](https://docs.arduino.cc/built-in-examples/arduino-isp/ArduinoISP#load-the-sketch) to emulate an STK500 ISP. Also works with Sparkfun Pro Micros and clones. + +**AVRDUDE Programmer**: `stk500v1` +**AVRDUDE Port**: Serial + +#### Wiring + +|Uno |Keyboard| +|-----------|--------| +|`5V` |`VCC` | +|`GND` |`GND` | +|`10` (`B2`)|`RESET` | +|`13` (`B5`)|`SCLK` | +|`11` (`B3`)|`MOSI` | +|`12` (`B4`)|`MISO` | + +|Micro |Keyboard| +|-----------|--------| +|`5V` |`VCC` | +|`GND` |`GND` | +|`10` (`B6`)|`RESET` | +|`15` (`B1`)|`SCLK` | +|`16` (`B2`)|`MOSI` | +|`14` (`B3`)|`MISO` | + +!> Note that the `10` pin on the Uno/Micro should be wired to the `RESET` pin on the keyboard's controller. ***DO NOT*** connect the `RESET` pin on the Uno/Micro to the `RESET` on the keyboard. + + ### Teensy 2.0 as ISP [PJRC Teensy 2.0](https://www.pjrc.com/store/teensy.html) @@ -57,6 +91,7 @@ To use a Teensy 2.0 as an ISP flashing tool, you will first need to load a [spec !> Note that the `B0` pin on the Teensy should be wired to the `RESET` pin on the keyboard's controller. ***DO NOT*** connect the `RESET` pin on the Teensy to the `RESET` on the keyboard. + ### SparkFun PocketAVR / USBtinyISP [SparkFun PocketAVR](https://www.sparkfun.com/products/9825)