You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The SPI Flash method used by program_sectors() will wrap around from
the end of the 256-octet sector to the start of the 256-octet sector
if a write starts part way into the 256-octet sector and writes more
octets than (256-start_offset), due to only incrementing the low address
bits. Add checks to ensure program_sectors() is only usable with a
start address that is a multiple of 256 to avoid scrambled data in
the flash due this SPI Flash wrap around.
0 commit comments