CPLD Serial Port Control for Automatic Processor Switching

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current server or switch system designs require manual intervention for debugging, which is complex and inefficient, especially when dealing with multiple processors that need different serial port settings and debugging configurations.

Innovation Solution

A serial port control system based on a complex programmable logic device (CPLD) that includes a controller and register, allowing automatic switching of serial ports by parsing instructions from a console to communicate with processors, modifying serial port mode parameters, and reading state information, thereby improving efficiency and applicability.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If manual intervention is used for serial port debugging, then debugging can be performed, but the process is complex and has low switching efficiency

Engineering Contradiction:
Improvedebugging efficiencyVSAvoiddebugging process complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The system enables self-service debugging by implementing automatic processor identification and serial port switching. The CPLD automatically detects which processor needs debugging and switches the serial port connection without requiring manual intervention, thereby improving debugging efficiency while reducing operational complexity

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The CPLD acts as an intermediary device between the console and multiple processors. It receives debugging instructions from the console, automatically identifies the target processor, and establishes the appropriate serial port connection, thereby simplifying the debugging process and eliminating the need for manual port switching

Inventive Principle:
Principle #24Intermediary (Mediator)

2Adaptability or versatility

If multiple processors are connected to different serial ports, then each processor can be debugged independently, but manual switching between ports is required which reduces efficiency

Engineering Contradiction:
Improvemulti-processor debugging capabilityVSAvoidport switching time
Core Design Contradiction:
Adaptability or versatilityVSLoss of time

Solution Approach 1:

The system implements dynamic serial port switching where the CPLD automatically changes the active serial port based on the debugging requirements. The serial port connection is no longer static but dynamically adapts to the target processor, eliminating manual switching time while maintaining multi-processor debugging capability

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The CPLD serves as a universal interface that can connect to multiple different processors through a single console connection. It provides multi-functionality by handling identification, switching, and communication protocols for different processor types, thereby maintaining versatility while eliminating the need for manual port switching

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

Data Source

PatentUS12086093B2Serial port control system based on complex programmable logic device (CPLD) and communication method therefor
Publication Date: 2024.09.10 DONGGUAN HUABEL ELECTRONICS TECH
  • US12086093B2 patent drawing
  • US12086093B2 patent drawing
  • US12086093B2 patent drawing

AI summary

A serial port control system based on a complex programmable logic device (CPLD) includes a console, a plurality of processors, and a CPLD between the console and the plurality of processors. The CPLD includes a controller and a register. The console is configured to transmit an instruction including a register address and a register content of a serial port of a corresponding processor to the controller which parses the instruction to obtain the corresponding register address and register content and write them to the register; and the controller is configured to communicate with the serial port of the corresponding processor according to the register address and the register content. The controller and the register within the CPLD can automatically switch the serial port to communicate with the corresponding processor, thereby improving the efficiency.