darrylring commented on PR #20144:
URL: https://github.com/apache/nuttx/pull/20144#issuecomment-5666977876

   Beat me to it. I have a similar branch which adds this and support for the 
`efuse` driver. It reads/writes word by word, though, not block by block.
   
   Can we make it possible to read/write word-by-word without locking blocks?
   
   I posted in the `arch_arm` Discord about the issue with flash double ECC 
errors on reading unwritten OTP memory. In my current board code I have:
   
   ```c
   // Disable NMI for flash double ECC faults (set ECCNMI_MASK_EN bit)
   modifyreg32(STM32_SBS_ECCNMIR, 0, 1);
   ```


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to