Load Memory - Gemplus GPR400 Reference Manual

Smartcard reader / writer
Table of Contents

Advertisement

Load Memory

This command downloads bytes to the RAM or to the optional Flash
Memory. The data comes from the host or from the Smartcard.
Note: The memory is divided into two 64-Kbyte pages and/or four 16-Kbyte
Command Format
T = 60h
L = Length of V field
V = DIR, ADR, (Vex), (Data)
where
DIR :
b1.b0 : 00: data from the Smartcard
b2 :
b3 :
b5.b4 : 00 : downloading without erasing
b6..b7 :
ADR : physical address on two bytes (MSB, LSB)
Vex : (exclusive) : Smartcard command for data coming from a Smartcard
Data : (exclusive) : Data to load (for data coming from the host )
Answer Format
Type
Length
Variable
© GEMPLUS
partitions for the Flash option.
10: data from the Host
01,11: RFU
0 : loading to RAM
1 : loading to Flash Memory
if b2=1, b3 indicates the page ( 0 = page 0, 1 = page 1 )
10 : erasing the current 16 Kb partition before downloading
01 or 11: complete erasing before downloading
RFU
Ta = Tc + 02h
L = 01
V = Reader Status Code
SENDING COMMANDS TO THE READER
15

Advertisement

Table of Contents
loading

Table of Contents