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.
大家好、
我使用 API 函数"Fapi_issueProgrammingCommand"将以下字节字符串"0xEA 0x01 0x0C 0xB9 0xEA 0xFF 0xFF 0xFE"写入闪存中、地址为0x0020 0020。
此外、API 函数生成 ECC 并将其写入地址0xF044 0004。
如何从字节串中手动计算 ECC?
我将使用以下具有以下参数的 API 函数:
ReturnValueProgCommand = Fapi_issueProgrammingCommand ( (UINT32 *) dst、
(uint8 *) src、
(uint8 ) ulBytes、
(uint8 *)(0xF0400000u +(src >> 3U))、
(uint8 )(ulBytes >> 3U)、
Fapi_AutoEccGeneration);
此致
Lars