Serial port upgrading method and system for multiple MCU slave stations

A serial port upgrade and serial port technology, which is applied in the field of serial port upgrade of multiple MCU slave stations, can solve the problems of no upgrade, low transmission speed, and restricting the size of the system, so as to reduce the upgrade risk, fast transmission speed, and high upgrade efficiency Effect

Inactive Publication Date: 2022-04-05
JIHUA LAB
View PDF12 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The first method has a low transmission speed. Assuming that the transmission time to an MCU slave station is t, the nth MCU slave station takes n*t to receive a frame, and the lower the MCU slave station is, the lower the upgrade efficiency is.
The transmission speed of the second method is higher than that of the first method, but the number of interfaces of the main MCU restricts the size of the system
In addition, both methods have the same problem, poor system stability, when the upgrade of the first MCU slave in the first method or the master MCU in the second method fails to work, other MCUs cannot be upgraded

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
  • Serial port upgrading method and system for multiple MCU slave stations
  • Serial port upgrading method and system for multiple MCU slave stations
  • Serial port upgrading method and system for multiple MCU slave stations

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055] Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary only for explaining the present invention and should not be construed as limiting the present invention.

[0056] The following disclosure provides many different embodiments or examples for implementing different structures of the present invention. To simplify the disclosure of the present invention, components and arrangements of specific examples are described below. Of course, they are only examples and are not intended to limit the invention. Furthermore, the present disclosure may repeat reference numerals and / or reference letters in different instances, such repetition is for simplicity and clarity and does not in itself indicate a r...

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 serial port upgrading method and system for multiple MCU slave stations, and belongs to the technical field of MCU upgrading, and the method comprises the following steps: all MCU slave stations are initialized to set a serial port analysis chip as read enabling, only after an upgrading frame of a corresponding slave station is obtained from an upper computer, the serial port analysis chip is set as write enabling when a reply frame is sent, and the serial port analysis chip is reset as read enabling immediately after sending is completed; therefore, the bus multiplexed by the plurality of MCU slave stations can complete data receiving and transmitting without generating conflicts; specifically, after a single MCU slave station obtains a complete upgrading file frame by frame, the MCU slave station copies the upgrading file to an application engineering storage area. By utilizing the method, a plurality of MCU slave stations can be simultaneously upgraded through a single serial port, all MCUs have the same priority in the system, the transmission speed is relatively high, the upgrading efficiency is high, the number of interfaces is not limited, the upgrading of other MCUs is not influenced when the upgrading of a single MCU fails, the stability is high, data conflicts can be avoided, and the upgrading risk is favorably reduced.

Description

technical field [0001] The invention relates to a serial port upgrading method and system of multiple MCU slave stations, and belongs to the technical field of MCU upgrading. Background technique [0002] In the actual use of embedded systems, there is often a need for upgrading. Among them, the iteration speed of software is usually much faster than that of hardware. When upgrading the software, it is costly and inconvenient to mail the hardware back to the manufacturer for upgrading; it is easy for users to disassemble the hardware and reprogram it by themselves, and it is easy to make mistakes in the upgrade. Therefore, the online upgrade technology (IAP, In Application Programming) is usually used in the market to add a bootloader project (boot project) in the MCU (micro control unit), allowing customers to directly use the original communication interface of the product to perform iterative software upgrades. [0003] In the prior art, the solution for upgrading a sin...

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): G06F8/65G06F13/40G06F13/42
Inventor 徐潇李剑胡荏邓锦祥
Owner JIHUA LAB
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products