CANOPEN-protocol-based embedded software upgrading method

An embedded software and CAN bus technology, applied in the field of embedded software upgrade based on the CANOPEN protocol, can solve the problems of non-universal, small application range, low communication speed, etc., and achieve strong interference resistance, wide application range, and communication The effect of high speed

Active Publication Date: 2014-02-05
上海创程车联网络科技有限公司
View PDF4 Cites 23 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The traditional method is to use the UART interface to implement the update function of the Bootloader. The communication rate is low, usually only tens of KBPS, and the upgrade efficiency is low; due to the UART communication method, the communication signal has poor anti-interference ability, especially in the case of serious electromagnetic interference. car operating environment
The traditional method is not suitable for fieldbus upgrades, especially when multiple terminals work in the same network. When upgrading, the terminal to be upgraded needs to be disconnected from the entire network bus system for separate upgrades, which is not suitable for field upgrades. Especially in automobiles, due to the compact space of the automobile, the installation space of each terminal is narrow, and it is not easy to disassemble; moreover, the communication protocols in the traditional method are self-defined, the scope of use is small, and it is not universal

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
  • CANOPEN-protocol-based embedded software upgrading method
  • CANOPEN-protocol-based embedded software upgrading method
  • CANOPEN-protocol-based embedded software upgrading method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0035] An embedded software upgrading method based on the CANOPEN protocol is applied to a system composed of a host computer and a lower computer connected through a CAN bus network. The topology of the above system is as follows figure 1 As shown, it includes an upper computer 1, a CAN bus network 3 and a plurality of lower computers 2, wherein the upper computer 1 is a PC that downloads programs and is connected to the CAN bus network 3 through a USBCAN adapter 4. The upper computer 1 runs the upper computer program, and its main function is to analyze application program files, such as HEX, BIN, and S19 files, and send useful data bytes to the lower computer, and can also display the transmission process and transmission results. The lower computer 2 is a terminal for receiving data from the upper computer and updating the program, and is connected to the upper computer 1 through the CAN bus network 3 .

[0036] The communication protocol of this method adopts the CANopen...

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 CANOPEN-protocol-based embedded software upgrading method. The method is applied to a system formed by an upper computer and a lower computer which are in network connection through a CAN bus. The method comprises the following steps: connecting the upper computer and the lower computer, and confirming the effectiveness of the programming address after the successful connection; adopting a block transmission mechanism in an SDO protocol when the effectiveness is ensured; sending the block data in a subpackage way until all data of the application program are sent; afterwards, skipping to the application program area of a storer to implement the application program to complete the program upgrading. Compared with the prior art, the method has the advantages of strong anti-interference ability, high transmission rate, wide application range, convenience in follow-up development, and the like.

Description

technical field [0001] The present invention relates to one, in particular to an embedded software upgrading method based on the CANOPEN protocol. Background technique [0002] Bootloader, also known as the boot loader, is the first piece of software code that runs after the system is powered on. It can realize the two functions of booting the user program and firmware self-update. The firmware self-update needs to provide an additional data transmission medium to the chip so that the chip can write the received machine code into its own Flash. The traditional method is to use the UART interface to implement the update function of the Bootloader. The communication rate is low, usually only tens of KBPS, and the upgrade efficiency is low; due to the UART communication method, the communication signal has poor anti-interference ability, especially in the case of serious electromagnetic interference. car operating environment. The traditional method is not suitable for fieldb...

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): G06F9/445H04L29/06
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