Commit graph

13 commits

Author SHA1 Message Date
iceman1001
bd26794c20 revert 2019-02-24 23:57:04 +01:00
iceman1001
61ebdbde6b CHG: adjusting compiling for older devices 2019-01-23 11:01:11 +01:00
iceman1001
0fb0c35308 CHG: 'mem load' - the possibility to upload default_iclass_keys.dic, default_keys.dic, default_pwd.dic to predefined flashmemory sections. These will be used in pwd / key checking algorithms on device.
CHG: 'script run read_pwd_mem.lua' - script now can print those uploaded dictionary files.

How to upload
pm3 --> mem load f default_iclass_keys i
pm3 --> mem load f default_keys m
pm3 --> mem load f default_pwd t

How to validate / view
PM3 -->scr run read_pwd_mem -o 237568 -k 8
pm3 -->scr run read_pwd_mem -o 241664 -k 6
pm3 -->scr run read_pwd_mem -o 245760 -k 4
2019-01-01 18:01:40 +01:00
iceman1001
a963a7834c FIX: 'mem load' - bad memory allocation
CHG: calloc fixes
2018-12-17 14:01:18 +01:00
Chris
25b07682dc CHG: 'mem load' - adapted loading files to use new load function.
loading binary file can be called with NULL pointer,  don't forget to free it.
2018-11-12 22:55:19 +01:00
merlokk
aaf7b25c01 cmdflashmem fixed for mbedtls 2018-11-07 18:17:17 +02:00
Chris
0e2dbe7424 chg: code cleanup 2018-09-08 11:18:10 +02:00
Colin J. Brigato
c74dbb63b8 Pass 2; commit 2; 2018-09-06 05:24:50 +02:00
Colin J. Brigato
8d673fa1bf First pass rewrite of flashmem driver for optimization. Lot of changes here. Provides PoC of saving and recalling a tag in Standalone mode. Added some printing passthrough to client to azccomodate for vt100 eye-candyness. FastREAD mode implemented for flashmem, testable from client. Beta but functionnal. Reading the whole flash with 1Kb to 32kb buffers was ~730ms, now 380ms Max (even at 24Mhz spi baudrate) 2018-09-03 00:02:44 +02:00
iceman1001
f3f7245fc0 add: 'mem read' - read / prints flahsmemory from device (not downloading)
chg: 'mem info' - added possibility to verify signature
2018-05-23 09:30:33 +02:00
iceman1001
e50fef6607 fix: 'mem load' - wrong offset when uploading 2018-05-03 16:10:38 +02:00
iceman1001
93d154f58c chg: 'mem load' added a max filesize check. 2018-05-03 12:22:17 +02:00
iceman1001
021c0a1349 ADD: 'mem' commands. For RDV40 devices only.
If you don't have one,  comment out inside client/Makefile this line

CFLAGS += -DWITH_FLASH
2018-05-03 12:15:03 +02:00