数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

AN2646 数据表(PDF) 23 Page - STMicroelectronics

部件名 AN2646
功能描述  Smartcard interface with the STM8S microcontroller
PDF  43 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

AN2646 数据表(HTML) 23 Page - STMicroelectronics

Back Button AN2646 Datasheet HTML 19Page - STMicroelectronics AN2646 Datasheet HTML 20Page - STMicroelectronics AN2646 Datasheet HTML 21Page - STMicroelectronics AN2646 Datasheet HTML 22Page - STMicroelectronics AN2646 Datasheet HTML 23Page - STMicroelectronics AN2646 Datasheet HTML 24Page - STMicroelectronics AN2646 Datasheet HTML 25Page - STMicroelectronics AN2646 Datasheet HTML 26Page - STMicroelectronics AN2646 Datasheet HTML 27Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 23 / 43 page
background image
AN2646 - Application note
ISO 7816-4 – smartcard commands
23/43
variable-length record file contains records that may vary in length. As a result, variable-
length record files have a higher overhead in read/write access times as well as a higher
administrative overhead required by the file system.
A cyclic file allows applications to access records in a consistent and transparent manner. It
can be thought of as a ring of files. Write operations are performed on the next physical
record in the ring.
5.2.3
ISO 7816-4 functions
The few functions that are defined in ISO 7816-4 for selecting, reading and writing to files
will be briefly discussed below.
Select File
This command establishes a logical pointer to a particular file in the smartcard's file system.
This pointer is required for any file manipulation operation. Access to the smartcard's file
system is not multithreaded, however it is possible to have several file pointers defined at
any point in time. This is accomplished by the Manage Channel command, which
establishes multiple logical channels between the reader side application and the card. This
allows different files on the card to be in various states of access by the reader application at
the same time. The identification of the file can be provided in the following ways:
file identifier (2-byte value)
DF name (string of bytes)
path (concatenation of file identifiers)
short ID
Note that not all smartcards support all four naming mechanisms.
Read Binary
This command is used by the application on the reader side to retrieve a part of an EF on
the card. However, the EF must be a transparent file (not record-oriented). If the Read
Binary command is attempted on a record-oriented EF, the command will abort with an error
indicator being returned from the card.
The Read Binary command takes two parameters: an offset pointer from the start of the file
to the initial byte to be read, and the number of bytes to be read and returned to the reader.
Write Binary
This command is used to insert data into a transparent EF on the card. This command can
be used to set a series of bytes in the EF (that is set selected bits within a specified byte to a
value of1), clear a series of bytes or perform a write of a series of bytes in the EF.
Update Binary
A reader-side application can utilize this command to directly erase and store a contiguous
sequence of bytes in a transparent EF on the card. It effectively functions as a write
command that is a string of bytes provided in the command are written into the EF on the
card. The input parameters consist of an offset pointer from the start of the file as well as the
number of bytes to be written.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com