A method for writing update data into a flash memory module to replace original data is provided. The flash memory module includes at least one block including a plurality of sectors. Each of the sectors records a flag. The data storing method includes: getting a first sector, wherein all the bits o
A method for writing update data into a flash memory module to replace original data is provided. The flash memory module includes at least one block including a plurality of sectors. Each of the sectors records a flag. The data storing method includes: getting a first sector, wherein all the bits of the flag of the first sector are the second storage status; writing the update data into the first sector, and programming at least one bit as the first storage status and at least one bit as the second storage status in the flag of the first sector; identifying a second sector storing original data, wherein at least one bit of the flag of the second sector is first storage status and at least one other bit is second storage status; programming all the bits of the second sector as the first storage status.
대표청구항▼
1. A data storing method for writing an update data into a flash memory module to update an original data, wherein the flash memory module at lease comprises a block, the block comprises a plurality of sectors, each of the sectors comprises a plurality of bits, each of the bits is identified as a fi
1. A data storing method for writing an update data into a flash memory module to update an original data, wherein the flash memory module at lease comprises a block, the block comprises a plurality of sectors, each of the sectors comprises a plurality of bits, each of the bits is identified as a first storage status or a second storage status, and each of the sectors records a flag, the data storing method comprising: getting a first sector among the sectors, wherein all bits of the flag of the first sector are the second storage status;writing the update data into the first sector, programming at least one bit of the flag of the first sector as the first storage status and programming at least one bit of the flag of the first sector as the second storage status;identifying a second sector storing the original data among the sectors, wherein at least one bit of the flag of the second sector is the first storage status and at least one other bit of the flag of the second sector is the second storage status; andprogramming all bits of the second sectors as the first storage status. 2. The data storing method according to claim 1, further comprising: if the block does not have the flag with all the bits as the second storage status, programming all the bits of the block as the second storage status. 3. The data storing method according to claim 1, further comprising: generating a corresponding error correction code for the update data stored in the first sector. 4. The data storing method according to claim 3, wherein, if all bits of the update data stored in the first sector are the first storage status, all bits of the corresponding error correction code are the first storage status. 5. The data storing method according to claim 1, further comprising: determining sizes of the sectors according to sizes of the update data and the original data. 6. The data storing method according to claim 1, wherein the first storage status is 0 and the second storage status is 1. 7. An embedded system, comprising: a flash memory module storing an original data, wherein the flash memory module at least comprises a block, the block comprises a plurality of sectors, each of the sectors comprises a plurality of bits, each of the bits is identified as a first storage status or a second storage status, and each of the sectors records a flag; anda controller coupled to the flash memory module,wherein the controller gets a first sector among the sectors, wherein all bits of the flag of the first sector are the second storage status;wherein the controller writes an update data into the first sector and programs at least one bit of the flag of the first sector as the first storage status and programs at least one bit of the flag of the first sector as the second storage status;wherein the controller identifies a second sector storing the original data among the sectors, wherein at least one bit of the flag of the second sector is the first storage status and at least one other bit of the flag of the second sector is the second storage status,wherein the controller programs all bits of the second sector as the first storage status. 8. The embedded system according to claim 7, wherein if the block does not have the flag with all the bits as the second storage status, the controller programs all the bits of the block as the second storage status. 9. The embedded system according to claim 7, wherein the controller further generates a corresponding error correction code for the update data stored in the first sector. 10. The embedded system according to claim 9, wherein if all bits of the update data stored in the first sector are the first storage status, all bits of the corresponding error correction code are the first storage status. 11. The embedded system according to claim 7, wherein the controller determines sizes of the sectors according to sizes of the update data and the original data. 12. The embedded system according to claim 7, wherein the first storage status is 0 and the second storage status is 1.
연구과제 타임라인
LOADING...
LOADING...
LOADING...
LOADING...
LOADING...
이 특허에 인용된 특허 (6)
Estakhri, Petro; Nemazie, Siamack, Flash memory architecture with separate storage of overhead and user data.
Grilli, Francesco; Vayanos, Alkinoos Hector; Casaccia, Lorenzo, Methods for forward error correction coding above a radio link control layer and related apparatus.
Luo, Ting; Yang, Nian Niles; Avila, Chris; Chandrasekhar, Uday; Huang, Jianmin, Sensing parameter management in non-volatile memory storage system to compensate for broken word lines.
※ AI-Helper는 부적절한 답변을 할 수 있습니다.