i.MXRT1060 Middleware Pack  Version 1.0.0
MDK-Middleware examples and CMSIS-Drivers for NXP i.MXRT1060 devices
 All Files Pages
Configure the project

Go to Project - Options for Target... and do the following:

  • On the C/C++ tab, add --diag_suppress=66,1296,2775 under Misc Controls to suppress warnings coming from the NXP SDK
    misc_controls.png
  • On the Linker tab:
    • disable Use Memory Layout from Target Dialog
    • add 6314 in the disable Warnings box
    • select .\RTE\Device\<selected_device>\MIMXRT1062xxxxx_ram.scf linker script from the drop-down list in case you want to debug from RAM or select .\RTE\Device\<selected_device>\MIMXRT1062xxxxx_flexspi_nor.scf in case you want to download the program to the target's external Flash memory
      memory_layout.png
  • On the Debug tab:
    • select the CMSIS-DAP debugger
    • disable Load Application at Startup
    • select evkimxrt1060_ram.ini or evkimxrt1060_flexspi_nor.ini as Initialization File
      debugger.png
    • Go to Settings and select VECTRESET as the reset mechanism
      reset_options.png
    • If you want to download the program into Flash, go to the Flash Download tab and set the Programming Algorithm to: MIMXRT106x 8mB QuadSPI NOR Flash
      flash_download.png

      Continue by configuring the CMSIS-Drivers.