Projekt

Allgemein

Profil

EEPROM » Historie » Version 4

Redmine Admin, 26.11.2021 16:13

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