Tool/software:
Hi,
customer want in the evaluation phase program and execute his code out of RAM (to be faster). Do we have an example command line file (.cmd)? Or some hints?
Regards, Holger
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.
Tool/software:
Hi,
customer want in the evaluation phase program and execute his code out of RAM (to be faster). Do we have an example command line file (.cmd)? Or some hints?
Regards, Holger
Hi,
User can define their function in RAM. An example how to define functions in RAM.
__attribute__((section(".TI.ramfunc"))) __attribute__((noinline)) void appfunctions(void){}
Best regards,
Cash Hao
Hi,
customer want to run completely from RAM. So it makes more sense to move all section from FLASH to RAM. Right?
.intvecs: > 0x00000000
.text : palign(8) {} > FLASH
.const : palign(8) {} > FLASH
.cinit : palign(8) {} > FLASH
.pinit : palign(8) {} > FLASH
.rodata : palign(8) {} > FLASH
.ARM.exidx : palign(8) {} > FLASH
.init_array : palign(8) {} > FLASH
.binit : palign(8) {} > FLASH
.TI.ramfunc : load = FLASH, palign(8), run=SRAM, table(BINIT)
Regards, Holger
Hi,
Emm, all the sections defined into SRAM. I think it should work but I never tried this before.
Best regards,
Cash Hao