Previous: , Up: Command Reference   [Contents][Index]

5.9.22 erase-sector

The erase-sector command erases a single sector of non-volatile memory on the target device. On most devices, this is necessary before non-volatile memory can be written. The command takes a single argument which is the address of the sector to erase. The address need not be aligned to a sector boundary; anywhere within the sector will suffice.