Hi,
 
in my setup I would like to use simtrace2 to trace the communication between a reader and an SLE4442 smart card.
I used the fullsize-sim-fpc and the IC card adapters with simtrace2 so that the fullsize-sim-fpc with the SLE4442 card is connected to the simtrace2 card slot and the IC card adapter is connected to the simtrace2 FFC port.
When I insert the IC card adapter in my smart card reader, I can successfully communicate with the card via PCSC. For instance I can send SELECT or READ APDUs to the card and I receive the according response. With the READ APDU I can read the entire 256 byte card content.
 
However, with the latest simtrace-trace-dfu.bin flashed to simtrace2 via DFU, I'm still unable to trace anything with simtrace2-sniff.
Here's what I get when reading the card memory via the READ APDU:
 
$ simtrace2-sniff 
simtrace2-sniff - Phone-SIM card communication sniffer 
(C) 2010-2017 by Harald Welte <laforge@gnumonks.org>
(C) 2018 by Kevin Redon <kredon@sysmocom.de>
Using USB device 1d50:60e3 Addr=55, Path=3-3, Cfg=1, Intf=0, Alt=0: 255/1/0 (SIMtrace Sniffer)
Entering main loop
Card state change: reset de-asserted
Card state change: reset asserted
Card state change: reset asserted, reset de-asserted
Card state change: reset de-asserted
Card state change: reset asserted
Card state change: reset asserted, reset de-asserted
Card state change: reset de-asserted
Card state change: reset asserted
Card state change: reset asserted, reset de-asserted
Card state change: reset asserted, reset de-asserted
Card state change: reset asserted, reset de-asserted
Card state change: reset asserted, reset de-asserted
Card state change: reset asserted, reset de-asserted
Card state change: reset asserted, reset de-asserted
Card state change: reset asserted, reset de-asserted
Card state change: reset asserted, reset de-asserted
Card state change: reset asserted, reset de-asserted
Card state change: reset asserted, reset de-asserted
Card state change: reset asserted, reset de-asserted
Card state change: reset asserted
Card state change: reset asserted, reset de-asserted
Card state change: reset asserted, reset de-asserted
Card state change: reset asserted, reset de-asserted
[....]
 
 
As you can see above, even though I communicate with the ard with APDUs and I correctly receive the card responses, in the above simtrace2 output I can't see any of this communication.
 
Can simtrace2 be used to trace any arbitrary T0 card communication or is it somehow limited to SIM card APDUs ?
 
Any hints what I could try to get it working ?
 
Thanks and regards,
Melvin