Microprocessor preventing erroneous writing to control register
AssigneeMitsubishi Denki Kabushiki Kaisha
InventorNobuharu Yoshioka
Life of this patent
Estimating the term…
Abstract
A transfer circuit transfers a write inhibit address stored in a ROM to an address register. An access preventing circuit inhibits writing to a control register by a CPU when an address outputted from the CPU coincides with a write inhibit address stored in the address register. Since the address register is a register to which data cannot be written by the CPU, a write inhibit address stored in the address register is not changed. Therefore, the write inhibition to the control register is not canceled, so that erroneous operation of the CPU can be prevented.
Claims15
A microprocessor comprising:
- a processor;
- a peripheral I/O having a control register;
- an address register storing an address of a control register to which writing is inhibited, and to which data cannot be written by said processor;
- and
- a write inhibiting circuit inhibiting writing to said control register by said processor when an address outputted from said processor coincides with the address stored in said address register.
A microprocessor comprising:
- a processor;
- a peripheral I/O having a control register;
- an address register storing an address of a control register to which writing is inhibited;
- a write inhibiting circuit inhibiting writing to said control register by said processor when an address outputted from said processor coincides with the address stored in said address register;
- a nonvolatile memory storing an address of a control register to which writing is inhibited;
- and
- a transfer circuit transferring the address stored in said nonvolatile memory to said address register.
A microprocessor comprising:
- a processor;
- a peripheral I/O having a control register;
- a first associative memory storing an address of a control register to which writing is inhibited, and to which data cannot be written by said processor;
- and
- a write inhibiting circuit inhibiting writing to said control register by said processor when an address outputted from said processor coincides with the address stored in said first associative memory.
Dependencies are inferred from the claim text.