Claims
- 1. A peripheral device adapted to receive a plurality of types of portable recording media, wherein one of said plurality of types of portable recording media is a recording medium for storing user data and another one of said plurality of types of portable recording media is a recording medium bearing update data for automatically updating a program of the peripheral device, comprising:
- a first microprocessor;
- a first rewritable program memory connected to said first microprocessor for storing a program to be executed by said first microprocessor;
- a medium loader for loading a portable recording medium;
- means for reading data from said portable recording medium loaded in said medium loader;
- a data memory for storing data read from said portable recording medium loaded in said medium loader;
- a first bus connected to said first microprocessor, said first program memory, said data reading means, and said data memory, said first microprocessor controlling said medium loader via said first bus;
- a second microprocessor;
- a second program memory connected to said second microprocessor for storing a program to be executed by said second microprocessor; and
- a second bus connected to said second microprocessor, said second program memory, and said data memory,
- wherein:
- when said first microprocessor detects that said portable recording medium has been loaded in said medium loader, said first microprocessor judges whether said portable recording medium is a recording medium bearing update data for updating said program;
- if said portable recording medium is a recording medium bearing update data for updating said program, said first microprocessor reads the update data from said portable recording medium, stores the read update data in said data memory, and thereafter releases said first bus;
- said second microprocessor updates said program stored in said first program memory via said first and second buses, in accordance with said update data stored in said data memory, and thereafter terminates the release of said first bus.
- 2. A peripheral device according to claim 1, wherein an identification code for identifying that said portable recording medium is a recording medium bearing update data for updating said program is recorded in said portable recording medium, said first microcomputer reading said identification code and judging from the read identification code whether said portable recording medium is a recording medium bearing update data for updating said program.
- 3. A peripheral device according to claim 1, wherein a discriminator for indicating that said portable recording medium is a recording medium bearing update data for updating said program is formed on a housing of said portable recording medium, said first microcomputer detecting said discriminator and judging from the detected discriminator whether said portable recording medium is a recording medium bearing update data for updating said program.
- 4. A peripheral device according to claim 1, wherein if said first microprocessor judges that said portable recording medium is not a recording medium bearing update data for updating said program, said first microprocessor ejects said portable recording medium from said medium loader.
- 5. A peripheral device according to claim 1, wherein, if said portable recording medium is a recording medium bearing update data for updating said program, said first microprocessor reads a revision of a program to be updated from said portable recording medium, compares the read revision with a revision of said program stored in said program memory, and if both of said revisions coincide, reads said update data from said portable recording medium and stores the read update data in said data memory.
- 6. A peripheral device according to claim 5, wherein if both of said revisions do not coincide, said first microprocessor ejects said portable recording medium from said medium loader.
- 7. A peripheral device according to claim 1, wherein a plurality of data sets, each same as said update data, are stored in said portable recording medium, if said portable recording medium is a recording medium bearing update data for updating said program, said first microprocessor reading said plurality of data sets from said portable recording medium, comparing said plurality of data sets, and storing, if said plurality of data sets coincide, said update data in said data memory.
- 8. A peripheral device according to claim 7, wherein if said plurality of data sets do not coincide, said first microprocessor ejects said portable recording medium from said medium loader.
- 9. A peripheral device according to claim 1, wherein said second program memory is a rewritable memory, and said first processor updates said program stored in said second program memory via said first and second buses in accordance with said update data stored in said data memory.
Priority Claims (2)
Number |
Date |
Country |
Kind |
6-019501 |
Feb 1994 |
JPX |
|
5-002622 |
Jan 1995 |
JPX |
|
CROSS-REFERENCE TO RELATED APPLICATION
This is a Continuation-in-part of co-pending application Ser. No. 08/179,200 filed Jan. 10, 1994, pending; the subject matter of which is incorporated herein by reference.
US Referenced Citations (7)
Continuation in Parts (1)
|
Number |
Date |
Country |
Parent |
179200 |
Jan 1994 |
|