~ruther/qmk_firmware

952cdc7be5014435a05cc2da96b216e2194fe6c5 — Nathan Faber 2 years ago e0a09ff
Adds Docs option for ArduinoIDE's example `ArduinoISP` (#20486)

1 files changed, 35 insertions(+), 0 deletions(-)

M docs/isp_flashing_guide.md
M docs/isp_flashing_guide.md => docs/isp_flashing_guide.md +35 -0
@@ 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)