Datasheet

Building and debugging the application
PMSM Field-Oriented Control on MIMXRT1050 EVK, User's Guide, Rev. 0, 05/2018
22 NXP Semiconductors
configuration. In “Debug Configurations” (Point 3 in Figure 15), you should see both
configurations (Figure 15).
5. When clicking the “pmsm_ref_sol LinkServer Release FLASH” configuration and the
“Debugger” tab, the debug configuration settings should be visible (Figure 15). Set the values as
follows:
Stop on startup at”uncheck.
Attach only”—True.
Load Image”False.
Figure 15. MCUXpresso debug configurations
6. After these steps, click the Debug” button. As shown in Figure 15, the layout switches to the
debugging mode. The debugger does not perform reset; it just connects to the running target.
To pause the running application, press the “Suspend” button (Point 2 in Figure 15).
To run the application, press the “Resume” button (Point 1 in Figure 15).
To stop debugging, press the “Terminate button (Point 3 in Figure 15).
7. If debugging again, you do not have to create the debug configuration again. Just click on the
little arrow in the “Debug Configuration” button (Point 3 in Figure 15) and select a debug
configuration.
6.3. Arm-MDK Keil µVision IDE
Open the project file. The build_ref_solutions/evkbimxrt1050/mdk folder contains all necessary files.
Double-click pmsm_ref_sol.uvprojx to open this project. The project opened in the Keil µVision IDE is
fully configured and includes all the source and header files required by the application, such as the
startup code, clock configuration, and peripherals configuration.