]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdlft55xx.c
CHG: increased the t55xx writeblock timeout
[proxmark3-svn] / client / cmdlft55xx.c
index ec8c9de994a8b3d1292d6e231e40ead6bffdfe5a..5eff8ac1c9007c72a78c779418a36b9df7d275a9 100644 (file)
@@ -995,7 +995,7 @@ int CmdT55xxWriteBlock(const char *Cmd) {
        }\r
        clearCommandBuffer();\r
        SendCommand(&c);\r
-       if (!WaitForResponseTimeout(CMD_ACK, &resp, 1000)){\r
+       if (!WaitForResponseTimeout(CMD_ACK, &resp, 1500)){\r
                PrintAndLog("Error occurred, device did not ACK write operation. (May be due to old firmware)");\r
                return 0;\r
        }\r
@@ -1274,7 +1274,8 @@ int AquireData( uint8_t page, uint8_t block, bool pwdmode, uint32_t password ){
                return 0;\r
        }\r
 \r
-       uint8_t got[12288];\r
+       //uint8_t got[12288];\r
+       uint8_t got[7679];\r
        GetFromBigBuf(got, sizeof(got), 0);\r
        if ( !WaitForResponseTimeout(CMD_ACK, NULL, 8000) ) {\r
                PrintAndLog("command execution time out");\r
Impressum, Datenschutz