This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RM44L920: Loading and running a test application image in SRAM

Part Number: RM44L920


Is it possible to load a test application image into the on board SRAM using JTAG and then run it from SRAM? The test application would be used for a functional test of the target unit.

  • Hi Charles,

    On TMS570 device, you can load the code to flash directly through JTAG, then copy the code to SRAM and execute the code from the SRAM.
  • Hi Charles,

    The RM4x/5x MCUs do allow you to remap Flash and on-chip SRAM, so what you are looking for is easily supported. This way you can develop smaller code routines to test specific functions and features without having to reprogram the Flash for every code change you make.

    I have attached a CCS project example on an RM48x MCU. You can use it as a reference to update your RM44x code project. Note the changes to the linker command file as well as the sys_core.asm file. I prefer to pass the individual stack pointer addresses via the linker command file versus hard coding them in the sys_core.asm file.

    2626.rm48_adc_diff.zip

    Hope this helps.

    Note that you must avoid all on-chip SRAM testing or initialization when using this method.

    Regards,

    Sunil