I was able to use the IEC60730_f28027 lib into my project except some parts of the flash rom. I was getting 0s from all of the returns from the function (the STL_CRC_TEST_testNvMemory)
I got the proper results when I modified the Flash start and end address below 0xFFFF in the STL_system_config.h
What is the maximum range I can set for the addresses below?
#define FLASH_START_ADDRESS 0x3EBF00
#define FLASH_END_ADDRESS 0x3F7E7F
I saw the comment in the STL_crc_test.h,
"
- If the provided golden CRC value is identical to the calculated CRC value, the function will return
//! SIG_NV_MEM_CRC_TEST. Otherwise, it returns TEST_FAILED.
//! - If the non volatile memory range to be tested is greater than 65535, the function returns 0.
//! - If the provided start and end addresses are outside of a non volatile memory region , the function
//! returns 0.
"