Multi-mode Virtual Serial Port Chip for Automatic MCU Firmware Downloading
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
MCUs often enter incorrect startup modes due to default high-level serial port settings, leading to unexpected firmware downloading modes, especially when powered on or off without a loaded serial port driver, which complicates efficient and economical firmware downloading.
Innovation Solution
A multi-mode virtual serial port chip with a multiplexed auxiliary signal pin and a second modem output pin, controlled by a processor executing software to manage the BootMode pin, allowing switching between operating modes without additional peripheral circuits, using pull-down resistors to determine the mode and control the MCU reset.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If logic circuits such as resistors and triodes are added to assist level mutual exclusion and level maintenance of the serial output pin, then the reliability of preventing incorrect startup mode is improved, but the device complexity and hardware cost increase
Solution Approach 1:
The virtual serial port chip automatically detects the connection state of the pull-down resistor and self-adjusts its output mode without requiring external logic circuits. The chip monitors whether the auxiliary signal pin is connected to a pull-down resistor and autonomously switches between normal mode and enhanced mode, eliminating the need for external triodes and resistors that were previously required for level control.
Solution Approach 2:
The invention changes the operational parameters of the auxiliary signal pin based on the detected pull-down resistor connection. When a pull-down resistor is detected, the chip transitions from normal serial port output to enhanced mode with specific level control characteristics. This parameter-based mode switching replaces the need for complex external logic circuits to maintain level states.
2Ease of operation
If a pull-down resistor is connected to the multiplexed auxiliary signal pin to enable enhanced operating mode, then the ease of firmware downloading is improved, but the device complexity increases due to additional hardware components
Solution Approach 1:
The chip automatically detects the pull-down resistor connection at the auxiliary signal pin and self-configures to enhanced operating mode. This self-detection and selfconfiguration mechanism eliminates the need for complex external control circuits while enabling one-click automatic firmware downloading through the enhanced mode capabilities.
Solution Approach 2:
The auxiliary signal pin serves multiple functions: it can be used as a normal auxiliary signal pin in standard mode, or as a mode-detecting input that triggers enhanced functionality when a pull-down resistor is connected. This multi-functionality allows the same hardware pin to enable firmware downloading assistance without requiring dedicated separate control circuits.
3Ease of operation
If the serial port is default to be at a high level, then the ease of operation is improved, but the reliability of preventing unexpected BOOT mode entry deteriorates
Solution Approach 1:
The chip continuously monitors the connection state of the pull-down resistor and automatically adjusts its output level strategy. When no pull-down resistor is connected, it maintains the default high level for ease of operation. When a pull-down resistor is detected, it switches to enhanced mode where it actively controls the level to prevent unexpected BOOT mode entry, thus adapting its behavior to the detected hardware configuration.
Solution Approach 2:
The output level behavior of the auxiliary signal pin is made dynamic rather than static. The chip transitions from a fixed default high level to an adaptive level control mechanism that responds to the pull-down resistor connection status. This dynamic adjustment allows the system to maintain ease of operation in normal mode while preventing unexpected BOOT mode entry in enhanced mode.
Data Source
AI summary
Disclosed are a multi-mode virtual serial port chip, an implementation method, and a firmware downloading system and method thereof. The multi-mode virtual serial port chip comprises a normal operating mode and an enhanced operating mode, which are selected by a multiplexed auxiliary signal pin according to that whether there is a pull-down resistor connected thereto. The normal operating mode is compatible with the prior art and applications, and one-click automatic MCU firmware downloading can also be realized in the enhanced operating mode. In the present invention, no peripheral circuit is needed, the MCU also cannot unintentionally enter other modes, and the effects of automatically downloading firmware, improving downloading efficiency, reducing costs, reducing power consumption and decreasing product volume are achieved.


