<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to GettingStarted</title><link>https://sourceforge.net/p/smartcardsniffinganddebugging/wiki/GettingStarted/</link><description>Recent changes to GettingStarted</description><atom:link href="https://sourceforge.net/p/smartcardsniffinganddebugging/wiki/GettingStarted/feed" rel="self"/><language>en</language><lastBuildDate>Sat, 12 Oct 2013 12:27:46 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/smartcardsniffinganddebugging/wiki/GettingStarted/feed" rel="self" type="application/rss+xml"/><item><title>GettingStarted modified by Gitte Bager</title><link>https://sourceforge.net/p/smartcardsniffinganddebugging/wiki/GettingStarted/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -154,7 +154,7 @@
 Converted bit file mode 
 -----------------------

-[[img src=000001.png alt=foobar]]
+[[img src=000001.png alt=foobar width=600px ]]

 1) Select : Converted Bit file logging . Notice that the connection area
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Gitte Bager</dc:creator><pubDate>Sat, 12 Oct 2013 12:27:46 -0000</pubDate><guid>https://sourceforge.netf073aece9d581ffc3f5cb9b326b4b80556ca102e</guid></item><item><title>GettingStarted modified by Gitte Bager</title><link>https://sourceforge.net/p/smartcardsniffinganddebugging/wiki/GettingStarted/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -73,7 +73,7 @@

 HW logging 
 ----------
-[[img src=wiki:000002.png alt=foobar]]
+[[img src=000002.png alt=foobar]]
 1) Choose HW logging

 2) Choose to log either low or high level data. Currently there is only
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Gitte Bager</dc:creator><pubDate>Thu, 10 Oct 2013 19:36:28 -0000</pubDate><guid>https://sourceforge.net42c68091762354dc11122bcf0bcb48b7c6a07056</guid></item><item><title>GettingStarted modified by Gitte Bager</title><link>https://sourceforge.net/p/smartcardsniffinganddebugging/wiki/GettingStarted/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -73,7 +73,7 @@

 HW logging 
 ----------
-[[img src=000002.png alt=foobar]]
+[[img src=wiki:000002.png alt=foobar]]
 1) Choose HW logging

 2) Choose to log either low or high level data. Currently there is only
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Gitte Bager</dc:creator><pubDate>Thu, 10 Oct 2013 19:35:05 -0000</pubDate><guid>https://sourceforge.net05b121f8aaf65ee5ce829ef4747c9e398d1e9e8d</guid></item><item><title>GettingStarted modified by Gitte Bager</title><link>https://sourceforge.net/p/smartcardsniffinganddebugging/wiki/GettingStarted/</link><description>&lt;div class="markdown_content"&gt;&lt;h1 id="short-guide-for-using-the-scsdt-sw"&gt;Short guide for using the SCSDT SW&lt;/h1&gt;
&lt;p&gt;Table of Contents&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="#calibre_link-1"&gt;Short guide for using the SCSDT SW&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="#calibre_link-2"&gt;Introduction&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="#calibre_link-3"&gt;What can the SCSDT software do?&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="#calibre_link-4"&gt;HW logging&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="#calibre_link-5"&gt;Simulation mode&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="#calibre_link-6"&gt;Converted bit file mode&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="#calibre_link-7"&gt;Change log&lt;/a&gt;&lt;/p&gt;
&lt;h1 id="introduction"&gt;Introduction&lt;/h1&gt;
&lt;p&gt;Smart Card Sniffing And Debugging Tool - SCSDT is an open source project&lt;br /&gt;
used within the smart card industry for logging, testing and debugging&lt;br /&gt;
the communication between a contact based Smart Card and a handset.&lt;/p&gt;
&lt;h3 id="what-can-the-scsdt-software-do"&gt;What can the SCSDT software do?&lt;/h3&gt;
&lt;p&gt;The SCSDT can sniff the communication between a handset and an ME. The&lt;br /&gt;
software was originally designed to be used with a piece of proprietary&lt;br /&gt;
hardware, called the Sniffer.&lt;/p&gt;
&lt;p&gt;The Sniffer hardware was invented, designed and created by Dennis Vitus&lt;br /&gt;
Lajer Rasmussen.&lt;/p&gt;
&lt;p&gt;The software was written by Gitte Bager – the author of this document.&lt;/p&gt;
&lt;p&gt;In parallel with the work done for using the tool as a hardware logger,&lt;br /&gt;
the tool was also extended such that it could be used as a simulator,&lt;br /&gt;
i.e. by enabling the software to take recorded hardware data and use as&lt;br /&gt;
input.&lt;/p&gt;
&lt;p&gt;In summary the SCSDT Software tool can be used in three different modes.&lt;/p&gt;
&lt;p&gt;1) HW logging mode (when a hardware item is available):&lt;/p&gt;
&lt;p&gt;SCSDT is used to log the communication between SIMME in high level or&lt;br /&gt;
Low level format.&lt;/p&gt;
&lt;p&gt;2) Simulation mode: Used to emulate that data is sent from the Sniffer&lt;br /&gt;
hardware (used for testing only) and requires a data file of the form:&lt;br /&gt;
Data Status (explained later).&lt;/p&gt;
&lt;p&gt;3) Converted bit file to IO mode: Used as a converter tool for&lt;br /&gt;
interpreting a converted low level log (previously recorded by the&lt;br /&gt;
hardware and stored as a .bit file) IO log with timing information.&lt;/p&gt;
&lt;p&gt;Start the sniffer tool by double clicking: Sniffer.exe.&lt;/p&gt;
&lt;p&gt;Below follows the instructions for how to use each of the modes.&lt;/p&gt;
&lt;h2 id="hw-logging"&gt;HW logging&lt;/h2&gt;
&lt;p&gt;&lt;img alt="foobar" src="./attachment/000002.png" /&gt;&lt;br /&gt;
1) Choose HW logging&lt;/p&gt;
&lt;p&gt;2) Choose to log either low or high level data. Currently there is only&lt;br /&gt;
support for one mode at the time.&lt;/p&gt;
&lt;p&gt;High level data takes the form: &lt;span&gt;[Data byte , status byte]&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;Low level data is stored in a binary file with the file extension&lt;br /&gt;
“.bit.”&lt;/p&gt;
&lt;p&gt;3) Open the connection to the attached and installed Sniffer HW. The&lt;br /&gt;
Status should then change to Connected.&lt;/p&gt;
&lt;h2 id="simulation-mode"&gt;Simulation mode&lt;/h2&gt;
&lt;p&gt;&lt;img alt="foobar" src="./attachment/000000.png" /&gt;&lt;/p&gt;
&lt;p&gt;1) Choose Sniffer Simulator&lt;/p&gt;
&lt;p&gt;2) The Program will automatically enable that high level logging is&lt;br /&gt;
enabled as this is the only format supported.&lt;/p&gt;
&lt;p&gt;3) Open the connection. You will then be asked to point to a .txt file&lt;br /&gt;
with the structure as illustrated below.&lt;/p&gt;
&lt;p&gt;4) In the logging section, press “Start Logging”.&lt;/p&gt;
&lt;p&gt;&lt;img alt="foobar" src="./attachment/000003.png" /&gt;&lt;/p&gt;
&lt;p&gt;The format of the Sniffer simulator file is the same as that which would&lt;br /&gt;
be received from the hardware if running in hardware mode in high level&lt;br /&gt;
logging mode. The file takes the form:&lt;/p&gt;
&lt;p&gt;Data\&amp;lt;space&gt;status.&lt;/p&gt;
&lt;p&gt;00 01\
3B 02\
16 02\
94 02\
60 02\
00 02\
07 02\
01 02\
02 02\
03 02\
00 01\
etc..&lt;/p&gt;
&lt;p&gt;Where 00 01 indicates a HW reset (this is a special case).&lt;/p&gt;
&lt;p&gt;After this follows the ATR, e.g. 3B 16 in the left column ..etc.&lt;/p&gt;
&lt;p&gt;For each data byte, there is a status byte in the column to the right.&lt;/p&gt;
&lt;p&gt;In this case, for each of the ATR bytes the data byte is 02 is ignored&lt;br /&gt;
and inside the USB2Simulator.cs it is set to 0x20, indicating that there&lt;br /&gt;
is more data to be fetched. This OR’ing is due to the fact that the&lt;br /&gt;
example above is from a recorded hardware log, but when used in the&lt;br /&gt;
simulator, to indicate that there is always more data to get, the data&lt;br /&gt;
is being OR’ed to indicate this.&lt;/p&gt;
&lt;p&gt;(There are more thorough explanations on the status byte meaning in the&lt;br /&gt;
software Documentation).&lt;/p&gt;
&lt;h2 id="converted-bit-file-mode"&gt;Converted bit file mode&lt;/h2&gt;
&lt;p&gt;&lt;img alt="foobar" src="./attachment/000001.png" /&gt;&lt;/p&gt;
&lt;p&gt;1) Select : Converted Bit file logging . Notice that the connection area&lt;br /&gt;
will gray out, this is because the tool will skip this part.&lt;/p&gt;
&lt;p&gt;2) Press “ Start Logging “ and select a file that takes the format :&lt;/p&gt;
&lt;p&gt;Frequency (Hz): 3252032&lt;/p&gt;
&lt;p&gt;00 01 CLK= 477 ETU= 1.282258&lt;/p&gt;
&lt;p&gt;3B 06 CLK= 5818 ETU= 15.639785&lt;/p&gt;
&lt;p&gt;9F 02 CLK= 28148 ETU= 75.666664&lt;/p&gt;
&lt;p&gt;96 02 CLK= 4840 ETU= 13.010753&lt;/p&gt;
&lt;p&gt;80 06 CLK= 4841 ETU= 13.013441&lt;/p&gt;
&lt;p&gt;Note: A file of that format is the output from the&lt;br /&gt;
TestEventTranslatorDLL.exe program which is yet another piece of&lt;br /&gt;
software developed to analyze a low level log file. Analyzing a low&lt;br /&gt;
level log file where there is much more data information (i.e. the&lt;br /&gt;
frequency and samples between each character and so on, allows to give&lt;br /&gt;
much more details about the data logged.&lt;/p&gt;
&lt;p&gt;More about the low level format will follow in the software&lt;br /&gt;
documentation.&lt;/p&gt;
&lt;p&gt;For now, this is just a walkthrough of what the SCSDT software is able&lt;br /&gt;
to process.&lt;/p&gt;
&lt;p&gt;3) The analyzed data with elapsed ETUs and, CLKs and total time will&lt;br /&gt;
display in the window to the right.&lt;/p&gt;
&lt;h1 id="change-log"&gt;Change log&lt;/h1&gt;
&lt;p&gt;+-------------------------+-------------------------+-------------------------+&lt;br /&gt;
| Date                    | Description             | Author                  |&lt;br /&gt;
+-------------------------+-------------------------+-------------------------+&lt;br /&gt;
| 31-08-2013              | Initial document,       | Gitte Bager             |&lt;br /&gt;
|                         | version 1.00            |                         |&lt;br /&gt;
+-------------------------+-------------------------+-------------------------+&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Gitte Bager</dc:creator><pubDate>Thu, 10 Oct 2013 19:31:16 -0000</pubDate><guid>https://sourceforge.net407e63ddfc9cb651de9a19a6f80d3e4d2f9b396a</guid></item></channel></rss>