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.

TMS320F28P650SH: Flash API erase failure

Part Number: TMS320F28P650SH

Tool/software:

Hi experts,

My cusotmer is using COFF Flash API on F28P650SH6, they've integrated Flash API in their own application and see failure on Erase command when calling the sector erase API. They are trying to erase one sector on Bank0 or Bank1 while the code is on Back0 (different sector). The FSM status return as 17 (0x11), showing a verification failure. Their Flash API codes are mostly copied from the sdk exmaple, and we've checked the initialize procedure.  

  1. The flash api comment says check FMSTAT but I can't find this register any where, is this removed from F28P65?
  2. In the erase flow chart Flash API document,  TMS320F28P65x Flash API Version 3.00.02.00 Reference Guide Figure 4-1, Fapi_getFsmStatus() should returns 0, but in the sdk example, it should return 3, is this an typo? 
  3. In the Meantime, they tried to run the EABI FlashAPI example in SDK, however, their program stuck at PLL locking. They uses 20M crystal, could you help carifying which macro needs to be changed when using a 20M crystal?

All in all, any idea how to solve this issue?

Thanks,

Hang.