add bootloader version and reset info
This commit is contained in:
@@ -112,11 +112,13 @@ These are the predefined symbols as used above.
|
|||||||
The first level below is the `info_id` value and the second level describes the response data byte sequence.
|
The first level below is the `info_id` value and the second level describes the response data byte sequence.
|
||||||
The first byte transferred in response is always the number of data bytes to be transferred (excluding the length itself).
|
The first byte transferred in response is always the number of data bytes to be transferred (excluding the length itself).
|
||||||
* 0x00: version
|
* 0x00: version
|
||||||
* `length`: =5 (2 before 20220220)
|
* `length`: =8 (2 before 20220220, 5 before 20220831)
|
||||||
* `version`: version number
|
* `version`: version number
|
||||||
* `features`: feature bits
|
* `features`: feature bits
|
||||||
* `checksum_H` `checksum_L`: checksum (since 20220220)
|
* `checksum_H` `checksum_L`: checksum (since 20220220)
|
||||||
* `jumpers`: jumper settings
|
* `jumpers`: jumper settings
|
||||||
|
* `bootloader_version`: bootloader version (since 20220831)
|
||||||
|
* `bootloader_checksum_H` `bootloader_checksum_L`: bootloader checksum
|
||||||
* 0x01: PIC ID
|
* 0x01: PIC ID
|
||||||
* `length`: =9
|
* `length`: =9
|
||||||
* 9*`mui`: PIC MUI
|
* 9*`mui`: PIC MUI
|
||||||
@@ -133,4 +135,7 @@ The first byte transferred in response is always the number of data bytes to be
|
|||||||
* `length`: =2
|
* `length`: =2
|
||||||
* `voltage_max`: maximum bus voltage in 10th volts
|
* `voltage_max`: maximum bus voltage in 10th volts
|
||||||
* `voltage_min`: minimum bus voltage in 10th volts
|
* `voltage_min`: minimum bus voltage in 10th volts
|
||||||
|
* 0x06: reset info (since 20220831)
|
||||||
|
* `length`: =2
|
||||||
|
* `reset_cause`: reset cause (1=power-on, 2=brown-out, 3=watchdog, 4=clear, 5=reset, 6=stack, 7=memory)
|
||||||
|
* `restart_count`: restart count (within same power cycle)
|
||||||
|
|||||||
Reference in New Issue
Block a user