Projekt

Allgemein

Profil

HWData » Historie » Version 9

Maximilian Seesslen, 10.10.2022 12:08

1 1 Maximilian Seesslen
h1. HWData
2
3 5 Maximilian Seesslen
h2. Intro
4
5
Campo specifies layouts for hardware data and configuration.
6
"Campo":http://hase.seesslen.net/redmine/projects/campo/wiki/HwData_Structures
7
"Miniminutnik":http://hase.seesslen.net/redmine/projects/miniminutnik_sw/wiki/EEPROM
8
9 9 Maximilian Seesslen
* 0x20 Bytes Production-info (common)
10 5 Maximilian Seesslen
* 0x20 Bytes Board-Config (specific)
11 1 Maximilian Seesslen
* 0x20 Bytes Application configuration (specific, redundant)
12 9 Maximilian Seesslen
13
HWData is Production-info + Board-Config which is written at production.
14 5 Maximilian Seesslen
15 6 Maximilian Seesslen
This production data should neither be store in hw- nor sw-repository.
16
An products-global database may irritate, having all boards in one table with same serial number.
17
An per-project-database should be created.
18 7 Maximilian Seesslen
-The ".campo" has to contain an function to migrate hw-config information from the database to the c-structure for gdb.-
19
-In the production repository there is can script which calls the campo script in the software repository.-
20
21
The production repository holds the bringup binaries and an own ".campo" which contain an function to
22
migrate hw-config information from the database to the c-structure for gdb.
23
24 2 Maximilian Seesslen
h2. Where to store production database
25 1 Maximilian Seesslen
26
* Production-Repository in HW for all products
27 8 Maximilian Seesslen
* -One database for all? There is specific configuration data.-
28
** -Abstract specific configuration as option bytes?-
29
** -Make it generic; MCU; solder option; Counter;-
30
** -Show info from board-table-
31
* -Run script in SW-Repo to write hwdata (There is already the bringup software. But repo should not change by produced PCBs)-