Device Having Configurable Breakpoint Based on Interrupt Status
AssigneeMicrochip Technology Incorporated
InventorsKevin Kilzer, Justin Milks, Sundar Balasubramanian, Thomas Edward Perme, Kushala Javagal
Life of this patent
Estimating the term…
Abstract
A processor device with debug capabilities has a central processing unit, an interrupt controller, a status unit operable to be set into a first mode indicating an interrupt has occurred or in a second mode indicating normal execution of code, and a debug unit coupled with said status unit and comprising a configurable breakpoint, wherein a condition can be set that a breakpoint is only activated if the device is operating in an interrupt service routine.
Claims20
A processor device having debug capabilities, comprising:
- a central processing unit;
- an interrupt controller;
- a status unit operable to be set into a first mode indicating an interrupt has occurred or in a second mode indicating normal execution of code;
- a debug unit coupled with said status unit and comprising a configurable breakpoint, wherein a condition can be set that a breakpoint is only activated if the device is operating in an interrupt service routine.
A method for debugging executed code within a processor device having debug capabilities, comprising:
- executing code by a central processing unit (CPU);
- determining an interrupt service status of the CPU while executing said code by a debug unit;
- configuring a breakpoint within the debug unit to be activated only when said CPU is executing an interrupt service routine;
- upon occurrence of a breakpoint, only activating said breakpoint within said debug unit if said CPU is executing instructions within an interrupt service routine.
Dependencies are inferred from the claim text.