4.1.8.3.2 DIAG_FLASH_CalculateStoreCRC32()

diag_crc_status_t DIAG_FLASH_CalculateStoreCRC32 (uint32_t startAddress, uint32_t length, uint32_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

Parameters:
in startAddress

- starting address of FLASH memory region to be considered for CRC

in length

- number of bytes from startAddress to be considered for CRC

in storeAddress

- the FLASH address where calculated CRC will be stored