Subversion Repositories pentevo

Rev

Rev 179 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 179 Rev 180
Line 12... Line 12...
12
 * - 0x00..0x0B [12 bytes]: version name string, may be zero ended if name shoter then 12 bytes;
12
 * - 0x00..0x0B [12 bytes]: version name string, may be zero ended if name shoter then 12 bytes;
13
 * - 0x0C..0x0D [2 bytes]: revision date and officiality bit;
13
 * - 0x0C..0x0D [2 bytes]: revision date and officiality bit;
14
 * - 0x0E..0x0F [2 bytes]: CRC value of bootloader or base configuration code.
14
 * - 0x0E..0x0F [2 bytes]: CRC value of bootloader or base configuration code.
15
 *
15
 *
16
 * Revision date and officiality bit format:
16
 * Revision date and officiality bit format:
17
 * - 7 bit of 0x0C: officiality bit (0 - test version, 1 - official release);
17
 * - 7 bit of 0x0D: officiality bit (0 - test version, 1 - official release);
18
 * - 6..1 bits of 0x0C: year (value 0..63 means 2000..2063 year);
18
 * - 6..1 bits of 0x0D: year (value 0..63 means 2000..2063 year);
19
 * - 0 bit of 0x0C and 7..5 bits of 0x0D: month (value 1..12);
19
 * - 0 bit of 0x0D and 7..5 bits of 0x0C: month (value 1..12);
20
 * - 4..0 bits of 0x0D: day (value 1..31).
20
 * - 4..0 bits of 0x0C: day (value 1..31).
21
 *
21
 *
22
 * Example:
22
 * Example:
23
 * 50 65 6E 74 31 6D 00 00 00 00 00 00 14 7B 3C B1
23
 * 50 65 6E 74 31 6D 00 00 00 00 00 00 7B 14 3C B1
24
 * 50 65 6E 74 31 6D 00 00 00 00 00 00 = name string: "Pent1m";
24
 * 50 65 6E 74 31 6D 00 00 00 00 00 00 = name string: "Pent1m";
25
 * 14 7B = non official, 10 year, 03 month, 27 day: release date "27.03.2010";
25
 * 7B 14 = non official, 10 year, 03 month, 27 day: release date "27.03.2010";
26
 * 3C B1 = CRC.
26
 * 3C B1 = CRC.
27
 *
27
 *
28
 * Recommend type next strings on display:
28
 * Recommend type next strings on display:
29
 * "Pent1m 27.03.2010 beta" - name and release date (officiality bit is not set);
29
 * "Pent1m 27.03.2010 beta" - name and release date (officiality bit is not set);
30
 * "Pent1m 27.03.2010" - name and release date (officiality bit is set).
30
 * "Pent1m 27.03.2010" - name and release date (officiality bit is set).