Adding processor flash memory reading, viewing and writing to file.

Works when the device is running either osimage or bootloader.

- New memory reading command in osimage and bootloader.
- Extended 'hw readmem' command with length parameter, file writing and hex viewer.
- Introduced '--dumpmem' option to proxmark3 executable to support dumping from bootloader.

Simple interactive examples:
  hw readmem -f flashdump
  hw readmem -l 1024
CLI example:
  ./pm3 --dumpmem flashdump.bin

Reading from arbitrary memory ranges can be unlocked using the 'raw' option.
This commit is contained in:
Martijn Plak committed 2024-01-22 16:40:05 +01:00
1 parent c6adda54ed
commit e35385fde1
10 files changed
+386 -12

No files matched your search

+2
View File
@@ -54,6 +54,8 @@ typedef enum {
SIM_MEM,
SPIFFS,
FPGA_MEM,
MCU_FLASH,
MCU_MEM,
} DeviceMemType_t;
typedef enum {