如何燒錄 QMK Proton C
當您購買 QMK Proton C 之後,就可以將 QMK Firmware 燒錄進去,Proton C 是 ARM 架構的 CPU (STM32F303CCT6),有 256KB 的 flash 與 40KB 的 RAM,比起 Arduino Pro Micro 的規格來說好太多了。
購買 QMK Proton C
QMK Proton C (Rev. 2)
- TypeC 接頭
- STM32F303CCT6
NT$600 – NT$650
下載 QMK firmware
請從 QMK 的 GitHub 下載最新的韌體,才能燒錄 QMK Proton C。
接者請參考本站 QMK 教學文件。
燒錄 QMK firmware 到 QMK Proton C
注意!目前 QMK Proton C 尚不支援分離式鍵盤,原廠預計於 2020 Q3 才會釋出
在燒錄時,請使用 :dfu-util
與 CTPC=ye
,範例:
make dumbpad:default:dfu-util CTPC=yes
出現 ERROR: Bootloader not found. Trying again in 5s
時,按下 QMK Proton C 上面的重置鍵 (在中間黑色小小的一個按鈕),就會進行燒錄:
Copying dumbpad_default_proton_c.bin to qmk_firmware folder [OK]
ERROR: Bootloader not found. Trying again in 5s.
ERROR: Bootloader not found. Trying again in 5s.
ERROR: Bootloader not found. Trying again in 5s.
dfu-util 0.9
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2020 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/
Opening DFU capable USB device...
ID 0483:df11
Run-time device DFU version 011a
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: state = dfuERROR, status = 10
dfuERROR, clearing status
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 2048
DfuSe interface name: "Internal Flash "
Downloading to address = 0x08000000, size = 45836
Download [=========================] 100% 45836 bytes
Download done.
File downloaded successfully
Transitioning to dfuMANIFEST state
完成。
How to flash qmk firmware to Proton C
Download the latest qmk firmware from GitHub.
Add parameters dfu-util
and CTPC=yes
when you need to flash the firmware:
make dumbpad:default:dfu-util CTPC=yes
Click on the reset button on Proton C when you see this message ERROR: Bootloader not found. Trying again in 5s.
Copying dumbpad_default_proton_c.bin to qmk_firmware folder [OK]
ERROR: Bootloader not found. Trying again in 5s.
ERROR: Bootloader not found. Trying again in 5s.
ERROR: Bootloader not found. Trying again in 5s.
dfu-util 0.9
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2020 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/
Opening DFU capable USB device...
ID 0483:df11
Run-time device DFU version 011a
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: state = dfuERROR, status = 10
dfuERROR, clearing status
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 2048
DfuSe interface name: "Internal Flash "
Downloading to address = 0x08000000, size = 45836
Download [=========================] 100% 45836 bytes
Download done.
File downloaded successfully
Transitioning to dfuMANIFEST state