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.
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.
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,
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.
Hope this helps.
Note that you must avoid all on-chip SRAM testing or initialization when using this method.
Regards,
Sunil