]> git.zerfleddert.de Git - proxmark3-svn/commit
FIX: This commit fixes the broken LF since I change the spindelay calls. The origin...
authoriceman1001 <iceman@iuse.se>
Fri, 23 Sep 2016 14:35:26 +0000 (16:35 +0200)
committericeman1001 <iceman@iuse.se>
Fri, 23 Sep 2016 14:35:26 +0000 (16:35 +0200)
commit24c49d36ba3ea8acb9be21bdbb51503969a5a113
treeab8800abca964aa939f79c4fcea4bce474c419c6
parent8e4021fddc4f81fff43a64036a4ecc0278b1552d
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.
armsrc/lfops.c
armsrc/lfsampling.c
armsrc/lfsampling.h
armsrc/ticks.c
Impressum, Datenschutz