Commit graph

771 commits

Author SHA1 Message Date
DidierA
885911c469 Rewrite of magic Gen4 GTU commands : refactor and speed 2022-11-09 15:49:07 +01:00
DidierA
876abf2818 Add hf mf gload, ggetblk, gsetblk 2022-11-05 19:40:38 +01:00
iceman1001
3f92d5ee67 style 2022-10-29 01:26:12 +02:00
iceman1001
ba225905d3 changed "mf eload" / "iclass eload" to be able to transfer a file from SPIFFS to EMULATOR memory. Original idea from @natesales 2022-10-26 06:57:21 +02:00
iceman1001
5b90ea8117 skeleton code found at https://github.com/ZRD-Saar/proxmark3 2022-10-25 07:56:57 +02:00
iceman1001
71f96ba1e7 make style 2022-10-16 17:56:12 +02:00
Iceman
b82feee002
Merge pull request #1766 from markus-oehme-pg40/iso15693-emulation
ISO15693 emulation
2022-09-02 05:29:16 +02:00
Markus Walter
d79bd5b6b8 Switch hf 15 sim to use image in emulator memory. 2022-09-01 18:53:31 +02:00
Markus Walter
03fa757395 Implement hf 15 eload command to move image dump to emulator. 2022-09-01 18:52:57 +02:00
Markus Walter
eef1ce9c33 Enhance simulation of ISO15693 devices.
This adds the following things:
- support for reading multiple blocks,
- configurable block size,
- ability to provide a memory image.
2022-08-31 12:25:22 +02:00
mwalker33
d8c18e6db8 Prep spiffs for bigger data files
- added spiffs check after flase wipe to force it to update its status
- added spiffs write and append to write in 8192 byte chunks to allow spiffs space to be freed in time.
- fixed spiffs dump to correctly handle issues if it could not allocate bugbuff space.
2022-08-31 18:51:39 +10:00
merlokk
0b95c519ff sh sniff skip some bytes from data - arm side 2022-07-09 16:45:08 +03:00
merlokk
7c2379ac9f rename and read parameters via struct 2022-07-06 19:03:17 +03:00
merlokk
1e91895b90 simulate sketch 2022-07-02 22:45:32 +03:00
merlokk
e3a50e0e1e configuring fpga and dma 2022-06-25 14:56:24 +03:00
merlokk
541c060a5d hf read adc low level command 2022-06-25 00:36:42 +03:00
iceman1001
c5d12bba0f adapt hw dbg to query device before setting log level 2022-06-06 18:21:28 +02:00
mwalker33
f5170f1d18 Mifare Classic Value operations
Added increment value, decrement value via the supplied commands and set value via the normal write command.  Also added "get" to read a value block and decode/display.
2022-06-05 16:58:53 +10:00
Philippe Teuwen
db21576612 remove arm-gcc 12.1 warning: array subscript -512 is outside array bounds of 'uint32_t[536870911] 2022-05-12 23:14:37 +02:00
iceman1001
7573205a93 fix iclass simulation 2022-05-10 07:34:17 +02:00
Philippe Teuwen
4d264fa63c Preparing EM4100 clone to EM4305 2022-04-29 16:44:38 +02:00
iceman1001
7aeb462e18 convert 15readercommand to use NG frames. Removing the confusing of status and length of received package in same return param. Now returns proper status and length is a ref param 2022-03-23 17:37:40 +01:00
Yann GASCUEL
c5f216558c iso15sniff: add an "iclass" bool parameter to SniffIso15693()
This is required to disable ISO15 flags parsing when sniffing iClass
because those flags don't exist in iClass coms (iClass iso15 based
communications are always fast and using only one subcarrier).
2022-03-16 11:26:07 +01:00
Philippe Teuwen
47096906fb arm Adc: Fix codeql warnings 2022-02-27 15:03:54 +01:00
Iceman
1c6abece54
Merge branch 'master' into sha 2022-02-25 11:42:20 +01:00
iceman1001
638e892088 added device side option to disable EAS/AFI password. Sets to all ZEROS 2022-02-18 18:23:53 +01:00
Philippe Teuwen
14f62eaa88 armsrc check: skip if no src available; postpone warning 2022-02-17 01:43:41 +01:00
iceman1001
a4bc2c5521 make style 2022-02-14 21:44:15 +01:00
iceman1001
63bc9b5eb2 added legic view command, and converted OLD -> NG comms 2022-02-14 09:19:35 +01:00
iceman1001
98d291f5b1 fix hf 14a sim, on device side a sneaky detection if data started with zero, it would treat it as uid is in emulator memory. Also fixed a size issue on flag 2022-01-22 18:29:11 +01:00
Philippe Teuwen
b703bb746b Adapting license headers, WIP 2022-01-06 02:20:38 +01:00
Philippe Teuwen
0f9315391a Changed drastically Hitag S ARM code to remove state machines and ease way to build new commands, Fixed Hitag S crypto mode with key or NrAr, fixed lf hitag cc, fixed pwd dump in hitagS dump with LKP 2022-01-03 22:43:58 +01:00
iceman1001
0a4c9f83ac fixes to hf iclass configcard mem setup, textual output, MIX->NG convertion 2022-01-03 22:08:55 +01:00
iceman1001
9c2b5118df hf mf gview now support user supplied password 2021-12-31 09:24:10 +01:00
iceman1001
6653bdc2be zx adaptations 2021-12-27 17:42:33 +01:00
iceman1001
49ee82be19 zx now builds after fixing corrent header. 2021-12-24 15:24:32 +01:00
iceman1001
69ea599fee skeleton for ZX8211 2021-12-24 13:32:28 +01:00
Philippe Teuwen
c3864a0ce5 lf cmdread: add -k to keep field on 2021-12-18 00:43:11 +01:00
Łukasz Jurczyk
218a4ba2ec
Added ledcontrol to lf functions 2021-11-18 15:00:54 +01:00
mwalker33
e72fbb4983
hw tune (#1519)
* Update appmain.c

Patch to fix incorrect lf voltage reading when no lf antenna is connected.
v_lf134, v_lf125 should be set to 0 in case they are not updated later and leave it with an invalid random value.
2021-10-14 10:05:19 +02:00
Philippe Teuwen
88308ea727 typos 2021-10-10 01:35:45 +02:00
Philippe Teuwen
e79fb92074 Add fpga-xc3s100e and icopyx support 2021-08-21 23:45:46 +02:00
Philippe Teuwen
d56d8f0f65 rename common_area typedef and global 2021-08-21 23:29:56 +02:00
Philippe Teuwen
5b54385347 rename globals 2021-08-21 23:08:26 +02:00
Philippe Teuwen
8280fc3c07 rename global version_information and its struct type 2021-08-21 20:11:22 +02:00
iceman1001
765d2acbb0 t55xx detect/read/write/dump etc will fail if you set lf config to something. Moved the reset / restore of lf config to device side for T55XX readblock. t55xx sniff still obeys lf config since it uses lf sniff beneath. 2021-07-29 10:51:31 +02:00
iceman1001
e2ca0a4abd style 2021-06-24 18:47:11 +02:00
iceman1001
c522de5b79 added "hf mf gview" to view contents of a magic gen3 gtu card 2021-06-24 14:59:33 +02:00
iceman1001
0e7e13db7d fix for client crash in lf hitag eload. Hitag simulation still now working (wip) 2021-06-20 23:02:18 +02:00
Philippe Teuwen
a330401769 change strategy for refs to linker symbols to get compatible again with old GCC (6.3), tested on GCC 11 too 2021-05-25 16:47:13 +02:00