Fix minor doc nits

This commit is contained in:
Michael Cardell Widerkrantz 2022-10-12 15:10:10 +02:00
parent 55c5081486
commit 99aabe89e9
No known key found for this signature in database
GPG Key ID: D3DB3DDF57E704E5

View File

@ -84,19 +84,19 @@ will send a raw binary targeted to be loaded at `0x4001_0000` in the
device. device.
1. The host sends the User Supplied Secret (USS) by using the 1. The host sends the User Supplied Secret (USS) by using the
`FW_CMD_LOAD_APP_SIZE` command. `FW_CMD_LOAD_USS` command and gets a `FW_RSP_LOAD_USS` back.
2. The host sends the size of the app by using the 2. The host sends the size of the app by using the
`FW_CMD_LOAD_APP_SIZE` command. `FW_CMD_LOAD_APP_SIZE` command.
3. The firmware executes `FW_CMD_LOAD_APP_SIZE` command, which 3. The firmware executes `FW_CMD_LOAD_APP_SIZE` command, which
stores the application size into `APP_SIZE`, and sets `APP_ADDR` stores the application size into `APP_SIZE`, and sets `APP_ADDR`
to zero. A `FW_RSP_LOAD_APP_SIZE` reponse is sent back to the to zero. A `FW_RSP_LOAD_APP_SIZE` reponse is sent back to the
host, with the status of the action (ok/fail). host, with the status of the action (ok/fail).
4. If the the host receive a sucessful command, it will send 4. If the the host receive a sucessful response, it will send
multiple `FW_CMD_LOAD_APP_DATA` commands, containing the full multiple `FW_CMD_LOAD_APP_DATA` commands, together containing the
application. full application.
5. For each received `FW_CMD_LOAD_APP_DATA` command the firmware 5. For each received `FW_CMD_LOAD_APP_DATA` command the firmware
places the data into `0x4001_0000` and upwards. The firmware places the data into `0x4001_0000` and upwards. The firmware
response with `FW_RSP_LOAD_APP_DATA` response to the host for replies with a `FW_RSP_LOAD_APP_DATA` response to the host for
each received block. each received block.
6. When the final block of the application image is received, we 6. When the final block of the application image is received, we
measure the application by computing a BLAKE2s digest over the measure the application by computing a BLAKE2s digest over the