]> cvs.zerfleddert.de Git - proxmark3-svn/log
proxmark3-svn
8 years agoCHG: "script run emlu2dump" now can read old legic hex-ascii dumps. (with spaces...
iceman1001 [Mon, 10 Oct 2016 08:59:16 +0000 (10:59 +0200)]
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

These changes makes it easier to for old legic dumps to be used with the new "legic dump/restore/eload/esave" commands

8 years agoCHG; added an option wither or not to clear emulator mem on init
iceman1001 [Sun, 9 Oct 2016 16:24:51 +0000 (18:24 +0200)]
CHG; added an option wither or not to clear emulator mem on init

8 years agochg: textual changes.
iceman1001 [Sun, 9 Oct 2016 14:04:31 +0000 (16:04 +0200)]
chg: textual changes.

8 years agoFIX: increased time-out to match 2.7sec it takes to write 256bytes.
iceman1001 [Sun, 9 Oct 2016 13:49:59 +0000 (15:49 +0200)]
FIX: increased time-out to match 2.7sec it takes to write 256bytes.

8 years agoCHG: "hf legic write" - now writes on the limits better.
iceman1001 [Sun, 9 Oct 2016 13:41:31 +0000 (15:41 +0200)]
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'

8 years agoCHG: "hf legic restore" - added a filesize and cardsize check
iceman1001 [Sat, 8 Oct 2016 17:25:23 +0000 (19:25 +0200)]
CHG:  "hf legic restore"  - added a filesize and cardsize check

8 years agoCHG: syntax suger
iceman1001 [Sat, 8 Oct 2016 17:14:35 +0000 (19:14 +0200)]
CHG:  syntax suger

8 years agoCHG: reordered the "hf search" internal checks. The iclass check takes 4.5sec to...
iceman1001 [Sat, 8 Oct 2016 17:14:09 +0000 (19:14 +0200)]
CHG:  reordered the "hf search" internal checks.  The iclass check takes 4.5sec to time-out...Incredible slow to identify.

8 years agoCHG: the call to TurnReadLFOn has a delay / number as parameter. Seems to be gone.
iceman1001 [Sat, 8 Oct 2016 17:12:51 +0000 (19:12 +0200)]
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.

8 years agoREM: "hf legic load" has been removed. It doesnt have a purpose anymore.
iceman1001 [Sat, 8 Oct 2016 17:10:46 +0000 (19:10 +0200)]
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.

CHG: "hf legic restore" started with the logic for the restore. Some compares and write to tag left.

8 years agoFIX: looks like "hf legic write" works again!
iceman1001 [Fri, 7 Oct 2016 21:07:59 +0000 (23:07 +0200)]
FIX: looks like "hf legic write" works again!

8 years agoCHG: "hf legic write" with these I managed to get one byte written. Its a start.
iceman1001 [Fri, 7 Oct 2016 20:16:38 +0000 (22:16 +0200)]
CHG:  "hf legic write" with these I managed to get one byte written. Its a start.

8 years agoCHG: adjustments to 3.6ms
iceman1001 [Fri, 7 Oct 2016 19:28:09 +0000 (21:28 +0200)]
CHG: adjustments to 3.6ms

8 years agoCHG: help text
iceman1001 [Fri, 7 Oct 2016 18:49:26 +0000 (20:49 +0200)]
CHG: help text

8 years agoFIX: "hf list legic" annotation now correct prints byte and value for "legic write...
iceman1001 [Fri, 7 Oct 2016 18:23:57 +0000 (20:23 +0200)]
FIX: "hf list legic"  annotation now correct prints byte and value for "legic write" command

8 years agoFIX: wrong log bytes...
iceman1001 [Fri, 7 Oct 2016 17:15:08 +0000 (19:15 +0200)]
FIX: wrong log bytes...

8 years agoFIX: one send command bug fixed. Turns out that uint16_t is too small for 21/23bits...
iceman1001 [Fri, 7 Oct 2016 17:11:38 +0000 (19:11 +0200)]
FIX: one send command bug fixed.  Turns out that uint16_t is too small for 21/23bits size. Who figured?

8 years agoFIX: unused variable removed.
iceman1001 [Fri, 7 Oct 2016 10:23:07 +0000 (12:23 +0200)]
FIX: unused variable removed.
CHG: start remaking the used timers in "Hf legic write"

8 years agoCHG: "hf legic write" got a make over in how its called. Now called with 'offset...
iceman1001 [Fri, 7 Oct 2016 09:58:14 +0000 (11:58 +0200)]
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)

8 years agochg: syntax suger
iceman1001 [Thu, 6 Oct 2016 22:18:02 +0000 (00:18 +0200)]
chg: syntax suger

8 years agoCHG: syntax suger
iceman1001 [Thu, 6 Oct 2016 22:17:18 +0000 (00:17 +0200)]
CHG: syntax suger

8 years agoCHG: started the process of fixing "hf legic write" and "hf legic sim" commands.
iceman1001 [Thu, 6 Oct 2016 22:15:47 +0000 (00:15 +0200)]
CHG:  started the process of fixing "hf legic write" and "hf legic sim" commands.

8 years agoRenamed the calccrc8 functions and command.
iceman1001 [Thu, 6 Oct 2016 22:14:02 +0000 (00:14 +0200)]
Renamed the calccrc8 functions and command.

8 years agoADD: added a StopTicks functions, to disable the timer used for ticks (TC0, TC1)
iceman1001 [Thu, 6 Oct 2016 22:13:09 +0000 (00:13 +0200)]
ADD:  added a StopTicks functions, to disable the timer used for ticks (TC0, TC1)

8 years agoADD: added a compiling flag -DHAS_512_FLASH i common/Makefile.common, to be used...
iceman1001 [Thu, 6 Oct 2016 22:12:09 +0000 (00:12 +0200)]
ADD:  added a compiling flag -DHAS_512_FLASH  i common/Makefile.common,  to be used for PM3 devices with 512KB.  Original commit from @hewitt

8 years agoREM: "hf legic writeraw" has been removed.
iceman1001 [Thu, 6 Oct 2016 17:34:53 +0000 (19:34 +0200)]
REM: "hf legic writeraw"  has been removed.

FIX: "hf legic eload" uploads now correct to device mem.

8 years agoADD: "hf legic eload" - Load binary file to emulator memory. Use "h" for help text
iceman1001 [Thu, 6 Oct 2016 17:13:23 +0000 (19:13 +0200)]
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

8 years agoCHG: "hf legic dump" now automatically detects tagtype and dumps accordingly.
iceman1001 [Wed, 5 Oct 2016 20:58:06 +0000 (22:58 +0200)]
CHG:  "hf legic dump"  now automatically detects tagtype and dumps accordingly.
CHG:  still #define codestyle  should it be with or without semicolons?

8 years agoFIX: one too many semicolons for #defines
iceman1001 [Wed, 5 Oct 2016 20:18:26 +0000 (22:18 +0200)]
FIX:  one too many semicolons for #defines

8 years agoFIX: undeclared var on deviceside,
iceman1001 [Wed, 5 Oct 2016 20:07:32 +0000 (22:07 +0200)]
FIX:  undeclared var on deviceside,
FIX:  "hf legic dump" is almost there.

8 years agoCHG: command name changes..
iceman1001 [Wed, 5 Oct 2016 19:42:13 +0000 (21:42 +0200)]
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"

ADD:  new command "hf legic dump",  which will autodetect tagtype and dump all mem to a binary file.

8 years agoCHG: fixed the coverity build script
iceman [Wed, 5 Oct 2016 15:58:11 +0000 (17:58 +0200)]
CHG: fixed the coverity build script

8 years agoMerge branch 'master' of https://github.com/iceman1001/proxmark3
iceman [Wed, 5 Oct 2016 15:57:29 +0000 (17:57 +0200)]
Merge branch 'master' of https://github.com/iceman1001/proxmark3

8 years agoCHG: execution mode
iceman [Wed, 5 Oct 2016 15:57:01 +0000 (17:57 +0200)]
CHG: execution mode

8 years agoCHG: execution mode
iceman [Wed, 5 Oct 2016 15:56:44 +0000 (17:56 +0200)]
CHG: execution mode

8 years agoADD: execution mode
iceman [Wed, 5 Oct 2016 15:56:00 +0000 (17:56 +0200)]
ADD:  execution mode

8 years agoCHG: code clean up
iceman1001 [Wed, 5 Oct 2016 15:10:29 +0000 (17:10 +0200)]
CHG: code clean up

8 years agoCHG: libcurses
iceman1001 [Wed, 5 Oct 2016 15:10:14 +0000 (17:10 +0200)]
CHG: libcurses

8 years agoADD: added a install.sh script for easy installation of dependencies on linux.
iceman1001 [Wed, 5 Oct 2016 14:27:52 +0000 (16:27 +0200)]
ADD:  added a install.sh script for easy installation of dependencies on linux.

8 years agoCHG: making timings a bit tighter == faster read of tag. Like 1ms for whole tag.
iceman1001 [Tue, 4 Oct 2016 21:08:39 +0000 (23:08 +0200)]
CHG:  making timings a bit tighter == faster read of tag.  Like 1ms for whole tag.
FIX:  off-by-one bug in read-byte-loop.

8 years agoFIX: forgot a LEN in print message.
iceman1001 [Tue, 4 Oct 2016 19:42:56 +0000 (21:42 +0200)]
FIX: forgot a LEN in print message.

8 years agoCHG: reading a complete MIM1024 takes about 2.8sec. This timeout is changed to 3sec...
iceman1001 [Tue, 4 Oct 2016 19:41:21 +0000 (21:41 +0200)]
CHG:  reading a complete MIM1024 takes about 2.8sec. This timeout is changed to 3sec now.

8 years agoCHG: "hf legic read" - increased timeout values client side, reading MIM1024 takes...
iceman1001 [Tue, 4 Oct 2016 19:26:19 +0000 (21:26 +0200)]
CHG: "hf legic read" - increased timeout values client side, reading MIM1024 takes a bit of time

8 years agoTextual changes in helptext. Still no clear.
iceman1001 [Tue, 4 Oct 2016 16:43:11 +0000 (18:43 +0200)]
Textual changes in helptext. Still no clear.

8 years agoCHG: "hf legic write" started to change this command to the updated code
iceman1001 [Tue, 4 Oct 2016 16:05:55 +0000 (18:05 +0200)]
CHG: "hf legic write"  started to change this command to the updated code

8 years agoCHG: revert legiccrc8 to old algo.
iceman1001 [Mon, 3 Oct 2016 22:07:07 +0000 (00:07 +0200)]
CHG: revert legiccrc8 to old algo.
CHG: "hf legic decode" now loads EML memory
CHG: legic timings is better.

8 years agoCHG: changed to use BigBuff_Eml memory instead of big_buff_malloc.
iceman1001 [Mon, 3 Oct 2016 21:24:59 +0000 (23:24 +0200)]
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

8 years agoCHG: Patch for making PM3 compatible to MCU's CDC-Host libraries Thanks to @cjbrigat...
iceman1001 [Mon, 3 Oct 2016 06:03:47 +0000 (08:03 +0200)]
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

8 years agoFIX: the "hf list legic" on MIM1024 wrapped around readingbyte 255 due to a too...
iceman1001 [Sun, 2 Oct 2016 10:29:18 +0000 (12:29 +0200)]
FIX:  the "hf list legic" on MIM1024 wrapped around readingbyte 255 due to a too small varible size. Causing the upperbits to drop silently

8 years agoCHG: annotation now only print relevant help text given selected protocoll.
iceman1001 [Thu, 29 Sep 2016 19:37:19 +0000 (21:37 +0200)]
CHG: annotation now only print relevant help text given selected protocoll.

8 years agoCHG: finally, the ticks timer does what it is supposed to do. 32bits and working.
iceman1001 [Thu, 29 Sep 2016 19:36:43 +0000 (21:36 +0200)]
CHG: finally,  the ticks timer does what it is supposed to do.  32bits and working.

8 years agoCHG: added addresize to legic select struct.
iceman1001 [Thu, 29 Sep 2016 15:43:39 +0000 (17:43 +0200)]
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..

8 years agoCHG: removed some debug data
iceman1001 [Thu, 29 Sep 2016 12:46:12 +0000 (14:46 +0200)]
CHG: removed some debug data
CHG: reverted back to old crc imp.

8 years agoUPD: got the latest updates (@badboy) from @zhovner mfdread.
iceman1001 [Thu, 29 Sep 2016 12:18:21 +0000 (14:18 +0200)]
UPD:  got the latest updates (@badboy) from @zhovner mfdread.

8 years agoFIX: forgot I removed some other stuff
iceman1001 [Thu, 29 Sep 2016 10:29:42 +0000 (12:29 +0200)]
FIX:  forgot I removed some other stuff

8 years agoADD: @zhovner 's mfd file parser https://github.com/zhovner/mfdread Looks really...
iceman1001 [Thu, 29 Sep 2016 10:23:35 +0000 (12:23 +0200)]
ADD: @zhovner 's mfd file parser https://github.com/zhovner/mfdread    Looks really nice the parsed fileoutput.

8 years agoCHG: a select_legic function with structs and stuff and
iceman1001 [Thu, 29 Sep 2016 10:23:09 +0000 (12:23 +0200)]
CHG: a select_legic function with structs and stuff and

8 years agoCHG: 'hf list legic' doesn't print the parity now.
iceman1001 [Wed, 28 Sep 2016 19:37:08 +0000 (21:37 +0200)]
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.

---still broke--- my crc implementation.. I know I'm about to look into it.

8 years agoMerge pull request #33 from osysltd/patch-2
Iceman [Tue, 27 Sep 2016 07:37:19 +0000 (09:37 +0200)]
Merge pull request #33 from osysltd/patch-2

Update README.md

8 years agoUpdate README.md
Osys [Tue, 27 Sep 2016 07:34:29 +0000 (10:34 +0300)]
Update README.md

Fix typos in paths for Windows build

8 years agoCHG; the devil is in the details
iceman1001 [Mon, 26 Sep 2016 19:53:51 +0000 (21:53 +0200)]
CHG;  the devil is in the details

8 years agoCHG: Minor tweaks, the tracing dissappeared, the spindelay for powering up too...
iceman1001 [Mon, 26 Sep 2016 19:40:05 +0000 (21:40 +0200)]
CHG: Minor tweaks,  the tracing dissappeared,  the spindelay for powering up too long.

8 years agoCHG: added the verbose flag, to make the output in "hf search" lesser.
iceman1001 [Mon, 26 Sep 2016 19:39:04 +0000 (21:39 +0200)]
CHG: added the verbose flag,  to make the output in "hf search" lesser.

8 years agoCHG: @ikarus23 removed all missleadning warnings for GCC6.1.1.
iceman1001 [Mon, 26 Sep 2016 19:38:19 +0000 (21:38 +0200)]
CHG:   @ikarus23 removed all missleadning warnings for GCC6.1.1.

8 years agoFIX: Much of my added extra legic code is commented away now.
iceman1001 [Mon, 26 Sep 2016 18:21:31 +0000 (20:21 +0200)]
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..

8 years agoADD: @ikarus / @pwpiwi solution to stop treating GCC 6.1.1 warnings like errors....
iceman1001 [Mon, 26 Sep 2016 18:02:40 +0000 (20:02 +0200)]
ADD: @ikarus / @pwpiwi solution to stop treating GCC 6.1.1 warnings like errors.  Should compile fine now on GCC6.1.1

8 years agoADD: started to add a legic detection to "HF SEARCH"
iceman1001 [Mon, 26 Sep 2016 18:01:23 +0000 (20:01 +0200)]
ADD:  started to add a legic detection to "HF SEARCH"

8 years agoCHG: removed the ubuntu build variable which is no needed anymore to build on ubunutu.
iceman1001 [Mon, 26 Sep 2016 15:19:35 +0000 (17:19 +0200)]
CHG: removed the ubuntu build variable which is no needed anymore to build on ubunutu.
CHG: Some warnings in cmdhflegic.c is solved.

8 years agoCHG: added some cleaning up earlier configurations, so the new config settings will...
iceman [Mon, 26 Sep 2016 15:11:01 +0000 (17:11 +0200)]
CHG: added some cleaning up earlier configurations,  so the new config settings will be pure.

8 years agoMerge pull request #32 from osysltd/patch-1
Iceman [Mon, 26 Sep 2016 13:28:22 +0000 (15:28 +0200)]
Merge pull request #32 from osysltd/patch-1

Update README.md

8 years agoUpdate README.md
Osys [Mon, 26 Sep 2016 13:23:27 +0000 (16:23 +0300)]
Update README.md

Compiling under Windows (confirmed)

8 years agoCHG: and now that I do actually check on bitlenght, I can get a better annotation...
iceman1001 [Mon, 26 Sep 2016 10:58:11 +0000 (12:58 +0200)]
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.

8 years agoFIX: could be a problem, when not using parnethesis around inparams in #define.
iceman1001 [Mon, 26 Sep 2016 10:30:34 +0000 (12:30 +0200)]
FIX:  could be a problem, when not using parnethesis around inparams in #define.

8 years agoFIX: "indent" warns about this one.
iceman1001 [Mon, 26 Sep 2016 10:29:24 +0000 (12:29 +0200)]
FIX:  "indent" warns about this one.

8 years agoCHG: saw @menshiyun 's change to localtime on github.
iceman1001 [Mon, 26 Sep 2016 10:28:35 +0000 (12:28 +0200)]
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.

8 years agoCHG: using bitsend to determind the legic annotation in "hf list legic" makes false...
iceman1001 [Mon, 26 Sep 2016 10:26:37 +0000 (12:26 +0200)]
CHG: using bitsend to determind the legic annotation in "hf list legic" makes false positives much less.

8 years agoCHG: fixes a "indent" warning
iceman1001 [Mon, 26 Sep 2016 09:04:04 +0000 (11:04 +0200)]
CHG:  fixes a "indent" warning

8 years agoCHG: fix a "indent" warning.
iceman1001 [Mon, 26 Sep 2016 09:01:33 +0000 (11:01 +0200)]
CHG:  fix a "indent" warning.

8 years agoMerge branch 'master' of https://github.com/iceman1001/proxmark3
iceman1001 [Mon, 26 Sep 2016 08:37:32 +0000 (10:37 +0200)]
Merge branch 'master' of https://github.com/iceman1001/proxmark3

8 years agoCHG: the "indent" software warns about some assingments. I've tried to fix them.
iceman1001 [Mon, 26 Sep 2016 08:37:00 +0000 (10:37 +0200)]
CHG:  the "indent" software warns about some assingments. I've tried to fix them.

8 years agoUpdate README.md
Iceman [Sun, 25 Sep 2016 11:06:32 +0000 (13:06 +0200)]
Update README.md

8 years agoCHG: according to measureement by @wilrn the actual timing for receiving tag data...
iceman1001 [Sat, 24 Sep 2016 13:15:24 +0000 (15:15 +0200)]
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!

8 years agoCHG: lowered the timout again, but re-added the spindelay since 14a requires 5ms...
iceman1001 [Fri, 23 Sep 2016 21:23:17 +0000 (23:23 +0200)]
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

8 years agoADD; added some more descriptions of what the legic prng imp does.
iceman1001 [Fri, 23 Sep 2016 19:29:34 +0000 (21:29 +0200)]
ADD;  added some more descriptions of what the legic prng imp does.

8 years agoFIX: "hf 14a read" / "hf mf *" / "hf mfdes info" and failure when calling these...
iceman1001 [Fri, 23 Sep 2016 19:28:07 +0000 (21:28 +0200)]
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.

8 years agoMerge branch 'master' of https://github.com/iceman1001/proxmark3
iceman1001 [Fri, 23 Sep 2016 14:36:01 +0000 (16:36 +0200)]
Merge branch 'master' of https://github.com/iceman1001/proxmark3

8 years agoFIX: This commit fixes the broken LF since I change the spindelay calls. The origin...
iceman1001 [Fri, 23 Sep 2016 14:35:26 +0000 (16:35 +0200)]
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.

I've added a precise timer in the new files ticks.c and moved some older stuff from util.c to have a solid base for this.
UNTESTED,  and the timings measured for t55x7 in lfops.c and other parts has not been adjusted to this "correct" timer.

8 years agoMerge pull request #31 from osysltd/patch-1
Iceman [Fri, 23 Sep 2016 12:31:12 +0000 (14:31 +0200)]
Merge pull request #31 from osysltd/patch-1

fix typo

8 years agofix typo
Osys [Fri, 23 Sep 2016 12:20:57 +0000 (15:20 +0300)]
fix typo

8 years agoUpdate README.md
Iceman [Wed, 21 Sep 2016 18:37:43 +0000 (20:37 +0200)]
Update README.md

Added a dontation call,  https://paypal.me/iceman1001/

8 years agoCHG: extracted some timers functionality, to get unified access to a timer/clock...
iceman1001 [Wed, 21 Sep 2016 17:03:32 +0000 (19:03 +0200)]
CHG:  extracted some timers functionality, to get unified access to a timer/clock which counts in ticks.  Moved stuff from util.c

8 years agoADD: some new mifare key found,
iceman1001 [Tue, 20 Sep 2016 21:20:27 +0000 (23:20 +0200)]
ADD: some new mifare key found,

8 years agoCHG: adjusted timing according to @sentinel 's traces
iceman1001 [Wed, 14 Sep 2016 14:18:04 +0000 (16:18 +0200)]
CHG:  adjusted timing according to @sentinel 's traces

8 years agoMerge pull request #26 from ickerwx/indentation_fix
Iceman [Tue, 13 Sep 2016 21:37:39 +0000 (23:37 +0200)]
Merge pull request #26 from ickerwx/indentation_fix

Indentation fix

8 years agoused tabs instead of spaces
René Werner [Tue, 13 Sep 2016 19:04:13 +0000 (21:04 +0200)]
used tabs instead of spaces

8 years agofixed indentation to get rid of warnings
René Werner [Tue, 13 Sep 2016 18:57:25 +0000 (20:57 +0200)]
fixed indentation to get rid of warnings

warnings are treated as errors, so a warning due to misleading
indentation is kinda annoying

8 years agoCHG: Small steps, the waiting time between frames was unclear. At least now the...
iceman1001 [Mon, 12 Sep 2016 07:19:49 +0000 (09:19 +0200)]
CHG:  Small steps, the waiting time between frames was unclear. At least now the tags answers to a readbyte command after the setup phase.

8 years agoCHG: reverted back from the idea of measureing in (us) microseconds, the timer...
iceman1001 [Sun, 11 Sep 2016 09:14:12 +0000 (11:14 +0200)]
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.

8 years agoCHG: this timing should be quite good. needs to be verified.
iceman1001 [Sat, 10 Sep 2016 20:47:11 +0000 (22:47 +0200)]
CHG: this timing should be quite good.  needs to be verified.

8 years agoCHG: a better micro second (us) spindely function. At average it has 8-10us delay...
iceman1001 [Sat, 10 Sep 2016 19:43:08 +0000 (21:43 +0200)]
CHG:  a better micro second (us) spindely function.  At average it has 8-10us delay, but its linear.  Making error less when you want to wait longer..

SpinDelayCountUs(20) gives a delay of 28us.
SpinDelayCountUs(100) gives a delay of 110us.
SpinDelayCountUs(500) gives a delay of 508us.

Impressum, Datenschutz