This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

FDS_CRC_CHECK_ON_WRITE

Hello

Assuming I set FDS_CRC_CHECK_ON_WRITE flag in sdk_config to  1, where do i get a notification that somthing went rong? I probably miss something but I need to clarify this for my project. The sdk_config reports that: "This setting can be used to make sure that the record data was not altered while being written to flash" I can not undersand how or when I get that info 

BR

Dimitris

Parents Reply
  • Hi Einar

    Thanks for the reply.

    So if I get it right, in writing operationn when I choose CRC error check there is also a reading that checks the CRC. CRC is allways written and can be checked with flags FDS_CRC_CHECK_ON_READ for reading (returns error immediatly) and FDS_CRC_CHECK_ON_WRITE for writing. When writing there is no return value but I get the error with the FDS_EVT_WRITE or FDS_EVT_UPDATE events

    Dimitris

Children
Related