Part Number: TMS320F280049C
I'm writing a firmware update code that is going to receive the firmware via SPI B.
For the communication I would like to utilise the same routines that our firmware update is using normally.
AFAIU therefore I need to run all that code from RAM because any code in Flash is not available while I'm programming it.
Now, my SP communication code contains calls like this:
SPI_clearInterruptStatus(SPIB_BASE, SPI_INT_RXFF);
which is in a TI library.
How can I force that code into the RAM?
For my own code I'm using stuff like:
#pragma CODE_SECTION(my_function_name, ".TI.ramfunc");
which seems to do the trick but if I do:
#pragma CODE_SECTION(SPI_clearInterruptStatus, ".TI.ramfunc");
this has no effect AFAIS