Wiki » Historie » Version 6
Maximilian Seesslen, 24.01.2023 12:40
1 | 1 | Maximilian Seesslen | h1. Wiki |
---|---|---|---|
2 | |||
3 | 2 | Maximilian Seesslen | STM32L431RCT6 with QUAD-SPI-Flash (Memory-mapped) and SD-Card-Slot. |
4 | "MCU":https://www.st.com/resource/en/datasheet/stm32l431rc.pdf |
||
5 | |||
6 | 1 | Maximilian Seesslen | [[Eval]] |
7 | 3 | Maximilian Seesslen | * The block size is 512 Bytes; it will be erased automatically? |
8 | * plain ascii: "2012-06-01 01:00, 1, 3" |
||
9 | ** quite difficult to find the end. |
||
10 | ** need to manipulate it afterwards for gnuplot anyway |
||
11 | |||
12 | * Record any received object vs. perooidically log all objects |
||
13 | ** Replay would need all received objects |
||
14 | * Bind it to TDT? |
||
15 | |||
16 | Header |
||
17 | 1B Magick 'B' |
||
18 | 1B Number of Stamps |
||
19 | 2B reserved |
||
20 | 4B Block number |
||
21 | 4B CRC32 |
||
22 | |||
23 | 1B Magick 'S' |
||
24 | 2B Year |
||
25 | 1B Month |
||
26 | 1B Day |
||
27 | 1B Your |
||
28 | 1B Minute |
||
29 | 1B Second |
||
30 | --- 8B |
||
31 | 4B Node |
||
32 | 4B Object |
||
33 | 1B Data Unit |
||
34 | 1B Data Type |
||
35 | 4B Value |
||
36 | |||
37 | Ca. 0x20 Bytes per stamp; 16 Stamps per block |
||
38 | |||
39 | h1. Todos |
||
40 | |||
41 | * Behaviour of erasing/writing |
||
42 | ** I can only write complete block/512B? |
||
43 | 6 | Maximilian Seesslen | ** Have to erase blocks? Why are they '0'; |
44 | * implement 'sd' command |
||
45 | ** 'e'rasae |
||
46 | ** 'w'rite |
||
47 | ** 'r'ead |
||
48 | ** 'd'ump |
||
49 | |||
50 | 3 | Maximilian Seesslen | |
51 | 1 | Maximilian Seesslen | h1. Dump |
52 | 5 | Maximilian Seesslen | |
53 | 3 | Maximilian Seesslen | * Filter Node-ID and Object |
54 | |||
55 | 5 | Maximilian Seesslen | h1. Ablauf |
56 | 3 | Maximilian Seesslen | |
57 | * Start with start-block from config if available |
||
58 | 1 | Maximilian Seesslen | * Search first free block |
59 | * Store it in config |
||
60 | 5 | Maximilian Seesslen | * Collect stamps/opjects |
61 | * Write block |