]>
cvs.zerfleddert.de Git - proxmark3-svn/blob - client/flash.h
1 //-----------------------------------------------------------------------------
2 // This code is licensed to you under the terms of the GNU GPL, version 2 or,
3 // at your option, any later version. See the LICENSE.txt file for the text of
5 //-----------------------------------------------------------------------------
6 // Flashing utility functions
7 //-----------------------------------------------------------------------------
21 void FlushPrevious(int translate
);
22 void GotByte(uint32_t where
, uint8_t which
, int start_addr
, int end_addr
, int translate
);
23 unsigned int EnterFlashState(void);
24 int PrepareFlash(struct partition
*p
, const char *filename
, unsigned int state
);
25 int find_next_area(const char *str
, int *offset
, int *length
);
27 #define PHYSICAL_FLASH_START 0x100000
28 void do_flash(char **argv
);