Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

A remote update system and method for embedded programs based on tcp/ip

An embedded and embedded device technology, applied in the direction of program control device, program loading/starting, software engineering design, etc., can solve problems such as large software network protocol stack, unexpected power failure, upgrade interruption, etc., to save memory and save memory space, effect of ensuring correctness

Active Publication Date: 2022-02-18
TONGJI UNIV
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] (1) It depends on the flag bit set by the user program. If there is a serious problem with the user program, it may lead to never being able to enter the remote update
[0006] (2) Insufficient consideration of unexpected situations that may occur during the remote update, such as unexpected power failure during the upgrade process, which may cause the upgrade to be interrupted, which may cause the device to fail forever
[0009] (1) Embedded microcontrollers often do not have their own network protocol stack, and the software network protocol stack is usually very large

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 remote update system and method for embedded programs based on tcp/ip
  • A remote update system and method for embedded programs based on tcp/ip
  • A remote update system and method for embedded programs based on tcp/ip

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0051] Refer figure 1 The microcontroller used in this example is the Freescale 16-bit microcontroller, the network chip adopted for the WIZNET full-hardware TCP / IP protocol stack network chip, the remote host is a normal PC. Run the App and Remote Update on the microcontroller and control the network chip using the SPI interface. The network chip implements the hardware network protocol stack to communicate on Ethernet. The microcontroller and the network chip constitute an overall embedded device. The PC host is upgraded by TCP / IP control embedded devices.

[0052] In this example, the storage space of the microcontroller is like image 3 Mapping as follows: The storage space is divided into a register area, an electrically erasable programmable read-only memory, and a random read memory (RAM ACCESS MEMORY, hereinafter referred to as RAM) Zone and flash memory (Flash Memory, the Flash) area. The register area is 0x0000-0x07ff; EEPROM area is 0x0800-0x0FFF, where 0x0800-0x0Fe7...

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 remote update system and method for embedded programs based on TCP / IP. The system includes a microcontroller, a network chip and a remote host, and the microcontroller is used to run user programs and remote update programs, and control the network chip, network chip Provide the network protocol stack required for the embedded device to access the network, communicate with the remote host, the microcontroller and the network chip constitute the overall embedded device, and the remote host controls the update of the embedded device through TCP / IP. Compared with the prior art, the present invention solves the problem that the software network protocol stack occupies a large amount of memory; saves the memory occupation of backup and upgrade files; solidifies and protects the startup loading program, and uses a hardware-based network protocol stack to ensure Integrity and reliability of the remote update program; consideration of abnormalities during the upgrade ensures the soundness of the program; according to the characteristics of TCP and UDP, the upgrade data and instruction data are transmitted separately to ensure the reliability of the upgrade data and solve the loss of network equipment question.

Description

Technical field [0001] The present invention relates to an embedded program update method, in particular, to an embedded program remote update system and method based on TCP / IP. Background technique [0002] Embedded devices are often deployed in an environment where it is difficult to maintain, such as deep sea observation equipment. The embedded system requires remote updating of the program due to defects or business iterations. [0003] In an existing embedded system Remote update, the embedded system is reset, and the device is initialized, and the necessary software environment and communication interface initialization work; then determine if there is a User Application, Application, Application, upgrade flag, if not If you go directly into the user program, if you have, proactively or passively connect and download the upgrade file to the mirror zone; after the download is successful, check the entire upgrade file, such as the verification pass, erase the current user i...

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/65G06F8/654G06F8/61G06F9/445
Inventor 吕枫林实俊郑劭铎黄龙翔耿坤周怀阳
Owner TONGJI UNIV
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
Eureka Blog
Learn More
PatSnap group products