The SerialFlash library by PaulStoffregen is very popular for interfacing with FlashChips provided by manufacturers like Winbond and Micron. This library works very well for boards like Teensy and Arduino. In this post, learn about the steps required to make this library compatible with STM32 Blue Pill.
Tag: W25
Erase Sector of Flash using SerialFlash
The SerialFlash library has the eraseBlock and eraseAll functions, but none to erase a sector. In this tutorial, we’ll create the eraseSector function.