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:
Hello dear members of the staff,
i would like to use the Flash API embedded in boot rom of the f280049 MCU ( i have silicon revision B, so it should have the flash api inside), i have built my EABI application with
F021_API_F28004x_FPU32_ROM_EABI.lib, and library search path of
C:\ti\c2000\C2000Ware_5_01_00_00\libraries\boot_rom\f28004x\revB\rom_symbol_libs\Flash_API, but the linker complains with:
undefined first referenced
symbol in file
--------- ----------------
_Fapi_calculateEcc
_Fapi_calculateFletcherChecksum
_Fapi_calculatePsa
_Fapi_checkFsmForReady
_Fapi_doBlankCheck
_Fapi_doPsaVerify
_Fapi_doVerify
_Fapi_doVerifyBy16bits
_Fapi_flushPipeline
......
in my application i simply want to use :
volatile Fapi_LibraryInfoType FlashApiInfo; FlashApiInfo = Fapi_getLibraryInfo();
what am missing?? should i add something to linker command file??
Kind Regards
Emanuele Peruzzi
Hi Emanuele,
Could you please add this path under includes in your ccs project?
C:\ti\c2000\C2000Ware_5_02_00_00\libraries\flash_api\f28004x\include\FlashAPI
Also include below file in your application file
#include "F021_F28004x_C28x.h"
Otherwise you can refer Flash API example project in C2000ware at path "C:\ti\c2000\C2000Ware_5_01_00_00\driverlib\f28004x\examples\flash"
Thanks & Regards,
Rajeshwary
Ok, thank you for pointing me in the right direction, i wrongly included Flash28004x_APIfuncs.cmd in my projects, that was a mistake.
Kind Regards
Emanuele Peruzzi