Hi. I am using RM57x based board for my project. For a Flash diganostic test, the requirement is that I have to run two functions from RAM. I have tried various ways and various suggestions from TI site, but to no avail.
In our project we use a simple .ld file and we put all text on Flash memory and all data and bss on DRAM memory. I have tried various ways like trying to load from flash and run from ram. But I am getting syntax error in ld file. I tried below line to do this.
.SL_Ramtest : {} load=FLASH, run=RAM
Also I tried using the dram_rsvd2 memory section to load functions in ram. I sort of succeeded in that the map file was showing the functions' starting address in ram. But during execution, when I tried to execute this function, I got an exception.
Also I tried the ramfunc suggestion, but this doesnt seem to work. When I tried to put ramfunc definition in ld file, I am getting error.
Can anyone please help me out, and give detailed steps on how to achieve this?