Mercurial > public > ostc4
view Common/Drivers/CMSIS/index.html @ 426:514e6269256f 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:58 +0100 |
parents | c78bcbd5deda |
children |
line wrap: on
line source
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Redirect to the CMSIS main page after 0 seconds</title> <meta http-equiv="refresh" content="0; URL=Documentation/General/html/index.html"> <meta name="keywords" content="automatic redirection"> </head> <body> If the automatic redirection is failing, click <a href="Documentation/General/html/index.html">open CMSIS Documentation</a>. </body> </html>