DE3745144C2 - Integrated circuit card with functional test system - Google Patents

Integrated circuit card with functional test system

Info

Publication number
DE3745144C2
DE3745144C2 DE3745144A DE3745144A DE3745144C2 DE 3745144 C2 DE3745144 C2 DE 3745144C2 DE 3745144 A DE3745144 A DE 3745144A DE 3745144 A DE3745144 A DE 3745144A DE 3745144 C2 DE3745144 C2 DE 3745144C2
Authority
DE
Germany
Prior art keywords
card
program
microprocessor
memory
programmable memory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
DE3745144A
Other languages
German (de)
Inventor
Kenichi Takahira
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Family has litigation
First worldwide family litigation filed litigation Critical https://patents.darts-ip.com/?family=27196963&utm_source=google_patent&utm_medium=platform_link&utm_campaign=public_patent_search&patent=DE3745144(C2) "Global patent litigation dataset” by Darts-ip is licensed under a Creative Commons Attribution 4.0 International License.
Priority claimed from JP61314420A external-priority patent/JPS63159993A/en
Priority claimed from JP62288493A external-priority patent/JPH01131980A/en
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority claimed from DE19873743639 external-priority patent/DE3743639A1/en
Application granted granted Critical
Publication of DE3745144C2 publication Critical patent/DE3745144C2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F7/00Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus
    • G07F7/08Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus by coded identity card or credit card or other personal identification means
    • G07F7/10Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus by coded identity card or credit card or other personal identification means together with a coded signal, e.g. in the form of personal identification information, like personal identification number [PIN] or biometric data
    • G07F7/1008Active credit-cards provided with means to personalise their use, e.g. with PIN-introduction/comparison system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/2236Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test CPU or processors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/22Microcontrol or microprogram arrangements
    • G06F9/24Loading of the microprogram
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/0095Testing the sensing arrangement, e.g. testing if a magnetic card reader, bar code reader, RFID interrogator or smart card reader functions properly
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/34Payment architectures, schemes or protocols characterised by the use of specific devices or networks using cards, e.g. integrated circuit [IC] cards or magnetic cards
    • G06Q20/341Active cards, i.e. cards including their own processing means, e.g. including an IC or chip
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/34Payment architectures, schemes or protocols characterised by the use of specific devices or networks using cards, e.g. integrated circuit [IC] cards or magnetic cards
    • G06Q20/355Personalisation of cards for use
    • G06Q20/3552Downloading or loading of personalisation data
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F7/00Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus
    • G07F7/08Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus by coded identity card or credit card or other personal identification means
    • G07F7/0806Details of the card
    • G07F7/0833Card having specific functional components
    • G07F7/084Additional components relating to data transfer and storing, e.g. error detection, self-diagnosis

Abstract

The card (1), similar to a credit card, contains a microprocessor (2), a read-only program memory (3) and a read/write program programmable memory (4). These units are linked by an internal data bus (2A) that is not directly acces accessible from outside the card. The card is normally linked to a terminal, providing access to some service for the user. An expanded programmable memory area (4A) is provided which may be programmed by means of an external device (5), and an expanded ROM (3A) that includes additional instruction codes which are accepted by the external device (5A). The expanded ROM (3A), moreover, includes a control code enabling the system to be switched between an expanded program loading mode and a program execution mode.

Description

Die Erfindung betrifft ein IC-Kartensystem mit einer externen Einrichtung und einer IC-Karte gemäß Oberbegriff des Patentanspruches.The invention relates to an IC card system with an external Device and an IC card according to the preamble of Claim.

IC-Kartensysteme sind beispiels­ weise bekannt aus der DE-Z "Elektronik", Nr. 20, 1986, Seiten 62 bis 68. Dort sind sogenannte Chip-Carrying Cards beschrie­ ben, wobei eine Anordnung angegeben ist, bei der über einen internen Bus eine CPU, ein ROM als Speicher für das Applika­ tionsprogramm, ein KAM als Speicher für Zwischenergebnisse sowie ein elektrisch programmierbarer Speicher miteinander verbunden sind. Der elektrisch programmierbare Speicher dient zum Abspeichern von verschiedenen Parametern und für das Aufzeichnen der mit der IC-Karte vorgenommenen Operationen. Der dortigen Zielsetzung entsprechend, ist dort ausdrücklich vorgesehen, daß ein Betrieb externer Programme unmöglich sein soll, wobei dies insbesondere für Programme gilt, die einen Zugriff auf einen karteninternen Speicher versuchen.IC card systems are an example as known from DE-Z "Electronics", No. 20, 1986, pages 62 to 68. So-called chip-carrying cards are described ben, an arrangement is specified in which over a internal bus a CPU, a ROM as memory for the application tion program, a KAM as a memory for interim results and an electrically programmable memory with each other  are connected. The electrically programmable memory serves for storing various parameters and for that Record the operations performed on the IC card. Of the according to the objective there, is express there provided that the operation of external programs would be impossible should, whereby this applies in particular to programs that a Try accessing an in-card memory.

In der Veröffentlichung Patents Abstracts of Japan, P-516, 15. November 1986, Ed. 10, Nr. 338, JP 61-139880 A, ist ein Speichersystem zur Registrierung von falschen Eingaben bei Verwendung einer IC-Karte beschrieben. Der dortigen Zielsetzung entsprechend, geht es darum, den Mißbrauch von IC-Karten zu verhindern, wenn nämlich jemand eine fremde Karte benutzt und durch mehrfaches Probieren versucht, das dazugehörige Paßwort herauszufinden. Zu diesem Zweck hat die dort beschriebene IC-Karte eine Schaltung, welche mitzählt, wenn falsche Paßworte eingegeben werden. Wenn nacheinander die fünfte falsche Eingabe eines Paßworts erfolgt, werden in einen bestimmten Speicherbereich ausschließlich Nullen eingeschrieben, so daß die IC-Karte permanent ungültig wird. Bei der dort beschriebenen Anordnung sind Aufbau und Verwendung der IC-Karte nicht näher angegeben, jedoch ist aus dem Zusammenhang entnehmbar, daß der vorhandene Mikroprozessor über eine Schnittstelle extern angeschlossen wird und daß über die Schnittstelle dann ein direkter Zugriff auf den Datenbus möglich ist.In the publication Patents Abstracts of Japan, P-516, November 15, 1986, Ed. 10, No. 338, JP 61-139880 A, is a Storage system for registering incorrect entries at Described using an IC card. The objective there accordingly, it is about misusing IC cards too prevent if someone uses a third party card and tried the corresponding password by trying several times find out. For this purpose the IC card described there a circuit that counts when wrong passwords can be entered. If the fifth incorrect entry in succession A password is made into a specific one Memory area written only zeros, so that the IC card becomes permanently invalid. At that one The arrangement described are the structure and use of the IC card not specified, but is out of context removable that the existing microprocessor via a Interface is connected externally and that over the Interface then direct access to the data bus is possible.

Aus der Veröffentlichung in Patents Abstracts of Japan, P-514, 11. November 1986, Rd. 10, Nr. 330, JP 61-134871 A, ist ein Transaktionssystem für IC-Karten bekannt, wobei es um einen Algorithmus zum platzsparenden Ablegen von Prozeduren in einem Speicher auf der IC-Karte geht. Von der CPU werden bestimmte Prozeduren in einen Speicher eingeschrieben, wobei aber vorher geprüft wird, ob die abzuspeichernde Prozedur bereits im Speicher vorhanden ist. Die Abspeicherung wird also nur dann durchgeführt, wenn die Prozedur noch nicht im Speicher enthalten ist. Außerdem wird jede abgelegte Prozedur mit einer Indexadresse versehen.From the publication in Patents Abstracts of Japan, P-514, November 11, 1986, Rd. 10, No. 330, JP 61-134871 A, is a Transaction system for IC cards known, it is a Algorithm for saving procedures in one place Memory on the IC card goes. The CPU determines certain Procedures written in a memory, but before it is checked whether the procedure to be saved is already in the Memory is available. The storage is only then performed if the procedure is not yet in memory  is included. In addition, every stored procedure is marked with a Provide index address.

In der DE-Z "Elektronik", Nr. 19, 1986, Seiten 99 bis 101, sind IC-Karten allgemein beschrieben, wobei verschiedene Speicher­ typen angegeben sind, die in diesem Zusammenhang verwendet werden können.In DE-Z "Electronics", No. 19, 1986, pages 99 to 101, are IC cards generally described using different memories types specified are used in this context can be.

Die DE-OS 27 38 113 beschreibt eine Vorrichtung zur Durch­ führung von Bearbeitungsvorgängen mit einem in die Vorrichtung eingebbaren Indifikanden. Dieser Indifikand kann beispielsweise eine IC-Karte sein. Mit dieser IC-Karte soll erreicht werden, den Mißbrauch von Vorrichtungen zur Durchführung von Bearbeitungsvorgängen, wie z. B. Bankdienstleistungen auszu­ schließen. Der Grundgedanke der genannten Druckschrift besteht darin, die in die IC-Karte auf zunehmenden Daten in den Speicher einzugeben, die nur einmal und unveränderbar geladen werden und deren Inhalt von außen nicht festgestellt werden kann. Um einen Bearbeitungsvorgang auszulösen, sind dann in der IC-Karte weitere Speicher vorgesehen, um die von außen eingegebenen Daten mit den intern gespeicherten Daten, die nur intern lesbar sind, vergleichen zu können.DE-OS 27 38 113 describes a device for through guidance of machining operations with one in the device inputable indices. This indicator can, for example be an IC card. This IC card is intended to the misuse of devices for carrying out Editing operations such as B. To provide banking services conclude. The basic idea of the cited document exists in it, the data in the IC card on increasing data in the memory to be entered, which are loaded only once and cannot be changed, and whose content cannot be determined from the outside. To one The machining process must then be triggered in the IC card additional memory is provided to the input from the outside Data with the internally stored data that can only be read internally are able to compare.

Die gattungsbildende US-PS 4,575,621 beschreibt eine tragbare elektronische Übertragungsvorrichtung mit einem zugeordneten System, die zur Lösung des Problems der eingeschränkten Zuverlässigkeit aufgrund mangelnder Kontaktsicherheit bei mechanischen Kontakten, mit einer autarken Stromversorgung ausgestattet ist. Die interne Datenübertragung erfolgt über Lichtemitterdioden und zugeordnete Fototransistoren. Konkret umfaßt das System nach US-PS 4,575,621 eine externe Einrichtung und eine IC-Karte, die wiederum einen Mikroprozessor sowie einen festen und einen frei programmierbaren Speicher aufweist. Über einen Datenbus ist der Mikroprozessor mit den zugeordneten Speichern verbunden. Der Datenbus selbst ist von der Außenseite her unzugänglich. Ein erweiterter programmierbarer Speicherbe­ reich dient der Aufnahme eines zusätzlichen Programmes, das von der externen Einrichtung übernommen werden kann.The generic US Patent 4,575,621 describes a portable electronic transmission device with an associated System used to solve the problem of restricted Reliability due to lack of contact security mechanical contacts, with a self-sufficient power supply Is provided. The internal data transmission takes place via Light emitting diodes and associated photo transistors. Concrete the system according to US-PS 4,575,621 comprises an external device and an IC card, which in turn has a microprocessor as well has a fixed and a freely programmable memory. The microprocessor is connected to the assigned data bus Save connected. The data bus itself is from the outside inaccessible. An extended programmable memory  rich serves to include an additional program by the external facility can be taken over.

Die US-PS 4,534,012 gibt eine kleine tragbare Informations­ einrichtung und eine dazugehörige externe Station an. Diese tragbaren Informationseinrichtungen betreffen z. B. tragbare Rechner, Taschenrechner im Kreditkartenformat oder Rechner, die in Armbanduhren integriert sind.U.S. Patent 4,534,012 gives small portable information device and an associated external station. This portable information devices relate to e.g. B. portable Calculators, credit card format calculators or calculators that are integrated in wristwatches.

Die japanischen Druckschriften JP 61-134869 (A) und JP 61-134870 (A) beschreiben ein Kartenübertragungssystem, bei dem die zugehörige IC-Karte einen ROM zur Aufnahme von Programm­ schritten aufweist. Die Änderung des im ROM gespeicherten Programms erfolgt automatisch über das Terminal ATM und dessen Zugriff auf den ROM. Um eine Doppelspeicherung zu vermeiden, wird weiterhin angegeben, Erkennungsmittel, bezogen auf das jeweils aktuelle im ROM abgelegte Programm, vorzusehen. Eine Übernahme des Programms vom Terminal erfolgt nur dann, wenn das angebotene Programm für den Festwertspeicher neu ist. Dadurch wird der Speicherplatz effizient genutzt.Japanese publications JP 61-134869 (A) and JP 61-134870 (A) describe a card transmission system in which the associated IC card a ROM for recording programs steps. The change in the stored in ROM Program takes place automatically via the ATM terminal and its Access to the ROM. To avoid double storage, is also specified, detection means, based on the current program stored in the ROM must be provided. A The program is only taken over from the terminal if that offered program for the read-only memory is new. Thereby the storage space is used efficiently.

Aus der EP 0 159 651 A2 sind eine IC-Karte und ein Übertra­ gungssystem unter Verwendung einer IC-Karte bekannt. In der Druckschrift wird eine IC-Karte vorgeschlagen, die über erste und zweite Speichermittel verfügt, wobei die Speichermittel eine höhere Speicherkapazität im Vergleich mit einer Magnet­ karte aufweisen. Hierdurch soll es möglich sein, in die IC-Karte Anwenderprogramme aufzunehmen, so daß eine einfachere Benutzung eines Terminals, z. B. eines Bankterminals, erreicht wird.EP 0 159 651 A2 discloses an IC card and a transfer card system known using an IC card. In the An IC card is proposed in the publication, which is about first and second storage means, the storage means a higher storage capacity compared to a magnet Show card. This should make it possible to put in the IC card Record user programs so that an easier Use of a terminal, e.g. B. a bank terminal becomes.

Die DE-OS 29 16 658 beschreibt einen selbstprogrammierbaren Mikroprozessor. Er enthält u. a. einen permanenten Programm­ speicher, in den nur ein Teil der Programme eingespeichert ist. Die übrigen Programmteile können über eine Tastatur durch den Anwender selbst eingegeben werden. DE-OS 29 16 658 describes a self-programmable Microprocessor. It contains u. a. a permanent program memory in which only a part of the programs is stored. The other parts of the program can be entered using a keyboard User entered yourself.  

Aus SRINI V.P., Fault Diagnosis of Microprocessor Systems, in: COMPUTER, Januar 1977, Seiten 60-65 sind Verfahren zur Fehlererkennung von Mikroprozessor-Systemen unter Nutzung spezieller Diagnoseprogramme, welche im Mikroprozessor permanent gespeichert und/oder die in einem flüchtigen Speicher geladen werden können, bekannt. Die Diagnoseprogramme dienen sowohl dem Erkennen von Chipfehlern als auch der Überprüfung der Ablaufsteuerung, die durch den Prozessor selbst vorgenommen werden soll.From SRINI V.P., Fault Diagnosis of Microprocessor Systems, in: COMPUTER, January 1977, pages 60-65 are procedures for Error detection of microprocessor systems using special diagnostic programs, which are in the microprocessor stored permanently and / or in a volatile Memory can be loaded, known. The Diagnostic programs are used both to identify chip errors as well as the review of the sequential control system that Processor should be made itself.

IC-Karten, bei denen ein Mikroprozessor, ein fester Programm­ speicher und ein programmierbarer Speicher eingebaut und über einen Datenbus miteinander verbunden sind, werden in immer größerem Umfang verwendet und stellen offenbar eine willkom­ mene Alternative zu Karten mit Magnetstreifen dar.IC cards using a microprocessor, a fixed program memory and a programmable memory built in and over A data bus are always connected used on a larger scale and apparently represent a welcome is an alternative to cards with magnetic stripes.

Der Erfindung liegt daher die Aufgabe zugrunde, derartigen IC-Karten ein breiteres Anwendungsgebiet zu erschließen und die Einsatzmöglichkeiten von solchen IC-Karten zu verbessern, ohne daß die Sicherheit und die Zuverlässigkeit der auf der IC-Karte gespeicherten Informationen, Daten und Funktionen darunter leiden.The invention is therefore based on the object of such IC cards to open up a wider area of application and the  Possible uses of such IC cards to improve without that the security and reliability of that on the IC card stored information, data and functions underneath To suffer.

Gemäß der Erfindung dient die IC-Karte bei einem IC-Karten­ system der eingangs genannten Art zur Verwendung bei ver­ schiedenen IC-Karten-Benutzersystemen mit unterschiedlichen Betriebsprogrammen und zur Überprüfung der Funktionstüchtigkeit der IC-Karte und ist gekennzeichnet durch einen erweiterten programmierbaren Speicherbereich zur Aufnahme eines zusätzlichen Betriebsprogramms von der externen Einrichtung; einen erweiterten Programmierspeicherbereich, der Befehlscodes für den Mikroprozessor zum Akzeptieren und Laden des zusätz­ lichen Betriebsprogramms im programmierbaren Speicherbereich enthält, eine Einrichtung im erweiteren Programmspeicherbereich zum Umschalten einer ersten Betriebsart des Mikroprozessors zum Akzeptieren und Laden des zusätzlichen Programms, und einer zweiten Betriebsart zum Ausführen des zusätzlichen Programms, wobei das zusätzliche Programm ein nach dessen Programmarbeitung zu löschendes Prüfprogramm ist, das in den erweiterten programmierbaren Speicherbereich ladbar ist, und das zur Überprüfung der Funktionstüchtigkeit der Kartenkomponenten ausgeführt wird, wobei weiterhin Prüfungsresultate aus dem Prüfprogramm der externen Einrichtung zur Bestimmung des Fehlerortes und der Fehlerart der Kartenkomponenten zugeführt sind.According to the invention, the IC card is used in an IC card system of the type mentioned for use in ver different IC card user systems with different Operating programs and to check the functionality the IC card and is characterized by an extended programmable memory area for recording a additional operating program from the external facility; an extended programming memory area, the command codes for the microprocessor to accept and load the additional operating program in the programmable memory area contains, a facility in the extended program memory area to switch a first operating mode of the microprocessor to Accept and load the additional program, and one second operating mode for executing the additional program, the additional program being a test program to be deleted after the program has been worked out, that can be loaded into the extended programmable memory area is, and that to check the functionality of the Card components will continue to run Test results from the test program of the external institution to determine the fault location and type of fault Card components are fed.

Mit dem IC-Kartensystem wird das angestrebte Ziel in zufrie­ denstellender Weise erreicht. Dabei kann eine Anpassung an die verschiedensten IC-Karten-Benutzersysteme mit unterschiedlichen Betriebsprogrammen vorgenommen werden, da ein entsprechendes zusätzliches Betriebsprogramm bei Bedarf von der IC-Karte selbst geladen und abgearbeitet werden kann, wobei der eigene karteninterne Datenbus verwendet wird, auf den kein Zugriff von außen besteht. Damit wird ein hohes Maß an Sicherheit gewährleistet. Außerdem können geeignete Prüfprogramme geladen werden, um sowohl die Funktionsfähigkeit als auch die Integrität der Daten der IC-Karte selbst prüfen zu können, wobei über die Abgabe eines Fehlersignals angezeigt werden kann, wenn eine IC-Karte nicht normal arbeitet oder aber in den abgespeicherten Karten selbst festgestellt werden.With the IC card system the desired goal is satisfied achieved. An adjustment to the various IC card user systems with different Operating programs are carried out as a corresponding Additional operating program from the IC card if required can be loaded and processed by yourself, with your own card-internal data bus is used, which is not accessible by outside exists. This creates a high level of security guaranteed. Suitable test programs can also be loaded to both the functionality and the  To be able to check the integrity of the data on the IC card itself, being displayed via the emission of an error signal can if an IC card does not work normally or in the stored cards themselves can be determined.

Das Kartensystem wird nachstehend anhand der Beschreibung von Ausführungsbeispielen und unter Bezugnahme auf die beiliegenden Zeichnungen näher erläutert. Die Zeichnungen zeigen inThe card system is described below based on the description of Embodiments and with reference to the accompanying Drawings explained in more detail. The drawings show in

Fig. 1 ein Funktionsblockschaltbild einer IC-Karte zur Verwendung beim IC-Kartensystem;1 is a functional block diagram of an IC card for use in the IC card system;

Fig. 2 ein Flußdiagramm zur Erläuterung des Betriebsablaufs in der IC-Karte beim IC-Kartensystem; und in Fig. 2 is a flowchart for explaining the operation in the IC card in the IC card system; and in

Fig. 3 ein Flußdiagramm zur Erläuterung des Arbeitsablaufs der IC-Karte, der mit einem Prüfprogramm ausgeführt wird, welches in einem erweiterten programmierbaren Speicherbereich der IC-Karte gespeichert ist. Fig. 3 is a flow chart for explaining the operation of the IC card, which is executed with a test program, which is stored in an extended programmable memory area of the IC card.

In Fig. 1 ist eine IC-Karte 1 schematisch dargestellt. Dabei stellt die IC-Karte einen Informationsträger in Form einer dünnen rechteckigen Karte im Brieftaschenformat dar (ähnlich einer Kreditkarte), die aber einen bordinternen oder einge­ bauten Mikroprozessor 2, einen festen Programmspeicher, typischerweise in Form eines Festspeichers 3 oder ROM, sowie einen flüchtigen oder Schreib-Lese-Speicher aufweist, der herkömmlicherweise als programmierbarer Speicher 4 bezeichnet wird. Der Mikroprozessor 2 und seine zugeordneten, eingebauten Speicher 3 und 4 sind mit einem Datenbus 2A verbunden, der in der oben beschriebenen Weise innerhalb der IC-Karte 1 abge­ trennt und daher von der Außenseite der IC-Karte 1 her nicht direkt zugänglich ist. Üblicherweise ist die IC-Karte mit einer externen Einrichtung, wie z. B. einem Leser/Schreiber oder Terminal verbunden, so daß die Karten- und Terminal-Kombination es dem Benutzer ermöglicht, eine beliebige Transaktion durchzuführen oder Zugriff zu einem beliebigen Service zu nehmen, die von dem Kartensystem verfügbar sind. Natürlich enthält der Programmspeicher 3 ein oder mehrere Festprogramme, die als normale Funktionen bei Normalbetrieb der IC-Karte 1 ausgeführt werden.In Fig. 1, an IC card 1 is shown schematically. The IC card represents an information carrier in the form of a thin rectangular card in wallet format (similar to a credit card), but which has an on-board or built-in microprocessor 2 , a fixed program memory, typically in the form of a fixed memory 3 or ROM, and a volatile or Read-write memory, which is conventionally referred to as programmable memory 4 . The microprocessor 2, and its associated built-in memory 3 and 4 are connected to a data bus 2 A, the abge in the manner described above within the IC card 1 divides and therefore from the outer side of the IC card 1 here is not directly accessible. Usually the IC card with an external device such. B. a reader / writer or terminal so that the card and terminal combination allows the user to perform any transaction or access any service available from the card system. Of course, the program memory 3 contains one or more fixed programs which are executed as normal functions during normal operation of the IC card 1 .

Bei der Ausführungsform gemäß Fig. 1 ist die IC-Karte 1 jedoch mit einer externen Einrichtung 5 verbunden, die außerdem einen Speicher für zusätzliche Programme darstellt, wie z. B. einen zusätzlichen Speicher von Programmen, der mit dem gestrichelten Rechteck 5A bezeichnet ist. Wie sich aus der nachstehenden Beschreibung ergibt, sind die in dem Speicher 5A enthaltenen Programme in der Weise ausgelegt und geeignet, daß sie sich über den Mikroprozessor 2 zur IC-Karte übertragen lassen, um in der IC-Karte 1 ausgeführt zu werden.In the embodiment of FIG. 1, however, the IC card 1 is connected to an external device 5 , which also represents a memory for additional programs, such as. B. an additional memory of programs, which is designated by the dashed rectangle 5 A. As is apparent from the description below, the programs contained in the memory 5 A are designed and suitable in such a way that they can be transferred to the IC card via the microprocessor 2 in order to be executed in the IC card 1 .

Für die praktische Nutzung des IC-Kartensystems weist der feste Programmspeicher oder ROM 3 einen erweiterten Programm­ speicherbereich 3A auf, der zusätzliche Befehlscodes enthält, welche den Mikroprozessor 2 steuern, um einen Code in Form von zusätzlichen Programmen von der externen Einrichtung 5A zu akzeptieren und um den akzeptierten Code in den programmier­ baren Speicher 4 zu lesen. Zu diesem Zweck weist der program­ mierbare Speicher 4 einen erweiteren programmierbaren Speicherbereich 4A auf, um ein zusätzliches Betriebsprogramm von der externen Einrichtung 5 durch den Mikroprozessor 2 unter der Steuerung des ROM 3 aufzunehmen.For practical use of the IC card system, the fixed program memory or ROM 3 has an extended program memory area 3 A, which contains additional command codes which control the microprocessor 2 in order to accept a code in the form of additional programs from the external device 5 A and to read the accepted code in the programmable memory 4 . For this purpose, the programmable memory 4 has an expanded programmable memory area 4 A in order to record an additional operating program from the external device 5 by the microprocessor 2 under the control of the ROM 3 .

Der erweiterte Programmspeicherbereich 3A enthält außerdem einen Code oder einen Einrichtung, die dem Mikroprozessor 2 und seinen zugeordneten Speichern zugeordnet sind, so daß die Einrichtung dafür sorgt, daß das System zwischen zwei Be­ triebsmoden umschaltet, nämlich einer ersten Betriebsart zum Akzeptieren und Laden des Programms in den erweiterten pro­ grammierbaren Speicherbereich 4A, und einer zweiten Betriebsart zur Ausführung des Programms, das in den erweiterten programmierbaren Speicherbereich 4A geladen worden ist. The extended program memory area 3 A also contains a code or a device, which are assigned to the microprocessor 2 and its associated memories, so that the device ensures that the system switches between two operating modes, namely a first mode for accepting and loading the program in the extended programmable memory area 4 A, and a second operating mode for executing the program that has been loaded into the extended programmable memory area 4 A.

Während Fig. 1 den erweiterten programmierbaren Speicherbereich 3A und den erweiterten programmierbaren Speicherbereich 4A als abgesondert von dem Hauptprogrammspeicher 3 und dem programmierbaren Speicher 4 zeigt, ist diese Darstellung primär als Mittel zum besseren Verständnis der Erfindung gewählt. Die erweiterten Speicherbereiche werden typischerweise physikalisch bzw. körperlich auf demselben integrierten Schaltungschip wie ihre zugehörigen Speicher ausgebildet sein, und die Trennung bzw. Absonderung wird typischerweise durch Absonderung eines Blocks von Orten oder Adressen innerhalb des Speichers für die zugeordneten Funktionen erfolgen.While Fig. 1 shows the extended programmable memory area 3 A and the extended programmable memory area A as 4 separated from the main program memory 3, and the programmable memory 4 is is selected this illustration primarily as a means to better understand the invention. The expanded memory areas will typically be physically formed on the same integrated circuit chip as their associated memories, and the separation or segregation will typically be accomplished by segregating a block of locations or addresses within the memory for the associated functions.

Im folgenden wird die Wirkungsweise der IC-Karte 1 mit dem vorstehend beschriebenen Aufbau unter Bezugnahme auf Fig. 2 näher beschrieben.The operation of the IC card 1 with the structure described above will be described below with reference to FIG. 2.

Zunächst wird beim Schritt 10 ein elektrisches Befehlssignal, typischerweise ein Signal, das die Ladebereitschaft der externen Einrichtung 5 für ein Zusatzprogramm angibt, von der externen Einrichtung 5 zum Mikroprozessor 2 geschickt. Dann schaltet beim Schritt 11 die oben erwähnte Einrichtung bzw. der Code, der in dem erweiterten festen Programmspeicher 3A gespeichert ist, die Betriebsart des Mikroprozessors zwischen der Ausführungsbetriebsart und der Ladebetriebsart um, und zwar auf der Basis des Befehlssignals, das von der externen Einrichtung 5 geliefert wird.First, in step 10, an electrical command signal, typically a signal indicating the readiness for charging of the external device 5 for an additional program, is sent from the external device 5 to the microprocessor 2 . Then, at step 11, the means mentioned above or the code of the 3 A is stored in the extended fixed program memory, the mode of the microprocessor between the execution mode and the charging mode toggles, and on the basis of the command signal from the external device 5 is delivered.

Wenn der Mikroprozessor 2 in die Ladebetriebsart geschaltet ist, geht der Betriebsablauf zum Schritt 12 weiter, wo der Mikroprozessor 2 das Lade/Schreib- Programm aufruft und aus­ zuführen beginnt, das in dem erweiterten Programmspeicher­ bereich 3A gespeichert ist, so daß eine Schreibadresse in dem erweiterten programmierbaren Speicherbereich 4A gesetzt wird. Danach wird beim Schritt 13 der Programmcode von der externen Einrichtung 5 in einen Puffer geladen, der dem Mikroprozessor 2 zugeordnet ist und der typischerweise ein Teil des Mikro­ prozessors 2 ist. If the microprocessor 2 is switched to the loading mode, the operation proceeds to step 12 , where the microprocessor 2 calls the load / write program and starts executing, which is stored in the extended program memory area 3 A, so that a write address in the extended programmable memory area 4 A is set. Thereafter, the program code of the external device 5 is loaded into a buffer at step 13, which is associated with the microprocessor 2 and is typically a part of the micro processor 2.

Beim Schritt 14 wird der geladene Programmcode in diejenige Adressenposition in dem erweiterten programmierbaren Speicher­ bereich 4A eingeschrieben, die beim Schritt 12 gesetzt wurde. Beim Schritt 15 bestimmt der Mikroprozessor 2, ob immer noch irgendwelche Daten, d. h. zusätzliche Programmcodes, zu lesen sind, und wenn keine weiteren Daten vorhanden sind, geht der Programmablauf zum Schritt 17 weiter, wo die Operation des Mikroprozessors endet oder zum Ausgangszustand zurückkehrt. Wenn andererseits beim Schritt 15 noch Daten vorhanden sind, wird die Schreibadresse beim Schritt 16 inkrementiert, und die Schritte 13 bis 15 werden so lange wiederholt, bis das gesamte Zusatzprogramm geladen worden ist.In step 14 , the loaded program code is written into that address position in the extended programmable memory area 4 A that was set in step 12 . At step 15 , the microprocessor 2 determines whether there is still any data to read, ie, additional program codes, and if there is no more data, the program flow proceeds to step 17 , where the operation of the microprocessor ends or returns to the initial state. On the other hand, if there is still data at step 15 , the write address is incremented at step 16 and steps 13 through 15 are repeated until the entire add-on program has been loaded.

In diesem Zusammenhang ist darauf hinzuweisen, daß in einigen Fällen, die in Fig. 2 nicht eigens dargestellt sind, es auch möglich ist, automatisch oder kontiunierlich das bereits in den programmierbaren Speicher geladene Zusatzprogramm auszuführen, und zwar unmittelbar nach Beendigung des Ladevorgangs, wie es nachstehend im Zusammenhang mit Fig. 3 beschrieben ist.In this context, it should be pointed out that in some cases, which are not specifically shown in FIG. 2, it is also possible to automatically or continuously execute the additional program already loaded into the programmable memory, immediately after the loading process has ended, as is the case is described below in connection with FIG. 3.

Wenn andererseits beim Schritt 11 der Mikroprozessor 2 in die Ausführungsbetriebsart geschaltet ist, geht der Programmablauf zum Schritt 18 weiter, wo festgestellt wird, ob die Ausfüh­ rungsbetriebsart des Mikroprozessors 2 von einer ersten oder normalen Ausführungsbetriebsart in eine zweite oder spezielle Ausführungsbetriebsart geändert worden ist. Wenn dies der Fall ist, ruft der Mikroprozessor 2 ein geeignetes Programm auf und führt es aus, das von der externen Einrichtung 5 in den erweiterten programmierbaren Speicherbereich geladen ist. Wenn jedoch das Ergebnis beim Schritt 18 "Nein" lautet, geht der Programmablauf zum Schritt 20 weiter, wo der Mikroprozessor 2 ein Anwenderprogramm aufruft und es ausführt, das in dem festen Programmspeicher 3 gespeichert ist. Schließlich geht der Programmablauf vom Schritt 19 oder 20 zum Schritt 21 weiter, wo die Operation des Mikroprozessors 2 beendet wird oder er in den Ausgangszustand zurückkehrt. On the other hand, if the microprocessor 2 is switched to the execution mode at step 11 , the program flow goes to step 18 , where it is determined whether the execution mode of the microprocessor 2 has been changed from a first or normal execution mode to a second or special execution mode. If this is the case, the microprocessor 2 calls up a suitable program and executes it, which is loaded by the external device 5 into the extended programmable memory area. However, if the result at step 18 is "No", the program flow goes to step 20 , where the microprocessor 2 calls and executes an application program that is stored in the fixed program memory 3 . Finally, the program flow proceeds from step 19 or 20 to step 21 , where the operation of the microprocessor 2 is ended or it returns to the initial state.

Selbstverständlich sind die Schritte gemäß Fig. 2 lediglich beispielhaft für die weiteren Anwendungsmöglichkeiten der Erfindung, wobei die IC-Karte 1 normalerweise intern gespei­ cherte Programme bei Bedarf ausführt, und wenn es von einer externen Einrichtung gefordert wird, lädt sie Programme von dieser externen Einrichtung in den programmierbaren Speicher in einer zusätzlichen Betriebsart und führt diese Programme in einer weiteren Betriebsart durch.Of course, the steps of FIG. 2 are only exemplary of the other applications of the invention, the IC card 1 normally executing internally stored programs when needed, and when requested by an external device, it loads programs from that external device the programmable memory in an additional operating mode and executes these programs in a further operating mode.

Aus den vorstehenden Darlegungen ergibt sich, daß das beschriebene IC-Kartensystem das Laden und Ausführen von externen Programmen ermöglicht, ohne die Sicherheit der Karte wesentlich zu beeinträchtigen. Während die Programme in vorgegebene Bereiche des programmierbaren Speichers 4 unter Steuerung des Programmspeichers 3 geladen werden, erfolgt jeglicher Zugriff zum programmierbaren Speicher 4 nur über den Mikroprozessor 2. Der Datenbus 2A, der den Mikroprozessor 2 mit seinen zugeordneten Speichern verbindet, ist intern in der IC-Karte 1 vorgesehen und steht bei der Programmausführung mit normalen Mitteln zur Verfügung. Es ist schwierig, wenn nicht unmöglich, Zugriff zu der innerhalb des programmierbaren Speichers 4 gespeicherten Information zu nehmen, ausgenommen mit autorisierten Mitteln, da der Mikroprozessor 2 und seine Betriebsprogramme, die in dem ROM 3 enthalten sind, jeden derartigen Zugriff steuern.From the above it follows that the IC card system described enables the loading and execution of external programs without significantly affecting the security of the card. While the programs are loaded into predetermined areas of the programmable memory 4 under the control of the program memory 3 , any access to the programmable memory 4 takes place only via the microprocessor 2 . The data bus 2 A, which connects the microprocessor 2 with its associated memories, is provided internally in the IC card 1 and is available by normal means during program execution. It is difficult, if not impossible, to access the information stored within the programmable memory 4 , except by authorized means, since the microprocessor 2 and its operating programs contained in the ROM 3 control each such access.

Unter den Programmen, die in einer externen Einrichtung 5 gespeichert werden können, um sie in die IC-Karte 1 zu laden, sind zusätzliche Betriebsprogramme, die durch Änderungen im IC-Kartensystem gelegentlich veranlaßt sein können und die man als wünschenswert realisieren will, aber nicht mit dem Nachteil, daß sämtliche IC-Karten in dem System mit aktualisierten Speichern neu ausgegeben werden müßten. Somit kann eine externe Einrichtung 5, z. B. ein Leser/Schreiber verwendet werden, um ein externen Betriebsprogramm in einen zugeordneten Bereich des programmierbaren Speichers 4 zu laden, und dieses Programm kann, falls erforderlich, aufgerufen werden, wenn die IC-Karte in dem Kartensystem verwendet wird.Among the programs that can be stored in an external device 5 in order to load them into the IC card 1 are additional operating programs which can occasionally be caused by changes in the IC card system and which one wishes to implement as desirable, but not with the disadvantage that all IC cards in the system would have to be reissued with updated memories. Thus, an external device 5 , e.g. B. a reader / writer can be used to load an external operating program into an allocated area of the programmable memory 4 , and this program can be called up if necessary when the IC card is used in the card system.

Als zweites Beispiel wird das Testen der IC-Karte angegeben, um zu gewährleisten, daß sie sämtliche Anforderungen und Standards erfüllt, was vor der Ausgabe der IC-Karte wünschenswert sein kann. Um das Testen oder Prüfen der Karten zu unterstützen, wird ein zusätzliches Programm von der externen Einrichtung 5 in die IC-Karte 1 geladen, um die Funktionstüchtigkeit und Funktionsvielfalt der internen Komponenten zu testen oder zu prüfen. Beispielsweise kann das Programm inividuell sämtliche Zellen innerhalb des programmierbaren Speichers testen, die verschiedenen Funktionen des Mikroprozessors prüfen und die Integrität des festen Betriebsprogramms prüfen, um auf diese Weise zu gewährleisten, daß die IC-Karte die Prüfung vor ihrer Ausgabe passieren kann. Es wird betont, daß ein solcher Prüf­ vorgang durchgeführt werden kann, ohne daß das Erfordernis besteht, daß, wie bisher geglaubt wurde, bei Verwendung eines erweiterten Testprogramms der interne Datenbus 2A direkt für die Einrichtung zugänglich gemacht werden muß, die extern von der IC-Karte 1 vorgesehen sind.As a second example, testing of the IC card is provided to ensure that it meets all requirements and standards, which may be desirable before the IC card is issued. In order to support the testing or checking of the cards, an additional program is loaded from the external device 5 into the IC card 1 in order to test or test the functionality and variety of functions of the internal components. For example, the program can individually test all of the cells within the programmable memory, check the various functions of the microprocessor and check the integrity of the fixed operating program to ensure that the IC card can pass the check before it is issued. It is emphasized that such a test process can be carried out without the requirement that, as was previously believed, the internal data bus 2 A must be made directly accessible to the device using an extended test program, which is external to the IC -Card 1 are provided.

Im folgenden wird ein Beispiel der Prüfung der Funktionstüch­ tigkeit und Funktionsvielfalt der IC-Karte unter Bezugnahme auf Fig. 3 beschrieben.In the following, an example of testing the functionality and variety of functions of the IC card will be described with reference to FIG. 3.

Nach dem Starten des Prüfprogramms wird beim Schritt 111 ein Prüfprogramm zum Prüfen von bestimmten Funktionen, die in der gewünschten Weise von der IC-Karte gewählt werden, in die externe Einrichtung 5 eingegeben. Anschließend wird beim Schritt 112 das Prüfprogramm in den erweiterten programmier­ baren Speicherbereich 4A geladen, wie es oben beschrieben ist. Typischerweise erfolgt das Laden mit einem Byte oder einer Gruppe von Bytes zu einem Zeitpunkt, zu dem das gesamte Zusatzprogramm in dem erweiterten Bereich des programmierbaren Speichers bereits enthalten ist. Beim Schritt 113 wird das so geladene Prüfprogramm in der nachstehend beschriebenen Weise vom Mikroprozessor ausgeführt.After the test program has been started, a test program for testing certain functions, which are selected in the desired manner from the IC card, is entered into the external device 5 in step 111 . The test program is then loaded into the expanded programmable memory area 4 A in step 112 , as described above. Typically, the loading takes place with one byte or a group of bytes at a time at which the entire additional program is already contained in the extended area of the programmable memory. At step 113 , the test program thus loaded is executed by the microprocessor in the manner described below.

Genauer gesagt, es wird "0" als Anfangseingabe in sämtliche Speicherzellen eingeschrieben, die in der IC-Karte 1 zu testen sind, und die auf diese Weise in die erste der Adressen ein­ geschrieben Daten werden ausgelesen, und es wird geprüft bzw. festgestellt, ob die derart ausgelesenen Daten "0" sind. Dann werden die zu prüfenden Adressen in Schritten von 1 inkremen­ tiert, und der gleiche Prüfvorgang wird wiederholt, bis die letzte Adresse erreicht ist. Wenn in diesem Falle der oben beschriebene Prüfablauf normal sämtliche Speicherzellen durchläuft, werden sämtliche darin gespeicherten Daten in "1" umgewandelt. Anschließend wird der gleiche Prüfprozeß der Reihe nach bei sämtlichen Speicherzellen unter Verwendung der Daten "1" wiederholt, d. h. es wird bei jeder Speicherzelle festgestellt, ob die darin enthaltenen Daten den Wert "1" haben.More specifically, "0" is written as an initial input in all of the memory cells to be tested in the IC card 1 , and the data thus written in the first of the addresses is read out, and it is checked, whether the data thus read out is "0". Then the addresses to be checked are incremented in steps of 1 and the same checking process is repeated until the last address is reached. In this case, if the test procedure described above normally runs through all the memory cells, all the data stored therein are converted into "1". The same test process is then repeated in sequence for all memory cells using the data "1", ie it is determined for each memory cell whether the data contained therein have the value "1".

Danach liefert der Mikroprozessor beim Schritt 114 ein Aus­ gangssignal, das der externen Einrichtung 5 die Prüfresultate angibt. Beim Schritt 115 analysiert die externe Einrichtung 5 die Prüfresultate, um festzustellen, ob ein Fehler in irgend­ einer der getesteten Speicherzellen vorliegt. In diesem Zusammenhang kann festgestellt werden, daß die IC-Karte 1 nicht im Normalbetrieb ist, beispielsweise wenn innerhalb einer vorgegebenen Zeitspanne kein Signal von dem Mikroprozessor zur externen Einrichtung geliefert wird, oder wenn der Inhalt des Ausgangssignals vom Mikroprozessor von einem vorgegebenen Inhalt abweicht. Außerdem kann das Prüfprogramm so aufgebaut sein, daß dann, wenn irgendeine Anomalität oder ein Fehler in einer spezifizierten Adresse während des Prüfens festgestellt wird, die Information über den Ort der fehlerhaften Adresse, der erwartete Datenwert, der festgestellte Wert und dergleichen zu der externen Einrichtung übertragen werden können, so daß der Inhalt oder die Art des Fehlers festgestellt werden können. Thereafter, the microprocessor delivers an output signal at step 114 , which indicates the test results to the external device 5 . At step 115 , the external device 5 analyzes the test results to determine whether there is a fault in any of the memory cells under test. In this connection, it can be stated that the IC card 1 is not in normal operation, for example if no signal is supplied from the microprocessor to the external device within a predetermined period of time, or if the content of the output signal from the microprocessor deviates from a predetermined content. In addition, the inspection program may be structured so that if any abnormality or an error in a specified address is detected during inspection, the information about the location of the erroneous address, the expected data value, the detected value, and the like is transmitted to the external device can be so that the content or the nature of the error can be determined.

Beim Schritt 116 wird festgestellt, ob der Prüfvorgang beendet ist oder nicht. Wenn die Antwort "Ja" lautet, geht der Pro­ grammablauf zum Schritt 117 weiter, wo das Prüfprogramm in dem programmierbaren Speicher 4 in der IC-Karte 1 gelöscht wird. Somit ist es möglich, zu verhindern, daß zu irgendwelchen Daten oder Informationen, die in den Speichern, nämlich dem ROM 3 und dem programmierbaren Speicher 4 gespeichert sind, von außerhalb der IC-Karte Zugriff genommen wird, so daß der Sicherheitsstandard der IC-Karte 1 verbessert wird.At step 116 , it is determined whether or not the checking process has ended. If the answer is "yes", the program flow proceeds to step 117 , where the test program in the programmable memory 4 in the IC card 1 is deleted. Thus, it is possible to prevent any data or information stored in the memories, namely the ROM 3 and the programmable memory 4 , from being accessed from outside the IC card, so that the security standard of the IC card 1 is improved.

Wenn andererseits beim Schritt 116 festgestellt wird, daß der Prüfvorgang nicht beendet ist, geht der Programmablauf vom Schritt 116 zum Schritt 111 zurück. Durch Wiederholung der Schritte 111 bis 116 ist es möglich, einen komplizierteren Prüfvorgang durchzuführen. Das bedeutet, es kann ein anderes Prüfprogramm ausgeführt werden, das anschließend gewählt wird, und zwar auf der Basis der beim Schritt 115 erhaltenen Prüf­ resultate, wobei ein solches weiteres Prüfprogramm beim Schritt 111 in die externe Einrichtung 5 eingegeben werden kann. Dadurch kann die IC-Karte 1 beispielsweise bezüglich eines Fehlers im Detail in einer speziellen Betriebsart geprüft werden. Wenn beispielsweise ein Fehler festgestellt worden ist, können die Faktoren des Fehlers bestimmt werden, wie z. B. die Charakteristika und der Typ des Fehlers, um auf diese Weise den Fehler insgesamt im einzelnen zu überprüfen.On the other hand, if it is determined at step 116 that the checking process has not ended, the program flow returns from step 116 to step 111 . By repeating steps 111 to 116 , it is possible to perform a more complicated inspection process. This means that another test program can be executed, which is then selected, on the basis of the test results obtained in step 115 , and such a further test program can be entered in the external device 5 in step 111 . As a result, the IC card 1 can be checked in detail for a fault in a special operating mode, for example. For example, if an error is found, the factors of the error can be determined, such as: B. the characteristics and type of the fault, in order to examine the fault as a whole in detail.

Als Beispiel für den ROM bei der vorstehend beschriebenen Ausführungsform können ein Masken-ROM, ein löschbarer pro­ grammierbarer Festwertspeicher EPROM sowie ein elektrisch löschbarer programmierbarer Festwertspeicher EEPROM angegeben werden. Als Beispiele für Speicher, die als programmierbare Speicher verwendet werden können, lassen sich ein EEPROM, ein CMOSRAM und ein EPROM angeben.As an example of the ROM in the above Embodiment can be a mask ROM, an erasable pro Programmable read-only memory EPROM and an electrical one erasable programmable read-only memory EEPROM specified will. As examples of memories that are programmable Memory can be used, an EEPROM, a Specify CMOSRAM and an EPROM.

Claims (10)

IC-Kartensystem, mit einer externen Einrichtung (5) und einer IC-Karte (1), welche umfaßtIC card system, with an external device ( 5 ) and an IC card ( 1 ), which comprises - einen Mikroprozessor (2),- a microprocessor ( 2 ), - einen festen Programmspeicher (3)- a fixed program memory ( 3 ) - einen frei programmierbaren Speicher (4) und- A freely programmable memory ( 4 ) and - einen Datenbus (2A), der den Mikroprozessor (2) und die zugeordneten Speicher (3, 4) miteinander verbindet und innerhalb der IC-Karte (1) von der Außenseite unzugänglich angeordnet ist, sowie- A data bus ( 2 A), which connects the microprocessor ( 2 ) and the associated memory ( 3 , 4 ) to each other and is arranged within the IC card ( 1 ) inaccessible from the outside, and - einen erweiterten programmierbaren Speicherbereich (4A) zur Aufnahme eines zusätzlichen Programms von der externen Einrichtung (5), gekennzeichnet durch - An extended programmable memory area ( 4 A) for receiving an additional program from the external device ( 5 ), characterized by - einen erweiterten Programmspeicherbereich (3A), der Befehlscodes für den Mikroprozessor (2) zum Akzeptieren und Laden des zusätzlichen Programms im erweiterten programmierbaren Speicherbereich (4A) enthält,- includes an extended program memory area (3 A), the instruction codes for the microprocessor (2) for accepting and loading of the additional program in the extended programmable memory area (4 A), - eine Einrichtung im erweiterten Programmspeicherbereich (3A) zum Umschalten zwischen einer ersten Betriebsart des Mikroprozessors (2) zum Akzeptieren und Laden des zusätz­ lichen Programms, und einer zweiten Betriebsart zum Ausführen des zusätzlichen Programms,- A device in the extended program memory area ( 3 A) for switching between a first operating mode of the microprocessor ( 2 ) for accepting and loading the additional program, and a second operating mode for executing the additional program, - wobei das zusätzliche Programm ein nach dessen Programmabarbeitung zu löschendes Prüfprogramm ist, das in den erweiterten programmierbaren Speicherbereich (4A) ladbar ist und das zur Überprüfung der Funktionstüchtigkeit der IC-Kartenkomponenten ausgeführt wird, und- The additional program is a test program to be deleted after its program execution, which can be loaded into the extended programmable memory area ( 4 A) and which is executed to check the functionality of the IC card components, and - wobei weiterhin Prüfungsresultate aus dem Prüfprogramm der externen Einrichtung (5) zur Bestimmung des Fehlerortes und der Fehlerart der IC-Kartenkomponenten zugeführt sind.- Furthermore, test results from the test program of the external device ( 5 ) for determining the fault location and the fault type of the IC card components are supplied.
DE3745144A 1986-12-24 1987-12-22 Integrated circuit card with functional test system Expired - Lifetime DE3745144C2 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP61314420A JPS63159993A (en) 1986-12-24 1986-12-24 Ic card
JP62288493A JPH01131980A (en) 1987-11-17 1987-11-17 Method for inspecting ic card
DE19873743639 DE3743639A1 (en) 1986-12-24 1987-12-22 IC CARD AND SYSTEM FOR CHECKING ITS FUNCTIONALITY

Publications (1)

Publication Number Publication Date
DE3745144C2 true DE3745144C2 (en) 1998-07-30

Family

ID=27196963

Family Applications (1)

Application Number Title Priority Date Filing Date
DE3745144A Expired - Lifetime DE3745144C2 (en) 1986-12-24 1987-12-22 Integrated circuit card with functional test system

Country Status (1)

Country Link
DE (1) DE3745144C2 (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE2738113A1 (en) * 1976-09-06 1978-03-09 Juergen Dethloff Processing device for banking operations
DE2916658A1 (en) * 1978-04-25 1979-10-31 Cii Honeywell Bull SELF-PROGRAMMABLE MICROPROCESSOR
US4534012A (en) * 1980-07-16 1985-08-06 Kabushiki Kaisha Suwa Seikosha Portable programmable information device and external programming station
EP0159651A2 (en) * 1984-04-16 1985-10-30 Omron Tateisi Electronics Co. IC card and financial transaction processing system using IC card
US4575621A (en) * 1984-03-07 1986-03-11 Corpra Research, Inc. Portable electronic transaction device and system therefor
JPS61134870A (en) * 1984-12-05 1986-06-21 Omron Tateisi Electronics Co Ic card transaction system
JPS61134871A (en) * 1984-12-05 1986-06-21 Omron Tateisi Electronics Co Ic card transaction system
JPS61134869A (en) * 1984-12-05 1986-06-21 Omron Tateisi Electronics Co Ic card transaction system
JPS61139880A (en) * 1984-12-13 1986-06-27 Casio Comput Co Ltd Storage system for wrong input of password number

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE2738113A1 (en) * 1976-09-06 1978-03-09 Juergen Dethloff Processing device for banking operations
DE2916658A1 (en) * 1978-04-25 1979-10-31 Cii Honeywell Bull SELF-PROGRAMMABLE MICROPROCESSOR
US4534012A (en) * 1980-07-16 1985-08-06 Kabushiki Kaisha Suwa Seikosha Portable programmable information device and external programming station
US4575621A (en) * 1984-03-07 1986-03-11 Corpra Research, Inc. Portable electronic transaction device and system therefor
EP0159651A2 (en) * 1984-04-16 1985-10-30 Omron Tateisi Electronics Co. IC card and financial transaction processing system using IC card
JPS61134870A (en) * 1984-12-05 1986-06-21 Omron Tateisi Electronics Co Ic card transaction system
JPS61134871A (en) * 1984-12-05 1986-06-21 Omron Tateisi Electronics Co Ic card transaction system
JPS61134869A (en) * 1984-12-05 1986-06-21 Omron Tateisi Electronics Co Ic card transaction system
JPS61139880A (en) * 1984-12-13 1986-06-27 Casio Comput Co Ltd Storage system for wrong input of password number

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
DE-Z: ELEKTRONIK, Nr. 19, 1986, S. 99-101 *
DE-Z: ELEKTRONIK, Nr. 20, 1986, S. 62-68 *
SRINI, V.P.: Fault Diagnosis of Microprozessor Systems, in: COMPUTER, Januar 1977, S. 60-65 *

Similar Documents

Publication Publication Date Title
DE3743639C2 (en)
DE19680913C2 (en) Semiconductor device transport and handling device
DE2837201C2 (en)
DE3803759C2 (en)
DE3640238A1 (en) PORTABLE ELECTRONIC DEVICE
DE69233019T2 (en) Contactless IC card
DE3804925A1 (en) PORTABLE ELECTRONIC DEVICE
DE3013523A1 (en) DATA RECEIVING AND TESTING CIRCUIT FOR MEMORY
DE3805291A1 (en) PORTABLE ELECTRONIC DEVICE
DE10159901B4 (en) Microcomputer with built-in programmable non-volatile memory
DE3720394A1 (en) PORTABLE ELECTRONIC DEVICE
DE1538604B2 (en) PROCESS FOR REALIZING AN ELECTRIC INTEGRATED CIRCUIT
EP0512542A2 (en) Data-protecting microprocessor circuit for portable record carriers, for example credit cards
WO2000005723A2 (en) Integrated circuit comprising a self-test device for executing a self-test of the integrated circuit
DE3535577A1 (en) ELECTRONIC DATA TRANSFER STATION
DE10225381A1 (en) Method and device for storing memory test information
DE3720427A1 (en) PORTABLE ELECTRONIC DEVICE
EP0500973B1 (en) EEPROM and method for altering a bootstrap routine in the EEPROM
DE4100151C2 (en)
DE102009033961A1 (en) Emulation of a once programmable memory
EP1113362A2 (en) Integrated semiconductor memory with a memory unit for storing addresses of faulty memory cells
DE69835282T2 (en) Circuit arrangement for voltage monitoring and memory card with such a circuit
DE3732614A1 (en) PROCESSING SYSTEM FOR PORTABLE ELECTRONIC DEVICE
DE3210616A1 (en) COMPUTER
DE3745144C2 (en) Integrated circuit card with functional test system

Legal Events

Date Code Title Description
Q369 Divided out of:

Ref document number: 3743639

Country of ref document: DE

8110 Request for examination paragraph 44
AC Divided out of

Ref country code: DE

Ref document number: 3743639

Format of ref document f/p: P

D2 Grant after examination
8363 Opposition against the patent