See this readme in this repo: SAO31 The foundation firmware is from my SAO from last year. This year's firmware adds an the Racing game mode in addition to the animation/screensaver mode.
Things you need:
- ST-Link - I personally use an STM32F0 Nucleo Board: 497-15096-ND
- Female Connector: H2193-ND
- Male Connector: H2181-ND
- Precrimped wires x4: H4BXG-10112-B8-ND
-
Connect the ST-Link SWD header to the PCB's programming port
-
Compile the code in STM CubeIDE: "Project"->"Build All"
-
Connect your Nucleo board to your computer
-
Configure the debugger as follows: "Run" -> "Debug Configurations"
-
Flash the firmware: "Run" -> "Run"
-
You will see this in the logs
Memory Programming ...
Opening and parsing file: ST-LINK_GDB_server_a15460.srec
File : ST-LINK_GDB_server_a15460.srec
Size : 21.34 KB
Address : 0x08000000
Erasing memory corresponding to segment 0:
Erasing internal memory sectors [0 21]
Download in Progress:
File download complete
Time elapsed during download operation: 00:00:01.454
Verifying ...
Download verified successfully
Shutting down...
Exit.