CPU Reset State Management for Debugging

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Debugging integrated circuits with increased features and functionality is hindered by the need for manual intervention and user input to reset the CPU, which can disrupt the debugging process and ensure proper execution post-reset.

Innovation Solution

A system and method that automatically manages CPU states before and after a reset, using a 'part 2 halt' command to maintain the CPU's pre-reset state, allowing for seamless debugging without user input by executing a reset context switch and aligning resources for a reset routine.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If manual reset intervention is used during debugging, then the CPU can be reset, but the debugging process is disrupted and requires user input

Engineering Contradiction:
ImproveCPU reset executionVSAvoidDebugging process continuity
Core Design Contradiction:
ReliabilityVSEase of operation

Solution Approach 1:

The system automatically detects reset conditions and executes the reset routine without requiring manual user intervention. The CPU monitoring logic autonomously determines when a reset is needed and coordinates the reset execution, making the system self-servicing during debugging operations.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system continuously monitors CPU state and debug mode status, using this feedback to automatically trigger reset operations when appropriate conditions are detected, eliminating the need for manual user input while maintaining reliable reset execution.

Inventive Principle:
Principle #23Feedback

2Reliability

If the CPU state is not maintained after reset, then the reset routine can execute, but the CPU does not return to its pre-reset state

Engineering Contradiction:
ImproveReset routine executionVSAvoidCPU state consistency
Core Design Contradiction:
ReliabilityVSStability of the object's composition

Solution Approach 1:

Before executing the reset routine, the system saves the current CPU state information. This preliminary action ensures that when the reset completes, the CPU can be restored to its original state, maintaining stability and consistency throughout the reset process.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system temporarily discards the current CPU state during reset execution but recovers it by restoring the saved state information after the reset routine completes, ensuring the CPU returns to its pre-reset configuration.

Inventive Principle:
Principle #34Discarding and recovering

3Extent of automation

If automatic reset management is implemented, then user input is eliminated, but system complexity increases

Engineering Contradiction:
ImproveReset management automationVSAvoidState management mechanism
Core Design Contradiction:
Extent of automationVSDevice complexity

Solution Approach 1:

The CPU state management mechanism serves multiple functions: it monitors debug mode status, detects reset conditions, saves CPU state, coordinates reset execution, and restores state after reset. This multi-functional approach automates reset management without requiring separate complex subsystems for each function.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS7698544B2Automatic halting of a processor in debug mode due to reset
Publication Date: 2010.04.13 TEXAS INSTRUMENTS INC
  • US7698544B2 patent drawing
  • US7698544B2 patent drawing
  • US7698544B2 patent drawing

AI summary

Disclosed herein is a system and method of operating a processor before and after a reset has been asserted. Prior to a reset being asserted the processor operates in one of a plurality of states wherein primary code may be executed by the processor depending on said state. Upon a reset being asserted the processor begins executing code for a reset routine. The processor also executes a process such that the processor operates in the same state it was in prior to the reset upon the reset no longer being asserted.