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

Port multiplexing method and device for MCU

A port multiplexing and port technology, applied in the computer field, can solve problems such as the unavailability of debugging functions

Active Publication Date: 2018-03-09
BYD SEMICON CO LTD
View PDF5 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Some debug function ports are multiplexed with other function ports, but the function selection must use the mode of hardware pin selection to prevent the debug function from being unavailable

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
  • Port multiplexing method and device for MCU
  • Port multiplexing method and device for MCU
  • Port multiplexing method and device for MCU

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] Specific embodiments of the present disclosure will be described in detail below in conjunction with the accompanying drawings. It should be understood that the specific embodiments described here are only used to illustrate and explain the present disclosure, and are not intended to limit the present disclosure.

[0022] Typically, an MCU may include a debug port (for example, ARM's SW debug port) and a reset port. When the MCU needs to be debugged, the debug port can be connected to an external debug emulator. When the reset port inputs a valid external reset level, the MCU can be reset.

[0023] figure 1 It is a flowchart of a port multiplexing method for an MCU provided by an exemplary embodiment. Wherein, the MCU includes multiplexing ports. Such as figure 1 As shown, the method may include the following steps.

[0024] In step S11, it is judged whether the signal of the multiplexing port of the MCU complies with the debugging protocol.

[0025] In step S12,...

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 invention discloses a port multiplexing method and device for an MCU. The MCU comprises multiplexing ports. The method comprises the steps of judging whether the multiplexing ports of the MCU conform to a debugging protocol or not; when it is determined that signals of the multiplexing ports conform to the debugging protocol, controlling the MCU for performing debugging according to the signals of the multiplexing ports; when it is determined that the signals of the multiplexing ports do not conform to the debugging protocol, controlling the MCU to perform reset according to the signals ofthe multiplexing ports. Accordingly, multiplexing of the reset ports and the debugging ports of the MCU is achieved, the MCU port resources are saved, the MCU integration degree is increased, and therefore application and development are easier.

Description

technical field [0001] The present disclosure relates to the field of computers, and in particular, to a port multiplexing method and device for an MCU. Background technique [0002] At present, the functions of a microcontroller unit (Microcontroller Unit; MCU) are increasingly enhanced, and its structure is also increasingly complex. Therefore, in the development of MCU products, its debugging function is particularly important. The port (pin) of the debugging function of the MCU (for example, a serial wire (Serial Wire, SW) debugging port) usually appears in the form of a separate pin due to its characteristics of plug-and-play and pull-up resistor requirements. Some debug function ports are multiplexed with other function ports, but the function selection must use the mode of hardware pin selection to prevent the debug function from being unavailable. Contents of the invention [0003] The purpose of the present disclosure is to provide a simple and effective port mu...

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 Applications(China)
IPC IPC(8): G06F13/16
CPCG06F13/1642
Inventor 周博李奇峰杨云
Owner BYD SEMICON CO LTD
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