摘要 |
PROBLEM TO BE SOLVED: To observe register information inside a CPU, particularly a status register value or a program counter value while executing a user program. SOLUTION: This semiconductor device includes: the CPU (31) capable of executing a program; and a debug circuit (33) for supporting debug of the program. The CPU includes a status register and a program counter. The semiconductor device includes a dedicated path (35) for acquiring the register information inside the CPU without stopping the execution of the user program. The dedicated path includes a logic circuit (32) for acquiring the value of the program counter corresponding to update when the status register is updated before the status register is next updated, and transmitting the acquired program counter value and the status register value corresponding thereto to the debug circuit with them as a set. COPYRIGHT: (C)2011,JPO&INPIT
|