Hi,
I have the same problem as http://e2e.ti.com/support/microcontrollers/c2000/f/171/t/30583.aspx but the answer don't work for me.
When I load the program directly in the RAM, the API works and when I load it into Flash, the API jump to the begginning of the code (main first line).
The flash api is copied into the RAM and interrupt are disable for the execution.
Flash28_API:
{
-l Flash28335_API_V210.lib(.econst)
-l Flash28335_API_V210.lib(.text)
} LOAD = FLASHF,
RUN = RAML1,
LOAD_START(_Flash28_API_LoadStart),
LOAD_END(_Flash28_API_LoadEnd),
RUN_START(_Flash28_API_RunStart),
PAGE = 0
Why the program restart?
Any suggestions?
Thanks
Simon