Debug Support Unit Dedicated Registers Microprocessor

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional debugging methods are inefficient and complex, requiring dedicated hardware resources and software instructions, which limits their effectiveness and flexibility, especially in modern complex microprocessor systems.

Innovation Solution

A hardware-based debugging support unit with dedicated debug registers and a debug control circuit that enables debugging operations without the need for software instructions, allowing direct control over the processor's execution pipeline and memory access.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If conventional debugging methods using software instructions and stubs are used, then debugging functionality is achieved, but device complexity and resource allocation increase

Engineering Contradiction:
Improvedebugging functionalityVSAvoiddebugging system complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent extracts the debugging functionality from the main processor by implementing a dedicated Debug Support Unit (DSU) with specialized hardware components. The DSU includes a debug state machine, comparison logic, and control registers that are separate from the main processor architecture, allowing debugging operations to be performed independently without complicating the core processor design.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent introduces a Debug Support Unit as an intermediary component between the processor and the debugging interface. The DSU mediates all debugging operations by interceptoring processor signals, performing comparisons, and controlling debug state transitions, thereby simplifying the overall system architecture while maintaining comprehensive debugging capability.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If dedicated hardware resources are allocated for debugging, then debugging reliability improves, but resource allocation efficiency decreases

Engineering Contradiction:
Improvedebugging reliabilityVSAvoidhardware resource allocation
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The Debug Support Unit is designed to perform multiple debugging functions using a unified hardware structure. The same comparison logic and state machine handle various debugging operations including breakpoint monitoring, instruction tracing, and system state inspection, eliminating the need for separate dedicated hardware for each debugging function and optimizing resource utilization.

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

3Adaptability or versatility

If software-based debugging with stubs is implemented, then debugging flexibility is achieved, but productivity and debugging efficiency decrease

Engineering Contradiction:
Improvedebugging flexibilityVSAvoiddebugging efficiency
Core Design Contradiction:
Adaptability or versatilityVSProductivity

Solution Approach 1:

The patent replaces the software-based stub mechanism with a hardware-based comparison and control system. Instead of using software instructions to implement breakpoints and debugging stops, the DSU uses hardware comparison logic to automatically detect target conditions and control processor execution, significantly improving debugging speed and efficiency while maintaining flexibility through programmable control registers.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

4Ease of operation

If conventional debugging interfaces using UART and serial communication are used, then communication capability is achieved, but device complexity and resource usage increase

Engineering Contradiction:
Improvecommunication capabilityVSAvoidcommunication interface complexity
Core Design Contradiction:
Ease of operationVSDevice complexity

Solution Approach 1:

The patent combines the debugging communication interface with the existing processor support logic. The DSU utilizes the same UART controller and serial communication infrastructure already present in the processor system, merging debugging communication capabilities with the main system's communication resources rather than implementing a separate dedicated communication interface.

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentUS10970192B2Debugging support unit for microprocessor
Publication Date: 2021.04.06 STMICROELECTRONICS BEIJING R& D
  • US10970192B2 patent drawing
  • US10970192B2 patent drawing
  • US10970192B2 patent drawing

AI summary

A debug-enabled processing device includes a processor, a communication transceiver circuit, and a debug support unit. The debug support unit has a plurality of dedicated debug registers to facilitate debugging a software program under execution by the processor. One of the plurality of debug registers is a control register having at least four bits, which are used to enable/disable a plurality of debugging operations. Others of the debug registers include a set of index registers that may be configured to pass data to and from the processor.