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
Add ability to trigger firmware update mode from Harp protocol (#166)
* Fix typo in R_RESET_DEV register
* Add bit to trigger firmware update mode from `R_RESET_DEVICE`
* Clarify language regarding expected behavior during firmware update
Copy file name to clipboardExpand all lines: Device.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -275,7 +275,7 @@ gantt
275
275
section Id
276
276
BOOT_EE :id7, 0, 1
277
277
BOOT_DEF :id6, after bit7 , 2
278
-
- :id5, after bit6 , 3
278
+
UPDATE_FIRMWARE :id5, after bit6 , 3
279
279
- :id4, after bit5 , 4
280
280
NAME_TO_DEFAULT :id3, after bit4 , 5
281
281
SAVE :id2, after bit3 , 6
@@ -297,9 +297,11 @@ gantt
297
297
298
298
***RST_EE [Bit 1]:** If this bit is set and non-volatile memory is available, the device MUST reset and reboot with all core and application registers set to the values saved in persistent storage, usually an EEPROM. Any currently stored values MUST remain the permanent boot option. If this bit is set and non-volatile memory is not available, the device MUST respond with an `Error` message. When sending a response to a `Read` command, the device MUST clear this bit in the response payload.
299
299
300
-
***SAVE [Bit 3]:** If this bit is set and non-volatile memory is available, the device MUST save any non-volatile core and application registers to persistent storage, and reboot. The non-volatile memory should be configured as the permanent boot option. If this bit is set and non-volatile memory is not available, the device MUST respond with an `Error` message. When sending a response to a `Read` command, the device MUST clear this bit in the response payload.
300
+
***SAVE [Bit 2]:** If this bit is set and non-volatile memory is available, the device MUST save any non-volatile core and application registers to persistent storage, and reboot. The non-volatile memory should be configured as the permanent boot option. If this bit is set and non-volatile memory is not available, the device MUST respond with an `Error` message. When sending a response to a `Read` command, the device MUST clear this bit in the response payload.
301
+
302
+
***NAME_TO_DEFAULT [Bit 3]:** If this bit is set, the device MUST reboot and restore the value of [`R_DEVICE_NAME`](#r_device_name-25-bytes--devices-name) to its default value. When sending a response to a `Read` command, the device MUST clear this bit in the response payload.
301
303
302
-
***NAME_TO_DEFAULT[Bit 4]:** If this bit is set, the device MUST reboot and restore the value of [`R_DEVICE_NAME`](#r_device_name-25-bytes--devices-name)to its default value. When sending a response to a `Read` command, the device MUST clear this bit in the response payload.
304
+
***UPDATE_FIRMWARE[Bit 5]:** If this bit is set, the device MUST enter firmware update mode. In this mode the device MAY NOT respond to any commands until the update completes. Once completed, the device MUST reset. When sending a response to a `Read` command, the device MUST clear this bit in the response payload.
303
305
304
306
***BOOT_DEF [Bit 6]:** When sending a response to a `Read` command, the device MUST set this bit if the device booted with its default register values. If non-volatile memory is not available, the device MUST always set this bit when sending a response to a `Read` command. This bit is read-only state, so if this bit is set on a command message, the device MUST respond with an `Error` message.
0 commit comments