mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 10:37:23 -07:00
chg: flashmem adaptions
This commit is contained in:
parent
089beed4f4
commit
3d956e686b
4 changed files with 152 additions and 151 deletions
|
@ -30,6 +30,7 @@
|
|||
|
||||
#include "proxmark3.h"
|
||||
#include "apps.h"
|
||||
#include "ticks.h"
|
||||
|
||||
// Used Command
|
||||
#define ID 0x90
|
||||
|
@ -53,7 +54,6 @@
|
|||
|
||||
#define UNIQUE_ID 0x4B
|
||||
|
||||
|
||||
// Not used or not support command
|
||||
#define RELEASE 0xAB
|
||||
#define POWERDOWN 0xB9
|
||||
|
@ -120,4 +120,10 @@ uint16_t FlashSendByte(uint32_t data);
|
|||
bool FlashInit();
|
||||
void EXFLASH_TEST(void);
|
||||
|
||||
#endif
|
||||
void Flash_UniqueID(uint8_t *uid);
|
||||
uint8_t Flash_ReadID(void);
|
||||
uint8_t Flash_ReadData(uint32_t address, uint8_t *out, uint16_t len);
|
||||
uint8_t Flash_WriteData(uint32_t address, uint8_t *in, uint16_t len);
|
||||
void Flashmem_print_status(void);
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue