aboutsummaryrefslogtreecommitdiff
path: root/docs/newbs_flashing.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/newbs_flashing.md')
-rw-r--r--docs/newbs_flashing.md36
1 files changed, 36 insertions, 0 deletions
diff --git a/docs/newbs_flashing.md b/docs/newbs_flashing.md
index c8a30dba0..3bf582d7f 100644
--- a/docs/newbs_flashing.md
+++ b/docs/newbs_flashing.md
@@ -248,6 +248,42 @@ Programming.....................................................................
248Booting 248Booting
249``` 249```
250 250
251## BootloadHID
252
253For Bootmapper Client(BMC)/bootloadHID/ATmega32A based boards, when you're ready to compile and flash your firmware, open up your terminal window and run the build command:
254
255 make <my_keyboard>:<my_keymap>:bootloaderHID
256
257For example, if your keymap is named "xyverz" and you're building a keymap for a jj40, you'll use this command:
258
259 make jj40:xyverz:bootloaderHID
260
261Once the firmware finishes compiling, it will output something like this:
262
263```
264Linking: .build/jj40_default.elf [OK]
265Creating load file for flashing: .build/jj40_default.hex [OK]
266Copying jj40_default.hex to qmk_firmware folder [OK]
267Checking file size of jj40_default.hex [OK]
268 * The firmware size is fine - 21920/28672 (6752 bytes free)
269```
270
271After it gets to this point, the build script will look for the DFU bootloader every 5 seconds. It will repeat the following until the device is found or you cancel it.
272
273```
274Error opening HIDBoot device: The specified device was not found
275Trying again in 5s.
276```
277
278Once it does this, you'll want to reset the controller. It should then show output similar to this:
279
280```
281Page size = 128 (0x80)
282Device size = 32768 (0x8000); 30720 bytes remaining
283Uploading 22016 (0x5600) bytes starting at 0 (0x0)
2840x05580 ... 0x05600
285```
286
251## STM32 (ARM) 287## STM32 (ARM)
252 288
253For a majority of ARM boards (including the Proton C, Planck Rev 6, and Preonic Rev 3), when you're ready to compile and flash your firmware, open up your terminal window and run the build command: 289For a majority of ARM boards (including the Proton C, Planck Rev 6, and Preonic Rev 3), when you're ready to compile and flash your firmware, open up your terminal window and run the build command: