Gigaset Elements Base » History » Version 4
laforge, 12/11/2022 08:15 PM
1 | 1 | laforge | h1. Gigaset Elements Base |
---|---|---|---|
2 | |||
3 | 4 | laforge | This is a DECT [[ULE]] base station for a variety of _IoT_ style devices such as burgler alarm, switchable power sockets, etc. |
4 | |||
5 | FIXME: External Pictures |
||
6 | |||
7 | 1 | laforge | h2. Hardware |
8 | |||
9 | * Dialog SC14452 CR16C based DECT SoC |
||
10 | * Dialog LMX4181 RF frontend |
||
11 | * Winbond W9825G6KH-6 RAM |
||
12 | 3 | laforge | * SMSC 8720A Ethernet PHY |
13 | * MX25??? QSPI flash |
||
14 | |||
15 | 1 | laforge | |
16 | {{thumbnail(20221211_104138.jpg)}} |
||
17 | {{thumbnail(20221211_104127.jpg)}} |
||
18 | {{thumbnail(20221211_104300.jpg)}} |
||
19 | {{thumbnail(20221211_104108.jpg)}} |
||
20 | {{thumbnail(20221211_104324.jpg)}} |
||
21 | {{thumbnail(20221211_104059.jpg)}} |
||
22 | |||
23 | 2 | laforge | h3. Connectors / Test Pads |
24 | |||
25 | h4. 3-pin UART header |
||
26 | |||
27 | There is an unpopulated 3-pin 2.54mm header on the board. It has the following pin-out, in left-toright direction when looking at the component side of the PCBA with the ethernet jack facing downwards: |
||
28 | |||
29 | |_.Pin|_.Signal| |
||
30 | |left|P0 [1] / URX| |
||
31 | |center|GND| |
||
32 | |right|P0 [0] / UTX| |
||
33 | |||
34 | The voltage of the UART is about 3.2V; the data sheet states up to 3.45V should be fine, so a normal 3.3V UART should work. |
||
35 | |||
36 | h4. 2-pin jumper |
||
37 | |||
38 | There is an unpopulated 2-pin 2.54mm header on the board. It has the following pin-out, in left-toright direction when looking at the component side of the PCBA with the ethernet jack facing downwards: |
||
39 | |||
40 | |_.Pin|_.Signal| |
||
41 | |left|GND| |
||
42 | |right|P2 [5] / ADC1| |
||
43 | |||
44 | h4. Row of large test pads |
||
45 | |||
46 | There is a row of large (3mm?) test pads close to the unpopulated 3pin header / 2pin jumper. It has the following pin-out, in left-toright direction when looking at the component side of the PCBA with the ethernet jack facing downwards: |
||
47 | |||
48 | |_.Pin|_.Signal| |
||
49 | |1 (left)|P2 [5] / ADC1| |
||
50 | |2|6.5V voltage input| |
||
51 | |3|GND| |
||
52 | |4|P0 [1] / URX| |
||
53 | |5 (right)|P0 [0] / UTX| |
||
54 | |||
55 | h4. test pads on the back side |
||
56 | |||
57 | FIXME: Picture with annotations. So far we know the single-wire JTAG pin. |
||
58 | |||
59 | |||
60 | 1 | laforge | h2. Open Source Tarball |
61 | |||
62 | In remarkably good compliance with the GNU GPLv2, Gigaset has published a tarball containing the _complete and corresponding_ soure code for the open source parts of the firmware. |
||
63 | |||
64 | h2. building |
||
65 | |||
66 | It can be built on a current (Debian 11) system, if you install the following dependencies: |
||
67 | |||
68 | <pre> |
||
69 | apt install genromfs build-essential default-jdk gcc-multilib lib32z1 |
||
70 | dpkg --add-architecture i386 |
||
71 | apt update |
||
72 | apt install liblzo2-2:i386 |
||
73 | </pre> |
||
74 | |||
75 | After that, you shoul be able to compile it using the instructions from the README_BUILDING file that's in the source code. |
||
76 | |||
77 | h2. flashing |
||
78 | |||
79 | <pre> |
||
80 | HomeConnector_001.000.026/uniprog $ ./uniprog.sh |
||
81 | Creating empty file: |
||
82 | size 0 kB |
||
83 | file: 'reef_boot_rec_sys_fs.bin' |
||
84 | |||
85 | Inserting image file: |
||
86 | file 'image452.bin' |
||
87 | at offset 0 |
||
88 | size 131072 |
||
89 | |||
90 | Inserting image file: |
||
91 | file '../reef_vmlinuz-recovery' |
||
92 | at offset 131072 |
||
93 | size 819200 |
||
94 | |||
95 | Inserting image file: |
||
96 | file '../reef_vmlinuz' |
||
97 | at offset 950272 |
||
98 | size 2560000 |
||
99 | |||
100 | Not creating new filesystem image. |
||
101 | Using old one: ../reef_fs.bin |
||
102 | |||
103 | Inserting image file: |
||
104 | file '../reef_fs.bin' |
||
105 | at offset 3510272 |
||
106 | size 1138688 |
||
107 | |||
108 | /tmp/HomeConnector_001.000.026 /tmp/HomeConnector_001.000.026/uniprog |
||
109 | /tmp/HomeConnector_001.000.026/uniprog |
||
110 | ---------------------------------------------------------- |
||
111 | Image: / (size 4648960) created. |
||
112 | ---------------------------------------------------------- |
||
113 | |||
114 | To skip this question, you can assign serial port to environment variable PROGRAM_PORT or PORT |
||
115 | |||
116 | Please choose serial port: |
||
117 | 1) ttyS0 3) ttyS2 5) ttyUSB0 7) ttyUSB2 9) ttyUSB4 |
||
118 | 2) ttyS1 4) ttyS3 6) ttyUSB1 8) ttyUSB3 10) ttyUSB5 |
||
119 | #? 10 |
||
120 | Programming HW via /dev/ttyUSB5 |
||
121 | |||
122 | Please do following things: |
||
123 | 1. Push "Program" button, |
||
124 | 2. Push "Reset" button, |
||
125 | 3. Pop "Reset" button, |
||
126 | 4. Pop "Program" button. |
||
127 | Be patient |
||
128 | |||
129 | Programmer File Size 3464 |
||
130 | Programmer File CRC 0x6E |
||
131 | Image File Size 4648960 |
||
132 | Image File CRC 0x62 |
||
133 | |||
134 | --- IDLE --- |
||
135 | Uart RX[1]=0xFE,... |
||
136 | state IDLE rec: 0xFE |
||
137 | |||
138 | --- IDLE --- |
||
139 | Uart RX[1]=0x02,... |
||
140 | state IDLE rec: 0x02 |
||
141 | Uart TX[3]=0x01,... |
||
142 | Downloading programmer & image... |
||
143 | |||
144 | --- WAIT_ACK --- |
||
145 | Uart RX[1]=0x06,... |
||
146 | state WAIT_ACK rec: 0x06 |
||
147 | ACK received, flashing loader (size 3464)... |
||
148 | Uart TX[3464]=0x04,... |
||
149 | |||
150 | --- WAIT_CRC --- |
||
151 | Uart RX[1]=0x6E,... |
||
152 | CRC expected 6E, received 6E CRC OK |
||
153 | Uart TX[1]=0x06,... |
||
154 | |||
155 | --- CHANGE_UART_BPS --- |
||
156 | |||
157 | --- PROG_IDLE --- |
||
158 | Uart RX[1]=0x05,... |
||
159 | Writing image header... |
||
160 | Uart TX[5]=0x03,... |
||
161 | |||
162 | --- PROG_WAIT_ACK --- |
||
163 | Uart RX[1]=0x07,... |
||
164 | Writing image (size 4648960)... |
||
165 | Uart TX[4648960]=0x70,... |
||
166 | |||
167 | --- PROG_WAIT_CRC --- |
||
168 | 4 | laforge | Uart RX[1]=0x07,... |
169 | Writing image (size 4648960)... |
||
170 | Uart TX[4648960]=0x70,... |
||
171 | 1 | laforge | |
172 | 4 | laforge | --- PROG_WAIT_CRC --- |
173 | Uart RX[1]=0x62,... |
||
174 | PROG CRC expected 62, received 62 CRC OK |
||
175 | Uart TX[1]=0x07,... |
||
176 | Programming image ... |
||
177 | |||
178 | --- PROG_WAIT_COMP --- |
||
179 | Uart RX[1]=0x17,... |
||
180 | Flash programmed successfully |
||
181 | |||
182 | real 7m32.798s |
||
183 | user 0m0.008s |
||
184 | sys 0m0.460s |
||
185 | |||
186 | Done. |
||
187 | 1 | laforge | </pre> |