Part Number: TMS320F28377D
hi, we are using TMS320F28377D controller in that
we are using Fapi_flushPipeline(); flash function for firmware integrity check and for writing data in internal flash we are using below functions
loc_Fapi_Status = Fapi_issueProgrammingCommand((uint32 *)p_StartAddress,Dataword,2,0,0,Fapi_DataOnly);
while(Fapi_checkFsmForReady() == Fapi_Status_FsmBusy);
/*Check the Flash program command issued is Success or Failed*/
if(loc_Fapi_Status != Fapi_Status_Success)
{
// DMM_App_Serial_Print("\n\rFailed...Requested a Flash Program command that is not supported\n\r");
loc_MCU_Flash_Program_Status=MCU_Flash_Erase_Sector_Fail;
}
/* Read FMSTAT register contents to know the status of FSM after program command to see
* if there are any program operation related errors*/
loc_oFlashStatus = Fapi_getFsmStatus();
/* Verifies specified Flash memory range against supplied values*/
loc_Fapi_Status = Fapi_doVerify((uint32 *)p_StartAddress,1, (uint32*)(loc_Dataword32),&loc_oFlashStatusWord);
when am dump my code its working fine but whenever i do reset its not working properly..... its restarting from the beginning and end at executing these flash function and start again from the beginning...Is there any solution please let me know
can we access internal flash multiple times after reset?
regards
J.Muniniteesh