From 304185487278bb1a8a12341765f8c0f8c121e2bb Mon Sep 17 00:00:00 2001 From: Christina Quast Date: Sun, 5 Apr 2015 10:08:06 +0200 Subject: [PATCH] phone.c: Changed bus switch from sniffer to phone mode In order to record the communication between simtrace and the mobile phone with a logic analyzer I had to configure the pins in sniffer mode in order to attach the sniffer clips to the SIM card slot. I did not manage to connect them to the connector to the phone flex cable. --- sam3s_example/simtrace/phone.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sam3s_example/simtrace/phone.c b/sam3s_example/simtrace/phone.c index bb506100..ae4ae2ed 100644 --- a/sam3s_example/simtrace/phone.c +++ b/sam3s_example/simtrace/phone.c @@ -82,9 +82,9 @@ unsigned char USBState = STATE_IDLE; /** ISO7816 pins */ static const Pin pinsISO7816_PHONE[] = {PINS_ISO7816_PHONE}; /** Bus switch pins */ -//static const Pin pins_bus[] = {PINS_BUS_DEFAULT}; +static const Pin pins_bus[] = {PINS_BUS_DEFAULT}; // FIXME: temporary enable bus switch -static const Pin pins_bus[] = {PINS_BUS_SNIFF}; +//static const Pin pins_bus[] = {PINS_BUS_SNIFF}; /** ISO7816 RST pin */ static const Pin pinIso7816RstMC = PIN_ISO7816_RST_PHONE;