Script files (i.e., *.ldt) for the Linker are needed, as well as Segger .jlinkscript file for the Debug Launcher. An example is the Embedded Artists LPC1788 Developers Kit which has external DDR. Much info can be found in MCUXpresso IDE User Guide describing relocation of pieces of code into RAM, but we will have entire app located in external DDR RAM. Hoping to find something already worked out, even if using MCUXpresso with a different device.
Hi Douglas,
You can navigate to Projects -> C/C++ Build -> Settings -> MCU Linker -> Managed Linker Script and check the "Link application to RAM" checkbox, make sure that the External DDR RAM is the first RAM section defined in the MCU memory configuration. Please notice that you first need to ensure the external memory controller is setup so the debugger can access the SDRAM. MCUXpresso doesn't know how to do this for you. One approach would be to write a MCUXpresso connect script for this purpose. Connect scripts are configured in the project launch configuration.
Hope it helps!
Best Regards,
Carlos Mendoza
Technical Support Engineer