CN104102508A - FlexRay bus-based multimachine program online upgrade method - Google Patents

FlexRay bus-based multimachine program online upgrade method Download PDF

Info

Publication number
CN104102508A
CN104102508A CN201410309744.1A CN201410309744A CN104102508A CN 104102508 A CN104102508 A CN 104102508A CN 201410309744 A CN201410309744 A CN 201410309744A CN 104102508 A CN104102508 A CN 104102508A
Authority
CN
China
Prior art keywords
slave computer
multimachine
program
host computer
slave
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410309744.1A
Other languages
Chinese (zh)
Inventor
高明煜
叶旭君
曾毓
黄继业
李芸
周伟伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Dianzi University
Original Assignee
Hangzhou Dianzi University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Dianzi University filed Critical Hangzhou Dianzi University
Priority to CN201410309744.1A priority Critical patent/CN104102508A/en
Publication of CN104102508A publication Critical patent/CN104102508A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a FlexRay bus-based multimachine program online upgrade method. In the traditional industrial control field, the method of upgrading an application program of the equipment is realized in a manner of updating each unit separately. In the method disclosed by the invention, a hardware device only needs a USB-to-FlexRay debugger to connect MCUs (lower computers) with a PC (an upper computer) to realize multimachine program online upgrade; by adopting the method, application programs of multiple units (up to 124 units) can be upgraded simultaneously, the transmission rate of the FlexRay bus can reach 8 Mbps, the participation of professionals is not needed in the multimachine program online upgrade process, correct operation can be performed according to the simple PC interface, and thus the application upgrade efficiency of the industrial control system is improved.

Description

A kind of multimachine program on-line upgrading method based on FlexRay bus
Technical field
What the present invention relates to is industrial control field, and refering in particular to is a kind of industrial control system multimachine program on-line upgrading method based on FlexRay bus.
Background technology
The method of in traditional industrial control field, equipment being carried out to application program updating mostly is to be upgraded individually to each unit.Therefore in program upgrade process, must carry out a large amount of identical operations to each unit, cause having reduced widely the upgrading efficiency of system.Although also there is in recent years the method for some multimachine program on-line upgradings, they are mostly based on designing compared with low speed and compared with old bus, and there is no the man-machine interface of easy operating.Therefore the method for these program on-line upgradings or because of a large amount of work repeating, or because of lower message transmission rate, again or there is no flat-footed operation interface and cause the reduction greatly of system upgrade efficiency ground.
Summary of the invention
The object of the invention is to, propose a kind of method of new industrial control system multimachine program on-line upgrading.Aim to provide a short and sweet easy-operating upper computer software, user-friendly; Aim to provide a kind of multimachine program upgrade device, reduce burden for users; Aim to provide a kind of high-speed procedure upgrade-system, improve system upgrade efficiency.
A kind of industrial control system multimachine program on-line upgrading method based on FlexRay bus depends on lower device: MCU unit (slave computer), USB turn FlexRay debugger, PC (host computer); Multiple MCU unit (slave computer) turns FlexRay debugger with PC (main frame) by USB and is connected;
Step 1: when system powers on after also initialization, all slave computers unit enters BOOTLOADER space, and waits for the order of shaking hands that host computer sends;
Step 2: the mode that host computer triggered by the time sends to slave computer the order of shaking hands, and wait for the answer signal that receives slave computer.Just proceed program updates work if receive at least one answer signal, if do not receive this time program updates of any answer signal constipation bundle.
Step 3: if slave computer unit has successfully received the order of shaking hands, send an answer signal to host computer.If slave computer unit do not receive shake hands order the direct redirect in slave computer unit enter application space;
Step 4: the mode that host computer triggered by the time sends the information of the subsequent Frame that will send sends corresponding Frame after distributing;
Step 5: the information of slave computer unit receiving data frames just receives corresponding Frame after receiving;
Step 6: the Frame that the verification of slave computer unit is received, if just errorless according to the Frame application programs space that receives upgrading accordingly, otherwise termination routine;
Step 7: host computer judges whether to send all data, if do not send repeating step four~step 7, finishes this program updates if sent.
The invention has the beneficial effects as follows: can carry out program on-line upgrading (maximum quantity can arrive 124 appendent computer systems) to multiple slave computers unit simultaneously, and articulate traffic rate under the slave computer unit of maximum quantity in bus and can reach 8Mbps, and just can correctly operate according to the host computer interface of being easily understood without professional's participation, improve the program upgrade efficiency of industrial control system.
Brief description of the drawings
Fig. 1: system hardware connects block diagram.
Fig. 2: system operational flow diagram.
Embodiment
In conjunction with Fig. 1, present embodiment is described, this embodiment turns FlexRay debugger by multiple MCU unit (slave computer) by USB and is connected with PC (host computer);
In conjunction with Fig. 2, present embodiment is described, this embodiment:
Step 1: when system powers on after also initialization, all slave computers unit enters BOOTLOADER space, and waits for the order of shaking hands that host computer sends;
Step 2: the mode that host computer triggered by the time sends to slave computer the order of shaking hands, and wait for the answer signal that receives slave computer.Just proceed program updates work if receive at least one answer signal, if do not receive this time program updates of any answer signal constipation bundle;
Step 3: if slave computer unit has successfully received the order of shaking hands, send an answer signal to host computer.If slave computer unit do not receive shake hands order the direct redirect in slave computer unit enter application space;
Step 4: the mode that host computer triggered by the time sends the information of the subsequent Frame that will send just sends corresponding Frame after distributing;
Step 5: the information of slave computer unit receiving data frames just receives corresponding Frame after receiving;
Step 6: the Frame that the verification of slave computer unit is received, if just errorless according to the Frame application programs space that receives upgrading accordingly, otherwise termination routine;
Step 7: host computer judges whether to send all data, if do not send repeating step four~step 7, finishes this program updates if sent.

Claims (1)

1. the multimachine program on-line upgrading method based on FlexRay bus, is characterized in that:
Step 1: when system powers on after also initialization, all slave computers unit enters BOOTLOADER space, and waits for the order of shaking hands that host computer sends;
Step 2: the mode that host computer triggered by the time sends to slave computer the order of shaking hands, and wait for the answer signal that receives slave computer; Just proceed program updates work if receive at least one answer signal, if do not receive this time program updates of any answer signal constipation bundle;
Step 3: if slave computer unit has successfully received the order of shaking hands, send an answer signal to host computer; If slave computer unit do not receive shake hands order the direct redirect in slave computer unit enter application space;
Step 4: the mode that host computer triggered by the time sends the information of the subsequent Frame that will send sends corresponding Frame after distributing;
Step 5: the information of slave computer unit receiving data frames just receives corresponding Frame after receiving;
Step 6: the Frame that the verification of slave computer unit is received, if just errorless according to the Frame application programs space that receives upgrading accordingly, otherwise termination routine;
Step 7: host computer judges whether to send all data, if do not send repeating step four~step 7, finishes this program updates if sent.
CN201410309744.1A 2014-07-01 2014-07-01 FlexRay bus-based multimachine program online upgrade method Pending CN104102508A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410309744.1A CN104102508A (en) 2014-07-01 2014-07-01 FlexRay bus-based multimachine program online upgrade method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410309744.1A CN104102508A (en) 2014-07-01 2014-07-01 FlexRay bus-based multimachine program online upgrade method

Publications (1)

Publication Number Publication Date
CN104102508A true CN104102508A (en) 2014-10-15

Family

ID=51670681

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410309744.1A Pending CN104102508A (en) 2014-07-01 2014-07-01 FlexRay bus-based multimachine program online upgrade method

Country Status (1)

Country Link
CN (1) CN104102508A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105302612A (en) * 2015-11-18 2016-02-03 西南技术物理研究所 Method for quick upgrading of software program of single-chip microcomputer in electronic system case
CN105677388A (en) * 2015-12-31 2016-06-15 清华大学苏州汽车研究院(吴江) Firmware updating method for motor controller of electric vehicle
CN106445592A (en) * 2016-09-22 2017-02-22 杭州电子科技大学 Long-distance multi-machine program upgrading method based on WIFI and CAN bus
CN106708560A (en) * 2016-11-17 2017-05-24 华立科技股份有限公司 RF communication-based ammeter wireless program upgrading method and wireless upgrading ammeter
CN106843943A (en) * 2017-01-03 2017-06-13 恒鸿达信息技术有限公司 A kind of STM32 microprocessor programs architecture design method
CN108228217A (en) * 2018-01-18 2018-06-29 晶晨半导体(上海)股份有限公司 A kind of method for upgrading system
CN108989103A (en) * 2018-07-11 2018-12-11 珠海格力电器股份有限公司 Device updating method, debugger, the network equipment and network system
CN114327451A (en) * 2021-12-14 2022-04-12 浙江华章科技有限公司 Method, system, storage medium, and transmission system for generating transmission upper computer interface and transmission lower computer program

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102855151A (en) * 2012-08-21 2013-01-02 武汉电信器件有限公司 Optical module firmware in-application upgrading method capable of not interrupting service
CN103279371A (en) * 2013-05-22 2013-09-04 杭州电子科技大学 Distributed control system multi-slave-computer program online synchronization upgrading method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102855151A (en) * 2012-08-21 2013-01-02 武汉电信器件有限公司 Optical module firmware in-application upgrading method capable of not interrupting service
CN103279371A (en) * 2013-05-22 2013-09-04 杭州电子科技大学 Distributed control system multi-slave-computer program online synchronization upgrading method

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105302612A (en) * 2015-11-18 2016-02-03 西南技术物理研究所 Method for quick upgrading of software program of single-chip microcomputer in electronic system case
CN105302612B (en) * 2015-11-18 2018-05-08 西南技术物理研究所 The method of scm software program in quick upgrading electronic system chassis
CN105677388A (en) * 2015-12-31 2016-06-15 清华大学苏州汽车研究院(吴江) Firmware updating method for motor controller of electric vehicle
CN106445592A (en) * 2016-09-22 2017-02-22 杭州电子科技大学 Long-distance multi-machine program upgrading method based on WIFI and CAN bus
CN106708560A (en) * 2016-11-17 2017-05-24 华立科技股份有限公司 RF communication-based ammeter wireless program upgrading method and wireless upgrading ammeter
CN106843943A (en) * 2017-01-03 2017-06-13 恒鸿达信息技术有限公司 A kind of STM32 microprocessor programs architecture design method
CN108228217A (en) * 2018-01-18 2018-06-29 晶晨半导体(上海)股份有限公司 A kind of method for upgrading system
CN108989103A (en) * 2018-07-11 2018-12-11 珠海格力电器股份有限公司 Device updating method, debugger, the network equipment and network system
CN108989103B (en) * 2018-07-11 2020-08-21 珠海格力电器股份有限公司 Device upgrading method, debugger, network device and network system
CN114327451A (en) * 2021-12-14 2022-04-12 浙江华章科技有限公司 Method, system, storage medium, and transmission system for generating transmission upper computer interface and transmission lower computer program
CN114327451B (en) * 2021-12-14 2024-03-08 浙江华章科技有限公司 Method, system, storage medium and transmission system for generating transmission upper computer interface and lower computer program

Similar Documents

Publication Publication Date Title
CN104102508A (en) FlexRay bus-based multimachine program online upgrade method
CN104620564B (en) Apparatus and method for the transmission of the multi-protocol data element via the interface using data tunnel
US20160100036A1 (en) System, method, server and device for trial use of application software
CN204759403U (en) System based on data pass realization equipment internal module thoroughly and upgrade
CN102368231B (en) Method and system for redirecting USB (universal serial bus) devices
CN106610910B (en) System, device and method for mutual signal transmission between different communication interfaces
CN103874984A (en) Virtualizable and forward-compatible hardware-software interface
WO2008008806A3 (en) One-click universal screen sharing
CN102567074A (en) USB (universal serial bus) device redirecting method facing virtual machines
CN103823447B (en) The communication method of the upper and lower computer of semiconductor devices and communication system
WO2019010836A1 (en) Touch response method, chip and smart device
CN202799005U (en) Cloud computing based internet monitoring system of set top box and set top box
CN114055468B (en) Track reproduction method, track reproduction system and terminal equipment
CN111290689B (en) Electronic equipment, main control device, control method and touch control sharing system thereof
CN103986613A (en) Remote KVM (kernel-based virtual machine) management method based on network
CN202267950U (en) Remote upgrading device of embedded devices
CN107396185A (en) Upgrade method and system
CN102081455B (en) Multicomputer switcher and adapter thereof
CN102789388A (en) Method and system for adding network card function to MIPS frame server based on BMC
CN105138379A (en) Method for on-line upgrading based on Ymodem protocol
CN104460437A (en) Communication control method and communication device
CN104378144A (en) Bluetooth equipment software installing method and system
CN101998691B (en) Method, system and device for data transmission
CN101834876B (en) Distributed semi-physics simulation system based on Bluetooth, database and UDP protocol and data summarization and distribution method thereof
CN107479745A (en) A kind of method, module and operating system for configuring touch-screen

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20141015

RJ01 Rejection of invention patent application after publication