You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+28-8Lines changed: 28 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,10 @@ User **must** set in `mbed_app.json`:
23
23
1.`firmware_metadata_header_address`, Offset at which the metadata header of the active firmware is written. **Must align to flash erase boundary**
24
24
1.`firmware_metadata_header_size`, Size of the active metadata header region. The application starts at `firmware_metadata_header_address + firmware_metadata_header_size`. **Must align to vector table size boundary and flash erase boundary**
25
25
1.`update-client.application-details`, This is the same as `firmware_metadata_header_address` but needs to be configured to allow the dependency module of bootloader to pick up this configuration.
26
+
1.`update-client.storage-address`, The offset from the begining of sd block device where the firmware candidates are stored.
27
+
1.`update-client.storage-size`, total size on the block device reserved for firmware storage
28
+
29
+
All these configurations must be set the same in the mbed cloud client when compiling the corresponding application for successful update operation.
26
30
27
31
User **may** set in `mbed_app.json`:
28
32
1.`MAX_COPY_RETRIES`, The number of retries after a failed copy attempt.
@@ -67,13 +71,29 @@ User **may** set in `mbed_app.json`:
67
71
68
72
## External Storage
69
73
70
-
The firmware update candidates are currently stored on an external sd card with a FAT32 file system. The expected folder structure is as follows:
74
+
The firmware update candidates are currently stored on an external sd card. The firmware is stored sequencially on the block device. The expected layout is as follows:
71
75
```
72
-
SDRoot
73
-
+-- firmware
74
-
+-- header_0.bin
75
-
+-- firmware_0.bin
76
-
+-- header_1.bin
77
-
+-- firmware_1.bin
78
-
+-- ...
76
+
+--------------------------+<-+ End of SD card block device
0 commit comments