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:
I define the function, which calls the library functions, to be stored before start in the FLASH and copy during start of the program to RAM.
how can I define the library functions in such a way that they are also copied to the RAM during startup of the program?
Thanks
Hi
You can refer our Flash API usage "flashapi_ex1_programming" example in C200ware located at <c2000ware install path\driverlib\f28003x\examples\flash>
Regards,
Rajeshwary
the example shows how to define the library in the cmd file in such a way that the called functions are also copied to internal RAM.
GROUP
{
.TI.ramfunc
{ -l "..\FAPI_F28003x_EABI_v1.58.10.lib"}
} LOAD = FLASH_BANK0_SEC1,
RUN = RAMLS,
LOAD_START(RamfuncsLoadStart),
LOAD_SIZE(RamfuncsLoadSize),
LOAD_END(RamfuncsLoadEnd),
RUN_START(RamfuncsRunStart),
RUN_SIZE(RamfuncsRunSize),
RUN_END(RamfuncsRunEnd),
ALIGN(8)
this task can be closed now and thank you for your help