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.

TMS320F28P650DK: Question about FlashAPI Fapi_getFsmStatus()

Part Number: TMS320F28P650DK
Other Parts Discussed in Thread: C2000WARE

Tool/software:

Hello,

I develop a project on a TMS320F28P650DK control card.

I tried to write into flash by using the Flash API provides by C2000Ware.

To do this, I have followed the FlashAPI documentation (TMS320F28P65x Flash API Version 3.00.02.00 Reference Guide (ti.com)) but I have an issue during my writing.

Indeed, after the writing, I call Fapi_getFsmStatus() and this function returns me 3.

If I followed the recommended program flow described in the FlashAPI documentation, the function must return 0 to continue

So, I don't understand if I have an error or not because, in first, my word is well wrote in flash and second, in the FlashAPI documentation, it said that the function Fapi_getFsmStatus() returns the value of the STATCMD register and if I understood well if the STATCMD register has a value of 3, the command is OK.

So, I request your help on this subject.

Best regards,