SIM Initialization


Published on

  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

SIM Initialization

  1. 1. 2010. 11. 1. Byeongweon Moon ( Basic for UICC <ul><li>Initialization of UICC Card </li></ul><ul><li>Initialization of UICC Data </li></ul>LG Electronics, MC Company, UICC/Security
  2. 2. UICC activation and deactivation
  3. 3. ATR (Answer to Reset) <ul><ul><li>ATR (Answer to Reset) : Information presented by the SIM to the ME at the beginning of the card session and gives operational requirements. It consists of at most 33 characters. </li></ul></ul><ul><ul><li>Initial Character : TS Set up the convention to decode every subsequent character. </li></ul></ul><ul><ul><li>Format Character: T0. Mandatory. Announce the first interface characters and all historical characters. </li></ul></ul><ul><ul><li>Interface Character: TA(i), TB(i), TC(i), TD(i). Optional. Indicate a bit map technique initiated by the format character. </li></ul></ul><ul><ul><li>Historical Character: T1, T2… TK. Optional. Indicate a number coded in the format character. </li></ul></ul><ul><ul><li>Check Character: TCK. Conditional. Depend on the value of parameter T in some interface bytes. </li></ul></ul>
  4. 4. Parameter T : Refer to transmission protocol and/or qualify interface bytes. In every byte TD(i), TA2 or PPSO, the bits b4 to b1 code is a value of T ATR (Answer to Reset) - Continue Parameter Protocol Parameter Protocol T=0 Half duplex trans. Asynchronous char. T=5~13 Reserved for future use T=1 Half duplex trans. Asynchronous block T=14 ISO/IEC JTC 1 SC 17 T=2, T=3 Future full duplex T=15 Qualify global interface T=4 Reserved enhance T=0
  5. 5. TS T0 TA1 TB1 TC1 TD1 TA2 TB2 TC2 TDi TAi, TBi, TCi T1 TK TCK Coding convention for all subsequent characters (direct or inverse convention) Subsequent interface characters, number of historical characters Parameters to calculate the work etu Parameters to calculate the programming voltage and current Parameters to calculate the extra guardtime requested by the card; no extra guardtime is used to send characters from the card to the ME Protocol type; indicator for the presence of interface characters, Specifying rules to be used for transmissions with the given protocol type not used for protocol T=0 Parameter to calculate the programming voltage Parameters to calculate the work waiting time Protocol type; indicator for the presence of interface characters, specifying rules to be used for transmissions with the given protocol type Characters which contain interface characters for other transmission protocols. General Information (Card manufacturer, Chip inserted in card, state of life of card) Check byte (exclusive ‑ORing: T0~TCKinclusive) ATR (Answer to Reset) - Continue
  6. 6. <ul><li>ATR(cont.) : After the answer to reset, the card is in one of the following two modes of operation: </li></ul><ul><li>- Specific mode if TA2 is present, </li></ul><ul><li>- Negotiable mode if TA2 is absent. </li></ul><ul><li>Specific mode : Directly after the answer to reset, the protocol indicated by </li></ul><ul><li>TA(2) shall apply using for F and D </li></ul><ul><li>Negotiable mode : Implicit selection is possible as long as the first byte sent by the interface device to the card allows an unambiguous distinction between a PPS request and a command of the protocol. </li></ul><ul><li>TA2 is not used for protocol T=0, the card is in Negotiable mode. </li></ul>ATR (Answer to Reset) - Continue
  7. 7. PPS procedure: Speed Setting between ME and SIM. <ul><li>The PPS request and PPS response each consist of one initial byte PPSS, followed by a format byte PPSO, three optional parameter bytes PPS1, PPS2,PPS3 and a check byte PCK as the last byte </li></ul><ul><li>For MEs only supporting default speed(F=372, D=1) </li></ul><ul><li>For MEs only supporting enhanced speed(F=512, D=8) </li></ul><ul><li>If PPS procedure is not initiated, SIM use default value. </li></ul><ul><li>If SIM does not support the values requested by the ME, the SIM respond to the PPS request indicating the use of default values. </li></ul>
  8. 8. Q&A