Hello sirs,
I want to implement the Flash API for Piccolo F28034, and I download TMS320F2803x Flash APIs(sprc907.zip).
In the Flash2803x_API_Library.h, it indicates:
API load/run symbols:
These symbols are defined by the linker during the link. Refer to the
Flash28_API section in the example .cmd file:
Flash28_API:
{
Flash28035_API_Library.lib(.econst)
Flash28035_API_Library.lib(.text)
} LOAD = FLASH,
RUN = SARAM,
LOAD_START(_Flash28_API_LoadStart),
LOAD_END(_Flash28_API_LoadEnd),
RUN_START(_Flash28_API_RunStart),
PAGE = 0
These are used to copy the flash API from flash to SARAM
But in the Example_Flash2803x_API.c and Example_Flash28035_API.cmd, it indicates:
/******************************************************************/
// For Piccolo B, we dont need to copy the API from Flash as it is
// present in BOOT ROM
/******************************************************************/
It means that we don't need to include Flash API library and also don't need copy the Flash API to SARAM,
and the Flash_erase, Flash_program and Flash_verify functions will be executed in the BOOT ROM.
Any body can help to tell me, Is that right ?
Thanks for any comments.