2.5.3.1 Erase the NAND Flash Memory

Erase the contents of the NAND Flash memory on the SAM9X60-Curiosity board with one of the following commands:

sam-ba -p serial -d sam9x60 -a nandFlash:1:8:0xc2605007 -c eraseall //use with device custom settings

or

sam-ba -p serial -b sam9x60-curiosity -a nandFlash -c eraseall // use with default board settings

Figure 2-12. Erasing the NAND Flash Memory with a Device-Based or Board-Based Command

or