Projekt

Allgemein

Profil

EEPROM » Historie » Version 8

Redmine Admin, 26.11.2021 16:44

1 1 Redmine Admin
h1. EEPROM
2
3
The STM32L011x4 has 512Bytes EEPROM
4 5 Redmine Admin
Campo spezifies 0x20 bytes of HWData, 0x20 Bytes of Board specific stuff, and 2*0x20 config data.
5
Page size (erase size) of EEPROM is 4 bytes.
6
Retain block is 8 Bytes, so still 0x18 Bytes for I2C-EEPROM-compatible layout.
7 2 Redmine Admin
8 7 Redmine Admin
h2. Variant/Flags from HW-Data
9 1 Redmine Admin
10
|_.Bits |_.Description                                          |
11
| 0..3  | used MCU: 0=STM32L011x4                               |
12
| 4..7  | model: 0=regular Miniminutnik, 1=Corona airing timer  |
13 7 Redmine Admin
14
h2. Board-Data
15
16
|_.Offset |_.Size |_.Description               |
17
| 0x0     | 1     | MCU                        |
18
| 0x0     | 1     | Number of leds available   |
19 8 Redmine Admin
| 0x0     | 1     | Housing Variant            |
20 3 Redmine Admin
21
h2. Configurating
22
23 4 Redmine Admin
|_.Offset |_.Size |_.Description                  |
24
| 0x0     | 1     | Mode                          |
25
| 0x1     | 1     | Number of slots               |
26 5 Redmine Admin
| 0x2     | 1     | Sound                         |
27 4 Redmine Admin
| 0x3     | 1     | Reserved                      |
28
| 0x4     | 2     | Slot 1: Time in sec(espresso) |
29
| 0x6     | 2     | Slot 2: Time (Egg)            |
30
| 0x8     | 2     | Slot 3: Time (Weisswurst)     |
31
| 0xA     | 2     | Slot 4: Time (Nudeln 1)       |
32
| 0xC     | 2     | Slot 5: Time (Nudeln 2)       |
33
| 0xE     | 2     | Slot 6: -                     |
34
| 0x10    | 4     | long time 1 depending on mode |
35
| 0x14    | 4     | long time 2 depending on mode |
36
| 0x18    | -     |                               |
37 6 Redmine Admin
38 4 Redmine Admin
4 bytes gives a range > 24h.