mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 10:37:23 -07:00
There is a race condition when we go from iclass commands to mf command. Especially noticable when eload large files where we used to spam the device with usb packages.\ntry iclass eload, then mf eload, and you see the client hang. With this change we trigger a preload of the fpga image before we start uploading to the device. Current places I could trigger this bug was in eload and gsave. With this patch only the first call takes some time if fpga image must be loaded. The following goes fast.\n\n if you find that the client hangs when going between, this could be the root cause.
This commit is contained in:
parent
b696a2036f
commit
fc3a518f28
7 changed files with 64 additions and 21 deletions
|
@ -416,6 +416,8 @@ typedef struct {
|
|||
|
||||
#define CMD_SPIFFS_WIPE 0x013A
|
||||
|
||||
#define CMD_SET_FPGAMODE 0x013F
|
||||
|
||||
// This take a +0x2000 as they are high level helper and special functions
|
||||
// As the others, they may have safety level argument if it makes sense
|
||||
#define CMD_SPIFFS_PRINT_TREE 0x2130
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue