@@ -18,10 +18,10 @@ according to the following table:
18
18
| ` ssbl_multi_image_support ` | true | Enable/disable multi-image OTA feature |
19
19
| ` ssbl_ota_entry_storage ` | "OTACustomStorage_ExtFlash" | Configure custom OTA entry storage type |
20
20
| ` ssbl_simple_hash_verification ` | false | Enable/disable simple hash verification alternative to secure boot |
21
- | ` ssbl_optimize_spifi_flash ` | false | Optimize SPIFI flash driver size |
22
- | ` ssbl_spifi_dual_mode ` | false | Enable/disable SPIFI dual mode support (e.g. used by K32W041AM variant) |
21
+ | ` ssbl_optimize_spifi_flash ` | false | Optimize ` SPIFI ` flash driver size |
22
+ | ` ssbl_spifi_dual_mode ` | false | Enable/disable ` SPIFI ` dual mode support (e.g. used by K32W041AM variant) |
23
23
| ` ssbl_version ` | 0 | Set SSBL version |
24
- | ` ssbl_use_redlib ` | false | Enable/disable usage of redlib NXP library. If false, the build will use newlib nano |
24
+ | ` ssbl_use_redlib ` | false | Enable/disable usage of ` redlib ` NXP library. If false, the build will use ` newlib ` nano |
25
25
| ` ssbl_ota_data_in_external_flash ` | false | Enable/disable OTA support for application with sections stored in external flash |
26
26
27
27
## Simple hash verification
@@ -35,11 +35,13 @@ image for integrity check. Applications should be built with
35
35
Before writing the SSBL, it it recommanded to fully erase the internal flash.
36
36
37
37
Using DK6Programmer utility from Windows:
38
+
38
39
```
39
40
DK6Programmer.exe -V 5 -P 1000000 -s <COM_PORT> -e Flash
40
41
```
41
42
42
- Using dk6prog from SPSDK:
43
+ Using dk6prog from ` SPSDK ` :
44
+
43
45
```
44
46
$ dk6prog listdev
45
47
This is an experimental utility. Use with caution!
@@ -56,6 +58,7 @@ Erasing memory [####################################] 100%
56
58
` chip-k32w0x-ssbl.bin ` must be written at address 0 in the internal flash:
57
59
58
60
Using DK6Programmer utility from Windows:
61
+
59
62
```
60
63
DK6Programmer.exe -V2 -s <COM_PORT> -P 1000000 -Y -p FLASH@0x00="chip-k32w0x-ssbl.bin"
61
64
```
@@ -68,7 +71,7 @@ $ dk6prog -d DN038ZH3 write 0 ~/path/to/bin/chip-k32w0x-ssbl.bin
68
71
This is an experimental utility. Use with caution!
69
72
70
73
Writing memory [####################################] 100%
71
- Writen 7890 bytes to memory ID 0 at address 0x0
74
+ Written 7890 bytes to memory ID 0 at address 0x0
72
75
```
73
76
74
77
### Writing the PSECT
@@ -115,18 +118,20 @@ This is the list of all supported partitions:
115
118
First, image directory 0 (SSBL partition) must be written:
116
119
117
120
Using DK6Programmer utility from Windows:
121
+
118
122
```
119
123
DK6Programmer.exe -V5 -s <COM port> -P 1000000 -w image_dir_0=0000000010000000
120
124
```
121
125
122
126
Using dk6prog from SPSDK:
127
+
123
128
```
124
129
$ dk6prog -d DN038ZH3 write 0x160 [[0000000010000000]] 8 PSECT
125
130
126
131
This is an experimental utility. Use with caution!
127
132
128
133
Writing memory [####################################] 100%
129
- Writen 8 bytes to memory ID PSECT at address 0x160
134
+ Written 8 bytes to memory ID PSECT at address 0x160
130
135
```
131
136
132
137
Here is the interpretation of the fields:
@@ -146,13 +151,14 @@ DK6Programmer.exe -V5 -s <COM port> -P 1000000 -w image_dir_1=00400000C9040101
146
151
```
147
152
148
153
Using dk6prog from SPSDK:
154
+
149
155
```
150
156
$ dk6prog -d DN038ZH3 write 0x168 [[00400000C9040101]] 8 PSECT
151
157
152
158
This is an experimental utility. Use with caution!
153
159
154
160
Writing memory [####################################] 100%
155
- Writen 8 bytes to memory ID PSECT at address 0x168
161
+ Written 8 bytes to memory ID PSECT at address 0x168
156
162
```
157
163
158
164
Here is the interpretation of the fields:
@@ -180,18 +186,20 @@ The programming method will change:
180
186
181
187
* Writing image directory 1 should change to
182
188
Using DK6Programmer utility from Windows:
189
+
183
190
```
184
191
DK6Programmer.exe -V5 -s <COM port> -P 1000000 -w image_dir_1=00200000D9040101
185
192
```
186
193
187
194
Using dk6prog from SPSDK:
195
+
188
196
```
189
197
$ dk6prog -d DN038ZH3 write 0x168 [[00200000D9040101]] 8 PSECT
190
198
191
199
This is an experimental utility. Use with caution!
192
200
193
201
Writing memory [####################################] 100%
194
- Writen 8 bytes to memory ID PSECT at address 0x168
202
+ Written 8 bytes to memory ID PSECT at address 0x168
195
203
```
196
204
197
205
Here is the interpretation of the fields:
@@ -204,16 +212,18 @@ The programming method will change:
204
212
```
205
213
* Matter application offset address should change to
206
214
Using DK6Programmer utility from Windows:
215
+
207
216
```
208
217
DK6Programmer.exe -V2 -s <COM_PORT> -P 1000000 -Y -p FLASH@0x2000="chip-k32w0x-contact-example.bin"
209
218
```
210
219
211
220
Using dk6prog from SPSDK:
221
+
212
222
```
213
223
$ dk6prog -d DN038ZH3 write 0x2000 ~/path/to/bin/chip-k32w0x-contact-example.bin
214
224
215
225
This is an experimental utility. Use with caution!
216
226
217
227
Writing memory [####################################] 100%
218
- Writen 596450 bytes to memory ID 0 at address 0x2000
228
+ Written 596450 bytes to memory ID 0 at address 0x2000
219
229
```
0 commit comments