Commit graph

807 commits

Author SHA1 Message Date
roel@libnfc.org
50d6e4abc1 douniwan5788: 2013-02-28 16:04:21 +00:00
roel@libnfc.org
28fdb04fd8 Finally, rewrote bootrom and flasher program, much faster now 2013-02-28 15:11:52 +00:00
roel@libnfc.org
79a73ab2d1 fixed USB GPIO bug reported by gregy, and fixed 'hf 14a reader' command 2013-02-27 13:23:38 +00:00
douniwan5788
8ca5586d49 fixed cmd malloc strlen()+1 bug 2013-02-05 17:27:21 +00:00
douniwan5788
04202e7aa7 Add iso14443a fuzz command 2013-02-05 10:03:53 +00:00
cex123@gmail.com
d16e0478d2 Fixed bug in HID clone short format. Added EM4xxx block read/write commands 2013-01-24 13:21:37 +00:00
chalk.secu@gmail.com
f5fca2ed62 Added command to read PCF7931 125Khz LF tags. This is a beta version which needs to be tested. 2013-01-18 21:31:35 +00:00
cex123@gmail.com
e98300f245 Added block command for T55xx and support for cloning HID long format 2013-01-16 10:42:29 +00:00
roel@libnfc.org
ab6bf11f3f minor fix when reading blocks 2012-12-17 13:21:53 +00:00
roel@libnfc.org
fc8c5cdd12 fixed hitag2 dump if one or more blocks are locked 2012-12-10 15:12:32 +00:00
roel@libnfc.org
ab4da50d99 added automatically saving the hitag2 memory content to file 2012-12-09 21:25:29 +00:00
roel@libnfc.org
9440213d6b fixed 64-bit cmd/arg for windows 2012-12-09 13:00:19 +00:00
roel@libnfc.org
80501bad5b tryout.... changed to 64-bit command arguments in stead of 32-bit 2012-12-07 22:41:41 +00:00
roel@libnfc.org
7dd1908b24 fixed 'hf mf' command and some others 2012-12-07 22:37:22 +00:00
roel@libnfc.org
fe7bfa7856 Windows7 working now! ugly fix for inaccurate Windows timer, quickfix for receiving multiple frames 2012-12-07 12:51:19 +00:00
roel@libnfc.org
f0ba634221 receiving/sending moved to one thread 2012-12-07 12:22:05 +00:00
roel@libnfc.org
985ef1c315 temporarely disabled QT for winows, no clue why it gives a failure 2012-12-07 11:01:55 +00:00
roel@libnfc.org
1282b0e691 minor output change 2012-12-07 09:51:22 +00:00
roel@libnfc.org
49ec6d1d1b fixed windows compile 2012-12-07 08:44:45 +00:00
roel@libnfc.org
af65f5f71d fixed read uart for windows 2012-12-07 07:21:00 +00:00
roel@libnfc.org
d0b14ad5e7 fixed missing header 2012-12-06 22:17:27 +00:00
roel@libnfc.org
81ee3409f9 added so-called 'driver' for windows 2012-12-05 20:45:42 +00:00
roel@libnfc.org
6e82300dda removed all old usb calls 2012-12-05 16:14:10 +00:00
roel@libnfc.org
ecab772ed0 added missing files, part2 2012-12-04 23:43:19 +00:00
roel@libnfc.org
5bcc76c427 added missing files 2012-12-04 23:41:54 +00:00
roel@libnfc.org
902cb3c00b major USB update 2012-12-04 23:39:18 +00:00
roel@libnfc.org
8b39fed4e5 making USB CDC branch 2012-12-04 23:37:59 +00:00
Merlokbr@gmail.com
5a9506ac45 10 ms was too fast(. 50 is ok 2012-11-08 10:05:10 +00:00
Merlokbr@gmail.com
bfaecce6eb there was bug in hf mf mifare. and speed up this command. 2012-11-08 09:48:02 +00:00
thijsbreman@gmail.com
219a334de5 added: readed blocks (password mode) into tag.sectors[]. 'lf hitag sim' simulates the readed blocks. 2012-10-18 10:01:13 +00:00
roel@libnfc.org
bde10a5057 added hitag2 reading in crypto mode functionality 2012-10-16 15:18:13 +00:00
thijsbreman@gmail.com
2d495a814d Added output to file for 'lf hitag list' command 2012-10-03 12:30:20 +00:00
roel@libnfc.org
b62328cc54 cleaned up memmory 2012-09-29 08:46:40 +00:00
roel@libnfc.org
ed7bd3a380 Added Hitag2 reading tag memory in password mode 2012-09-19 10:23:19 +00:00
roel@libnfc.org
8de6b69d1e added 'hitag2.ht2' binary example image for emulation 2012-09-18 13:56:23 +00:00
roel@libnfc.org
d19929cbe8 MAJOR update, added hitag2 reader, emulation and eavesdropping, lots of new code, including FPGA tweaks, part 2 2012-09-18 13:53:17 +00:00
roel@libnfc.org
db09cb3adb MAJOR update, added hitag2 reader, emulation and eavesdropping, lots of new code, including FPGA tweaks 2012-09-18 13:52:50 +00:00
frederikmoellers@aol.de
e5ad43c07e Power down the field before sending the USB ACK
This fixes the bug that the USB communication breaks when collecting PACE nonces with no delay. The delay functionality has not been removed (it doesn't hurt to keep it), but using a delay of 0 is now possible without a high risk of getting too many errors.
2012-09-01 23:54:38 +00:00
frederikmoellers@aol.de
69f8a37be0 Allow user to specify a delay
The user may specify a delay between PACE nonce requests. Using no delay between subsequent issues of the USB command may lead to errors in the USB communication.
Until test results show that the delay can be fixed or left out completely the user has to test what value is safe to use.

This fixes errors "Read only 40 instead of requested 64 bytes!" (if the correct delay is used, e.g. 3 seconds for 16 byte nonces).
2012-08-28 22:45:34 +00:00
frederikmoellers@aol.de
5acd09bdfb Basic support for EAC documents (e.g. German Identification Card)
-new files armsrc/epa.[ch] for ePA (electronic "Personalausweis") related functions
    -Offers elementary functions (EPA_PACE_MSE_Set_AT etc.)
    -Also offers one new USB command: EPA_PACE_Collect_Nonce
-created new command subtree in client: client/hfepa.[ch] ("hf epa")
    -offers "hf epa cnonces" (collect encrypted PACE nonces)
-more to come
2012-08-28 21:39:50 +00:00
frederikmoellers@aol.de
b0127e65f1 -Fixed a bug in iso14_apdu
-According to ISO14443-4, the block number (bit 0) in the PCB needs to be flipped every once in a while. Not doing so leads to the card not responding to commands anymore. The flipping is done according to the standard now.
-Declare iso14_apdu in iso14443a.h to enable usage from other .c files
-iso14_apdu now returns 0 if ReaderReceive returned 0 (to distinguish between the case that ReaderReceive returns -1 and the case that it returns 0)
-Added a new function to change the timeout (to enable changing it from other .c files without the need for a global variable)
2012-08-24 21:00:03 +00:00
frederikmoellers@aol.de
3ebf4b3d01 Corrected indentation in usb_cmd.h
Also changed the command ID of CMD_WRITER_LEGIC_RF to ease visual spotting of empty ID blocks.
(ID was 0x0399 but it was above CMD_SNOOP_ICLASS with ID 0x0392)
2012-08-23 23:32:18 +00:00
frederikmoellers@aol.de
db22dfe6ff -Added .history to the svn:ignore property
-Added "hf 14a cuids" command to collect multiple ISO14443-A UIDs from one card in a batch
 -The command takes one parameter (the number of UIDs to collect)
  -This can be useful to analyze the RNGs of cards that generate random UIDs (e.g. MRTDs)
2012-08-14 14:56:09 +00:00
dn337t@gmail.com
e50d95165c removed dead check of uint8_t > 255 2012-08-13 19:52:22 +00:00
fnargwibble@gmail.com
d13dee9046 target and bitstream back to front! 2012-08-13 16:16:39 +00:00
dn337t@gmail.com
561f7c11ef added dissector for ISO 14443-A ATS response 2012-07-25 16:19:56 +00:00
dn337t@gmail.com
14006804dd added util.h include to avoid implicit function declaration 2012-07-20 09:06:55 +00:00
dn337t@gmail.com
eede7162bc commented set but unread variable wantSaveToEml 2012-07-20 09:04:23 +00:00
Merlokbr@gmail.com
71d90e54cd hf mf sniff transfered parity from arm to decoding procedure 2012-07-17 15:19:15 +00:00
Merlokbr@gmail.com
8b6a93df91 hf mf sniff added CRC_14443_A check 2012-07-17 11:41:56 +00:00