aboutsummaryrefslogtreecommitdiff
path: root/docs/faq_debug.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/faq_debug.md')
-rw-r--r--docs/faq_debug.md68
1 files changed, 0 insertions, 68 deletions
diff --git a/docs/faq_debug.md b/docs/faq_debug.md
index 1e0cdc82b..6c66defbd 100644
--- a/docs/faq_debug.md
+++ b/docs/faq_debug.md
@@ -112,56 +112,6 @@ In C `1` means one of [int] type which is [16 bit] in case of AVR so you can't s
112 112
113http://deskthority.net/workshop-f7/rebuilding-and-redesigning-a-classic-thinkpad-keyboard-t6181-60.html#p146279 113http://deskthority.net/workshop-f7/rebuilding-and-redesigning-a-classic-thinkpad-keyboard-t6181-60.html#p146279
114 114
115
116## Bootloader Jump Doesn't Work
117Properly configure bootloader size in **Makefile**. With wrong section size bootloader won't probably start with **Magic command** and **Boot Magic**.
118```
119# Size of Bootloaders in bytes:
120# Atmel DFU loader(ATmega32U4) 4096
121# Atmel DFU loader(AT90USB128) 8192
122# LUFA bootloader(ATmega32U4) 4096
123# Arduino Caterina(ATmega32U4) 4096
124# USBaspLoader(ATmega***) 2048
125# Teensy halfKay(ATmega32U4) 512
126# Teensy++ halfKay(AT90USB128) 2048
127OPT_DEFS += -DBOOTLOADER_SIZE=4096
128```
129AVR Boot section size are defined by setting **BOOTSZ** fuse in fact. Consult with your MCU datasheet.
130Note that **Word**(2 bytes) size and address are used in datasheet while TMK uses **Byte**.
131
132AVR Boot section is located at end of Flash memory like the followings.
133```
134byte Atmel/LUFA(ATMega32u4) byte Atmel(AT90SUB1286)
1350x0000 +---------------+ 0x00000 +---------------+
136 | | | |
137 | | | |
138 | Application | | Application |
139 | | | |
140 = = = =
141 | | 32KB-4KB | | 128KB-8KB
1420x6000 +---------------+ 0x1E000 +---------------+
143 | Bootloader | 4KB | Bootloader | 8KB
1440x7FFF +---------------+ 0x1FFFF +---------------+
145
146
147byte Teensy(ATMega32u4) byte Teensy++(AT90SUB1286)
1480x0000 +---------------+ 0x00000 +---------------+
149 | | | |
150 | | | |
151 | Application | | Application |
152 | | | |
153 = = = =
154 | | 32KB-512B | | 128KB-2KB
1550x7E00 +---------------+ 0x1FC00 +---------------+
156 | Bootloader | 512B | Bootloader | 2KB
1570x7FFF +---------------+ 0x1FFFF +---------------+
158```
159
160And see this discussion for further reference.
161https://github.com/tmk/tmk_keyboard/issues/179
162
163If you are using a TeensyUSB, there is a [known bug](https://github.com/qmk/qmk_firmware/issues/164) in which the hardware reset button prevents the RESET key from working. Unplugging the keyboard and plugging it back in should resolve the problem.
164
165## Special Extra Key Doesn't Work (System, Audio Control Keys) 115## Special Extra Key Doesn't Work (System, Audio Control Keys)
166You need to define `EXTRAKEY_ENABLE` in `rules.mk` to use them in QMK. 116You need to define `EXTRAKEY_ENABLE` in `rules.mk` to use them in QMK.
167 117
@@ -194,24 +144,6 @@ If you would like to keep JTAG enabled, just add the following to your `config.h
194#define NO_JTAG_DISABLE 144#define NO_JTAG_DISABLE
195``` 145```
196 146
197## Adding LED Indicators of Lock Keys
198You need your own LED indicators for CapsLock, ScrollLock and NumLock? See this post.
199
200http://deskthority.net/workshop-f7/tmk-keyboard-firmware-collection-t4478-120.html#p191560
201
202## Program Arduino Micro/Leonardo
203Push reset button and then run command like this within 8 seconds.
204
205```
206avrdude -patmega32u4 -cavr109 -b57600 -Uflash:w:adb_usb.hex -P/dev/ttyACM0
207```
208
209Device name will vary depending on your system.
210
211http://arduino.cc/en/Main/ArduinoBoardMicro
212https://geekhack.org/index.php?topic=14290.msg1563867#msg1563867
213
214
215## USB 3 Compatibility 147## USB 3 Compatibility
216I heard some people have a problem with USB 3 port, try USB 2 port. 148I heard some people have a problem with USB 3 port, try USB 2 port.
217 149