Projekt

Allgemein

Profil

EEPROM » Historie » Version 3

Redmine Admin, 06.12.2021 11:20

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