X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/893534d3b5753b110b84144596da6c6d0815c1cc..5a6a7affc50e3e85c02c2da63b2f85803790f36f:/armsrc/lfops.c diff --git a/armsrc/lfops.c b/armsrc/lfops.c index cfe032fc..d79c75a0 100644 --- a/armsrc/lfops.c +++ b/armsrc/lfops.c @@ -1626,9 +1626,9 @@ void EM4xReadWord(uint8_t Address, uint32_t Pwd, uint8_t PwdMode) { fwd_bit_count += Prepare_Addr( Address ); SendForward(fwd_bit_count); - + SpinDelayUs(400); // Now do the acquisition - doT55x7Acquisition(6000); + DoPartialAcquisition(20, true, 6000); FpgaWriteConfWord(FPGA_MAJOR_MODE_OFF); // field off LED_A_OFF(); @@ -1656,10 +1656,11 @@ void EM4xWriteWord(uint32_t flag, uint32_t Data, uint32_t Pwd) { SendForward(fwd_bit_count); //Wait for write to complete - SpinDelay(10); + //SpinDelay(10); + SpinDelayUs(6500); //Capture response if one exists - DoAcquisition_default(20, TRUE); + DoPartialAcquisition(20, true, 6000); FpgaWriteConfWord(FPGA_MAJOR_MODE_OFF); // field off LED_A_OFF();