Knowledge Base - SIM Alliance Loader : Install applet on SMAOT100NFC USIM card

 

This is a step-by-step guide on how to use SIMAlliance Loader v2, a free tool from SIMAlliance, to load and install an applet on one of Smartjac's UICC cards.

We will use the OTA Session to this and for that we'll need to configure the 03.48 settings (KiC,KiD, SPI, algorithm etc).

So, the things we need for this guide / lesson are:

  1. A PC and a standard smart card reader 
  2. SIM card: SMAOT100NFC
  3. the app (*.cap) we want to put on the card
  4. SIMAlliance Loader v2 (link)
 

Start

1

Start the program (with Administrator rights or you may have communication error with the smart card reader)

Insert the SIM card in the smart card reader

 

Explore with Explorer

2
  1. Click on Explorer button
  2. Select your smart card reader (contact mode if you have a dual interface reader)
  3. Click on "Scan" button

You should get an error: "POR error: Insufficient security level"

This is because we have not yet made the necessary configurations...

4. Click on "OTA configuration" button

 

OTA configuration

3

Select SMS as the transport mechanism

 

OTA configuration - 03.48

4

We will now set some parameters starting with some general 03.48 settings.

From your supplier you should have received some documentation on your card regarding codes, keys and other settings. Here you'll need the Card Manager TAR value.

 

OTA Integrity setting (KiD)

5

Enter or select the values according to the screenshot above.

For the SMAOT100NFC card the KiD = 15. In binary value, transformed from Hex, it's 00010101. And this shows us the properties to be set for Integrity.

0001 : key index
01 : Triple DES in outer -CBC mode using 2 keys
01 : DES

See next figure

 

The coding for KiC and KiD is shown below:

6

OTA confidentiality setting (KiC)

7

OTA Command Packet

8
 

OTA Proof of receipt

9

After this step, click "OK" and work with Explorer tool again, and we will try to scan the card again.

 

Scan with Explorer

10

Click the "Scan" button, and...

 

Card content

11

So, you should have no errors, and you should have one package under the Card Manager.

 

Loader

12

Now it's time to start playing with the "loader" tool. Click on the "loader" button and a new window appears.

 

Add OTA session

13

We are going to use OTA to install an app on the card. So right-click on the chip icon and select "Add node / Add OTA session".

 

OTA Session & Add applet

14

1. Check the "Send Terminal Profile" checkbox

2. Right-click "OTASession" icon and select "Add node / Add Package"

 

Select the application and add applet

15

1. Click on "File Name" and select your app

2. Right-click on the package icon and select "Add node / Add Applet"

 
15 2

You should now have a screen looking like this.

As we in this guide have chosen an NFC app, we also have to make some Contactless Services configurations... so that's the next step.

Click on "Contactless Services" button and a new window will pop-up.

 

Add contactless protocol profiles

16

Right-click on "Contactless Protocol Parameters" and select "Add node / Add Contactless protocol profiles"

 

Fill in properties

17

Fill in / Select the values as above

 

Select Type A

18

Check the box "Type A"

Done!

 

Installing applet on card

19

Now everything is prepared in order to install the nfc application on the card.

Just click on the "RUN" icon and APDU commands will be sent to the card, and you can see them in the terminal window.

You should only have blue and black text. Red text indicates some kind of error.

 

Exploring the card again

20

Using "Explorer" tool again and scanning the card, shows us the package and the applet now on the card!

 

Details

Created : 2016-04-26 16:12:25, Last Modified : 2017-02-14 09:41:22

Attached Files

Loading an applet on SMAOT100NFC card using SIMAlliance Loader v2.pdf
1062 Kb

Loadin applet using SIMAlliance Loader

User Comments

Keyword Search

Newsletter signup

Subscribe to our mailing list
* indicates required
By subscribing you accept our
 

PGP

Below you'll find our PGP public key. Use it to exchange encrypted messages with us.

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: PGP Universal 3.4.2 (Build 502)

mQENBFzGz/QBCAC8FtzEkMUfWXOu8nAz+YxXmPxVoJeCKQ5qf15etgyi7r7QBRcs
b5YO0hjSdZgfJnxvOUlIxDWmllZfKxbS19q6fsF2eQfbQ+AYwwtbAuCWIOwqu7ap
th7Y9ljWhUz23JxG+Omau+N+bKnV9SSSNrBuntNwz/+qb+rBp0lL4BSwWJike/I5
PuU4GzzjPuo3G3eYp76Ja70ggLuCT49wvyXRSnt/0SPhvB1cINvABsJNkQ6yi22l
uIRy4Y3epOLSQUS8/IkGZ9KoiNb0qetmSzmANquWsEdwu71ULdHaJ3Hpk7X1Ne6X
+Dd3h4mAvevFzw2Yi61JQJbWf4uZ0zcQvEEpABEBAAG0KVNtYXJ0amFjIE5vcmRp
YyBBQiA8c3VwcG9ydEBzbWFydGphYy5jb20+iQFUBBMBCAA+FiEEm8unywpHv2Oi
vpbB9cZJgsQEF+Q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