Welcome to MSPM0G3507 Development Board repository
02.MDK Arm Development
MDK Arm
MDK Arm1、MDK-ARM InstallationInstall MSPM0G Device Pack2、SysConfig Installation3、KEIL 5 SysConfig Configurationsyscfg.batMSPM0_SDK_syscfg_menu_import.cfgAdd SysConfig Tool to KEIL 5Using the SysConfig Tool4、Compiling the ProjectOpen the ProjectCompile the ProjectGenerate Flash FileProject Path and Porting
MDK Arm (Microcontroller Development Kit for ARM): An integrated development environment (IDE) for microcontroller applications based on Cortex™-M, Cortex-R4, ARM7™, and ARM9™ processors.
The installer path and software installation path must not contain Chinese characters. Please place the installer in an all-English path before running it.
1、MDK-ARM Installation
To set up the TI development environment, use Keil MDK-Arm uVision v5.38a or later!
xxxxxxxxxxSince MDK-ARM is paid software, this tutorial only covers the MDK-ARM installation process.
Run MDK_541.exe as administrator and follow the prompts to install:

Accept the License Agreement

Installation Location
Use the default installation location:

User Information
You can fill in any information:

If a driver installation dialog appears during installation, choose to install all:

When opening MDK for the first time, close the Pack/Component window: This window allows you to install device packs, but it requires network access!

💡 Compiler Selection: MDK 5.20 and later include ARM Compiler 6 (AC6) built-in, no need to install older versions like AC5. If compilation fails reporting armclang not found, open Options for Target -> Target -> ARM Compiler and confirm that Use default compiler version 6 is checked.
Install MSPM0G Device Pack
Double-click TexasInstruments.MSPM0G1X0X_G3X0X_DFP.1.3.1.pack to install the device pack:



2、SysConfig Installation
xxxxxxxxxxSysConfig is a configuration tool for TI microcontrollers and processors, designed to simplify hardware and software configuration for TI developers and accelerate software development!
Run sysconfig-xxx-setup.exe as administrator and follow the prompts to install:

Accept the License Agreement

Installation Location
Use the default installation location:



3、KEIL 5 SysConfig Configuration
Configure the SysConfig tool for use with KEIL MDK-ARM.
syscfg.bat
Use Notepad to edit the syscfg.bat file, then check if SYSCFG_PATH is correct: It should point to the sysconfig_cli.bat file under the SysConfig installation directory. Make sure the version number and path match!
xxxxxxxxxxsyscfg.bat file location: C:\ti\mspm0_sdk_2_02_00_05\tools\keilsysconfig_cli.bat file location: C:\ti\sysconfig_1.21.1If you have changed the default software installation location, you need to find the syscfg.bat under your MSPM0-SDK installation location and modify it.

MSPM0_SDK_syscfg_menu_import.cfg
Use Notepad to edit the MSPM0_SDK_syscfg_menu_import.cfg file, then check if the path and version number are correct:

Add SysConfig Tool to KEIL 5

Find and open the MSPM0_SDK_syscfg_menu_import.cfg file:
xxxxxxxxxxMSPM0_SDK_syscfg_menu_import.cfg file location: C:\ti\mspm0_sdk_2_02_00_05\tools\keilIf you have changed the default software installation location, you need to find the MSPM0_SDK_syscfg_menu_import.cfg file under your MSPM0-SDK installation location.

Using the SysConfig Tool

The following interface indicates successful configuration!
xxxxxxxxxxWhen opening the SysConfig tool from a .cfg file in a TI project, this prompt will not appear!

4、Compiling the Project
Open the Project
Double-click the .uvprojx project file to open an example project from the MSPM0 SDK in Keil uVision, for example:
xxxxxxxxxxC:\ti\mspm0_sdk_2_02_00_05\examples\nortos\LP_MSPM0G3507\driverlib\empty\keil\empty_LP_MSPM0G3507_nortos_keil.uvprojx
The project file path may vary slightly depending on the SDK version.
Compile the Project
Click the Rebuild icon to compile the project:

The following prompt indicates that compilation finished with no errors:

Generate Flash File
Create HEX File is checked by default in Options for Target -> Output. After compilation, a .hex file will be automatically generated in the Objects directory and can be used directly with third-party flashing tools.
Project Path and Porting
All configurations of MSPM0 SDK example projects (header files, linker scripts, etc.) use multi-level relative paths relative to the project file location (e.g., ../../../../../../source/...), so project compilation strongly depends on the project file's location.
💡 For easier management of your own modified projects, you can also place them directly in the SDK root directory
C:\ti\mspm0_sdk_2_02_00_05\.
💡 If you need to move the project to another location within the SDK (including placing it directly in the SDK root directory), the path depth will change. You will need to adjust Include Paths, Scatter File, etc. in
Options for Target(shortcutAlt + F7). For specific modification methods, please refer to the course: 👉 [06. Project Porting]