sim module firmware is now v4.60, (sim020.bin) it adds a better drain when T=0 exits abnormal (abort). Better waiting time floor, with faster ETU which doesnt shrink with WWT.\n Changes to i2c with SDA timings, also modified the fixed msleep(100) with an idle time waiting which leads to 107 ms off from every iteration.\n Added a ATR cache to remember which TA1 was autonegotiated. This impact i2c comms speed with sim module for same card. 'smart pps' is better documented.\n The sam_common.c now also logs 61xx and GET_RESPONSE :) and generic long-form ASN-1 lengths. trace list -t 7816 now also shows rdr frames in us. \n All in all, this should lead for 'emv reader -w' to go from 5.87sec to 2.78sec. 'hf seos sam' is down to 1.92sec. 'hw ping' is down to 0.57sec. A USB round trip is down from 20.8ms to 1.3ms. It should give a snappier end user experience

This commit is contained in:
iceman1001 committed 2026-08-27 22:37:32 +02:00
1 parent d996b75578
commit 76181dfb8e
12 files changed
+283 -17

No files matched your search

+9 -2
View File
@@ -622,7 +622,7 @@ static int CmdSmartUpgrade(const char *Cmd) {
CLIParserContext *ctx;
CLIParserInit(&ctx, "smart upgrade",
"Upgrade RDV4 sim module firmware",
"smart upgrade -f sim017.bin"
"smart upgrade -f sim020.bin"
);
void *argtable[] = {
@@ -927,7 +927,14 @@ static int CmdSmartPPS(const char *Cmd) {
"\n"
"Note `smart raw -1` already switches a card to T=1 by itself when\n"
"the ATR offers it; this is for negotiating Fi/Di explicitly.\n"
"Needs SIM module firmware v4.51 or newer.",
"Needs SIM module firmware v4.51 or newer.\n"
"\n"
"The negotiated rate only holds for the rest of this session, and\n"
"only for commands that do not reset the card. Connecting a client\n"
"reads the module version, which reboots the module back to the\n"
"default rate while the card stays at the negotiated one - the next\n"
"command then fails until something resets the card. `smart info`,\n"
"or any `smart raw -s`, puts both back to the default.",
"smart pps -1 -> select T=1\n"
"smart pps -0 -> select T=0\n"
"smart pps -1 --ta1 96 -> select T=1 and F=512 / D=32"