Hi all,
I wrote the following bytestring "0xEA 0x01 0x0C 0xB9 0xEA 0xFF 0xFF 0xFE" with the API function "Fapi_issueProgrammingCommand" into the Flash at address 0x0020 0020.
Additional the API function generates the ECC and writes it at address 0xF044 0004.
How can I calculate manually the ECC from the bytestring ?
I am using the following API function with the following parameter:
ReturnValueProgCommand = Fapi_issueProgrammingCommand( (uint32 *) dst,
(uint8 *) src,
(uint8 ) ulBytes,
(uint8 *) (0xF0400000u + (src >> 3u)),
(uint8 ) (ulBytes >> 3u),
Fapi_AutoEccGeneration);
Best regards
Lars