Go to Project - Options for Target... and do the following:
- On the Linker tab:
- disable Use Memory Layout from Target Dialog
- add
6314
in the disable Warnings box
- select
.\RTE\Device\<selected_device>\MIMXRT1052xxxxx_flexspi_nor.scf
in case you want to download the program to the target's external Flash memory
- On the Debug tab:
- select the CMSIS-DAP debugger
- If you want to execute and debug from HyperFlash NOR:
- enable Load Application at Startup and Run to main()
- Go to Settings and select SYSRESETREQ as the reset mechanism
- If you want to download the program into Flash, go to the Flash Download tab and set the Programming Algorithm to: MIMXRT105x 64mB Hyper Flash and RAM for Algorithm Size to
0x00008000
Continue by configuring the I/O pins and clock.