Datasheet
Building and debugging the application
PMSM Field-Oriented Control on MIMXRT1050 EVK, User's Guide, Rev. 0, 05/2018
NXP Semiconductors 27
• To pause the running application, press the “Pause” button (Point 2 in Figure 17).
• To run the application, press the “Run” button (Point 1 in Figure 17).
• To stop debugging, press the “Debug” button (Point 4 in Figure 16).
6.4. Boot from Hyper Flash
The OpenSDA circuit (CMSIS–DAP) is an open-standard serial and debug adapter. It bridges the serial
and debug communications between your computer (or other USB hosts) and an embedded target
processor, which can be used for debugging, flash programming, and serial communication, all over a
simple USB cable. For the MIMXRT1050 EVK board, J28 is the connector between the USB host and
the target processor.
To load the compiled application directly to the MIMXRT1050-EVK board, perform these steps
(applicable for Windows
®
OS):
1. Power down the board. Configure the board to the serial download mode. To achieve this, the
SW7-4 should pull up and the others should pull down (Figure 19). Then power up the board.
Figure 20. Serial download mode
2. Open the Windows OS Explorer.
3. Locate the generated binary file pmsm_ref_sol.bin:
a) for IAR IDE—/pmsm/build_ref_solutions/evkbimxrt1050/iar/Release FLASH/.
b) for MCUXpresso IDE—/pmsm/build_ref_solutions/evkbimxrt1050/mcux/Release
FLASH/.
c) for Keil IDE—/pmsm/build_ref_solutions/evkbimxrt1050/mdk/Release FLASH/.
4. Drag and drop or copy and paste the selected binary file to the MSD removable drive with the
volume labeled “RT1050-EVK” (Figure 21). After several seconds, the “RT1050-EVK” drive
disappears.
NOTE
The default firmware of the DAP-Link on the EVK supports Hyper Flash.
If you have troubles with this step, replace the current firmware with a
new one. See Section 6.5, “Replacing the firmware of the OpenSDA”.