Erase memory

To erase a memory section, use the -ferase command:

S32FlashTool.exe -ferase -addr [value] [-size] -i [uart | can | eth] -p [devicename]

where:

For example:

S32FlashTool.exe -ferase -addr 0x2000 -i uart -p COM35

When you erase the flash memory section, it is enough to specify only address without the section size. The tool will erase the whole section including this address. According to the example above, it will erase all data from the 0x0 to 0x10000 address for the MX25UM51245G2 memory chip, and from 0x0 to 0x40000 for S26KL512S.

When you erase the SD or MMC memory section, specify the start address and the section size.