主权项 |
1. A flash device, comprising:
a flash memory, comprising a plurality of pages; and a controller coupled to the flash memory, comprising:
an operating unit, receiving a plurality of bytes of the page which are from the flash memory and corresponding to a read command, and obtaining an operation result according to a logic level of each bit of each of the bytes;an error correction code decoder, decoding the bytes of the page according to an error correction code; anda processing unit coupled to the operating unit and the error correction code decoder, determining whether the page is valid data according to the decoded bytes, and determining whether the page is an empty page according to the operation result when the page is not the valid data. |