Mercurial > public > ostc4
view .hgtags @ 425:86fcac4cc43a ImprovmentNVM_2
Added function to analyse the sampel ringbuffer:
The function will show 0 for used sectors, 4 for the sector currently in use and 5 for empty sectors. This allows identification of log sample index position and identification of a buffer corruption (more than 2 sectors have state 4)
The repair function writes dummy bytes to the end of the active buffer with the lower sector number. This decision is based on the fact that corruption results typically in a reset of index to buffer start address. After repair the writing will be continued using the hugher buffer marked as used.
author | ideenmodellierer |
---|---|
date | Sat, 15 Feb 2020 20:50:20 +0100 |
parents | f1fb4aa0e9eb |
children | 4787cd767a9d |
line wrap: on
line source
1b9be6040d8279117c7fc99d528790611638f10b V1.4.7 release ba9d99a2e310da601a948ff11ad665260c600e18 v1.4.8 release 143fe85f82a2e2aca50eb0c29bc55066cb4fe497 v1.5.0 release afa55a50cc724b11b959fa81567d59ede251ef22 v1.5.1 release 54a480c43e977db8fc6969551ad6148f2ad46e15 v1.5.2.beta release