forked from krisstakos/Hoverboard-Firmware-Hack-Gen2.1
-
Notifications
You must be signed in to change notification settings - Fork 30
Flash via Keil
reed-dan edited this page Feb 9, 2024
·
1 revision
By default the MM32SPIN05PF mcu is not included as a built in packs with KEIL. Don’t be worried though adding the board is easy, as someone else has already built the necessary files.
-
Installing the MM32SPIN05PF pack in Keil
-
Inside Keil open the Pack Installer
-
Search for MM32SPIN05PF and install its associated pack
-
You can also click on Examples and download any example projects included with the pack.
-
This usually includes simple projects such as Blink
- Open the Keil Pack Installer
- Search for MM32SPIN05PF
- Select the board
- ON the left screen click the Examples tab
- Click Copy on the "MM32_MBSPIN0xx_Board GPIO LED blinky" option
- Choose a location to save the files *no spaces in the folder path, this will help if you use PYOCD later
- Check the box "Launch uVision"
- Once open press Alt+F7 to open the "options for Target" menu
- On the Target tab update the Arm Compiler to "Use default compiler version 6"
- On the output tab make sure "Create HEX file", click "Select Folder for Objects.." if you want to change the folder where the HEX file will be saved, and change the name of the file from "MBOUT" in the Name of Executable field if you want
- You will need the HEX file if you choose to flash with PYocd
- On the Debug tab you will select your SWD programmer
- Click Settings and make sure you have a device in the SW Device section
SWD Flashers
SWD Flashing
- Flash via Keil
- Flash via PYocd
- Flash via StLink Utilities
- Flash via Stm32 Cube Programmer
- Flash via st-flash.exe
Submit New Layout