michallenc opened a new pull request, #15649:
URL: https://github.com/apache/nuttx/pull/15649

   ## Summary
   
   This forces the bch layer to read the sector from the physical device 
instead of using the cached values. It is necessary to call when the device is 
updated from the different source than bch, for example erased by the MTD ioctl 
command.
   
   ## Impact
   
   The application may now call the ioctl and obtain the correct read if it 
needs to read the cached sector again after it being erased.
   
   ## Testing
   
   Tested on SAMv7 with W25Q NOR flash. The first sector was read, erased, 
cache discarded, and then read again with `0xff` read correctly. Otherwise old 
values were present.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to