Other Parts Discussed in Thread: HALCOGEN, UNIFLASH, , TMS570LC4357, TMS570LS3137
I'm gettting Error_TwoCopyVS error in TI_Fee_GlobalVariables[0].Fee_Error when initializing FEE. I'm attempting to add TI_Fee_ErrorRecovery() to our initialiazation function to handle this. See code snippets below.
I did a best guess on what to send TI_Fee_ErrorRecovery() - should I be sending something else?
What happens is the do-while loop never exits in Fee_Init().
void Fee_Init (void)
{
uint16 sts;
// Initialize FEE. This will create Virtual sectors, initialize global variables etc.
TI_Fee_Init ();
do
{
TI_Fee_MainFunction ();
fee_delay ();
if (TI_Fee_GlobalVariables[0].Fee_Error != Error_Nil)
{
TI_Fee_ErrorRecovery(TI_Fee_GlobalVariables[0].Fee_Error, TI_Fee_GlobalVariables[0].Fee_u8ActiveVirtualSector);
}
sts = TI_Fee_GetStatus (0);
}
while(sts != IDLE);
}//--end void Fee_Init (void)
<from ti_fee.h>
/* Fee Published Information */
#define TI_FEE_MAJOR_VERSION 3U
#define TI_FEE_MINOR_VERSION 0U
#define TI_FEE_PATCH_VERSION 2U
#define TI_FEE_SW_MAJOR_VERSION 1U
#define TI_FEE_SW_MINOR_VERSION 19U
#define TI_FEE_SW_PATCH_VERSION 4U
#define TI_FEE_VIRTUAL_SECTOR_VERSION 1U

















