AnsweredAssumed Answered

Flash driver example: Reading the flash memory

Question asked by Gaurav Banyal on Nov 14, 2016
Latest reply on Nov 14, 2016 by Jorge_Gonzalez

Hello,

 

I am using FRDM-KL03Z board and experimenting with the SDK 2.0 example \frdmkl03z\driver_examples\flash\pflash.

The example ends at flash write and verification. I would like to read the data written to the flash. I have tried using the function "FLASH_ReadResource" but I always get an error response "kStatus_FLASH_InvalidArgument" from the function "flash_check_resource_range". Moreover there is no mention of "FLASH_ReadResource" in the SDK API documentation.

 

Please let me know how to read out the array written to the flash in this example.

 

An early response will be much help.

Outcomes