Portable electronic device having versatile program storage.
10 claims: 10 independent, 0 dependent
- 1A portable electronic device, which has an on-line mode in which the device in use is connected to an external apparatus and has an off-line mode in which the device is solely used, comprising:a data processing unit (28) having a function of basic processing for the device and a function of user application processing;nonrewritable first memory means (31c) for storing a program for executing the basic processing;and rewritable second memory means (31a, 31b) for storing a program for executing a user application processing;characterized by control means (40) for permitting said data processing unit to enable read/write access to the second memory means in the on-line mode, and to disable read/write access to said second memory means in the off-line mode, said control means (40) including: comparison means (51, 52) for comparing a start address of the user application processing program, stored in said second memory means, and an address output from said data processing unit, and for, when a coincidence between the two addresses is detected, outputting a coincidence signal;and circuit means (53, 54, 59, 60) for, when the coincidence signal is output and said IC card is powered by a built-in battery (25), disabling said data processing unit from accessing said second memory means, and for, when the coincidence signal is not output or said IC card is powered by said external apparatus, enabling said data processing unit to access said second memory means. Dispositif électronique portatif, qui a un mode en ligne, dans lequel le dispositif utilisé est connecté à un appareil extérieur, et a un mode hors ligne, dans lequel le dispositif est utilisé seul, comprenant: - une unité de traitement de données (28) ayant une fonction de traitement de base pour le dispositif et une fonction de traitement d'une application de l'utilisateur;- des premiers moyens formant mémoire non réinscriptible (31c) pour mémoriser un programme pour exécuter le traitement de base;et- des deuxièmes moyens formant mémoire réinscriptible (31a, 31b) pour mémoriser un programme pour un traitement d'une application de l'utilisateur, caractérisé par des moyens de commande (40) pour permettre à ladite unité de traitement de données de valider l'accès en lecture/écriture aux deuxièmes moyens formant mémoire dans le mode en ligne, et d'invalider l'accès en lecture/écriture auxdits deuxième moyens formant mémoire dans le mode hors ligne, lesdits moyens de commande (40) comprenant: - des moyens de comparaison (51, 52) pour comparer une adresse de début du programme de traitement d'une application de l'utilisateur mémorisé dans lesdits deuxièmes moyens formant mémoire à une adresse issue de ladite unité de traitement de données et pour, lorsqu'une coïncidence entre les deux adresses est détectée, fournir un signal de coïncidence;et- des moyens formant circuits (53, 54, 59, 60) pour, lorsque le signal de coïncidence est fourni et que ladite carte à circuit intégré est alimentée par une pile incorporée (25), empêcher ladite unité de traitement de données d'accéder auxdits deuxièmes moyens formant mémoire et pour, lorsque le signal de coïncidence n'est pas fourni ou que ladite carte à circuit intégré est alimentée par ledit appareil extérieur, permettre à ladite unité de traitement de données d'accéder auxdits deuxièmes moyens formant mémoire. Tragbare elektronische Vorrichtung, die einen On-line Modus besitzt, in dem die Vorrichtung im Gebrauch mit einem externen Apparat verbunden ist und die einen Offline Modus besitzt, in dem die Vorrichtung alleine benutzt wird, enthaltend: eine Datenverarbeitungseinheit (28), die eine Funktion einer Grundverarbeitung für die Vorrichtung und eine Funktion einer Benutzeranwendungsverarbeitung aufweist;einen nicht wiederbeschreibbaren ersten Speicher (31c) zum Speichern eines Programms zur Ausführung der Grundverarbeitungen;und einen wiederbeschreibbaren zweiten Speicher (31a, 31b) zum Speichern eines Programms zur Ausführung einer Benutzeranwendungsverarbeitung, gekennzeichnet durch eine Steuereinrichtung (40), die es der erwähnten Datenverarbeitungseinheit erlaubt, den Lese/Schreibzugriff auf den zweiten Speicher im On-line Modus frei zu geben, und den Lese/Schreibzugriff auf diesen zweiten Speicher im Off-line Modus zu sperren, wobei die Steuereinrichtung (40) umfaßt: eine Vergleichseinrichtung (51, 52), um eine Startadresse des Benutzeranwendungsverarbeitungsprogramms, das im zweiten Speicher gespeichert ist, mit einer aus der Datenverarbeitungseinheit ausgegebenen Adresse zu vergleichen und, falls eine Übereinstimmung zwischen den beiden Adressen festgestellt wird, ein Übereinstimmungssignal auszugeben;und eine Schaltungseinrichtung (52, 54, 59, 60) um, wenn das Übereinstimmungssignal ausgegeben und die IC-Karte durch eine eingebaute Batterie (25) mit Strom beliefert wird, den Zugriff der Datenverarbeitungseinheit auf den zweiten Speicher zu sperren und, wenn das Übereinstimmungssignal nicht ausgegeben wird oder die IC-Karte durch den externen Apparat mit Strom versorgt wird, den Zugriff der Datenverarbeitungseinheit auf den zweiten Speicher frei zu geben.
- 2A device according to claim 1, characterized in that said second memory means includes an electrically-erasable programmable ROM. Dispositif selon la revendication 1, caractérisé en ce que lesdits deuxièmes moyens formant mémoire comprennent une mémoire morte programmable effaçable électriquement (EEPROM). Vorrichtung nach Anspruch 1, dadurch gekennzeichnet, daß der zweite Speicher einen elektrisch löschbaren, programmierbaren ROM enthält.
- 3A device according to claim 2, characterized in that said electrically-erasable programmable ROM stores the program for the user application processing and a user's identification number. Dispositif selon la revendication 2, caractérisé en ce que ladite mémoire morte programmable effaçable électriquement mémorise le programme pour le traitement d'une application de l'utilisateur et un numéro d'identification de l'utilisateur. Vorrichtung nach Anspruch 2, dadurch gekennzeichnet, daß der elektrisch löschbare, programmierbare ROM das Programm für die Benutzeranwendungsverarbeitung und eine Benutzeridentifikationsnummer speichert.
- 4A device according to claim 1, 2 or 3 characterized in that said first memory means includes a ROM. Dispositif selon la revendication 1, 2 ou 3, caractérisé en ce que lesdits premiers moyens formant mémoire comprennent une mémoire morte (ROM). Vorrichtung nach Anspruch 1, 2 oder 3, dadurch gekennzeichnet, daß der erste Speicher einen ROM enthält.
- 5A device according to claim 4, characterized in that said ROM stores the program for executing the basic processing and data used when the program is executed. Dispositif selon la revendication 4, caractérisé en ce que ladite mémoire morte mémorise le programme pour exécuter le traitement de base et des données utilisées lorsque le programme est exécuté. Vorrichtung nach Anspruch 4, dadurch gekennzeichnet, daß der ROM das Programm zur Ausführung der Grundverarbeitung und die benutzten Daten speichert, wenn das Programm ausgeführt wird.
- 7A device according to claim 6, characterized in that the function of said basic processing includes a credit transaction function. Dispositif selon la revendication 6, caractérisé en ce que la fonction dudit traitement de base comporte une fonction de transaction à crédit. Vorrichtung nach Anspruch 6, dadurch gekennzeichnet daß die Funktion der Grundverarbeitung eine Kredittransaktionsfunktion umfaßt.
- 8A device according to claim 6, characterized in that the function of said basic processing includes a calendar function. Dispositif selon la revendication 6, caractérisé en ce que la fonction dudit traitement de base comporte une fonction de calendrier. Vorrichtung nach Anspruch 6, dadurch gekennzeichnet, daß die Funktion der Grundverarbeitung eine Kalendertunktion umfaßt.
- 9A device according to claim 8, further comprising:a calendar circuit (33) including a user timepiece which can be desirably set by a user, and a timepiece which can be set by an issuer of said IC card but cannot be optionally set by the user. Dispositif selon la revendication 8, comprenant en outre: - un circuit de calendrier (33) comprenant une pendule d'utilisateur qui peut être réglée à volonté par l'utilisateur et une pendule qui peut être réglée par un émetteur de ladite carte à circuit intégré, mais ne peut pas être réglée optionnellement par l'utilisateur. Vorrichtung nach Anspruch 8, gekennzeichnet durch eine Kalenderschaltung (33), die eine Benutzeruhr beinhaltet, die vom Anwender auf den gewünschten Wert eingestellt werden kann, und eine Uhr, die durch den Hersteller der IC-Karte eingestellt werden kann, nicht aber fakultativ vom Benutzer.
- 10A device of any of claims 1 to 9, characterized in that it is incorporated in an IC card powered by said external apparatus in the on-line mode, and is powered by said built-in battery in the off-line mode. Dispositif selon l'une quelconque des revendications 1 à 9, caractérisé en ce qu'il est incorporé à une carte à circuit intégré alimentée par ledit appareil extérieur dans le mode en ligne, et alimentée par ladite pile dans le mode hors ligne. Vorrichtung nach einem der Ansprüche 1 bis 9, dadurch gekennzeichnet, daß sie in eine IC-Karte eingebaut ist, die im On-line Modus von dem externen Apparat mit Strom versorgt wird, und die im Off-line Modus durch die eingebaute Batterie mit Strom versorgt wird.
Independent claims10
65 paragraphs, as filed
The present invention relates to a multifunctional portable electronic device such as an IC card, which incorporates, e.g., a CPU, a data memory, a built-in battery, and the like, and is solely used to provide an electronic calculator function, a time display function, and the like, and is inserted in a terminal in use.
Conventionally, multifunctional IC cards have been developed. An IC card of this type incorporates a CPU (control element), a data memory, and the like as well as a keyboard, a display unit, and the like, and is solely used to provide an electronic calculator function, a time display function, or the like, or is inserted in a terminal in use. The CPU, the data memory, and the like are incorporated as an LSI.
In an IC card of this type, a program is examined according to specifications presented by a customer, and thereafter, programming, debugging, tests, and the like are performed. Then, the manufacture of a new LSI is started from design of a mask. In this case, basic functions are stored in a program memory comprising a mask ROM.
For this reason, every time specifications are changed or a new function is added, an LSI must be manufactured, resulting in high cost of the LSI, i.e., an IC card. In addition, a development period (mainly for a program) is undesirably prolonged.
DE-A-38 11 831 discloses a portable electronic device according to the preamble of claim 1. The known portable electronic device can be used in connection with an external apparatus (on-line mode) or without an external apparatus (off-line mode).
FR-A-2 591 008 discloses a portable electronic device, which is cooperating with an external terminal and, thus, is operable in an on-line mode. The system comprises an EEPROM and an EPROM. Data input from the external device are stored either in the EEPROM or in the EPROM depending on additional data added to the data to be stored.
It is an object of the present invention to provide a portable electronic device which can prevent an increase in cost, and can shorten a development period.
A portable electronic device of the present invention comprises the features mentioned in claim 1. Access to the second memory means is enabled in the on-line mode but is disabled in the off-line mode.
This invention can be more fully understood from the following detailed description when taken in conjunction with the accompanying drawings, in which:
Figs. 1 to 5 are views for explaining an embodiment of the present invention, in which: <ul id="ul0001" list-style="none"><li>Fig. 1 is a schematic block diagram showing an arrangement of an electrical circuit of an IC card;</li><li>Fig. 2 is a plan view showing an arrangement of the IC card;</li><li>Fig. 3 is a perspective view showing a terminal for the IC card;</li><li>Fig. 4 shows a memory map of a data memory; and</li><li>Fig. 5 is a circuit diagram showing an arrangement of a memory controller.</li></ul>
An embodiment of the present invention will be described below with reference to the accompanying drawings.
In Fig. 2, reference numeral 10 denotes an IC card as a portable electronic device, which is a multifunctional IC card having various functions (applications). For example, IC card 10 has an on-line function (on-line mode) used with a terminal (not shown), an off-line function (off-line mode) in which IC card 10 is solely operated, and a standby state wherein only a timepiece function is enabled.
The off-line function includes an electronic calculator mode in which the card can be used as an electronic calculator, a clock mode for displaying a time of a timepiece for a user, an electronic note (memorandum) mode in which addresses, names, telephone numbers, and the like are registered or read out, and a purchase mode in which IC card 10 is utilized as a plurality of kinds of credit cards. Thus, IC card 10 can be solely used in the mode of this function.
In the purchase mode, IC card 10 stores a balance, a valid date, purchase records, and the like. Upon every purchase, a purchase amount is subtracted from the balance stored in IC card 10 and purchase information is recorded. When the balance in IC card 10 becomes zero or the valid date expires, a secret code is issued from a contract bank, thus updating the contents of the IC card.
Contacts portion 11 arranged at a position designated by the standards of a card, keyboard 12 including 20 keys, and display unit 13 arranged on a surface portion above keyboard 12 and formed of a liquid crystal element are arranged on the surface of IC card 10.
Contacts portion 11 includes a plurality of terminals 11a to 11f, i.e., an operation power supply voltage (Vcc, +5 V) terminal, an EEPROM write power supply voltage terminal (Vpp, +12 V to +24 V), a ground terminal, a clock signal terminal, a reset signal terminal, and data I/O terminals.
Keyboard 12 includes selection keys (M1, M2, M3, and M4) 12a for selecting processing operations corresponding to kinds of card, i.e., various credit cards, cash cards, and the like, ten-key pad 12b, four-arithmetic rule keys, that is, addition (+) key 12c, subtraction (-) key 12d, division (÷) key 12e, multiplication (×) key 12f, decimal point (.) key 12g, and equal (=) key 12h.
Addition key 12c is used as a NEXT key, i.e., a mode selection key for selecting a mode during a display of a date and time in the off-line mode. Subtraction key 12d is used as a BACK key, i.e., a key for returning a display state of display unit 13 to a previous state. Multiplication key 12f is used as a start key. Decimal point key 12g is used as a NO key or an end key. Equal key 12h is used as a YES key or a power-on key.
When equal key 12h is depressed as the power-on key, a CPU (to be described later) is released from a HALT state, and causes display unit 13 to display time and date as an operation start message.
In this state, when keys of ten-key pad 12b are depressed, IC card 10 is set in the electronic calculator mode, and four arithmetic operations can be performed.
Addition key 12c as the mode selection key is used as a key for advancing the display state of display unit 13 which is displaying date and time to another mode. Every time addition key 12c is depressed, the electronic memorandum, time set, date set, purchase transaction modes, and the like are displayed on display unit 13 as a menu. When these modes are executed, equal key 12h is depressed as the YES key. Thus, the selected mode can be executed.
Display unit 13 is a 16-digit display, each digit of which has a 5 × 7 dot matrix.
Fig. 3 shows an outer appearance of IC card reader/writer 16 connected to a terminal dealing with IC card 10 (e.g., a personal computer). More specifically, reader/writer 16 is electrically connected to contacts portion 11 of IC card 10 inserted from card slot 17, and reads or writes data from or in a memory of IC card 10.
IC card reader/writer 16 is connected to a main body of personal computer PC through a cable.
An electrical circuit of IC card 10 is arranged, as shown in Fig. 1. This circuit adopts a low-power consumption design using the CMOS techniques. The electrical circuit comprises contacts portion 11, communication circuit 21, reset circuit 22, power supply regulator 23, internal battery (built-in battery) 25 of, e.g., 3 V, battery checker 24 for checking if a voltage value of built-in battery 25 is equal to or higher than a rated value, clock controller 26, oscillator 27, as an arithmetic clock quartz oscillator, for outputting a signal at an oscillation frequency of 200 kHz (high-speed clock), control CPU (central processing unit) 28, mask ROM 29 for storing a basic program and data necessary for it, work memory 30, data memory 31, comprising an EEPROM, for storing an ID number, data, and the like, and a user program and the basic program, memory controller 40 for controlling mask ROM 29 and data memory 31, timer 32 used for measuring time during a processing operation, calender circuit 33, oscillator 34, as a fundamental clock quartz oscillator, for outputting a signal at an oscillation frequency of 32.768 kHz (low-speed clock), display controller 35, display driver 36 for driving display unit 13, and keyboard interface 38 as a key input circuit for keyboard 12.
Communication circuit 21, CPU 28, ROM 29, memory controller 40, work memory 30, data memory 31, timer 32, calender circuit 33, display controller 35, and keyboard interface 38 are connected to each other through data bus 20.
In a reception mode, communication circuit 21 converts serial I/O signals supplied from IC card reader/writer 16 through contacts portion 11 into parallel data, and outputs it onto data bus 20. In a transmission mode, circuit 21 converts parallel data supplied from data bus 20 into serial I/O signals, and outputs them to IC card reader/writer 16 through contacts portion 11. In this case, the format content of conversion is determined by the terminal and IC card 10.
Reset circuit 22 generates a reset signal to start CPU 28 when the on-line mode is set.
Power supply regulator 23 switches a drive mode from one by built-in battery 25 to the other by an external power supply after the lapse of a predetermined period of time from the beginning of the on-line mode. When the off-line mode is set, i.e., an external voltage is decreased, regulator 23 switches the drive mode from one by the external power supply to the other by built-in battery 25.
Clock controller 26 appropriately switches the low- and high-speed clocks in the off-line mode in which a card operation is performed by built-in battery 25. For the purpose of power saving, after execution of a HALT command, controller 26 stops oscillator 27 which outputs a signal of an oscillation frequency of 200 kHz (high-speed clock), thereby stopping supply of a clock to CPU 28. Then, controller 26 waits in a perfect HALT state. Clock controller 26 basically selects a time-piece clock upon execution of the HALT command.
The basic program stored in mask ROM 29 includes a credit function, a drive program for I/O control, a calender function, and various other subroutine functions.
Data memory 31 consists of memory area 31a for storing a user application program, memory area 31b for storing user data, and memory area 31c for basic program data, which serves as a preservation data area for storing the basic program, as shown in Fig. 4.
The basic program stored in mask ROM 29 is loaded before the manufacture of an LSI. The user application program stored in data memory 31 is loaded from the terminal as part of card issuance processing at an issuer upon completion of the manufacture of a card.
Memory controller 40 monitors operations of mask ROM 29 and data memory 31 and controls data read/write access so as to prevent basic data from being destroyed by bugs in software or noise or an illegal program from entering a user area (to prevent the basic program from being illegally modified). When the basic program is illegally modified, if card 10 is, for example, a cash card, the balance of the bank account of the card is not decreased although a user makes a purchase using this card.
In the on-line mode in which external power supply voltage Vcc is supplied, memory controller 40 enables data read/write access to user data memory area 31b. In the off-line mode in which external power supply voltage Vcc is not supplied, controller 40 disables data read/write access to user data memory area 31b.
Calender circuit 33 has a timepiece which can be desirably set and updated by a card holder, and a transaction timepiece in which a world standard time is set upon issuance of the card and cannot be changed.
Display controller 35 converts display data supplied from CPU 28 into a character pattern using a character generator (not shown) comprising an internal ROM, and displays the character pattern on display unit 13 using display driver 36.
Keyboard interface 38 converts an input operation at keyboard 12 into a corresponding key input signal, and outputs it to CPU 28.
Memory controller 40 is arranged, as shown in Fig. 5. More specifically, controller 40 includes user area address memory 51 for storing several upper bits of a start address of user application program memory area 31a as data e51 indicating memory area 31a of data memory 31. Data e51 from user area address memory 51 is output to address comparator 52.
Address comparator 52 compares data e51 supplied from user area address memory 51 and several upper bits (upper 4 bits of 8-bit data) of access address e20 supplied from CPU 28 through data bus 20. When a coincidence between the two addresses is detected, comparator 52 outputs a "1" signal as coincidence signal e52; otherwise, it outputs a "0" signal as a noncoincidence signal.
The signal from address comparator 52 is supplied to one input terminal of NAND gate 53. The other input terminal of NAND gate 53 receives external power supply voltage Vcc from contacts portion 11 through inverter 54.
The output from NAND gate 53 is supplied to select terminal S of data selector 55. Chip select terminal of data selector 55 receives a read signal from CPU 28 through data bus 20, and data input terminal A receives read data from data memory 31, which is stored in read buffer 56. Data input terminal B of selector 55 receives a software interruption instruction code stored in software interruption instruction code register 57.
Output Y of data selector 55 is output to CPU 28 through data bus 20. The read signal supplied from CPU 28 through data bus 20 is directly output to data memory 31. Read buffer 56 stores read data supplied from data memory 31.
Software interruption instruction code register 57 stores a software interruption vector address "00" (start address of a software interruption instruction of mask ROM 29) for causing a software interruption to CPU 28. The software interruption instruction is part of the basic program, and is a program for invalidating (resetting) the presently executed program. This instruction is stored in mask ROM 29.
A write signal supplied from CPU 28 through data bus 20 is supplied to chip select terminal CS of write buffer 58, and is also supplied to one input terminal of NAND gate 60 through inverter 59. Write data supplied from CPU 28 through data bus 20 is supplied to the data input terminal of write buffer 58. The other input terminal of NAND gate 60 receives a signal from NAND gate 53, and the output from NAND gate 60 is output to data memory 31 as a write signal.
The operation of the above arrangement will be described below. Assume that a read address and a read signal are supplied from CPU 28 to memory controller 40 through data bus 20 in a read mode. More specifically, the read address is supplied to address comparator 52, and is also output to data memory 31. The read signal is supplied to chip select terminal CS of data selector 55, and is also output to data memory 31.
Address comparator 52 compares the read address with data from user area address memory 51. If comparator 52 determines that the read address falls within user application program memory area 31a, it outputs a "1" signal to NAND gate 53; otherwise, it outputs a "0" signal to NAND gate 53.
When external power supply voltage Vcc is supplied from IC card reader/writer 16 to memory controller 40 through contacts portion 11, a "0" signal is supplied to NAND gate 53 through inverter 54. When no external power supply voltage Vcc is supplied from IC card reader/writer 16 to memory controller 40 through contacts portion 11, a "1" signal is supplied to NAND gate 53 through inverter 54.
Therefore, when the read address is present in memory area 31a and no external power supply voltage Vcc is supplied (in the off-line mode), NAND gate 53 outputs a "0" signal as a read disable signal. When the read address falls outside memory area 31a or when the read address falls within memory area 31a and external power supply voltage Vcc is supplied (in the on-line mode), NAND gate 53 outputs a "1" signal as a read enable signal.
Thus, when the output from NAND gate 53 is the "1" signal, data selector 55 selects input terminal A; when it is the "0" signal, selector 55 selects input terminal B.
Data at an address of data memory 31 designated by the input read signal and the input read address is read out, and is output to read buffer 56. Thus, read data is stored in read buffer 56.
As a result, when input terminal A is selected, data selector 55 selects read data from data memory 31, which is stored in read buffer 56, and outputs it to CPU 28 through data bus 20. Upon reception of the read data, CPU 28 ends read processing.
When input terminal B is selected, data selector 55 selects the software interruption instruction code "00" stored in software interruption instruction code register 57, and outputs it to CPU 28 through data bus 20.
Upon reception of the software interruption instruction code "00", CPU 28 reads out a software interruption instruction program from mask ROM 29, and executes processing according to the readout program, i.e., processing for resetting the presently executed program.
In a write mode, CPU 28 supplies a write address, a write signal, and write data to memory controller 40 through data bus 20. The write address is supplied to address comparator 52, and is also output to data memory 31. The write signal is supplied to chip select terminal CS of write buffer 58, and is also output to NAND gate 60 through inverter 59.
Address comparator 52 compares the input write address and data supplied from user area address memory 51. When the comparison result indicates that the write address falls within user application program memory area 31a, comparator 52 outputs a "1" signal to NAND gate 53; otherwise, it outputs a "0" signal to NAND gate 53.
When external power supply voltage Vcc is supplied from IC card reader/writer 16 to memory controller 40 through contacts portion 11, a "0" signal is supplied to NAND gate 53 through inverter 54. When no external power supply voltage Vcc is supplied from IC card reader/writer 16 to memory controller 40 through contacts portion 11, a "1" signal is supplied to NAND gate 53 through inverter 54.
Therefore, when the write address falls within memory area 31a (output from comparator 52 = "1") and no external power supply voltage Vcc is supplied (in the off-line mode; output from inverter 54 = "1"), NAND gate 53 outputs a "0" signal as a write disable signal. Otherwise, that is, when the write address falls outside memory area 31a (output from comparator 52 = "0") or when the write address falls within memory area 31a and external power supply voltage Vcc is supplied (in the on-line mode; output from inverter 54 = "0"), NAND gate 53 outputs a "1" signal as a write enable signal.
When the output from NAND gate 53 is the "1" signal, NAND gate 60 is kept enabled; when it is the "0" signal, NAND gate 60 is disabled.
As a result, when NAND gate 60 is enabled and the write signal from CPU 28 is supplied to data memory 31, data memory 31 stores write data supplied from write buffer 58 at the input write address. When NAND gate 60 is kept disabled and no write signal from CPU 28 is output, data memory 31 does not perform a storage operation of write data.
As described above, a user program is loaded in the rewritable data memory. In the read mode, when a read address corresponds to the user program in data memory 31 and no external power supply voltage is supplied, i.e., in the off-line mode, data read access to the data memory is disabled. When the external power supply voltage is supplied, i.e., in the on-line mode, data read access to the data memory is enabled. In the write mode, when a write address corresponds to the user program and no external power supply voltage is supplied, i.e., in the off-line mode, data write access to the data memory is disabled. When the external power supply voltage is supplied, i.e., in the on-line mode, data write access to the data memory is enabled.
Thus, there can be provided a highly reliable card which can prevent basic data from being destroyed and illegal software from entering by monitoring a user program operation without preparing a new LSI every time specifications are modified.
In the above embodiment, when an external power supply voltage Vcc is supplied, i.e., in the on-line mode, read/write access of the user program is enabled. However, the present invention is not limited to this. For example, when an internal power supply voltage is supplied, i.e., in the off-line mode, read/write access of the user program may be enabled.
In the above embodiment, an IC card is used. However, the present invention is not limited to this. The present invention can be applied to various other portable electronic devices as long as they have a data memory and a control element, and can selectively perform I/Os from an external device. The electronic device need not always have a card-like shape but may have other shapes such as a rod-like shape. The battery shown in Fig. 1 may be a solar cell.
As described above, according to the present invention, a portable electronic device which can prevent an increase in cost and can shorten a development period can be provided.
4 sheets
Sheet 1 Sheet 2 Sheet 3 Sheet 4
Every citation, both ways
| Document | Relation | Office | Cited during |
|---|---|---|---|
| US10187904B2 | Cited by | United States of America | Applicant |
5 priority claims, no other members on record
Priority claims5
| Document | Office | Kind | Date |
|---|---|---|---|
| 14899489 | Japan | – | |
| 14899489 | Japan | A | |
| 14899489 | Japan | A | |
| 14899489 | – | – | – |
| JP19890148994 | – | – | – |
18 legal events, as 2 offices reported them to INPADOC
Over the term
Point at a mark for the eventEvents
| Event | Code | Office | |
|---|---|---|---|
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Notification of lapseLapsedST | ST | FR | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Annual fee paid to national office [announced via postgrant information from national office to epo]GrantedPGFP | PGFP | EP | |
| Annual fee paid to national office [announced via postgrant information from national office to epo]GrantedPGFP | PGFP | EP | |
| No opposition filedOpposition26N | 26N | EP | |
| No opposition filed within time limitOppositionORIGINAL CODE: 0009261PLBE | PLBE | EP | |
| Information on the status of an ep patent application or granted ep patentGrantedSTATUS: NO OPPOSITION FILED WITHIN TIME LIMITSTAA | STAA | EP | |
| Fr: translation filedET | ET | EP | |
| Corresponds to:REF | REF | EP | |
| Designated contracting statesAK | AK | EP | |
| (expected) grantORIGINAL CODE: 0009210GRAA | GRAA | EP | |
| First examination report despatched17Q | 17Q | EP | |
| Designated contracting statesAK | AK | EP | |
| Search report despatchedORIGINAL CODE: 0009013PUAL | PUAL | EP | |
| Request for examination filed17P | 17P | EP | |
| Designated contracting statesAK | AK | EP | |
| Public reference made under article 153(3) epc to a published international application that has entered the european phaseORIGINAL CODE: 0009012PUAI | PUAI | EP |
Numbers
- Publication
- 0402759
- Publication, DOCDB
- 0402759
- Publication, EPODOC
- EP0402759
- Application
- 90110739
- Application, DOCDB
- 90110739
- Application, EPODOC
- EP19900110739
Titles3
- German
- Tragbare elektronische Vorrichtung mit vielseitigem Programmspeicher
- English
- Portable electronic device having versatile program storage
- French
- Dispositif portatif électronique avec stockage de programme flexible
Classification
- CPC, 4
- G07F7/1008
- G06Q20/341
- G06Q20/3415
- G06Q20/3576
- IPC, 8
- G06F15 02
- G06F12 14
- G06F15 00
- G06F21 62
- G06F21 79
- G06K19 073
- G07F7 08
- G07F7 10
Designated states2
- Contracting states, 2
- Germany
- France
