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.

Can not programme bank 7 of TMS570LS0432 with F021

Other Parts Discussed in Thread: TMS570LS0432

Dear Sir, I can programme bank 0 of TMS570LS0432 with F021 but can programme bank 7.Here is the code:

 

if ((Fapi_initializeFlashBanks((uint32_t)SYS_CLK_FREQ)) == Fapi_Status_Success){   

(void)Fapi_setActiveFlashBank((Fapi_FlashBankType)7);   

Fapi_enableEepromBankSectors(0xffff,0xffff);  

}

else {         

return (1);

 }

 while( FAPI_CHECK_FSM_READY_BUSY != Fapi_Status_FsmReady );  

while( FAPI_GET_FSM_STATUS != Fapi_Status_Success );

    while( SizeInBytes > 0)  {   

Fapi_issueProgrammingCommand(

(uint32_t *)dst,          

(uint8_t *)src,          

(uint32_t) bytes,          

0,          

0,          

Fapi_AutoEccGeneration);

   while( FAPI_CHECK_FSM_READY_BUSY == Fapi_Status_FsmBusy );

//        while(FAPI_GET_FSM_STATUS != Fapi_Status_Success);

  src += bytes;   

dst += bytes;   

SizeInBytes -= bytes;        

if ( SizeInBytes < 16){            bytes = SizeInBytes;         }    

}

Please help me.

Thanks!  

Arctop