US 12,153,509 B2
Managing and maintaining multiple debug contexts in a debug execution mode for real-time processors
Jason Lynn Peck, Houston, TX (US); Gary A. Cooper, Oakmont, PA (US); and Markus Koesler, Landshut (DE)
Assigned to TEXAS INSTRUMENTS INCORPORATED, Dallas, TX (US)
Filed by TEXAS INSTRUMENTS INCORPORATED, Dallas, TX (US)
Filed on Apr. 18, 2022, as Appl. No. 17/722,464.
Application 17/722,464 is a continuation of application No. 17/011,829, filed on Sep. 3, 2020, granted, now 11,307,965.
Application 17/011,829 is a continuation of application No. 15/981,258, filed on May 16, 2018, granted, now 10,769,050, issued on Sep. 8, 2020.
Prior Publication US 2022/0237106 A1, Jul. 28, 2022
This patent is subject to a terminal disclaimer.
Int. Cl. G06F 11/36 (2006.01); G06F 9/48 (2006.01)
CPC G06F 11/3656 (2013.01) [G06F 9/4812 (2013.01); G06F 11/3624 (2013.01); G06F 11/3644 (2013.01); G06F 11/3632 (2013.01); G06F 11/3636 (2013.01); G06F 11/3664 (2013.01); G06F 2201/805 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A method comprising:
executing, by a processor, a first code section, wherein the first code section is associated with a context of the processor;
receiving, during the executing of the first code section, a debug event;
based on the debug event, causing the processor to suspend the executing of the first code section;
while the executing of the first code section is suspended, receiving an interrupt;
in response to receiving the interrupt, causing the processor to execute a second code section associated with the interrupt;
receiving a debug access request during the executing of the second code section;
causing the processor to delay servicing the debug access request until completion of the second code section; and
after completion of the second code section, causing the processor to service the debug access request based on the context associated with the first code section.