Datasheet

Building and debugging the application
PMSM Field-Oriented Control on MIMXRT1050 EVK, User's Guide, Rev. 0, 05/2018
NXP Semiconductors 23
Figure 16. Keil workspace
Point 1 in Figure 16 shows the imported project’s file structure.
Point 2—the “Build” button.
Point 3—the “Build configuration” selection. You can switch between the “Debug RAM and
Release FLASH build configurations.
Point 4—the “Debug” button. This button is used to connect to the target application for
debugging purposes.
The second step is to choose the build configuration.
6.3.1. Debug RAM
This configuration links the application to the RAM memory. The optimization is disabled. To build,
run, and debug this configuration, follow these instructions:
1. Select the Debug RAM build configuration (Point 3 in Figure 16).
2. Choose CMSIS-DAP as the debugger. Go to the “Project->Options For Target->Debug” tab.
Select CMSIS-DAP Debugger” in the “Use” option. Switch to the “Utilities” tab and uncheck
Update Target before Debugging”. Leave the other settings as they are, they should be
configured.
3. Press the Build” button (Point 2 in Figure 16).