electro-smith / libDaisy

Hardware Library for the Daisy Audio Platform
https://www.electro-smith.com/daisy
MIT License
312 stars 131 forks source link

Daisy Patch SM ValidateQSPI does not work #552

Open stephenhensley opened 1 year ago

stephenhensley commented 1 year ago

Reported by forum user: gregsbrain

Content of post below:


The ValidateQSPI() function isn’t actually checking the values written to flash so will always succeed. It needs this line inserted before the verification loop:

testmem = (uint8_t*)qspi.GetData(start);

Also it doesn’t look like the non-quick case will work because the vector cannot be resized to 8 MByte unless it is allocated in SDRAM.