Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A serial port driver multiplexing method and device

A serial port driver and multiplexing device technology, applied in the direction of program control device, boot program, etc., can solve the problems of difficult unified maintenance, repeated initialization of serial port drivers, etc., and achieve the effect of simplifying complexity, avoiding repeated initialization, and shortening startup time.

Active Publication Date: 2022-05-13
FUZHOU ROCKCHIP SEMICON
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] For this reason, it is necessary to provide a technical solution for multiplexing serial port drivers to solve the problems of repeated initialization and difficulty in unified maintenance of serial port drivers in the prior art

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A serial port driver multiplexing method and device
  • A serial port driver multiplexing method and device
  • A serial port driver multiplexing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] In order to explain in detail the technical content, structural features, achieved goals and effects of the technical solution, the following will be described in detail in conjunction with specific embodiments and accompanying drawings.

[0034] The first stage of the SOC startup process is BOOT ROM, which is a program segment that is solidified inside the chip and cannot be modified. At this stage, it may be necessary to use the serial port for printing, including the initialization program and output program required by the serial port. The serial port hardware and serial port drivers used by the subsystems in all subsequent stages are the same as those used by the BOOT ROM, and the BOOT ROM program is solidified inside the chip, does not occupy any system memory, and does not affect subsequent operations in DRAM memory or NOR, etc. Subsystem programs at any stage in the executable space. Therefore, as long as the serial port printing program in the unmodifiable BOOT...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present invention provides a serial port driver multiplexing method and device, the method comprising the following steps: running the first startup code in the first startup unit, obtaining preset configuration parameters to initialize the default serial port; running the second startup unit The second start-up code in is used to judge whether the current required serial port is consistent with the default serial port, and if not, re-initialize the current required serial port; call the interface function of the first start-up unit to perform corresponding operations. In this way, the initialization of the serial port is completed in the early stage of system startup. When the printing serial port is needed in the subsequent stage, it is only necessary to call the interface function in the first startup unit, thereby avoiding repeated initialization of the serial port driver and shortening the overall system time. The start-up time is reduced and the overall maintenance difficulty of the system is reduced.

Description

technical field [0001] The invention relates to the field of SOC chip circuits, in particular to a serial port driver multiplexing method and device. Background technique [0002] The debugging serial port refers to the UART port specially used to output printing information, which plays an extremely important role in the debugging of the embedded system. During the startup process of the embedded system, it will go through various stages, such as BOOT ROM, bootloader, kernel and so on. In armv8 and other architectures, the bootloader is also divided into vendor loader initialization, ARMtrust firmware initialization, trust OS initialization, U-Boot and other stages. Each stage is an independent subsystem, and each needs to initialize the serial port driver and hardware and output print information so that developers can understand the current startup situation. [0003] At the same time, embedded SOC usually has multiple serial ports, and the IO of each serial port may be...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/4401
CPCG06F9/4401
Inventor 杨凯
Owner FUZHOU ROCKCHIP SEMICON
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products