Commit Graph

  • f8ff1483eb CHG: "hf legic sim" old imp, uses two timers, we have one. I'm seriously starting on thinking about a UART instead, to read the dmabuffer. If only I knew howto. iceman1001 2016-10-10 21:52:58 +02:00
  • 4697964f6a CHG: "script run emlu2dump" now can read old legic hex-ascii dumps. (with spaces) and convert to a binary file CHG: "script run emlu2html" now can read old legic hex-ascii dumps. (with spaces) and convert to a generic html file iceman1001 2016-10-10 10:59:16 +02:00
  • c2723575de CHG; added an option wither or not to clear emulator mem on init iceman1001 2016-10-09 18:24:51 +02:00
  • f9eeab99a4 chg: textual changes. iceman1001 2016-10-09 16:04:31 +02:00
  • 564c9ae2b6 FIX: increased time-out to match 2.7sec it takes to write 256bytes. iceman1001 2016-10-09 15:49:59 +02:00
  • 539fd59ebe CHG: "hf legic write" - now writes on the limits better. CHG: "hf legic restore" - now restors :) CHG: "hf legic rdmem" - now has a nice offset row above the read data. try: 'hf legic rdmem 0 100' iceman1001 2016-10-09 15:41:31 +02:00
  • 367996567b CHG: "hf legic restore" - added a filesize and cardsize check iceman1001 2016-10-08 19:25:23 +02:00
  • cd79d97223 CHG: syntax suger iceman1001 2016-10-08 19:14:35 +02:00
  • f9b5377fd0 CHG: reordered the "hf search" internal checks. The iclass check takes 4.5sec to time-out...Incredible slow to identify. iceman1001 2016-10-08 19:14:09 +02:00
  • 8ddfbc34dc CHG: the call to TurnReadLFOn has a delay / number as parameter. Seems to be gone. FIX: fixes to EM4050 code since when I changed the timer. It should work nice now. iceman1001 2016-10-08 19:12:51 +02:00
  • 5b9fb6f454 REM: "hf legic load" has been removed. It doesnt have a purpose anymore. REM: "hf legic save" has been removed. It doesnt have a purpose anymore. iceman1001 2016-10-08 19:10:46 +02:00
  • 7e7d3de5fa FIX: looks like "hf legic write" works again! iceman1001 2016-10-07 23:07:59 +02:00
  • 4409bf6ef3 CHG: "hf legic write" with these I managed to get one byte written. Its a start. iceman1001 2016-10-07 22:16:38 +02:00
  • 715bed5023 CHG: adjustments to 3.6ms iceman1001 2016-10-07 21:28:09 +02:00
  • 59fc313d99 CHG: help text iceman1001 2016-10-07 20:49:26 +02:00
  • c2ab5e8c4e FIX: "hf list legic" annotation now correct prints byte and value for "legic write" command iceman1001 2016-10-07 20:23:57 +02:00
  • e4d57949df FIX: wrong log bytes... iceman1001 2016-10-07 19:15:08 +02:00
  • b816886806 FIX: one send command bug fixed. Turns out that uint16_t is too small for 21/23bits size. Who figured? iceman1001 2016-10-07 19:11:38 +02:00
  • 27c4a862f6 FIX: unused variable removed. CHG: start remaking the used timers in "Hf legic write" iceman1001 2016-10-07 12:23:07 +02:00
  • f0fa663814 CHG: "hf legic write" got a make over in how its called. Now called with 'offset' and 'data' 'hf legic write o 10 d 11223344' - this will write 4 bytes (0x11,0x22,0x33,0x44) to tag from offset 10 (0x0A) iceman1001 2016-10-07 11:58:14 +02:00
  • ac42d5be85 chg: syntax suger iceman1001 2016-10-07 00:18:02 +02:00
  • 1bf1db845f CHG: syntax suger iceman1001 2016-10-07 00:17:18 +02:00
  • e4a8d1e2ac CHG: started the process of fixing "hf legic write" and "hf legic sim" commands. iceman1001 2016-10-07 00:15:47 +02:00
  • f6e01a3493 Renamed the calccrc8 functions and command. iceman1001 2016-10-07 00:14:02 +02:00
  • d41efbf21b ADD: added a StopTicks functions, to disable the timer used for ticks (TC0, TC1) iceman1001 2016-10-07 00:13:09 +02:00
  • 5a08545794 ADD: added a compiling flag -DHAS_512_FLASH i common/Makefile.common, to be used for PM3 devices with 512KB. Original commit from @hewitt iceman1001 2016-10-07 00:12:09 +02:00
  • 77e1bab94a REM: "hf legic writeraw" has been removed. iceman1001 2016-10-06 19:34:53 +02:00
  • 0e8cabed8d ADD: "hf legic eload" - Load binary file to emulator memory. Use "h" for help text ADD: "hf legic esave" - Save emulator memory to binary file. Use "h" for help text iceman1001 2016-10-06 19:13:23 +02:00
  • 9015ae0f5d CHG: "hf legic dump" now automatically detects tagtype and dumps accordingly. CHG: still #define codestyle should it be with or without semicolons? iceman1001 2016-10-05 22:58:06 +02:00
  • b1cd7d5ca6 FIX: one too many semicolons for #defines iceman1001 2016-10-05 22:18:26 +02:00
  • 00271f774a FIX: undeclared var on deviceside, FIX: "hf legic dump" is almost there. iceman1001 2016-10-05 22:07:32 +02:00
  • 633d068682 CHG: command name changes.. old "hf legic info" is now "hf legic reader" old "hf legic read" is now "hf legic rdmem" old "hf legic decode" is now "hf legic info" iceman1001 2016-10-05 21:42:13 +02:00
  • b9e8854a8b CHG: fixed the coverity build script iceman 2016-10-05 17:58:11 +02:00
  • fb6e631fbb Merge branch 'master' of https://github.com/iceman1001/proxmark3 iceman 2016-10-05 17:57:29 +02:00
  • f8f62cebc6 CHG: execution mode iceman 2016-10-05 17:57:01 +02:00
  • 77e72e8b1b CHG: execution mode iceman 2016-10-05 17:56:44 +02:00
  • 2715eb5fcf ADD: execution mode iceman 2016-10-05 17:56:00 +02:00
  • 635d6e9bef CHG: code clean up iceman1001 2016-10-05 17:10:29 +02:00
  • c417b2185c CHG: libcurses iceman1001 2016-10-05 17:10:14 +02:00
  • d6c891c5c8 ADD: added a install.sh script for easy installation of dependencies on linux. iceman1001 2016-10-05 16:27:52 +02:00
  • c15e07f11d CHG: making timings a bit tighter == faster read of tag. Like 1ms for whole tag. FIX: off-by-one bug in read-byte-loop. iceman1001 2016-10-04 23:08:39 +02:00
  • e1a0ed65ff FIX: forgot a LEN in print message. iceman1001 2016-10-04 21:42:56 +02:00
  • 1daa1226fd CHG: reading a complete MIM1024 takes about 2.8sec. This timeout is changed to 3sec now. iceman1001 2016-10-04 21:41:21 +02:00
  • 7a8db2f678 CHG: "hf legic read" - increased timeout values client side, reading MIM1024 takes a bit of time iceman1001 2016-10-04 21:26:19 +02:00
  • 86087eba00 Textual changes in helptext. Still no clear. iceman1001 2016-10-04 18:43:11 +02:00
  • 7bc3c99e7e CHG: "hf legic write" started to change this command to the updated code iceman1001 2016-10-04 18:05:55 +02:00
  • 77a689dbeb CHG: revert legiccrc8 to old algo. CHG: "hf legic decode" now loads EML memory CHG: legic timings is better. iceman1001 2016-10-04 00:07:07 +02:00
  • 0b0b182fe2 CHG: changed to use BigBuff_Eml memory instead of big_buff_malloc. CHG: downloading eml memory from device should use uint's CHG: "hf legic read" has a different printing. It now prints 32bytes / row iceman1001 2016-10-03 23:24:59 +02:00
  • 44d9c722f0 CHG: Patch for making PM3 compatible to MCU's CDC-Host libraries Thanks to @cjbrigato to tweak the cdc imp. https://gist.github.com/cjbrigato/ef7fc18119f7c4900efbbef9bda0eb0f iceman1001 2016-10-03 08:03:47 +02:00
  • 5660920679 FIX: the "hf list legic" on MIM1024 wrapped around readingbyte 255 due to a too small varible size. Causing the upperbits to drop silently iceman1001 2016-10-02 12:29:18 +02:00
  • 61f97ca7ad CHG: annotation now only print relevant help text given selected protocoll. iceman1001 2016-09-29 21:37:19 +02:00
  • c649c43389 CHG: finally, the ticks timer does what it is supposed to do. 32bits and working. iceman1001 2016-09-29 21:36:43 +02:00
  • fabef615ec CHG: added addresize to legic select struct. CHG: TIMER, it turns out the TC0, TC1 and TC2 is only 16bit. So adjust to use two clocks to get a 32bit timer. CHG: code clean up in legic device side. consistency with variable names.. iceman1001 2016-09-29 17:43:39 +02:00
  • cb7902cdcd CHG: removed some debug data CHG: reverted back to old crc imp. iceman1001 2016-09-29 14:46:12 +02:00
  • ce1cccd697 UPD: got the latest updates (@badboy) from @zhovner mfdread. iceman1001 2016-09-29 14:18:21 +02:00
  • b7e8338d2b FIX: forgot I removed some other stuff iceman1001 2016-09-29 12:29:42 +02:00
  • f2ba788536 ADD: @zhovner 's mfd file parser https://github.com/zhovner/mfdread Looks really nice the parsed fileoutput. iceman1001 2016-09-29 12:23:35 +02:00
  • a39944216d CHG: a select_legic function with structs and stuff and iceman1001 2016-09-29 12:23:09 +02:00
  • d7e24e7c5f CHG: 'hf list legic' doesn't print the parity now. CHG: 'hf legic read' the device side timings is starting to look much better. HUGE Thanks to @will-rbnt for endless checks and logic analyser feedback. Without his effort this would not work. What does work? We can now use ANY IV in legic. The PM3 Master version is flawed, will only work with IV=0x55. iceman1001 2016-09-28 21:37:08 +02:00
  • 6a12ad0c86 Merge pull request #33 from osysltd/patch-2 Iceman 2016-09-27 09:37:19 +02:00
  • bd437fdd9b Update README.md Osys 2016-09-27 10:34:29 +03:00
  • 11dee3d5a6 CHG; the devil is in the details iceman1001 2016-09-26 21:53:51 +02:00
  • 584e28e54b CHG: Minor tweaks, the tracing dissappeared, the spindelay for powering up too long. iceman1001 2016-09-26 21:40:05 +02:00
  • 323e05cc20 CHG: added the verbose flag, to make the output in "hf search" lesser. iceman1001 2016-09-26 21:39:04 +02:00
  • 3c6542087e CHG: @ikarus23 removed all missleadning warnings for GCC6.1.1. iceman1001 2016-09-26 21:38:19 +02:00
  • 62577a62ae FIX: Much of my added extra legic code is commented away now. FIX: the gcc6.1.1 warning broke my gcc 4.8.4 build env.. iceman1001 2016-09-26 20:21:31 +02:00
  • fada2feaf7 ADD: @ikarus / @pwpiwi solution to stop treating GCC 6.1.1 warnings like errors. Should compile fine now on GCC6.1.1 iceman1001 2016-09-26 20:02:40 +02:00
  • 3e750be37c ADD: started to add a legic detection to "HF SEARCH" iceman1001 2016-09-26 20:01:23 +02:00
  • f1f7430ae0 CHG: removed the ubuntu build variable which is no needed anymore to build on ubunutu. CHG: Some warnings in cmdhflegic.c is solved. iceman1001 2016-09-26 17:19:35 +02:00
  • 0baea563de CHG: added some cleaning up earlier configurations, so the new config settings will be pure. iceman 2016-09-26 17:11:01 +02:00
  • 7cc8fee986 Merge pull request #32 from osysltd/patch-1 Iceman 2016-09-26 15:28:22 +02:00
  • 9b8fb1da66 Update README.md Osys 2016-09-26 16:23:27 +03:00
  • 7c91c8bf24 CHG: and now that I do actually check on bitlenght, I can get a better annotation yet again. Looking at it raises a question, acknowledge is 0x19 or 0x39, they just don't match up with tagtype identification of 0x0D, 0x1D, 0x39. I'll need to look at a 1024 tags response in a trace with a valid reader. iceman1001 2016-09-26 12:58:11 +02:00
  • 06c185d020 FIX: could be a problem, when not using parnethesis around inparams in #define. iceman1001 2016-09-26 12:30:34 +02:00
  • 337f703662 FIX: "indent" warns about this one. iceman1001 2016-09-26 12:29:24 +02:00
  • c3b6fdfa5b CHG: saw @menshiyun 's change to localtime on github. CHG: make sure that the 'iceman' label is in the version text. This is purely to make sure if they are using my fork or not. iceman1001 2016-09-26 12:28:35 +02:00
  • faabfafe30 CHG: using bitsend to determind the legic annotation in "hf list legic" makes false positives much less. iceman1001 2016-09-26 12:26:37 +02:00
  • e1deabc0eb CHG: fixes a "indent" warning iceman1001 2016-09-26 11:04:04 +02:00
  • 1c59e80aba CHG: fix a "indent" warning. iceman1001 2016-09-26 11:01:33 +02:00
  • cf08edc97c Merge branch 'master' of https://github.com/iceman1001/proxmark3 iceman1001 2016-09-26 10:37:32 +02:00
  • 7d0efb37d8 CHG: the "indent" software warns about some assingments. I've tried to fix them. iceman1001 2016-09-26 10:37:00 +02:00
  • dac582546a Update README.md Iceman 2016-09-25 13:06:32 +02:00
  • 25d52dd261 CHG: according to measureement by @wilrn the actual timing for receiving tag data, is 90us (ONE) and 100us (ZERO) which is not mentioned anywhere before. What a find! iceman1001 2016-09-24 15:15:24 +02:00
  • d5bded10e2 CHG: lowered the timout again, but re-added the spindelay since 14a requires 5ms powerup before entering the idle-state where tag starts to listen. CHG: fix the ticks compare xx > 1 into xx >= 1 iceman1001 2016-09-23 23:23:17 +02:00
  • 93b7aa8f88 ADD; added some more descriptions of what the legic prng imp does. iceman1001 2016-09-23 21:29:34 +02:00
  • f885043422 FIX: "hf 14a read" / "hf mf *" / "hf mfdes info" and failure when calling these commands serveral times in row. For long transactions the sspclock compare with >1 instead of >=1 .. Now the timer resets properly. CHG: use some #define constants for iso-commands. iceman1001 2016-09-23 21:28:07 +02:00
  • 9bd1640803 Merge branch 'master' of https://github.com/iceman1001/proxmark3 iceman1001 2016-09-23 16:36:01 +02:00
  • 24c49d36ba FIX: This commit fixes the broken LF since I change the spindelay calls. The original problem is that spindelayus calls is incremented with21.3us each step, making it very hard to find exact timings found in the datasheets for T55x7, HID etcetc. When @marshmellow and I looked into this 2014, I had this on my back of my mind but forgot it since I didn't know how the source code / pm3 worked. This behavior in spindelayus has given the bit-period for ON/OFF measured in (us) very hard to find. Its kind of magic that it worked so far so good. Well until I started to look into the "hf legic" bitbanging ASK ON/OFF keying and that one needs a much more precis timer. Same goes for the PCF7931 code. iceman1001 2016-09-23 16:35:26 +02:00
  • ca142ab73d Merge pull request #31 from osysltd/patch-1 Iceman 2016-09-23 14:31:12 +02:00
  • d79411bfba fix typo Osys 2016-09-23 15:20:57 +03:00
  • 8e4021fddc Update README.md Iceman 2016-09-21 20:37:43 +02:00
  • 22f4dca88c CHG: extracted some timers functionality, to get unified access to a timer/clock which counts in ticks. Moved stuff from util.c iceman1001 2016-09-21 19:03:32 +02:00
  • 4490a47690 ADD: some new mifare key found, iceman1001 2016-09-20 23:20:27 +02:00
  • 87342aadbc CHG: adjusted timing according to @sentinel 's traces iceman1001 2016-09-14 16:18:04 +02:00
  • a5d8246568 Merge pull request #26 from ickerwx/indentation_fix Iceman 2016-09-13 23:37:39 +02:00
  • 1cb9b2a3cf used tabs instead of spaces René Werner 2016-09-13 21:04:13 +02:00
  • 78f59945a7 fixed indentation to get rid of warnings René Werner 2016-09-13 20:57:25 +02:00
  • 111c6934d4 CHG: Small steps, the waiting time between frames was unclear. At least now the tags answers to a readbyte command after the setup phase. iceman1001 2016-09-12 09:19:49 +02:00
  • 76471e5d17 CHG: reverted back from the idea of measureing in (us) microseconds, the timer is too raw, gives 10-15us delays. Now we are measuring ticks, which is (1 us = 1.5ticks) like it was before. ie: 80us = 80*1.5 = 120ticks. iceman1001 2016-09-11 11:14:12 +02:00
  • db44e049b0 CHG: this timing should be quite good. needs to be verified. iceman1001 2016-09-10 22:47:11 +02:00