Datasheet
Building and debugging the application
PMSM Field-Oriented Control on MIMXRT1050 EVK, User's Guide, Rev. 0, 05/2018
NXP Semiconductors 21
IVT is copied from 0x60002000 to 0x0 and the pointer to the IVT (VTOR register of System
Control Block) is set to address 0x0.
• Change the linker file path. Go to the “Project->Properties->C/C++ Build->Settings->Tool
Settings” tab. Select “Managed Linker Script” in the list of the “MCU Linker” settings and find
the “Linker script” text box. Change its value to
“pmsm_ref_sol_Release_FLASH_IVT_RAM.ld” (see Figure 14).
• If you do not want to place the IVT into the RAM, undefine the
ENABLE_RAM_VECTOR_TABLE symbol and change the file path to
“pmsm_ref_sol_Release_FLASH.ld”.
Figure 14. MCUXpresso linker file path
You may combine the RAM_OPTIM* symbols with ENABLE_RAM_VECTOR_TABLE in any way,
but it is recommended to use either both or none. If you do not care about the location of the IVT or
function, leave the configuration as it is. By default, the IVT in the RAM is enabled and
RAM_OPTIM_HIGH is defined.
To build, run, and debug this configuration, follow these instructions:
1. Select the “Release FLASH” build configuration (Point 2 in Figure 15).
2. Click the “Build” button (Point 2 in Figure 15).
3. After a successful build, the output binary file is ready for download to the Hyper Flash. To
perform this action, see Section 6.4, “Boot from Hyper Flash”.
4. Create a new debug configuration. Switch to the “Debug RAM” configuration and follow Step 2
in Section 6.1.1, “Debug RAM”. It creates the debug configuration also for the Release FLASH