aboutsummaryrefslogtreecommitdiff
path: root/docs/faq_build.md
diff options
context:
space:
mode:
authorYan-Fa Li <yanfali@gmail.com>2019-02-18 08:50:22 -0800
committerDrashna Jaelre <drashna@live.com>2019-02-18 08:50:22 -0800
commitefef54032bddadcaf8b2a138121a6fda382b271a (patch)
tree112c2572d16df5e3f08a20e5b1f31b04316f2007 /docs/faq_build.md
parentfc069869896c279f175d2d5acf1ef545278c7102 (diff)
downloadqmk_firmware-efef54032bddadcaf8b2a138121a6fda382b271a.tar.gz
qmk_firmware-efef54032bddadcaf8b2a138121a6fda382b271a.zip
[Docs] Add section about EEPROM on ARM (#5070)
* [Docs] Add section about EEPROM on ARM * Add Preonic firmware * Update docs/faq_build.md add hyperlink Co-Authored-By: yanfali <yanfali@gmail.com>
Diffstat (limited to 'docs/faq_build.md')
-rw-r--r--docs/faq_build.md20
1 files changed, 14 insertions, 6 deletions
diff --git a/docs/faq_build.md b/docs/faq_build.md
index d920d27e2..be26a7c58 100644
--- a/docs/faq_build.md
+++ b/docs/faq_build.md
@@ -38,16 +38,16 @@ SUBSYSTEMS=="usb", ATTRS{idVendor}=="feed", MODE:="0666"
38``` 38```
39 39
40### Serial device is not detected in bootloader mode on Linux 40### Serial device is not detected in bootloader mode on Linux
41Make sure your kernel has appropriate support for your device. If your device uses USB ACM, such as 41Make sure your kernel has appropriate support for your device. If your device uses USB ACM, such as
42Pro Micro (Atmega32u4), make sure to include `CONFIG_USB_ACM=y`. Other devices may require `USB_SERIAL` and any of its sub options. 42Pro Micro (Atmega32u4), make sure to include `CONFIG_USB_ACM=y`. Other devices may require `USB_SERIAL` and any of its sub options.
43 43
44## Unknown Device for DFU Bootloader 44## Unknown Device for DFU Bootloader
45 45
46If you're using Windows to flash your keyboard, and you are running into issues, check the Device Manager. If you see an "Unknown Device" when the keyboard is in "bootloader mode", then you may have a driver issue. 46If you're using Windows to flash your keyboard, and you are running into issues, check the Device Manager. If you see an "Unknown Device" when the keyboard is in "bootloader mode", then you may have a driver issue.
47 47
48Re-running the installation script for MSYS2 may help (eg run `./util/qmk_install.sh` from MSYS2/WSL) or reinstalling the QMK Toolbox may fix the issue. 48Re-running the installation script for MSYS2 may help (eg run `./util/qmk_install.sh` from MSYS2/WSL) or reinstalling the QMK Toolbox may fix the issue.
49 49
50If that doesn't work, then you may need to grab the [Zadig Utility](https://zadig.akeo.ie/). Download this, find the device in question, and select the `WinUS(libusb-1.0)` option, and hit "Reinstall driver". Once you've done that, try flashing your board, again. 50If that doesn't work, then you may need to grab the [Zadig Utility](https://zadig.akeo.ie/). Download this, find the device in question, and select the `WinUS(libusb-1.0)` option, and hit "Reinstall driver". Once you've done that, try flashing your board, again.
51 51
52## WINAVR is Obsolete 52## WINAVR is Obsolete
53It is no longer recommended and may cause some problem. 53It is no longer recommended and may cause some problem.
@@ -102,9 +102,9 @@ OPT_DEFS += -DBOOTLOADER_SIZE=2048
102``` 102```
103 103
104## `avr-gcc: internal compiler error: Abort trap: 6 (program cc1)` on MacOS 104## `avr-gcc: internal compiler error: Abort trap: 6 (program cc1)` on MacOS
105This is an issue with updating on brew, causing symlinks that avr-gcc depend on getting mangled. 105This is an issue with updating on brew, causing symlinks that avr-gcc depend on getting mangled.
106 106
107The solution is to remove and reinstall all affected modules. 107The solution is to remove and reinstall all affected modules.
108 108
109``` 109```
110brew rm avr-gcc 110brew rm avr-gcc
@@ -132,3 +132,11 @@ brew uninstall --force avr-gcc
132brew install avr-gcc@7 132brew install avr-gcc@7
133brew link --force avr-gcc@7 133brew link --force avr-gcc@7
134``` 134```
135
136### I just flashed my keyboard and it does nothing/keypresses don't register - it's also ARM (rev6 planck, clueboard 60, hs60v2, etc...) (Feb 2019)
137Due to how EEPROM works on ARM based chips, saved settings may no longer be valid. This affects the default layers, and *may*, under certain circumstances we are still figuring out, make the keyboard unusable. Resetting the EEPROM will correct this.
138
139[Planck rev6 reset EEPROM](https://cdn.discordapp.com/attachments/473506116718952450/539284620861243409/planck_rev6_default.bin) can be used to force an eeprom reset. After flashing this image, flash your normal firmware again which should restore your keyboard to _normal_ working order.
140[Preonic rev3 reset EEPROM](https://cdn.discordapp.com/attachments/473506116718952450/537849497313738762/preonic_rev3_default.bin)
141
142If bootmagic is enabled in any form, you should be able to do this too (see [Bootmagic docs](feature_bootmagic.md) and keyboard info for specifics on how to do this).