view ostc4pack/step0_copy_release.bat @ 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 fd47e5631b9d
children
line wrap: on
line source

copy ..\..\OSTC4_Firmware\Release\OSTC4_Firmware.bin OSTC4_Firmware.bin /V /Y
copy ..\..\OSTC4_RTE\Release\OSTC4_RTE.bin OSTC4_RTE.bin /V /Y