Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds Docs option for ArduinoIDE's example ArduinoISP #20486

Merged
merged 8 commits into from
Apr 19, 2023
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions docs/isp_flashing_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,38 @@ 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.


### Uno/Pro-Micro as ISP
[Arduino Uno](https://store.arduino.cc/products/arduino-uno-rev3) or Pro Micro
teadetime marked this conversation as resolved.
Show resolved Hide resolved

A standard 5v/16MMhz Uno or Pro 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 a stk500 ISP.
teadetime marked this conversation as resolved.
Show resolved Hide resolved

**AVRDUDE Programmer**: `stk500v1`
**AVRDUDE Port**: Serial

#### Wiring

|Uno |Keyboard|
|-----------|--------|
|`5v` |`VCC` |
|`GND` |`GND` |
|`10` |`RESET` |
|`13` |`SCLK` |
|`11` |`MOSI` |
|`12` |`MISO` |
teadetime marked this conversation as resolved.
Show resolved Hide resolved

|Pro-Micro |Keyboard|
teadetime marked this conversation as resolved.
Show resolved Hide resolved
|-----------|--------|
|`VCC` |`VCC` |
teadetime marked this conversation as resolved.
Show resolved Hide resolved
|`GND` |`GND` |
|`10` (`B6`)|`RESET` |
|`15` (`B1`)|`SCLK` |
|`16` (`B2`)|`MOSI` |
|`14` (`B3`)|`MISO` |

!> Note that the `10` pin on the Uno/Pro-Micro should be wired to the `RESET` pin on the keyboard's controller. ***DO NOT*** connect the `RESET` pin on the Uno/Pro-Micro to the `RESET` on the keyboard.
teadetime marked this conversation as resolved.
Show resolved Hide resolved


### Teensy 2.0 as ISP

[PJRC Teensy 2.0](https://www.pjrc.com/store/teensy.html)
Expand All @@ -57,6 +89,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)
Expand Down