diff options
author | Ryan <fauxpark@gmail.com> | 2022-02-27 12:35:10 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-26 17:35:10 -0800 |
commit | 97d0e7cb2d1b4e3db16aa68a3d87437ffd472ffe (patch) | |
tree | 258801d6a936406bcfa260ac1e34b59f12c5d9b9 | |
parent | d94b5d0b8219dfce42aad5798d3bb1d6cf7fec19 (diff) |
[Docs] Add commands to flashing docs (#16456)
-rw-r--r-- | docs/flashing.md | 34 |
1 files changed, 30 insertions, 4 deletions
diff --git a/docs/flashing.md b/docs/flashing.md index f6b5ff78b2..83f4bf82ae 100644 --- a/docs/flashing.md +++ b/docs/flashing.md @@ -25,6 +25,11 @@ Compatible flashers: * [QMK Toolbox](https://github.com/qmk/qmk_toolbox/releases) (recommended GUI) * [dfu-programmer](https://github.com/dfu-programmer/dfu-programmer) / `:dfu` target in QMK (recommended command line) + ``` + dfu-programmer <mcu> erase --force + dfu-programmer <mcu> flash --force <filename> + dfu-programmer <mcu> reset + ``` Flashing sequence: @@ -73,8 +78,11 @@ BOOTLOADER = caterina Compatible flashers: * [QMK Toolbox](https://github.com/qmk/qmk_toolbox/releases) (recommended GUI) -* [avrdude](https://www.nongnu.org/avrdude/) with the `avr109` programmer / `:avrdude` target in QMK (recommended command line) * [AVRDUDESS](https://github.com/zkemble/AVRDUDESS) +* [avrdude](https://www.nongnu.org/avrdude/) with the `avr109` programmer / `:avrdude` target in QMK (recommended command line) + ``` + avrdude -p <mcu> -c avr109 -P <serialport> -U flash:w:<filename>:i + ``` Flashing sequence: @@ -106,8 +114,11 @@ BOOTLOADER = halfkay Compatible flashers: * [QMK Toolbox](https://github.com/qmk/qmk_toolbox/releases) (recommended GUI) -* [Teensy Loader Command Line](https://www.pjrc.com/teensy/loader_cli.html) / `:teensy` target in QMK (recommended command line) * [Teensy Loader](https://www.pjrc.com/teensy/loader.html) +* [Teensy Loader Command Line](https://www.pjrc.com/teensy/loader_cli.html) / `:teensy` target in QMK (recommended command line) + ``` + teensy_loader_cli -v -mmcu=<mcu> <filename> + ``` Flashing sequence: @@ -133,8 +144,11 @@ BOOTLOADER = usbasploader Compatible flashers: * [QMK Toolbox](https://github.com/qmk/qmk_toolbox/releases) (recommended GUI) -* [avrdude](https://www.nongnu.org/avrdude/) with the `usbasp` programmer / `:usbasp` target in QMK (recommended command line) * [AVRDUDESS](https://github.com/zkemble/AVRDUDESS) +* [avrdude](https://www.nongnu.org/avrdude/) with the `usbasp` programmer / `:usbasp` target in QMK (recommended command line) + ``` + avrdude -p <mcu> -c usbasp -U flash:w:<filename>:i + ``` Flashing sequence: @@ -159,8 +173,11 @@ BOOTLOADER = bootloadhid Compatible flashers: * [QMK Toolbox](https://github.com/qmk/qmk_toolbox/releases) (recommended GUI) -* [bootloadHID CLI](https://www.obdev.at/products/vusb/bootloadhid.html) / `:bootloadhid` target in QMK (recommended command line) * [HIDBootFlash](http://vusb.wikidot.com/project:hidbootflash) +* [bootloadHID CLI](https://www.obdev.at/products/vusb/bootloadhid.html) / `:bootloadhid` target in QMK (recommended command line) + ``` + bootloadHID -r <filename> + ``` Flashing sequence: @@ -232,6 +249,9 @@ Compatible flashers: * [QMK Toolbox](https://github.com/qmk/qmk_toolbox/releases) (recommended GUI) * [dfu-util](https://dfu-util.sourceforge.net/) / `:dfu-util` target in QMK (recommended command line) + ``` + dfu-util -a 0 -d 0483:DF11 -s 0x8000000:leave -D <filename> + ``` Flashing sequence: @@ -265,6 +285,9 @@ Compatible flashers: * [QMK Toolbox](https://github.com/qmk/qmk_toolbox/releases) (recommended GUI) * [dfu-util](https://dfu-util.sourceforge.net/) / `:dfu-util` target in QMK (recommended command line) + ``` + dfu-util -a 2 -d 1EAF:0003 -D <filename> + ``` Flashing sequence: @@ -286,6 +309,9 @@ Compatible flashers: * [QMK Toolbox](https://github.com/qmk/qmk_toolbox/releases) (recommended GUI) * [dfu-util](https://dfu-util.sourceforge.net/) / `:dfu-util` target in QMK (recommended command line) + ``` + dfu-util -a 0 -d 1C11:B007 -D <filename> + ``` Flashing sequence: |