Dual-CPU Debug Synchronization Using Triggered Memory Writes

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing debugging techniques for multiprocessor systems with two CPUs cannot synchronize memory operations across both CPUs, limiting the ability to perform synchronized debugging.

Innovation Solution

An operation verifying program is installed on two semiconductor devices that communicate with each other, analyzing and synchronizing operation verifying commands to output trigger signals and write memory setting values at synchronized timings, enabling synchronized operation restarts.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If debugging is performed using existing multiprocessor system techniques, then one CPU can be debugged, but memory operations cannot be synchronized across both CPUs

Engineering Contradiction:
Improvedebugging capabilityVSAvoidmemory operation synchronization
Core Design Contradiction:
Measurement precisionVSReliability

Solution Approach 1:

A trigger signal serves as an intermediary mechanism between the first and second CPUs. The first CPU outputs a trigger signal that the second CPU receives and analyzes, using this signal to synchronize memory write operations. This mediator enables coordinated debugging across both CPUs without requiring complex direct communication protocols.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The system implements a feedback mechanism where the second CPU analyzes the received trigger signal and responds by synchronizing its memory operations with the first CPU. This feedback loop ensures that both CPUs perform memory operations at synchronized timings, allowing reliable debugging of multiprocessor systems.

Inventive Principle:
Principle #23Feedback

2Ease of operation

If memory operations are performed independently on two CPUs, then each CPU can operate autonomously, but synchronized debugging cannot be achieved

Engineering Contradiction:
ImproveCPU autonomyVSAvoidsynchronization mechanism
Core Design Contradiction:
Ease of operationVSDevice complexity

Solution Approach 1:

The trigger signal acts as a simple intermediary that maintains CPU autonomy while enabling synchronization. Each CPU independently processes the trigger signal according to its own instruction set, preserving autonomy. The synchronization mechanism remains relatively simple because it relies on this single intermediary signal rather than complex inter-CPU coordination protocols.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Extent of automation

If debugging commands are transferred between CPUs, then one CPU can control debugging of the other, but simultaneous memory operation at synchronized timing cannot be achieved

Engineering Contradiction:
Improvedebugging controlVSAvoidmemory write timing synchronization
Core Design Contradiction:
Extent of automationVSManufacturing precision

Solution Approach 1:

The system uses feedback where the second CPU analyzes the trigger signal and adjusts its memory operation timing accordingly. This feedback mechanism ensures that memory writes occur at synchronized timings while maintaining automated debugging control. The first CPU's debug commands are automatically transferred and executed with precise timing coordination.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS11526137B2Operation verification program, operation synchronization method, and error detection apparatus
Publication Date: 2022.12.13 RENESAS ELECTRONICS CORP
  • US11526137B2 patent drawing
  • US11526137B2 patent drawing
  • US11526137B2 patent drawing

AI summary

In the conventional semiconductor device, it is impossible for two CPUs to operate memories to be debugged at synchronous timings. According to one embodiment, the operation verifying program analyzes the operation verifying command received by the first semiconductor device 10 from the external device 31 by its own device (S32), transfers the operation verifying command to the second semiconductor device 20 (S31, S41), also analyzes the operation verifying command in the second semiconductor device 20 (S42), outputs the trigger signal (S34, S44) to the first semiconductor device 10 from the second semiconductor device 20 based on the result of the analysis, writes the memory setting values included in the operation verifying command to the memories in the respective semiconductor device (S35, S45) based on the trigger signal, and restarts the device operation based on the written memory setting values.