mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-14 02:26:59 -07:00
Make the bootrom correctly nack in case of flash write error (e.g. due to lock bits)
This commit is contained in:
parent
0d974852ce
commit
4ab6281664
2 changed files with 11 additions and 1 deletions
|
@ -36,6 +36,8 @@
|
|||
|
||||
#define MC_FLASH_COMMAND_KEY ((0x5a)<<24)
|
||||
#define MC_FLASH_STATUS_READY (1<<0)
|
||||
#define MC_FLASH_STATUS_LOCKE (1<<2)
|
||||
#define MC_FLASH_STATUS_PROGE (1<<3)
|
||||
#define MC_FLASH_MODE_FLASH_WAIT_STATES(x) ((x)<<8)
|
||||
#define MC_FLASH_MODE_MASTER_CLK_IN_MHZ(x) ((x)<<16)
|
||||
#define MC_FLASH_COMMAND_PAGEN(x) ((x)<<8)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue