Home > other >  NVM data backup mechanism (2)
NVM data backup mechanism (2)

Time:09-30

On an article introduces the first NVM area backup mechanism, but write data length is limited by sector size, this paper introduces the second NVM area data backup mechanism, this method will first NVM zoning can be divided into A, B two size area, such as A zone as A formal data area, B area as A backup area, each area of the last byte of data useful indicator FLAG, 1 said the data is valid, 0 means the data is invalid, if appear in the process of updating data, after power on again, according to A first FLAG to judge which of the two area B data effectively, and then continue to complete the update operation, in this case, NVM area size is 32 KB, A zone is divided into 16 KB size, B area is divided into 16 KB size, for example: this example assumes that the area A successfully written into the data, need to write new data NVM area, other information processing with the following four steps in the same way,

(1) the judgement area A FLAG=1, the area data read write A to B area, after the success of the writing, the FLAG assignment 1 B area,

(2) the area B FLAG after the success of the change, change the area A FLAG symbol to 0,

(3) the area A FLAG symbol after the success of the change, for A zone data updates, or writing new data, after the update is successful, the area A FLAG symbol write 1,

(4) the area A FLAG after the success of the change, amend the area B FLAG symbol is 0, complete data updates,

At this point, two kinds of NVM area data backup solutions are introduced completely,

CodePudding user response:

Both sets of data backup of respectively applicable to small data quantity and large amount of data, the security which the higher?

CodePudding user response:

I think it's security is the same, just see which solution is more suitable for your

CodePudding user response:

Continuous read the floor related that a few articles, learn a lot, feel or the solution is simple easy to operate, just not sure the merits and demerits of these methods?

CodePudding user response:

Introduction of the building Lord NVM section what are the strengths and weaknesses of the data backup system?

CodePudding user response:

reference lane crawford, 4/f, massage ni da hong reply:
introduction of the building Lord NVM section what are the strengths and weaknesses of the data backup system?
advantage obviously, say faults, may be the NVM area is only half area is available, because the other half as a backup of the area,

CodePudding user response:

A, B area FLAG revising some messy

CodePudding user response:

The building Lord share is very good, what kind of chip is this mechanism, have introduced?

CodePudding user response:

Update the NVM area download chip LKT4306 algorithm, for example, to store data, need to increase the backup

CodePudding user response:

Good collection first, next time change process flow diagram that would be much easier to understand,

CodePudding user response:

Two methods have more advantages and disadvantages? An application from the conventional perspective is more widely?

CodePudding user response:

Which performance higher NVM compared to DRAM? Which have more advantages to read and write speed and life?

CodePudding user response:

It is not double the time to write?

CodePudding user response:

Very good, write more this kind of technical articles, useful for the latest project,

CodePudding user response:

This backup of the use of space is small, can have the solution from the hardware, hardware to increase a circuit what?

CodePudding user response:

This will increase the hardware cost, the cost is too high price has decreased

CodePudding user response:

Modified the hole will appear?

CodePudding user response:

Great article, continue to focus on the building Lord,,,
  • Related