Wait for QSPI flash operations to complete
This commit is contained in:
1 parent
eec34b93e5
commit
72a9fd765b
8 files changed
+283
-19
No files matched your search
@@ -169,6 +169,7 @@ fix, no WiFi connection, an inactive bridge, or an nRF52 bootloader without
|
||||
| LoRa OTA | [`ota cancel`; `ota drop`; `ota stop`](ota_protocol.md#11-cli-surface-otaclicpp) | LoRa OTA build | No | No | Yes |
|
||||
| LoRa OTA | [`ota announce`; `ota adv`](ota_protocol.md#11-cli-surface-otaclicpp) | LoRa OTA build | No | No | Yes |
|
||||
| LoRa OTA | [`ota self`; `ota id`](ota_protocol.md#11-cli-surface-otaclicpp) | Firmware with EndF trailer | No | No | Yes |
|
||||
| LoRa OTA | [`ota qspi`; `ota storage`](ota_protocol.md#11-cli-surface-otaclicpp) | nRF52 build with raw-QSPI OTA staging | Feature | Feature | Feature |
|
||||
| LoRa OTA | [`ota folder`; `ota fold`](ota_protocol.md#11-cli-surface-otaclicpp) | `on` needs compiled folder transport | No | No | Feature |
|
||||
| LoRa OTA | [`ota config`; `ota cfg`; `ota set`](ota_protocol.md#11-cli-surface-otaclicpp) | LoRa OTA build | No | No | Yes |
|
||||
| LoRa OTA | [`ota key`; `ota keys`](ota_protocol.md#11-cli-surface-otaclicpp) | LoRa OTA build | No | No | Yes |
|
||||
@@ -327,6 +328,7 @@ fix, no WiFi connection, an inactive bridge, or an nRF52 bootloader without
|
||||
| LoRa OTA | [`ota cancel`; `ota drop`; `ota stop`](ota_protocol.md#11-cli-surface-otaclicpp) | LoRa OTA build | No | No | Yes | Yes | Yes |
|
||||
| LoRa OTA | [`ota announce`; `ota adv`](ota_protocol.md#11-cli-surface-otaclicpp) | LoRa OTA build | No | No | Yes | Yes | Yes |
|
||||
| LoRa OTA | [`ota self`; `ota id`](ota_protocol.md#11-cli-surface-otaclicpp) | Firmware with EndF trailer | No | No | Yes | Yes | Yes |
|
||||
| LoRa OTA | [`ota qspi`; `ota storage`](ota_protocol.md#11-cli-surface-otaclicpp) | nRF52 build with raw-QSPI OTA staging | Feature | Feature | Feature | No | No |
|
||||
| LoRa OTA | [`ota folder`; `ota fold`](ota_protocol.md#11-cli-surface-otaclicpp) | `on` needs compiled serial or TCP folder transport | No | No | Feature | Feature | Feature |
|
||||
| LoRa OTA | [`ota config`; `ota cfg`; `ota set`](ota_protocol.md#11-cli-surface-otaclicpp) | LoRa OTA build | No | No | Yes | Yes | Yes |
|
||||
| LoRa OTA | [`ota key`; `ota keys`](ota_protocol.md#11-cli-surface-otaclicpp) | LoRa OTA build | No | No | Yes | Yes | Yes |
|
||||
|
||||
@@ -108,14 +108,16 @@ After installing the repeater application, check:
|
||||
get bootloader.ver
|
||||
ota self
|
||||
ota status
|
||||
ota qspi
|
||||
```
|
||||
|
||||
A ready target reports all of the following:
|
||||
A ready RAK15001 target reports all of the following:
|
||||
|
||||
```text
|
||||
QSPI store:2048K
|
||||
bootloader: QSPI apply OK
|
||||
bl:QSPI
|
||||
QSPI jedec=C84015 size=2048K sr1=00 stage=jedec
|
||||
```
|
||||
|
||||
Other supported boards can report a capacity different from 2048K; the
|
||||
@@ -123,6 +125,11 @@ RAK15001 target must report exactly 2048K. `QSPI store:ERR 0K`, `NO QSPI`, or
|
||||
`bl:NO-QSPI` means the flash wiring, flash power, or bootloader does not match.
|
||||
Do not start an install in that state.
|
||||
|
||||
`ota qspi` is a read-only diagnostic probe available on QSPI OTA builds. It
|
||||
reports the exact JEDEC ID, status-register byte, last store stage, and the
|
||||
first latched storage error. Run it after an immediate `storage error` before
|
||||
starting another pull; later capacity probes preserve that failure detail.
|
||||
|
||||
## Capacity and package types
|
||||
|
||||
The store reads the JEDEC capacity at runtime and accepts supported 1 MiB
|
||||
|
||||
@@ -749,6 +749,7 @@ ota rescue install <base_hash16> internal-flash nRF52 only: recover from failed
|
||||
ota cancel | drop | stop drop the current fetch session (frees the slot)
|
||||
ota announce | adv serve self + send a beacon now
|
||||
ota self | id print this firmware's EndF (body/image size, base_hash)
|
||||
ota qspi | storage QSPI nRF52 only: JEDEC/SR1/stage/latched storage error (read-only)
|
||||
ota folder | fold [on|off] attach/detach an external .mota folder (host daemon) ; bare = list
|
||||
ota config | cfg | set [autofetch|autoinstall|checkpoint] ... show/set persisted policy
|
||||
ota key | keys [add|rm <hex>] trusted signer allowlist ; bare = list
|
||||
|
||||
Reference in new issue
Block a user