Commit graph

146 commits

Author SHA1 Message Date
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 62b577d170 Remove unused definition. 2022-08-31 12:26:51 +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
Markus Walter 745928e609 Fix comments. 2022-08-26 09:28:04 +02:00
iceman1001 c5119e5bea fix cid 390242 - uninitialized var usage 2022-07-06 13:50:15 +02:00
iceman1001 95d1631bed style 2022-03-23 18:22:03 +01: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
giraut 42f4888f1c Encode ISO15693 response as tag byte by byte, instead of 2 bytes by 2 bytes, so that responses with an odd number of bytes don't end up encoded and transmitted with an extraneous uninitialized byte after the CRC. 2022-03-21 20:22:27 +02:00
Yann GASCUEL d1e186dbe9 iso15: fix 2SC (FSK) slow decoding
Previous decoding "count" constants have too large scale that may bug
with some answer. With those new constants, this bug can't happend anymore.
2022-03-16 17:36:37 +01:00
Yann GASCUEL abb840558f iso15: add support for slow and 2SC to GetIso15693AnswerFromTag()
Allow running raw iso15 cmd expecting slow and/or dual subcarriers
answers. E.g. sending slow 2SC inventory ("hf 15 raw -c -d 250100") is
now working.
2022-03-16 17:25:27 +01:00
Yann GASCUEL f65ca5f14c iso15 sniff: add support for slow answers with single subcarrier
Before this commit, slow answers was only supported for dual
subcarriers answers.
2022-03-16 16:11:50 +01:00
Yann GASCUEL a387f6774e iso15: move FSK code up (before all functions that may use it) 2022-03-16 16:09:57 +01:00
Yann GASCUEL 352850d158 iso15: update TODO / BUGS / ISSUES with support of iso15 2SC sniff 2022-03-16 15:54:14 +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
Yann GASCUEL 6d37410d33 iso15 sniff: fix alignment 2022-03-08 17:29:34 +01:00
Yann GASCUEL 3e784557fc iso15 sniff: improve iso15 FSK decoding (ARM part) 2022-03-08 10:11:34 +01:00
Yann GASCUEL 38d49097f9 iso15 sniffing: intragrate 2SC sniffing in same FPGA mode
switching Fpgamode while sniffing with FpgaWriteConfWord() was
sometimes too long so the tag answer start was lost.
Now, (only with FPGA_BITSTREAM_HF_15) with "FPGA_HF_READER_MODE_SNIFF_AMPLITUDE |
FPGA_HF_READER_2SUBCARRIERS_424_484_KHZ": the amplitude is shrank
from its 2 LSB bits and those 2 bits are now used to return the current
frequency. From my tests, this 2 bits reduction does not affect
quality of 1SC sniffing, but it may have slightly reduced the
receiving range.

FPGA FSK decoding code is also improved.
2022-03-08 10:11:14 +01:00
Yann GASCUEL 1f7bce5580 iso15 sniffing: add support for dual subcarriers tag answers 2022-03-08 10:11:08 +01:00
iceman1001 07855611e4 unify text 2022-02-24 18:03:19 +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
r1ddl3rz 61f3398fdc fix slixdisable pass id 2022-02-18 11:47:20 +01:00
iceman1001 e550f8ccc8 cppcheck fixes for const 2022-01-06 15:40:11 +01:00
Philippe Teuwen b703bb746b Adapting license headers, WIP 2022-01-06 02:20:38 +01:00
iceman1001 3491207890 text 2021-12-27 17:39:56 +01: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 5b54385347 rename globals 2021-08-21 23:08:26 +02:00
iceman1001 0a32e3ca05 fix hf 15 sample 2021-07-27 19:16:28 +02:00
Philippe Teuwen 1f27be076b make miscchecks 2021-06-04 21:58:38 +02:00
Iceman d0f2f6622b
Merge branch 'master' into feature/iso15693-standalone 2021-05-06 00:23:33 +02:00
iceman1001 e4f55556ba style 2021-05-05 21:04:48 +02:00
Tim Mudford 4fd4256acd Added standalone mode for ISO15693 cards. 2021-05-05 19:55:58 +12:00
iceman1001 6d71b9327e ISO15693 SLIX modifications found in @g3gg0 's offical pm3 fork, looks like WIP, with more focus on a standalone mode. I took the base fcts 2021-05-04 09:40:30 +02:00
iceman1001 305903c513 rework ISO15693 defines, removing duplicates 2021-05-03 09:35:38 +02:00
iceman1001 8f4ba94a6e sign-conversion fixes 2021-04-16 22:14:14 +02:00
iceman1001 30a10b266b fix #1234 - cliparse allow empty line, loop now user interuptable 2021-04-06 23:37:45 +02:00
Philippe Teuwen e5c5629cf2 Some tunings of otptear:
- make tearoff_delay_us and tearoff_enabled globals
- use tearoff_hook and remove Dbprintf in critical tearoff timing
- move initial write from MifareU_Otp_Tearoff to CmdHF14AMfuOtpTearoff and make it optional (old behavior was writing initial 00000000 when -d was not provided)
- tearoff: compare with initial write, not with previous tearoff outcome
- rephrase some messages
- track all begin and end of erase and write phases, with quite complex logic to cover multiple cases (starting in middle of erased phase, starting with write 0, ...) and report them
- check against initial write error
- repeat same timing (up to 10x) in case of write/read errors then quit
- typos
2021-03-07 23:48:55 +01:00
iceman1001 7910464a85 cppchecker 2021-02-28 19:01:38 +01:00
iceman1001 c0f4abb8d4 cppchecker fix 2021-01-28 12:52:10 +01:00
Philippe Teuwen 7cd80611d3 #makestyleday 2020-12-12 14:46:40 +01:00
cyberpunk-re a03d725a7f Comments 2020-12-01 22:56:08 +00:00
cyberpunk-re d792ff822b Proper identation and CHANGELOG entry 2020-12-01 21:42:22 +00:00
cyberpunk-re c76836880a Fix iso 15693 sim. Provide basic functionality for reader to detect ID 2020-12-01 21:28:37 +00:00
iceman1001 34148b0383 fix https://github.com/RfidResearchGroup/proxmark3/issues/1029 2020-10-23 10:00:47 +02:00
Philippe Teuwen 29f1147aad make style 2020-10-20 01:00:23 +02:00
iceman1001 3868b0b4e6 hf iclass write, hf 15 raw, write, etc supports tear off trigger 2020-10-13 22:43:28 +02:00
Philippe Teuwen 491adacb94 get rid of tabs 2020-10-06 20:45:13 +02:00
iceman1001 77f4371cd1 plot 2020-10-04 19:39:22 +02:00
iceman1001 5d357a6039 style 2020-09-07 10:39:15 +02:00