摘要:
It is aimed at improving the efficiency of data transfer processing and the concurrent data processing on a central processing unit. A data transfer device can independently request a bus access right and output an address to a first bus (IBUS) and a second bus (PBUS). It is possible to solve the state of competing for the bus access right between both buses. While the bus access right of one bus is granted for reading or writing, the bus access right of the other bus can be released. When the data transfer device releases the bus access right for the first bus, a central processing unit can process data. In response to one data transfer start request, the bus access right is requested for one bus and the other bus, There is not used a sequence of requesting the bus access right in response to different data transfer requests for respective buses. It is possible to simplify a handshake sequence of a data transfer request and its acknowledgment.
摘要:
Error recovery processing is performed to minimize the influence of malfunction when an error is detected. When an error occurs in a normal program execution state, control branches to a predetermined error handling routine shown by exceptional handling vectors or the like. While executing the instruction that writes zero to a timer counter in an interval not extending an overflow cycle, the error handling routine of a CPU performs processing for inhibiting a fatal operation in accordance with a control target system. An example of inhibiting a fatal operation is to deactivate output signals of a microcomputer. Upon completion of the error handling, the monitoring timer is stopped, and the processing of the CPU is changed to the normal reset processing routine.
摘要:
A microcomputer is provided with a data-transfer unit such as a DMA (direct memory access) controller for controlling a transfer of data through an external bus. Used in an access to an external device controlled by the data-transfer unit, a bus-interface means of the microcomputer includes a buffer-register means which can be specified as either a source location or a destination location of a data transfer. Thus, an internal-bus master such as a CPU employed in the microcomputer is capable of reading out information such as a packet command from the buffer-register means at a high speed through an internal bus without using the external bus and, hence, capable of carrying out an operation reflecting a transfer control condition specified by the packet command.
摘要:
An object of the present invention is to achieve fast data processing. A unit (FF) is included for selecting whether a central processing unit (CPU) performs instruction reading in units of 16 bits (a first word length) or in units of 32 bits (a second word length). Depending on whether instruction reading is performed in units of 16 bits or 32 bits, increment values (+2 and +4) by which a program counter (PC) is incremented are switched. Data reading or writing is performed in units of a given data length irrespective of the selecting unit. When the CPU issues a request for instruction reading in units of 16 bits or 32 bits or for data reading or writing, a bus control unit performs reading or writing a predetermined number of times according to a bus width designated for a resource located at an address specified in the request. The bus control unit causes the CPU to wait until an instruction of 16 or 32 bits long (read data) requested by the CPU gets ready.
摘要:
The present invention realizes improvement in security in the case where a nonvolatile memory device which can be read/written by random access is mounted as a memory for storing both of a program and data. In a microcomputer including: a CPU enabling a computing process based on a preset program; and a nonvolatile memory device which can be read/written by random access of the CPU, the nonvolatile memory device includes, in a part of its memory area, an area in which nonvolatile holding is invalid. By using the area as an area for storing secret data to be held, the secret data to be held is prevented from being nonvolatile-held in the nonvolatile memory device. Thus, improvement in security is achieved.
摘要:
In a semiconductor integrated circuit device having an A/D converter incorporated therein, a plurality of input channels are provided and input analog signals supplied therefrom are respectively held by a plurality of sample-to-hold circuits. The analog signals are simultaneously sampled by using such a pipeline operation that a first sampling is performed so that an analog signal held by the first sampling is A/D-converted and a second sampling is performed so that an analog signal held by the second sampling is A/D-converted, and the plurality of sample-to-hold circuits.
摘要:
A semiconductor device is provided for implementing a single-chip microcomputer or the like, which micro-computer is compatible with a plurality of programmable ROM writing schemes. The device enhances the functionality and system flexibility of the single-chip microcomputer or the like while reducing development period and design and evaluation steps of a system incorporating the above-mentioned microcomputer. The single-chip microcomputer incorporates a programmable ROM (PROM), having a PROM mode for writing the programmable ROM by using a general-purpose ROM writer. The unit is provided with a write control signal for selectively specifying a writing scheme in the PROM mode to selectively switch between numbers and/or combinations of address signal and/or activation control signals to be supplied to the programmable ROM.
摘要:
A volatile storage circuit for latching data is disposed outside a non-volatile memory array. Before a bulk erase of the memory array, some of the data items contained therein are transferred to and held by the storage circuit. The data items thus saved are rewritten to the non-volatile memory array after the bulk erase, or alternatively, on the basis of control data items transferred to the storage circuit, only regions designated by these data items are subjected to the bulk erase. Thus, in case of a bulk erase of an EEPROM, some of the stored data items can be preserved, so as to prevent illicit use of and maintain the integrity of the preserved data. Also the testing time of the data rewritten to the memory array is reduced because of the elimination of the need to test the memory area containing the preserved data in that only the integrity of the memory area containing data sourced externally need be tested.
摘要:
It is aimed at improving the efficiency of data transfer processing and the concurrent data processing on a central processing unit. A data transfer device can independently request a bus access right and output an address to a first bus (IBUS) and a second bus (PBUS). It is possible to solve the state of competing for the bus access right between both buses. While the bus access right of one bus is granted for reading or writing, the bus access right of the other bus can be released. When the data transfer device releases the bus access right for the first bus, a central processing unit can process data. In response to one data transfer start request, the bus access right is requested for one bus and the other bus, There is not used a sequence of requesting the bus access right in response to different data transfer requests for respective buses. It is possible to simplify a handshake sequence of a data transfer request and its acknowledgment.
摘要:
A single chip type microcomputer includes at least a central processing unit (CPU), a random-access memory (RAM), a mask read-only memory (CPU) and an electrically writable ROM such as an electrically erasable and programmable read-only memory (EEPROM). The electrically writable ROM stores both the user program and data to be preserved. The microcomputer includes further a memory for storing a write control program for controlling the write operation to the writable ROM, and the electrically writable ROM and the memory are disposed at mutually different address positions on the address space of CPU. The proportion of size of the user program region and the data region in the writable ROM can be selected in a free proportion.