forked from qmk/qmk_firmware
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/qmk/qmk_firmware
* 'master' of https://github.com/qmk/qmk_firmware: (42 commits) pegasushoof Specify the bootloader to use :flash (qmk#6614) Fix Typo in :flash target for missing bootloader (qmk#6615) Mars80 Bug: Physical/Electrical Matrix Mismatch (qmk#6612) [Keymap] Redox_w Use layer_state_set_user instead of matrix_scan_user (qmk#6608) Added OLED Display autoscroll during periods of OLED data inactivity (qmk#6546) Refactor `qmk compile-json` to `qmk compile` (qmk#6592) RGB Inidcator example for new van pcbs (qmk#6544) Add new 60% Tsangan HHKB layout (qmk#6607) [Keyboard] Maartenwut Wonderland PCB (qmk#6492) Add 2015 revision of Pegasus Hoof to QMK (qmk#6595) [Keyboard] New Keyboard: EVE Meteor (qmk#6565) updates the coc [Keymap] a keymap to "transform" a jj40 info a simil Alpha28, to enjoy its simplicity and power (qmk#6599) [Keyboard] Add JNAO keyboard (qmk#6598) [Keymap] ISO keymap for TADA68 with programming in mind (qmk#6597) [Keymap] Update to userspace kuchosauroand0 (qmk#6596) Add 'bootloadHID' flash target (qmk#5587) Add Zadig 101 to docs (qmk#6585) Add Soft Serial Speed to Diverge3 keyboard config for compatibility (qmk#5076) Added 4by3 keyboard (qmk#6547) ...
- Loading branch information
Showing
259 changed files
with
5,583 additions
and
1,382 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Bootloader Driver Installation with Zadig | ||
|
||
QMK presents itself to the host as a regular HID keyboard device, and as such requires no special drivers. However, in order to flash your keyboard on Windows, the bootloader device that appears when you reset the board often *does*. | ||
|
||
There are two notable exceptions: the Caterina bootloader, usually seen on Pro Micros, and the Halfkay bootloader shipped with PJRC Teensys, appear as a serial port and a generic HID device respectively, and so do not require a driver. | ||
|
||
We recommend the use of the [Zadig](https://zadig.akeo.ie/) utility. If you have set up the development environment with Msys2 or WSL, the `qmk_install.sh` script will have asked if you want it to install the drivers for you. | ||
|
||
## Installation | ||
|
||
Place your keyboard into the bootloader mode, either by hitting the `RESET` keycode (which may be on a different layer), or by pressing the reset switch usually located on the underside of the board. If your keyboard has neither, try holding Escape, or Space+`B`, as you plug it in (see the [Bootmagic](feature_bootmagic.md) docs for more details). | ||
Some keyboards may have specific instructions for entering the bootloader, for example the [Bootmagic Lite](feature_bootmagic.md#bootmagic-lite) key (Escape) might be on a different key, such as Left Control. Refer to the board's README if you are unsure. | ||
|
||
Zadig will automatically detect the bootloader device. You may sometimes need to check **Options -> List All Devices**. | ||
- For keyboards with Atmel AVR MCUs, the bootloader will be named something similar to `ATm32U4DFU`, and have a Vendor ID of `03EB`. | ||
- USBasp bootloaders will appear as `USBasp`, with a VID/PID of `16C0:05DC`. | ||
- AVR keyboards flashed with the QMK-DFU bootloader will be named `<keyboard name> Bootloader` and will also have the VID `03EB`. | ||
- For most ARM keyboards, it will be called `STM32 BOOTLOADER`, and have a VID/PID of `0483:DF11`. | ||
|
||
!> If Zadig lists one or more devices with the `HidUsb` driver, your keyboard is probably not in bootloader mode. The arrow will be colored orange and you will be asked to confirm modifying a system driver. **Do not** proceed if this is the case! | ||
|
||
If the arrow appears green, select the driver, and click **Install Driver**. The `libusb-win32` driver will usually work for AVR, and `WinUSB` for ARM, but if you still cannot flash the board, try installing a different driver from the list. | ||
|
||
![Zadig with a bootloader driver correctly installed](https://i.imgur.com/b8VgXzx.png) | ||
|
||
Finally, unplug and replug the keyboard to make sure the new driver has been loaded. If you are using the QMK Toolbox to flash, exit and restart it too, as it can sometimes fail to recognize the driver change. | ||
|
||
## Recovering from Installation to Wrong Device | ||
|
||
If you find that you can no longer type with the keyboard, you may have installed the driver onto the keyboard itself instead of the bootloader. You can easily confirm this in Zadig - a healthy keyboard has the `HidUsb` driver installed on all of its interfaces: | ||
|
||
![A healthy keyboard as seen by Zadig](https://i.imgur.com/Hx0E5kC.png) | ||
|
||
Open the Device Manager and look for a device that looks like your keyboard. | ||
|
||
![The board with the wrong driver installed, in Device Manager](https://i.imgur.com/L3wvX8f.png) | ||
|
||
Right-click it and hit **Uninstall device**. Make sure to tick **Delete the driver software for this device** first. | ||
|
||
![The Device Uninstall dialog, with the "delete driver" checkbox ticked](https://i.imgur.com/aEs2RuA.png) | ||
|
||
Click **Action -> Scan for hardware changes**. At this point, you should be able to type again. Double check in Zadig that the keyboard device(s) are using the `HidUsb` driver. If so, you're all done, and your board should be functional again! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.