Datasheet
Building and debugging the application 
PMSM Field-Oriented Control on MIMXRT1050 EVK, User's Guide, Rev. 0, 05/2018 
NXP Semiconductors    25 
You can also choose, whether the Interrupt Vector Table (IVT) is going be placed into the RAM or 
Hyper Flash. To place the IVT into the RAM, perform these steps: 
•  Define the ENABLE_RAM_VECTOR_TABLE symbol in “Preprocessor”. The linker reserves 
an empty space from address 0x0 to 0x400 (RAM). With the reset signal, the IVT is copied from 
0x60002000 to 0x0 and the pointer to the IVT (VTOR register of the system control block) is set 
to address 0x0. 
•  Change the linker file path. Go to the “Project->Options for Target->Linker” tab. Find the 
“Scatter file” text box. Change its value to “.\MIMXRT1052xxxxx_flash_ivt_ram.scf” (see 
Figure 18). 
•  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 
“\MIMXRT1052xxxxx_flash.scf”. 
Figure 18.  Keil linker settings 
You may combine the RAM_OPTIM* symbols with ENABLE_RAM_VECTOR_TABLE as you want, 
but it is recommended to use either both or none. If you do not care about the IVT location or function 
placement, leave the configuration as it is. By default, the IVT in RAM is enabled and 
RAM_OPTIM_HIGH defined. 
To build, run, and debug this configuration, follow these instructions: 
1.  Select the “Release FLASH” build configuration (Point 3 in Figure 16). 










