Feature #79
Von Redmine Admin vor mehr als 3 Jahren aktualisiert
Most STM32 only support CRC32. CRC8 is not very save.
CRC16 / lower
Length should be supported. The CRC must be calculated over real size.
If minor version increases, the size can increase also. But old content
can still be valid, which can not be detected if no size information
as available.
So 12 8 Byte Version is a good compromise:
1 Magic "R" (safe time by avoiding reading/CRC-calculation)
1 Version major
1 Version minor
1 erase counter
4 2 length
4 CRC32 2 CRC"16"
CRC16 / lower
Length should be supported. The CRC must be calculated over real size.
If minor version increases, the size can increase also. But old content
can still be valid, which can not be detected if no size information
as available.
So 12 8 Byte Version is a good compromise:
1 Magic "R" (safe time by avoiding reading/CRC-calculation)
1 Version major
1 Version minor
1 erase counter
4 2 length
4 CRC32 2 CRC"16"