Kévin Redon
36be182ea2
sniffing: move conversion convertion and flag processing from ISR to main loop to keep ISR fast and focus on data capture
...
Change-Id: Ieefa8a5f81dbcc12c1ad3059660dbffa0c1a4961
2018-07-03 16:10:04 +02:00
Kévin Redon
05cc8bd36a
sniffer: display F and D values frim PPS
...
Change-Id: I3641dcb6c24695a6d3dd3a1ee4333f56a07c99f0
2018-07-03 15:57:03 +02:00
Kévin Redon
f9f1261c18
sniffer USB: implement USB communication and send parsed messages
...
Change-Id: Ice7817480705f2124b08c1ff9a8826558b6d8b2b
2018-07-01 18:33:28 +02:00
Kévin Redon
6123460055
sniff: add WT timeout detection using USART timeout (TC is not required)
...
Change-Id: I4ec6e812e7e1eb91005027d2e864fc315550d79c
2018-07-01 18:33:28 +02:00
Kévin Redon
15a3384e9a
sniff: add TPDU parsing (TPDUs become APDUs on the upper layer)
...
Change-Id: I09d050d95bd2ab140fe6b4926a37278eb08cc347
2018-07-01 18:33:28 +02:00
Kévin Redon
f40c10d2f2
sniff: print parsed ATR and PPS; use red LED to show main application is running; use green LED to indicate activity (message parsed)
...
Change-Id: I8e906bdbf2c91e608757ae442dfb241f981b8f1e
2018-07-01 18:33:28 +02:00
Kévin Redon
216a2149e1
sniffer: use ISR to store sniffed data in buffer, add ATR and PPS parsing, and PPS related FiDi update
2018-07-01 18:33:28 +02:00
Kévin Redon
915f1636b0
sniffer: add state definitions, improve IRQ handling, update pins configuration
2018-07-01 18:33:28 +02:00
Kévin Redon
7ddf46ce1c
sniff: use USART 0 instead of USART 1
...
Use USART 0 connected to the SIM card side to sniff the communication.
The card side can also measure ETU times.
Do proper pin initialization.
This code can already capture the ATR communication between phone and card.
2018-07-01 18:33:28 +02:00
Kévin Redon
aa70887ce0
sniff mode: handle USART 1 RX interrupt to show sniffer data
2018-07-01 18:33:28 +02:00
Kévin Redon
7bcbae3ad9
enable (empty) sniffer support for SIMtrace board
2018-07-01 18:33:28 +02:00
Harald Welte
ed75c62acf
{ccid,sniffer}.c: Add comments on USB callbacks
2017-11-28 21:23:12 +01:00
Harald Welte
d8a003dfd7
Structure build system to build for multiple boards/apps/environments
2017-02-27 22:18:45 +01:00