hello,
CMD32(0x20) its working for erase the data on continuously. but i need to the output for erase the previous data and store Current data to stored.
i'm using this function. but still this is continuously erase the data.
Referring to SD specification, the question makes little sense for me.
4.3.5
Erase It is desirable to erase many write blocks simultaneously in order to enhance the data throughput. Identification of these write blocks is accomplished with the ERASE_WR_BLK_START (CMD32), ERASE_WR_BLK_END (CMD33) commands.
The host must adhere to the following command sequence: ERASE_WR_BLK_START, ERASE_WR_BLK_END and ERASE (CMD38).
If an erase (CMD38) or address setting (CMD32, 33) command is received out of sequence, the card shall set the ERASE_SEQ_ERROR bit in the status register and reset the whole sequence.