Add first draft of the TPI NVM commands for reading, writing and erasing a target. Needs testing when physical access to a part is available.
This commit is contained in:
parent
3222f21b84
commit
7c8f4a716f
7 changed files with 120 additions and 38 deletions
|
@ -99,8 +99,8 @@
|
|||
#define PDI_CTRL_REG 2
|
||||
|
||||
#define PDI_STATUS_NVM (1 << 1)
|
||||
#define PDI_RESET_KEY 0x59
|
||||
|
||||
#define PDI_RESET_KEY 0x59
|
||||
#define PDI_NVMENABLE_KEY (uint8_t[]){0x12, 0x89, 0xAB, 0x45, 0xCD, 0xD8, 0x88, 0xFF}
|
||||
|
||||
#define PDI_DATSIZE_1BYTE 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue