I've been trying to run the evkmimxrt1040_lvgl_demo_benchmark example from RAM. I set Project Properties->C/C++ Build/Settings/Managed Linker Script "Link application to RAM" option, delete the Flash memory from the Memory tab, and move SDRAM to position 1. Project builds OK:
Memory region Used Size Region Size %age Used
BOARD_SDRAM: 1032764 B 30 MB 3.28%
SRAM_OC: 0 GB 256 KB 0.00%
NCACHE_REGION: 32 B 2 MB 0.00%
SRAM_DTC: 0 GB 128 KB 0.00%
SRAM_ITC: 0 GB 128 KB 0.00%
Attempting to debug with JLink fails:

I am attaching the JLink GDB server log.
My aim is to be able to download and debug directly from RAM. Is there something I am missing?