chg: lf t55xx write - now uses NG frames.

This commit is contained in:
iceman1001 2019-05-13 13:23:53 +02:00
commit d2a4ade2af
15 changed files with 159 additions and 73 deletions

View file

@ -168,6 +168,14 @@ typedef struct {
#define CAPABILITIES_VERSION 1
extern capabilities_t pm3_capabilities;
// For CMD_T55XX_WRITE_BLOCK
typedef struct {
uint32_t data;
uint32_t pwd;
uint8_t blockno;
uint8_t flags;
} PACKED t55xx_write_block_t;
// For the bootloader
#define CMD_DEVICE_INFO 0x0000
#define CMD_SETUP_WRITE 0x0001