CN104102508A - FlexRay bus-based multimachine program online upgrade method - Google Patents
FlexRay bus-based multimachine program online upgrade method Download PDFInfo
- 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
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
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.
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)
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 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 |
Citations (2)
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 |
-
2014
- 2014-07-01 CN CN201410309744.1A patent/CN104102508A/en active Pending
Patent Citations (2)
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)
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 upgrading method, debugger, network device 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 | |
US8521929B2 (en) | Virtual serial port management system and 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 | |
CN102323905B (en) | Remote monitoring system for Godson main board | |
NZ584933A (en) | System for controlling multiple computers from one user terminal including detecting data being added to a memory buffer of one of the computers and copying this data to a memory of another of the computers | |
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 | |
CN102622136B (en) | A kind of multi-point touch system data processing method and device | |
CN102567074A (en) | USB (universal serial bus) device redirecting method facing virtual machines | |
CN105607998B (en) | A kind of System and method for carrying out embedded software debugging by online mode | |
CN105653461B (en) | A kind of single USB interfaces turn the converting system of more UART debugging interfaces | |
CN103823447B (en) | The communication method of the upper and lower computer of semiconductor devices and communication system | |
US20160147691A1 (en) | Keyboard-video-mouse switch and operating method thereof | |
CN105426169A (en) | Method for automatically adjusting network card identification sequence in Windows 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 | |
US20170168796A1 (en) | Method and electronic apparatus for transferring application program from pc to mobile apparatus | |
WO2019196415A1 (en) | Interactive smart tablet | |
CN111290689B (en) | Electronic equipment, main control device, control method and touch control sharing system thereof | |
CN104460437A (en) | Communication control method and communication device | |
CN202267950U (en) | Remote upgrading device of embedded devices |
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 |