-
Notifications
You must be signed in to change notification settings - Fork 56
Expand file tree
/
Copy pathdfu_1_0_x.yaml
More file actions
64 lines (63 loc) · 1.78 KB
/
Copy pathdfu_1_0_x.yaml
File metadata and controls
64 lines (63 loc) · 1.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
name: tm_dfu
remote_attributes:
- name: protocol_hash
dtype: uint32
getter_name: _system_get_proto_hash_and_trigger_dfu
summary: The Avlos protocol hash.
- name: uid
dtype: uint32
getter_name: system_get_uid
summary: The unique device ID, unique to each PAC55xx chip produced.
- name: hw_revision
dtype: uint32
getter_name: system_get_hw_revision
summary: The hardware revision.
- name: reset
summary: Reset the device.
caller_name: system_reset
dtype: void
arguments: []
meta: {reload_data: True}
- name: node_id
summary: The node id
getter_name: CAN_get_ID
dtype: uint8
- name: error
options: [NONE, START_EXECUTION_STACK_POINTER_OUT_OF_RANGE, START_EXECUTION_ADDRESS_OUT_OF_RANGE, START_EXECUTION_ADDRESS_LSB_NOT_SET]
getter_name: system_get_error
summary: The last error encountered in DFU
- name: read_flash_32
summary: Read a 32 bit value from the flash
caller_name: nvm_read_flash_32
dtype: uint32
arguments:
- name: address
dtype: uint32
- name: write_scratch_32
summary: Write a 32 bit value to the scratchpad
caller_name: nvm_write_scratch_32
dtype: void
arguments:
- name: offset_word32
dtype: uint8
- name: value
dtype: uint32
- name: read_scratch_32
summary: Read a 32 bit value from the scratchpad
caller_name: nvm_read_scratch_32
dtype: uint32
arguments:
- name: offset_word32
dtype: uint8
- name: commit
summary: Commit the 128 bit scratchpad to the specified flash address
caller_name: nvm_commit
dtype: uint32
arguments:
- name: address
dtype: uint32
- name: erase_all
summary: Erase all flash
caller_name: nvm_erase_all
dtype: uint32
arguments: []