3.2.11.3 DIAG_FLASH_CRCGenerate

Returns the status of the FLASH_CRC_COMPARE diagnostic

This function verifies an accurate CRC32 can be generated on a memory area. It store the result in memory.

DIAG_TEST_STATUS 
DIAG_FLASH_CRCGenerate
(
     uint32_t addr,
     uint32_t length
);

Diagnostic verifies the following faults do not exist

  • Single Bit Failure
  • Multi Bit Failure
  • Column/Row Failure
  • Address decoder failure
  • Incorrect data read from memory
  • ECC computation is not working properly

Operating Mode

  • Interface can be used at POST and ‘On Demand’
Precondition
  • none

Parameters

  • void

Returns

  • DIAG_TEST_PASSED if no faults were found, otherwise, DIAG_TEST_FAILED.