320 CHAPTER 11 J-Flash SPI
J-Link / J-Trace (UM08001) ©
2004-2017 SEGGER Microcontroller GmbH & Co. KG
11.8 Device specifics
This chapter gives some additional information about specific devices.
11.8.1 SPI flashes with multiple erase commands
Some SPI flashes support multiple erase commands that allow to erase different
units on the flash. For example some flashes provide a sector erase (erase 4 KB
units) and a block erase (erase 16 KB or 64 KB units) command. In general, it is up
to the user which command to use, as the EraseSector command can be overridden
by the user. When manually changing the SectorErase command in the Options ->
Project settings... -> Flash tab, make sure that the SectorSize parameter
matches the command being used.