diff options
| author | yiancar <yiangosyiangou@cytanet.com.cy> | 2019-07-16 03:11:59 +0100 |
|---|---|---|
| committer | Drashna Jaelre <drashna@live.com> | 2019-07-15 19:11:59 -0700 |
| commit | 3538955778c253e68779605cc67c27e15d195729 (patch) | |
| tree | 3287594c4d9dbabbcf26a5a0d7461362c6509883 /docs/flashing.md | |
| parent | 7d557a0514e2cef42a3d460f6cc78771b5df0a30 (diff) | |
| download | qmk_firmware-3538955778c253e68779605cc67c27e15d195729.tar.gz qmk_firmware-3538955778c253e68779605cc67c27e15d195729.zip | |
Usbasploader bootloader option addition (#6304)
* Added USBasp bootloader option for USBasploader
* author comment
* ifdef fix :)
* Add usbasp target
* Update docs/flashing.md
Co-Authored-By: fauxpark <fauxpark@gmail.com>
* Update docs/flashing.md
Co-Authored-By: fauxpark <fauxpark@gmail.com>
* Update docs/flashing.md
Co-Authored-By: fauxpark <fauxpark@gmail.com>
Diffstat (limited to 'docs/flashing.md')
| -rw-r--r-- | docs/flashing.md | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/docs/flashing.md b/docs/flashing.md index 3b4582f00..833b9dd62 100644 --- a/docs/flashing.md +++ b/docs/flashing.md | |||
| @@ -119,6 +119,31 @@ Flashing sequence: | |||
| 119 | 3. Flash a .hex file | 119 | 3. Flash a .hex file |
| 120 | 4. Reset the device into application mode (may be done automatically) | 120 | 4. Reset the device into application mode (may be done automatically) |
| 121 | 121 | ||
| 122 | ## USBasploader | ||
| 123 | |||
| 124 | USBasploader is a bootloader developed by matrixstorm. It is used in some non-USB AVR chips such as the ATmega328P, which run V-USB. | ||
| 125 | |||
| 126 | To ensure compatibility with the USBasploader bootloader, make sure this block is present in your `rules.mk`: | ||
| 127 | |||
| 128 | # Bootloader | ||
| 129 | # This definition is optional, and if your keyboard supports multiple bootloaders of | ||
| 130 | # different sizes, comment this out, and the correct address will be loaded | ||
| 131 | # automatically (+60). See bootloader.mk for all options. | ||
| 132 | BOOTLOADER = USBasp | ||
| 133 | |||
| 134 | Compatible flashers: | ||
| 135 | |||
| 136 | * [QMK Toolbox](https://github.com/qmk/qmk_toolbox/releases) (recommended GUI) | ||
| 137 | * [avrdude](http://www.nongnu.org/avrdude/) with the `usbasp` programmer | ||
| 138 | * [AVRDUDESS](https://github.com/zkemble/AVRDUDESS) | ||
| 139 | |||
| 140 | Flashing sequence: | ||
| 141 | |||
| 142 | 1. Press the `RESET` keycode, or keep the boot pin shorted to GND while quickly shorting RST to GND | ||
| 143 | 2. Wait for the OS to detect the device | ||
| 144 | 3. Flash a .hex file | ||
| 145 | 4. Reset the device into application mode (may be done automatically) | ||
| 146 | |||
| 122 | ## STM32 | 147 | ## STM32 |
| 123 | 148 | ||
| 124 | All STM32 chips come preloaded with a factory bootloader that cannot be modified nor deleted. Some STM32 chips have bootloaders that do not come with USB programming (e.g. STM32F103) but the process is still the same. | 149 | All STM32 chips come preloaded with a factory bootloader that cannot be modified nor deleted. Some STM32 chips have bootloaders that do not come with USB programming (e.g. STM32F103) but the process is still the same. |
