Method for Quickly Upgrading the Software Program of Single-chip Microcomputer in Electronic System Chassis

A software program and electronic system technology, which is applied in the field of rapidly upgrading the software program of the single-chip microcomputer in the electronic system chassis, can solve the problems of short design process, need to rewrite and upgrade out of the box, etc., to achieve short design process, ensure real-time performance, and intuitive and simple structure mode Effect

Inactive Publication Date: 2018-05-08
SOUTH WEST INST OF TECHN PHYSICS
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the present invention is to aim at the single-chip microcomputer in the electronic system, to realize the method and device for online upgrade without opening the box, to solve the disadvantages of the existing single-chip microcomputer software program in the electronic system box that needs to be rewritten and upgraded out of the box, and to provide an intuitive and simple, The design process is short, the reliability is high, and the method of quickly upgrading the software program of the single-chip microcomputer in the electronic system case through the serial asynchronous communication interface does not need to open the case of the electronic system

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
  • Method for Quickly Upgrading the Software Program of Single-chip Microcomputer in Electronic System Chassis
  • Method for Quickly Upgrading the Software Program of Single-chip Microcomputer in Electronic System Chassis
  • Method for Quickly Upgrading the Software Program of Single-chip Microcomputer in Electronic System Chassis

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0014] The present invention will be further described below in conjunction with drawings and embodiments. Wherein, the accompanying drawings constitute a part of the application, and are used to illustrate the principles of the present invention together with the embodiments of the present invention.

[0015] refer to figure 1 , figure 2 . In the embodiment described below, a method for quickly upgrading the software program of the single-chip microcomputer in the electronic system chassis uses a PC with a serial communication interface as the host computer for upgrading the serial asynchronous communication software program, and uses the single-chip microcomputer in the electronic system chassis As the lower computer for upgrading the serial asynchronous communication software program, the two communicate and transmit the program software data through the standard RS-232 / RS-422 / RS485 interface. The host computer micro-control chip and the host computer micro-control chip...

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 method for quickly upgrading the software program of a single-chip microcomputer in an electronic system case, aiming at providing a method with high reliability and capable of realizing online upgrading of the single-chip microcomputer in the electronic system without opening the box. The present invention is realized through the following technical solutions: in serial asynchronous communication, the upper computer packs and stores the upgraded software program data into the sending buffer, and sends them to the lower computer in frames through the serial port communication module; After the data frame information, the serial port data receiving processing module judges whether the serial port data frame information in the receiving buffer of the lower computer is valid, and assigns the true data frame to the buffer array Ai through the receiving buffer, and the subscript variable Ni of the buffer array Ai is incremented by 1, Store the array string consistent with the communication frame protocol into the buffer array Bi, the lower computer erases the program storage area in the lower computer microcontroller FLASH, and then writes the software program data packet into the program storage area in the FLASH.

Description

technical field [0001] The invention relates to a method for upgrading software of a single-chip microcomputer in an electronic system by adopting serial asynchronous communication. Background technique [0002] Single-chip microcomputer, also known as single-chip microcontroller, is equivalent to a miniature computer, which has the characteristics of small size, light weight, and high cost performance. Today, single-chip microcomputers are used in a wide range of fields, such as smart instruments, real-time industrial control, communication equipment, navigation systems, and household appliances. In the above-mentioned electronic system, the computer micro-control chip (single-chip microcomputer) between each component needs to exchange data and establish a communication link. The use of serial communication means is one of the important and commonly used communication methods. The working mode of serial communication is divided into synchronous mode and asynchronous mode....

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): G06F8/65
Inventor 杨光海张川王海徐丹邹伟
Owner SOUTH WEST INST OF TECHN PHYSICS
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