Data processing device, microcontroller, and self-diagnosis method of data processing device
AssigneeRenesas Electronics Corporation
InventorAkira HOSOTANI
Life of this patent
Estimating the term…
Abstract
A data processing device according to the present invention includes a memory, an arithmetic circuit that accesses the memory by outputting an access control signal CTRL that controls access to the memory, a first data storage unit that stores first data used when a self-diagnosis is performed, a read-modify-write circuit that generates second data by replacing a part of the first data stored in the first data storage unit with modify data outputted from the arithmetic circuit, and a determination unit that diagnoses a failure of the read-modify-write circuit by comparing the second data with an expected value.
Claims17
A test method for a data processing device including a read-modify-write function, the test method comprising the steps of:
- (a) performing the read-modify-write function for first data by the data processing device to generate second data;
- and
- (b) comparing the second data with expected data by the data processing unit,
- wherein the data processing device invalidates other data processing during a period between the steps (a) and (b).
A test method for a data processing device including a read-modify-write function, the test method comprising the steps of:
- (a) writing self-diagnosis data by the data processing device;
- (b) performing self-diagnosis of the read-modify-function using the self-diagnosis data by the data processing device;
- and
- (c) reading self-diagnosis output data by the data processing device,
- wherein the data processing device invalidates other data processing at one of the steps (a), (b) and (c).
A microcontroller comprising:
- a first data processing unit;
- a second data processing unit;
- a memory;
- and
- a read-modify-write unit,
- wherein when the first data processing unit executes a self-diagnosis of the read-modify-write unit, an access from the second data processing unit to the memory is invalidated.
Dependencies are inferred from the claim text.