mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
EM4x05: capture tag 'error preamble' answer as well
This commit is contained in:
parent
3eea2e20bb
commit
f4feaa6a03
3 changed files with 95 additions and 46 deletions
|
@ -2574,7 +2574,8 @@ void EM4xWriteWord(uint8_t addr, uint32_t data, uint32_t pwd, uint8_t usepwd) {
|
|||
SendForward(len);
|
||||
|
||||
// Wait 20ms for write to complete?
|
||||
WaitUS(10820); // tPC+tWEE
|
||||
// No, when write is denied, err preamble comes much sooner
|
||||
//WaitUS(10820); // tPC+tWEE
|
||||
|
||||
DoPartialAcquisition(0, false, 6000, 1000);
|
||||
|
||||
|
@ -2610,7 +2611,8 @@ void EM4xProtectWord(uint32_t data, uint32_t pwd, uint8_t usepwd) {
|
|||
SendForward(len);
|
||||
|
||||
// Wait 20ms for write to complete?
|
||||
WaitUS(13640); // tPC+tPR
|
||||
// No, when write is denied, err preamble comes much sooner
|
||||
//WaitUS(13640); // tPC+tPR
|
||||
|
||||
DoPartialAcquisition(0, false, 6000, 1000);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue