mirror of
https://github.com/clockworkpi/DevTerm.git
synced 2025-12-15 11:48:50 +01:00
Page:
Compile keyboard bootloader and firmware
Pages
7110 dev board note
Compile Devterm CM4 kernel
Compile and run devterm printer
Compile andriod kernel for cm4
Compile keyboard bootloader and firmware
Compile lineage os 19.1 kernel for rpi4(cm4)
Compile the widescreen version of Cave Story from the source code
Create DevTerm A04 OS image from scratch
Create DevTerm A06 OS image from scratch
Create DevTerm CM3 OS image from scratch
Create DevTerm CM4 OS image from scratch
Create DevTerm R01 OS image from scratch
DevTerm A06 Install ibus input method
Devterm CM3 rpi os image
Devterm CM3 ubuntu server image
Devterm CM4 GPIO map
Guide To Setup thermal printer from source code
Home
How to Compile cool retro term for DevTerm
How to compile DevTerm CM3 Kernel
Keyboard with FPC 60pin 0.5mm
nmcli with gsm
Clone
2
Compile keyboard bootloader and firmware
GNU edited this page 2022-11-08 10:34:30 +08:00
Build bin
git clone https://github.com/rogerclarkmelbourne/STM32duino-bootloader
cd STM32duino-bootloader
make generic-pc13
this will produce bootloader_only_binaries/generic_boot20_pc13.bin
Convert bootloader to hex format
using srec_cat to convert
windows: http://srecord.sourceforge.net/
linux: sudo apt install srecord
srec_cat bootloader_only_binaries/generic_boot20_pc13.bin -Binary -offset 0x08000000 -output bootloader_only_binaries/generic_boot20_pc13.hex -Intel
Next is to use stm32Cube to flash the bootloader
-
Download the stm32cube programmer
stm32cube programmer -
Put 1 ON in the back of keyboard
-
Connect keyboard with a usb-serial convert by fpc, in order of IO MAP
-
Click connect on STM32cube programmer
-
flash it
Flash Arudino
Arduino IDE
- add stm32duino pacakage index in Preference panel : http://dan.drown.org/stm32duino/package_STM32duino_index.json as Additional Boards Manager URLs: and install STM32F1xx/GD32F1xx boards
-
Select upload method ,board type is **Generic STM32F103R series **

-
Put 1 OFF in the back of keyboard
-
User arduino IDE to open devterm_keyboard.ino
CN version
https://shimo.im/docs/Tc8RVQWdjvXtwhYv/ 《GD32f103rgt6/CKSF103R* 与stm32duino bootloader》
custom keyboard:
https://forum.clockworkpi.com/t/keyboard-stuck-in-bootloader-mode/8830/11






