We have been using the SAM chips for many years now for MiFare support. We have recently started investigating the ECC capabilities of the AV3 and have run into a peculiar problem. Before we spend an extensive amount of time trying to figure out the root cause of the problem, I wanted to see if anyone had an explanation for what we are seeing.
When we issue the PKI_ImportEccCurve command, the SAM AV3 responds with a WTX request (0xC3). Approximately 60ms after we respond with a WTX response block (0xE3), the AV3 appears to reboot because an ATR is sent out on the line again. If we repeat the test without responding to the WTX request, the AV3 does not send out the ATR, but stalls (I'm assuming it's waiting for the WTX response, which is the behavior I would expect). PKI_ImportEccKey, PKI_ExportEccPublicKey, and PKI_VerifyEccSignature all behave as expected at this point.
Anyone have any thoughts on this? Have you seen it before? Is the AV3 microcode broken?