Supercharge Your Innovation With Domain-Expert AI Agents!

Method for on-line upgrading based on Ymodem protocol

A protocol and bus technology, applied in the field of single-chip microcomputer applications, can solve the problems of lack of interaction and verification, the system cannot run normally, errors, etc., to achieve the effect of improving reliability

Inactive Publication Date: 2015-12-09
JIANGXI FASHION TECH
View PDF4 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For some ISP or IAP online upgrade solutions provided by single-chip microcomputers, due to the lack of necessary interaction and verification during the online upgrade process, errors occur during the on-site upgrade process, resulting in the failure of the entire system to operate normally.

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 on-line upgrading based on Ymodem protocol
  • Method for on-line upgrading based on Ymodem protocol

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0014] Attached below figure 1 , 2 The present invention is described in detail:

[0015] The online upgrade module includes the control program 1, the internal storage area division of the microcontroller 3, the RS485 bus 2 and the Ymodem protocol communication; the online upgrade requires the control program and the RS485 connection line, and the computer is connected to the microcontroller through the RS485 bus;

[0016] The steps of online upgrade are that the control program issues a command to notify the MCU to upgrade, and the software sends the upgrade data packet to the MCU through the RS485 bus. After completion, the MCU resets and executes the new application program;

[0017] The internal memory of the single-chip microcomputer is divided into three parts, which are the boot program A area, the application program B area, and the application program C area. ; During online upgrade, store the online upgrade data package in another storage area;

[0018] The proto...

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 relates to a method for on-line upgrading based on an Ymodem protocol and belongs to the field of single-chip microcomputer application. The on-line upgrading based on the Ymodem protocol is an interactive on-line upgrading mode. According to the method for on-line upgrading by utilizing a memory inside a single-chip microcomputer, the use of external resources is reduced, the use efficiency of the single-chip microcomputer is improved, and the on-line upgrading reliability can be guaranteed through the interactive mode and the method for partition of the internal memory.

Description

technical field [0001] The invention relates to an online upgrading method based on the Ymodem protocol, and belongs to the application field of single-chip microcomputers. Background technique [0002] In the application field of single-chip microcomputer, in the embedded system design with single-chip microcomputer as the control processing device, sometimes it is necessary to continuously modify the application program in actual application, or to continuously upgrade the product functions, and the program cannot be finalized at once. Although many single-chip microcomputers provide IAP and ISP functions, it is necessary to open the product chassis shell on site to update the application program. For some special embedded systems, such as sensor acquisition systems, it is not allowed to unpack the sensor for program upgrade on site. Only the RS485 bus is provided to us on site, and the demand for online upgrading of different devices through the RS485 bus network is beco...

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
IPC IPC(8): G06F9/445
Inventor 李松王辅宋刘付鹏
Owner JIANGXI FASHION TECH
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More