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.

F021 API - Fapi_flushPipeline

Hello,

I need clarification about the API function Fapi_flushPipeline(), using an TMS570LS31xx35.

Calling this API function always leads to an DATA ABORT execption, if ECC checking is enabled. If ECC is disabled, it works fine.

Bg, Erich Ebenhoch

void FlashInit( tFlashParam *fp )
{   
   (void)Fapi_serviceWatchdogTimer();

   /*Initialize the Flash API and HCLK Frequency in MHZ*/
   Fapi_initializeAPI(F021_CPU0_BASE_ADDRESS, 160);

   /*Clear FSM status register */
   (void)Fapi_issueAsyncCommand(Fapi_ClearStatus);
   (void)Fapi_issueAsyncCommand(Fapi_ClearMore);

    Fapi_flushPipeline();

    GetFlashDeviceInfo();

   (void)Fapi_serviceWatchdogTimer();
}