Hi,
Okay I see the fix is already done in API. Yes it is called and all other functions seems to work. It is just FLASH_IsFlashAreaReadable() which is not working.
Now we use this workaround:
bool flashRead (uint32_t addr, uint8_t *flashData, uint32_t size){
status_t status;
if(SYSCON->DIEID == 0){
status = FLASH_IsFlashAreaReadable(&flashConfig, addr, size);
if(status != kStatus_FLASH_Success){
return false;
}
}
status = FLASH_Read(&flashConfig, addr, flashData, size);
return (status == kStatus_FLASH_Success);
}