Claims
- 1. A one-chip microcomputer comprising:
- a bus;
- a microprocessor coupled to said bus;
- a random access memory which is coupled to said bus and which is coupled to said microprocessor via said bus so that said random access memory is accessed by said microprocessor, wherein said random access memory has a first predetermined address space defining a range of addresses assigned to the random access memory;
- an electrically programmable read only memory which has address input terminals and data input/output terminals coupled to said bus and which is accessed by either said microprocessor or from outside of said one-chip microcomputer, wherein said electrically programmable read only memory has a second predetermined address space defining a range of addresses assigned to the electrically programmable read only memory;
- a first external terminal coupled to said bus for transmitting an address signal from the outside of said one-chip microcomputer to said bus when said electrically programmable read only memory is accessed from the outside of said one-chip microcomputer;
- a second external terminal which is coupled to said bus via input/output means and to which either data signals to be read from said electrically programmable read only memory or data signals to be fed to said electrically programmable read only memory are provided;
- discriminator means responsive to said address signal for discriminating whether or not said address signals is within the second predetermined address space of said electrically programmable read only memory; and
- means coupled to said input/output means and responsive to an output signal of said discriminator means for setting the data signals to be outputted to said second external terminal at a predetermined level indicating satisfactory operation of said electrically programmable read only memory if said address signal designates an address other than those within the second predetermined address space of said electrically programmable read only memory to prevent an improper indication of error in the electrically programmable read only memory.
- 2. A one-chip microcomputer according to claim 1, wherein said means for setting includes a control circuit responsive to the output signal of said discriminator means for providing a control signal to said input/output means so that said input/output means provides said data signal having the predetermined level to said second external terminal if said address signal designates an address other than those within the second predetermined address space of said electrically programmable read only memory.
- 3. A one-chip microcomputer according to claim 2, wherein said discriminator means includes a logic circuit which receives a part of said address signal and which provides said output signal if said address signals designates an address other than those within the second predetermined address space of said electrically programmable read only memory.
- 4. A one-chip microcomputer according to claim 1, wherein said electrically programmable read only memory is accessed from outside of the one-chip microcomputer to write data constituting a program into said electrically programmable read only memory from the outside of the one-chip microcomputer.
- 5. A microcomputer comprising:
- a bus;
- a microprocessor coupled to said bus;
- a random access memory coupled to said bus, said random access memory being accessed by said microprocessor and having a first predetermined address space defining a range of addresses assigned thereto;
- an electrically programmable read only memory having address input terminals and data output terminals each of which is coupled to said bus and being accessed by either said microprocessor or from outside of said microcomputer and having a second predetermined address space defining a range of addresses assigned thereto, wherein said electrically programmable read only memory is accessed from the outside of the microcomputer to write data into to the addresses within the second predetermined address space and to check the data written thereinto;
- a first external terminal coupled to said bus and for providing an address signal from the outside of said microcomputer to said bus when said electrically programmable read only memory is accessed from the outside of said microcomputer;
- a second external terminal for receiving either data signals to be written into said electrically programmable read only memory or data signals to be read out from said electrically programmable read only memory when said electrically programmable read only memory is accessed from the outside of said microcomputer;
- discriminator means responsive to said address signal and for discriminating whether or not an address signal designated by said address signal is within the second predetermined address space; and
- providing means responsive to an output of said discriminator means and for providing a data signal having a predetermined level to said second external terminal when the address designated by said address signal is not within the second predetermined address space and for providing the data signal to be read out from said electrically programmable read only memory to said second external terminal when the address designated by said address signals is within said second predetermined address space.
- 6. A microcomputer according to claim 5, wherein said providing means is coupled to said bus to receive data supplied from said electrically programmable read only memory.
- 7. A microcomputer according to claim 5, wherein said discriminator means includes a logic circuit coupled to said bus to receive a part of said address signal.
- 8. A microcomputer according to claim 5, wherein said providing means includes a data output buffer and a control circuit coupled in series between said second external terminal and said bus, wherein said control circuit has a first input coupled to said bus and a second input coupled to receive said output of said discriminator means, and wherein said control circuit is controlled by said output of said discriminator means so that said providing means provides said data signal having a predetermined level to said second external terminal regardless of data to be supplied to said first input thereof from said bus when said address signal designates an address not within said second predetermined address space.
- 9. A microcomputer according to claim 5, wherein said electrically programmable read only memory is accessed from the outside of said microcomputer by a data writing unit to be coupled to said first and second external terminals.
- 10. A one-chip microcomputer including a random access memory, an electrically programmable read only memory capable of programming data constituting a program thereto from outside of the one-chip microcomputer and a microprocessor coupled to said random access memory and to said electrically programmable read only memory via bus and for executing a predetermined data processing operation in accordance with the program stored in said electrically programmable read only memory, wherein said microprocessor is capable of accessing a predetermined address within an address space which includes a predetermined first address space defining a range of addresses assigned to said random access memory and a predetermined second address space defining a range of addresses assigned to said electrically programmable read only memory, and wherein said electrically programmable read only memory is accessed from the outside of the one-chip microcomputer to store and check the data, said one-chip microcomputer comprising:
- a first external terminals coupled to said bus and for providing an address signals from the outside of said microcomputer to said bus when said electrically programmable read only memory is accessed from the outside of said microcomputer;
- a second external terminal for receiving either data signals to be written into said electrically programmable read only memory or data signals to be read out from said electrically programmable read only memory when said electrically programmable read only memory is accessed from the outside of said microcomputer; and
- means responsive to said address signal for providing a data signal having a predetermined level indicating satisfactory operation of said electrically programmable read only memory to said second external terminal when said address signal designates an address not within the second predetermined address space.
- 11. A one-chip microcomputer according to claim 10, wherein said means for providing a data signal having a predetermined level comprises:
- discriminator means responsive to said address signal and for discriminating whether or not an address designated by said address signal is within the second predetermined address space; and
- providing means responsive to an output of said discriminator means and for providing said data signal having a predetermined level to said second external terminal when the address designated by said address signal is not within the second predetermined address space and for providing the data signal read out from said electrically programmable read only memory to said second external terminal when the address designated by said address signal is within said second predetermined address space.
- 12. A one-chip microcomputer according to claim 11, wherein said providing means is coupled to said bus to receive data signals supplied from said electrically programmable read only memory.
- 13. A one-chip microcomputer according to claim 11, wherein said discriminator means includes a logic circuit coupled to said bus to receive a part of said address signal.
- 14. A one-chip microcomputer according to claim 11, wherein said providing means includes a data output buffer and a control circuit coupled in series between said second external terminal and said bus, wherein said control circuit has a first input coupled to said bus and a second input coupled to receive said output of said discriminator means, and wherein said control circuit is controlled by said output of said discriminator means so that said providing means provides said data signal having a predetermined level to said second external terminal regardless of data to be supplied to said first input thereof from said bus when said address signal designates an address not within said second predetermined address space.
- 15. A one-chip microcomputer according to claim 10, wherein said electrically programmable read only memory is access from the outside of said microcomputer by a data writing unit to be coupled to said first and second external terminals.
Priority Claims (1)
Number |
Date |
Country |
Kind |
59-173329 |
Aug 1984 |
JPX |
|
Parent Case Info
This is a divisional of application Ser. No. 768,112, filed Aug. 21, 1985.
US Referenced Citations (14)
Foreign Referenced Citations (1)
Number |
Date |
Country |
0109504 |
May 1984 |
EPX |
Divisions (1)
|
Number |
Date |
Country |
Parent |
768112 |
Aug 1985 |
|