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.

TMS320F28388D: How to use ECC in Flash for S2 records

Part Number: TMS320F28388D


Hi,

 I want to program flash with ECC enabled. Fapi_issueProgrammingCommand() function takes 16byte as input for u16DataBufferSizeInWords parameter in example code.

I want to flash data which is in S2 format with 15bytes of data. I have properly running code for Fapi_DataOnly programming command type. With same algorithm when I change programming command type to Fapi_AutoEccGeneration in Fapi_issueProgrammingCommand() function, I am getting error. 

How should I address this problem?

Thank you