A way to upgrade device firmware via i2c

A device and firmware technology, applied in the field of upgrading device firmware through I2C, can solve the problems of many main CPU resources, many buses and control lines, and high design cost, and achieve the effect of simplifying the design process, simple connection method and saving design cost.

Inactive Publication Date: 2019-02-22
成都瑞视恒基通信技术有限公司
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this method requires multiple communication buses or control lines, and at the same time requires an external power-failure maintenance medium. The Design of CPU Connected with Multi-Single-chip Computers

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 way to upgrade device firmware via i2c
  • A way to upgrade device firmware via i2c
  • A way to upgrade device firmware via i2c

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] In order to make the object, technical solution and advantages of the present invention more clear, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0025] The invention discloses a method for upgrading device firmware through I2C, which specifically includes the following steps: Step 1. Connect N slave devices to a master control device through an I2C bus, and the system of each slave device includes a boot program area , system function program area and system upgrade program area; step 2, when starting from the device, the boot program selects the system function program to be loaded, when the loading is successful, the system function program starts; when the loading fails, wait for the master device to upgrade ; Step 3: After the master...

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 the technical field of embedded equipment and discloses a method for upgrading equipment firmware through I2C. The method comprises the following steps: 1, connecting N slave devices to master control equipment by virtue of an I2C bus; 2, waiting for the master control equipment to upgrade when equipment loading fails; 3, downloading the firmware of the slave devices according to the information of the slave devices and transmitting an upgrade instruction to the slave devices after the master control equipment acquires an instruction needing to upgrade the slave devices, and switching the state into an upgrade mode after the upgrade instruction is received by the slave devices; 4, transmitting the firmware information to the slave devices by the master control equipment, and writing a system upgrade program into a designated location after the slave devices receive the firmware information; and 5, transmitting a restart instruction by virtue of the master control equipment, restarting the slave devices, and selecting the system function program needing to be loaded by virtue of a bootstrap program. Automatic online upgrade of the slave devices is realized by virtue of the master control equipment and the I2C bus.

Description

technical field [0001] The invention relates to the technical field of embedded device design, and discloses a method for upgrading device firmware through I2C. Background technique [0002] IIC, also known as I2C, is Inter-Integrated Circuit, an integrated bus circuit. This bus type was designed by Philips Semiconductors in the early 1980s. The bus consists of two lines: data line (SDA) and clock line (SCL). Multiple IIC slave devices can be connected to one IIC bus, and these slave devices are distinguished by different slave addresses. [0003] In system design, there is a structure of a single master device and multiple slave devices or modules (hereinafter collectively referred to as slave devices). Among them, the main control device has rich functions and supports multiple management methods; while the function of the slave device is relatively single, and its functions can be realized by using a relatively low-cost ordinary single-chip microcomputer, and these singl...

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
CPCG06F8/65
Inventor 陈其伟
Owner 成都瑞视恒基通信技术有限公司
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