MDK Arm

MDK Arm1. MDK-ARM installationARM Compiler 5 (AC 5)Install AC 5Add AC 5Verify AC 5Install the MSPM0G chip package2. SysConfig installation3. Configure SysConfig for KEIL 5syscfg.batMSPM0_SDK_syscfg_menu_import.cfgKEIL 5 Add SysConfig toolUse SysConfig tool

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.

1. MDK-ARM installation

To build the TI development environment, you need to use Keil MDK-Arm uVision v5.38a or higher!

Open MDK_541.exe as an administrator and install according to the prompts:

image-20241030161622372

Agree to the agreement

image-20241030161651463

Installation location

The recommended default location for the software:

image-20241030161721708

User Information

You can fill in as you like:

image-20241030161754243

If the driver installation pops up during the installation process, select Install All:

image-20241030162043152

You need to close the software package/component interface for the first time: This interface can install chip packages, but it requires a network connection!

image-20241030162229418

ARM Compiler 5 (AC 5)

Starting from MDK5.37, the AC5 compiler is no longer installed by default and needs to be installed independently!

image-20241030163845105

Install AC 5

Open setup.exe under ARMCompiler_5.zip as an administrator and install according to the prompts:

image-20241030164152251

Agree to the agreement

image-20241030164302253

Installation location

Modify the installation location: Create a new ARMCC folder in the C:\Users\W_ML\AppData\Local\Keil_v5\ARM folder, and select this folder as the installation location of AC5

image-20241030165327510

image-20241030165340832

image-20241030165353394

image-20241030165547891

Add AC 5

The following operations involve MDK-ARM software, and you need to open a project; otherwise, the relevant menu options cannot be selected.

image-20241030165840078

Add compiler: Select C:\Users\W_ML\AppData\Local\Keil_v5\ARM\ARMCC folder

image-20241030165936734

Verify AC 5

The appearance of compiler version 5 indicates that the installation is successful!

image-20241030170251531

Install the MSPM0G chip package

Double-click to open the TexasInstruments.MSPM0G1X0X_G3X0X_DFP.1.3.1.pack file to install the chip package:

image-20241030172516415

image-20241030172631867

image-20241030172651605

2. SysConfig installation

Open sysconfig-xxx-setup.exe as an administrator and install according to the prompts:

image-20241030171701573

Agree to the agreement

image-20241030171732133

Installation location

The recommended default location for the software is:

image-20241030171756509

image-20241030171832458

image-20241030172101176

3. Configure SysConfig for KEIL 5

Use the SysConfig tool on KEIL MDK-ARM.

syscfg.bat

Use Notepad to edit the syscfg.bat file, and then check whether SYSCFG_PATH is correct: ** Fill in the sysconfig_cli.bat file path in the SysConfig installation directory, pay attention to whether the version number and path are consistent! **

image-20241030173619482

MSPM0_SDK_syscfg_menu_import.cfg

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

image-20241030174425539

KEIL 5 Add SysConfig tool

image-20241030175141471

Find and open the MSPM0_SDK_syscfg_menu_import.cfg file:

image-20241030175445891

Use SysConfig tool

image-20241030175749016

The following interface appears, indicating that the configuration is successful!

image-20241030175829493