const__pageData=JSON.parse('{"title":"Flashing Your Keyboard","description":"","frontmatter":{},"headers":[],"relativePath":"newbs_flashing.md","filePath":"newbs_flashing.md"}');
const_hoisted_1=/* @__PURE__ */createStaticVNode('<h1id="flashing-your-keyboard"tabindex="-1">FlashingYourKeyboard<aclass="header-anchor"href="#flashing-your-keyboard"aria-label="Permalink to "Flashing Your Keyboard""></a></h1><p>Nowthatyou'vebuiltacustomfirmwarefileyou'llwanttoflashyourkeyboard.</p><h2id="put-your-keyboard-into-dfu-bootloader-mode"tabindex="-1">PutYourKeyboardintoDFU(Bootloader)Mode<aclass="header-anchor"href="#put-your-keyboard-into-dfu-bootloader-mode"aria-label="Permalinkto"PutYourKeyboardintoDFU(Bootloader)Mode""></a></h2><p>Inordertoflashyourcustomfirmwareyoumustfirstputyourkeyboardintoaspecialflashingmode.Whileitisinthismodeyouwillnotbeabletotypeorotherwiseuseyourkeyboard.Itisveryimportantthatyoudonotunplugthekeyboardorotherwiseinterrupttheflashingprocesswhilethefirmwareisbeingwritten.</p><p>Differentkeyboardshavedifferentwaystoenterthisspecialmode.IfyourPCBcurrentlyrunsQMK,TMK,orPS2AVRGB(BootmapperClient)andyouhavenotbeengivenspecificinstructions,trythefollowing,inorder:</p><ul><li>Holddownbothshiftkeysandpress<code>Pause</code></li><li>Holddownbothshiftkeysandpress<code>B</code></li><li>Unplugyourkeyboard,holddowntheSpacebarand<code>B</code>atthesametime,pluginyourkeyboardandwaitasecondbeforereleasingthekeys</li><li>Unplugyourkeyboard,holddownthetoporbottomleftkey(usuallyEscapeorLeftControl)andpluginyourkeyboard</li><li>Pressthephysical<code>RESET</code>button,usuallylocatedontheundersideofthePCB</li><li>LocateheaderpinsonthePCBlabeled<code>RESET</code>and<code>GND</code>,andshortthemtogetherwhilepluggingyourPCBin</li></ul><p>Ifyou'veattemptedalloftheabovetonoavail,andthemainchipontheboardsays<code>STM32</code>or<code>RP2-B1</code>onit,thismaybeabitmorecomplicated.Generallyyourbestbetistoaskon<ahref="https://discord.gg/qmk"target="_blank"rel="noreferrer">Discord</a>forassistance.It'slikelysomephotosoftheboardwillbeaskedfor--ifyoucangetthemreadybeforehandit'llhelpmovethingsalong!</p><p>Otherwise,youshouldseeamessageinyellow,similartothisinQMKToolbox:</p><divclass="language-vp-adaptive-theme"><buttontitle="CopyCode"class="copy"></button><spanclass="lang"></span><preclass="shikishiki-themesgithub-lightgithub-darkvp-code"><code><spanclass="line"><span>***DFUdeviceconnected:AtmelCorp.ATmega32U4(03EB:2FF4:0000)</span></span></code></pre></div><p>andthisbootloaderdevicewillalsobepresentinDeviceManager,SystemInformation.app,or<code>lsusb</code>.</p><h2id="flashing-your-keyboard-with-qmk-toolbox"tabindex="-1">FlashingYourKeyboardwithQMKToolbox<aclass="header-anchor"href="#flashing-your-keyboard-with-qmk-toolbox"aria-label="Permalinkto"FlashingYourKeyboardwithQMKToolbox""></a></h2><p>Thesimplestwaytoflashyourkeyboardwillbewiththe<ahref="https://github.com/qmk/qmk_toolbox/releases"target="_blank"rel="noreferrer">QMKToolbox</a>.</p><p>However,theToolboxiscurrentlyonlyavailableforWindowsandmacOS.Ifyou'reusingLinux(orjustwishtoflashthefirmwarefromthecommandline),skiptothe<ahref="#flash-your-keyboard-from-the-command-line">FlashyourKeyboardfromtheCommandLine</a>section.</p><divclass="tipcustom-block"><pclass="custom-block-title">TIP</p><p>QMKToolboxisnotnecessaryforflashing<ahref="./flashing#raspberry-pi-rp2040-uf2">RP2040devices</a>.</p></div><h3id="load-the-file-into-qmk-toolbox"tabindex="-1">LoadtheFileintoQMKToolbox<aclass="header-anchor"href="#load-the-file-into-qmk-toolbox"aria-label="Permalinkto"LoadtheFileintoQMKToolbox""></a></h3><p>BeginbyopeningtheQMKToolboxapplication.You'llwanttolocatethefirmwarefileinFinderorExplorer.Yourkeyboardfirmwaremaybeinoneoftwoformats-<