mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
Add a version command to the bootloader (not activated yet)
This commit is contained in:
parent
7ad7275ee9
commit
c056e56492
2 changed files with 14 additions and 0 deletions
|
@ -208,6 +208,7 @@ typedef struct {
|
|||
#define CMD_HARDWARE_RESET 0x0004
|
||||
#define CMD_START_FLASH 0x0005
|
||||
#define CMD_CHIP_INFO 0x0006
|
||||
#define CMD_BL_VERSION 0x0007
|
||||
#define CMD_NACK 0x00fe
|
||||
#define CMD_ACK 0x00ff
|
||||
|
||||
|
@ -536,6 +537,12 @@ typedef struct {
|
|||
/* Set if this device understands the chip info command */
|
||||
#define DEVICE_INFO_FLAG_UNDERSTANDS_CHIP_INFO (1<<5)
|
||||
|
||||
/* Set if this device understands the version command */
|
||||
#define DEVICE_INFO_FLAG_UNDERSTANDS_VERSION (1<<6)
|
||||
|
||||
// Different versions here. Each version should increse the number
|
||||
#define VERSION_1_0_0 1
|
||||
|
||||
/* CMD_START_FLASH may have three arguments: start of area to flash,
|
||||
end of area to flash, optional magic.
|
||||
The bootrom will not allow to overwrite itself unless this magic
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue