nuttx icon indicating copy to clipboard operation
nuttx copied to clipboard

arch/arm/samv7: fix sporadic bit flip after internal flash byte write

Open pkarashchenko opened this issue 3 years ago • 0 comments

Summary

Fix sporadic bit flip after internal flash byte write

The number of embedded flash wait states was calculated in a wrong way and the code to set flash wait states was executed three times instead of one. Two calls are removed now and only in sam_clockconfig() remains

Impact

Improve progmem write for SAMv7 based devices

Testing

Verified with custom SAMe70 based board

pkarashchenko avatar May 18 '22 14:05 pkarashchenko