Patent ID: 7917818

Claim:
A semiconductor device capable of being coupled to first and second debuggers, the first and second debuggers being capable of debugging a program in the semiconductor device, the semiconductor device, comprising: a nonvolatile memory that stores the program including first and second instruction groups and an ID code, the ID code stored in the nonvolatile memory being compared with an ID code inputted from the second debugger to control permission or prohibition of a connection configuration to the second debugger; a first processing unit which executes the first instruction group; a second processing unit which executes the second instruction group; a control signal output unit which generates a control signal indicative of permission or prohibition of a debugging function to the first processing unit; a first debug control unit capable of being coupled to the first debugger to control a communication with the first debugger in response to the control signal; and a second debug control unit capable of being coupled to the second debugger to control a communication with the second debugger.