Other Parts Discussed in Thread: HALCOGEN
Tool/software: Code Composer Studio
For F021 API (with FREERTOS kernel) in CCS; what sys_lnk.cmd changes need to be made?
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: Code Composer Studio
For F021 API (with FREERTOS kernel) in CCS; what sys_lnk.cmd changes need to be made?
Yes.
The TI_Fee_GetStatus(0) returns BUSY. I saw a post that said 'someone' solved the UNINT by adding FEE related entries to the sys_lnk.cmd file.
I can run this and get a valid return code, but the TI_FEE_GetStatus loop blocks.
Fapi_StatusType oReturnCheck = Fapi_initializeFlashBanks((uint32_t)TI_FEE_OPERATING_FREQUENCY/2); /* Example code is assuming operating frequency of 220 MHz */
OK
More details
For code:
TI_Fee_Init();
do
{
TI_Fee_MainFunction();
}while (TI_Fee_GetStatus(0) != IDLE);
Stays in loop, because: TI_Fee_oStatusWord[0].Fee_StatusWordType_ST.Copy and TI_Fee_oStatusWord[0].Fee_StatusWordType_ST.Erase have a value of 1.
OK, this thread title is inaccurate.
No changes to sys_link.cmd are needed, if you use the one that HalCoGen generates.
There are differences within sys_link.cmd when generating a configuration that includes FEE.
Thank You.