Project

General

Profile

Actions

Bug #5569

closed

cardem firmware unable to attach to iPhone

Added by k_o_ almost 2 years ago. Updated almost 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
firmware
Target version:
Start date:
05/18/2022
Due date:
% Done:

0%

Spec Reference:
Tags:

Description

I'm using a iPhone6s for analyzing the SIM card traffic with the card emulator but I'm unable to connect to make it work. The APDU traffic fails right in the beginning. The communication always end with a RESET.

simtrace2-cardem-pcsc - Using PC/SC reader as SIM
(C) 2010-2020, Harald Welte <laforge@gnumonks.org>
(C) 2018, sysmocom -s.f.m.c. GmbH, Author: Kevin Redon <kredon@sysmocom.de>

<0002> simtrace2_api.c:267 [0] <= osmo_st2_cardem_request_config(features=00000001)
<0002> simtrace2_api.c:168 [0] <= osmo_st2_cardem_request_card_insert(inserted=1)
<0002> simtrace2_api.c:317 [0] <= _modem_sim_select(remote_sim=1)
<0002> simtrace2_api.c:250 [0] <= osmo_st2_cardem_request_set_atr(3b 9f 96 80 1f c7 80 31 e0 73 f6 21 13 67 56 03 27 00 89 01 02 28 )
<0002> simtrace2_api.c:284 [0] <= _modem_reset(asserted=2, pulse_ms=300)
Entering main loop
SIMtrace IRQ 01 04 00 00 00 00 15 00 11 00 00 00 00 00 09 06 0a 80 25 00 00 
SIMtrace IRQ STATUS: flags=0x11, fi=9, di=6, wi=10 wtime=9600 (RESET VCC )
SIMtrace IRQ 01 04 00 00 00 00 15 00 13 00 00 00 00 00 09 06 0a 80 25 00 00 
SIMtrace IRQ STATUS: flags=0x13, fi=9, di=6, wi=10 wtime=9600 (RESET VCC CLK )
SIMtrace IRQ 01 04 00 00 00 00 15 00 03 00 00 00 00 00 01 01 0a 80 25 00 00 
SIMtrace IRQ STATUS: flags=0x3, fi=1, di=1, wi=10 wtime=9600 (VCC CLK )
Warm Resetting card in reader...
-> 01 07 00 00 00 00 15 00 04 ff 10 96 79 00 00 ff 10 96 79 00 00 
=> PTS req: ff 10 96 79 00 00 
-> 01 06 00 00 00 00 13 00 01 00 00 00 05 00 00 a4 00 04 02 
=> DATA: flags=1, 00 a4 00 04 02 : SIMtrace IRQ 01 04 00 00 00 00 15 00 13 00 00 00 00 00 09 06 0a 80 25 00 00 
SIMtrace IRQ STATUS: flags=0x13, fi=9, di=6, wi=10 wtime=9600 (RESET VCC CLK )
SIMtrace IRQ 01 04 00 00 00 00 15 00 12 00 00 00 00 00 09 06 0a 80 25 00 00 
SIMtrace IRQ STATUS: flags=0x12, fi=9, di=6, wi=10 wtime=9600 (RESET CLK )
SIMtrace IRQ 01 04 00 00 00 00 15 00 10 00 00 00 00 00 09 06 0a 80 25 00 00 
SIMtrace IRQ STATUS: flags=0x10, fi=9, di=6, wi=10 wtime=9600 (RESET )
Actions #1

Updated by k_o_ almost 2 years ago

I updated the software and it works now. It might also have been a mechanical problem with the SIM tray.

Actions #2

Updated by laforge almost 2 years ago

  • Status changed from New to Resolved

Thanks for the update, happy to hear

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)