-
公开(公告)号:US10204057B2
公开(公告)日:2019-02-12
申请号:US15294413
申请日:2016-10-14
Applicant: Atmel Corporation
Inventor: Frode Milch Pedersen , Sylvain Garnier , Ian Fullerton , Xavier Leprevost
IPC: G06F12/10 , G06F12/1009 , G06F12/02 , G06F3/06
Abstract: In an embodiment, a method comprises: obtaining a virtual bus address; translating the virtual bus address to a physical address of a portion of NVM storing first data; determining that the first portion of NVM has been allocated previously; reading the first data from the first portion of NVM; determining whether writing second data to the first portion of the NVM would change one or more bits in the first data; responsive to the determining that a write operation only changes data bits in the first data from 1 to 0, writing the second data over the first data stored in the first portion of NVM; and responsive to the determining that one or more bits in the first data would be flipped from 0 to 1, reallocating the first portion of NVM to a second portion of NVM, copying the first data from the first portion of NVM to the second portion of NVM with the first data modified by the second data.
-
公开(公告)号:US20180046582A1
公开(公告)日:2018-02-15
申请号:US15294413
申请日:2016-10-14
Applicant: Atmel Corporation
Inventor: Frode Milch Pedersen , Sylvain Garnier , Ian Fullerton , Xavier Leprevost
IPC: G06F12/1009 , G06F3/06 , G06F12/02
CPC classification number: G06F12/1009 , G06F3/0611 , G06F3/0659 , G06F3/0679 , G06F12/0246 , G06F2212/2022 , G06F2212/7201
Abstract: In an embodiment, a method comprises: obtaining a virtual bus address; translating the virtual bus address to a physical address of a portion of NVM storing first data; determining that the first portion of NVM has been allocated previously; reading the first data from the first portion of NVM; determining whether writing second data to the first portion of the NVM would change one or more bits in the first data; responsive to the determining that a write operation only changes data bits in the first data from 1 to 0, writing the second data over the first data stored in the first portion of NVM; and responsive to the determining that one or more bits in the first data would be flipped from 0 to 1, reallocating the first portion of NVM to a second portion of NVM, copying the first data from the first portion of NVM to the second portion of NVM with the first data modified by the second data.
-