3.3.21.1 Functions
-
static void DIAG_FLASH_CalculateCRC32 (uint16_t startAddress, uint16_t length, uint32_t *crcSeed)
The CRC Flash test implements the periodic modified checksum (H.2.19.3.1) defined by the IEC 60730 standard. This API calculates 32-bit CRC with Direct Computation method for given FLASH memory region. This API will be used by DIAG_FLASH_CalculateStoreCRC32 and DIAG_FLASH_ValidateCRC32.
-
diag_crc_status_t DIAG_FLASH_CalculateStoreCRC32 (uint16_t startAddress, uint16_t length, uint16_t storeAddress)
The CRC Flash test implements the periodic modified checksum (H.2.19.3.1) defined by the IEC 60730 standard. This API calculates 32-bit CRC for a given FLASH memory region and stores the same at FLASH address indicated by storeAddress argument.
-
diag_crc_status_t DIAG_FLASH_ValidateCRC32 (uint16_t startAddress, uint16_t length, uint16_t refAddress)
The CRC Flash test implements the periodic modified checksum (H.2.19.3.1) defined by the IEC 60730 standard.