Projekt

Allgemein

Profil

Feature #79

Von Redmine Admin vor mehr als 3 Jahren aktualisiert

8-Bytes-Version is not good.

Most STM32 only support CRC32. CRC8 is not very save.

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.

Header can be implied in CRC calculation ase well.

12 Byte Version:

1 Magic "R" (safe time by avoiding reading/CRC-calculation)
1 Version major
1 Version minor
1 erase counter
4 length
4 CRC32

Zurück