Patent ID: 8230133

Claim:
A microcomputer, comprising: a CPU; a memory connected to the CPU via a CPU bus; a direct memory access controller, connected to the CPU via the CPU bus, which controls access to the memory without passing through the CPU; a plurality of peripheral resources, each assigned a real resource number, configured to transmit an access request to the direct memory access controller to perform data transfer with the memory, and configured to perform a prescribed function in response to a control signal from the direct access memory controller together with the assigned real resource number; and a resource conversion unit, provided between the direct memory access controller and the plurality of peripheral resources, and including a real to logical correspondence table which associates the real resource numbers of the peripheral resources with logical resource numbers of the direct memory access controller, wherein the plural peripheral resources are assigned a repeated given real resource number, wherein the real to logical correspondence table is rewritable, and wherein the resource conversion unit, based on the real to logical correspondence table, converts the logical resource number data supplied by the direct memory access controller into real resource number data of the portion of peripheral resources, and the converted real resource number data is supplied to the peripheral resources.