Hi,
I am using the SDK RTM 3.0.0.
After writing into Flash (no matter whether it is P or D without the Eeprom functionality enabled) and reseting the MCU, I would like to read the written data, which API should I use to do so? I have taken a look at FLASH_DRV_ReadResource() but I am not sure if it is the correct one.
Best regards,
Adria
已解决! 转到解答。
Hi Adria,
The SDK Flash Driver doesn't have any function for reading.
But knowing the address of the data, you can simply read it with a pointer.
The FLASH_DRV_ReadResource() function is executing READ_RESOURCE flash command as you can see in the flash_driver.c file. The S32K1xx series doesn't have such a flash command though.
BR, Daniel
Hi Adria,
The SDK Flash Driver doesn't have any function for reading.
But knowing the address of the data, you can simply read it with a pointer.
The FLASH_DRV_ReadResource() function is executing READ_RESOURCE flash command as you can see in the flash_driver.c file. The S32K1xx series doesn't have such a flash command though.
BR, Daniel