HwData Structures » Historie » Version 8
Redmine Admin, 14.12.2021 17:01
1 | 2 | Redmine Admin | h1. HW-Data |
---|---|---|---|
2 | 1 | Redmine Admin | |
3 | Each Board (with MCU) should have an I2C EEPROM containung some "production" information. |
||
4 | |||
5 | |_.Offset|_.Type | |
||
6 | 2 | Redmine Admin | |0x00 | Production-Data | |
7 | |0x20 | Board-Config | |
||
8 | 1 | Redmine Admin | |0x40 | Config 1 | |
9 | |0x60 | Config 2 | |
||
10 | |||
11 | If EEPROM is not available, an sector in internal flash can be used. |
||
12 | The area within the flash should be handled by the "retain"-class from libbiwak. It |
||
13 | already handles header version and CRC. |
||
14 | "Magic"s do not make much sense. Its not supposed to be human readable. |
||
15 | |||
16 | |||
17 | 5 | Redmine Admin | |_.Section |_.Offset|_.Type |_.Size|_.Decription |_.Example |_.Retain Version | |
18 | 7 | Redmine Admin | |Main |0x00 | ui16 | 2 | Articles Code | 0x0020 | 4.0. | |
19 | | |0x02 | ui8 | 1 | Articles Variant | 01 | 4.0. | |
||
20 | | |0x03 | ui8 | 1 | Article Version | 01 | 4.0. | |
||
21 | 8 | Redmine Admin | |Board |0x04 | ui8 | 1 | Board Code | 01 | 4.0. | |
22 | | |0x05 | ui8 | 1 | major version | 0 | 4.0. | |
||
23 | | |0x06 | ui8 | 1 | minor version | 4 | 4.0. | |
||
24 | | |0x07 | ui8 | 1 | patch version; assembly option 1) | 0 | 4.0. | |
||
25 | 5 | Redmine Admin | |Production|0x08 | ui32 | 4 | Serial number | 0001 | 3.0. | |
26 | | |0x0c | ui32 | 4 | Variant/Flags 2) | 0 | 3.0. | |
||
27 | | |0x10 | ui8 | 1 | Production year (+2000) | 21 | 3.0. | |
||
28 | | |0x11 | ui8 | 1 | Production month | 10 | 3.0. | |
||
29 | | |0x12 | ui8 | 1 | Production day | 21 | 3.0. | |
||
30 | | |0x13 | ui8 | 1 | Production site | 3 | 3.0. | |
||
31 | | |0x14 | ui32 | 4 | reserved | 0 | 3.0. | |
||
32 | | |0x18 | Struct | 8 | Retain information; Version, counter, CRC| {-} | 3.0. | |
||
33 | 1 | Redmine Admin | |
34 | 1) although circuit might be changed afterwards, assembly option at time of production |
||
35 | 3 | Redmine Admin | is relevant. To compare with errata-page. |
36 | 1 | Redmine Admin | |
37 | 2) Things that might be relevant for running software like used transceivers. Product specific. |
||
38 | 2 | Redmine Admin | Its only related to the board directly, not connected periphery. |
39 | 1 | Redmine Admin | |
40 | Things like production site, version of horo-firmware etc. can be stored off-device. |