CN103064357B - Lin network multichannel guide installation device and its operation method - Google Patents
Lin network multichannel guide installation device and its operation method Download PDFInfo
- Publication number
- CN103064357B CN103064357B CN201210391861.8A CN201210391861A CN103064357B CN 103064357 B CN103064357 B CN 103064357B CN 201210391861 A CN201210391861 A CN 201210391861A CN 103064357 B CN103064357 B CN 103064357B
- Authority
- CN
- China
- Prior art keywords
- lin
- rom
- datas
- transmitted
- main control
- 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.)
- Expired - Fee Related
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/14—Handling requests for interconnection or transfer
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4406—Loading of operating system
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/34—Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Small-Scale Networks (AREA)
- Information Transfer Between Computers (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
The present invention relates to Lin network multichannel guide installation device and its operation method.The Lin network multichannel guide installation device of the present invention is characterized in, improve the function and efficiency of the bootstrap of microcomputer software built-in in the ECU or actuator more on new vehicle LIN networks, the effectively time needed for application transmission data and the communication resource, the Communication Jamming between each unit is reduced as far as possible simultaneously, so as to support the software reprogramming function of multiple same targets.
Description
Technical field
The present invention relates to Lin network multi-channels guiding loading device and its operation method, specifically the Lin networks in vehicle
The device and method that field unit downloads.
Background technology
The LIN networks of vehicle are as shown in figure 1, typically by a main control unit and multiple subordinates(Slave)Unit forms.Respectively
The MCU of non-simple actuator (Actuator) built in slave unit and it is embedded in application(embedded)It is SW weight during SW
Programming, the reprogramming that could implement SW among vehicle or cut-out after LIN communication lines need to be dismantled.Moreover, data transmission is steady
The reasons such as qualitative and reprogramming time, can only once it implement reprogramming to a slave unit.If reprogram multiple subordinates
The embedded software of unit, it is possible to because the problems such as vehicle wire harness or installation site can not be reprogrammed.Especially apply
It is bootstrap (Bootloader) and targeted slave (Target Slave) unit for software is installed in the guiding of LIN communications additional
Data transmission, the power supply of main control unit need to be cut off, and if the power supply of main control unit can not be cut off, then need cut-out and master control
The LIN Line of unit connection.
And the characteristics of once reprogramming the SW of multiple slave units, being communicated from LIN, is gone up, it is necessary to multiple responses
(Response)ID, using multiple responses(Response)ID can increase communication bus holding time and cause to reprogram time quilt
The problem of extension.
The content of the invention
In view of problems of the prior art, the present invention is for improvement because LIN networks are not completely more main websites communications
(Multi Master Communication)Mode, and transfer rate updates multiple ECU simultaneously than relatively low only 20kbps
Or actuator (Actuator) software when data transfer time and ID efficiency the problem of being greatly reduced, and improve more new vehicle
The function of the bootstrap (Bootloader) of built-in microcomputer software on ECU or actuator (Actuator) on LIN networks
And efficiency, so as to provide it is a kind of effectively application transmission data needed for time and the communication resource, while as far as possible reduce each unit it
Between Communication Jamming, support the Lin network multi-channels of the software reprogramming function of multiple same object elements (Target Unit)
Guide loading device and its operation method.
The present invention provides a kind of Lin network multichannel guide installation device, including:CAN controller, by being connected to vehicle
The CAN communication bus transmission SW ROM datas of OBD terminals;LIN main control units, it will be controlled by the CAN from the CAN
The SW ROM datas of device transmission are sent to LIN networks;At least one slave unit, the LIN nets are formed by LIN buses
Network, based on from the SW ROM datas that the main control unit transmits to SW implement reprogram.
The present invention provides a kind of operation method of LIN network multi-channels bootstrap loader, and implementation step includes:SW
ROM data is transmitted by being connected to the CAN communication bus of vehicle OBD terminals, then will be received by the CAN described in
SW ROM datas are transmitted by LIN networks;And based on by the SW ROM datas that the LIN networks receive to SW implement
Reprogramming.
Present invention has the advantage that:
According to the present invention it is possible to multiple units are implemented simultaneously to reprogram and compare each unit and implement reprogramming respectively more
Save the time.
It is not required to carry out individual operations to vehicle(Tear safety cylinder, line disconnection etc. open), can also be to the SW realities of LIN slave units
Apply reprogramming.
When software issue occurs for accessory, directly software is implemented again to program, be not required to change accessory and be advantageous to adopt in time
Counter-measure is taken, while saves maintenance cost.
Brief description of the drawings
Fig. 1 is the explanation figure of prior art.
Fig. 2 is the structure chart for the LiN network multi-channels guiding loading device for illustrating one embodiment of the invention.
Fig. 3 and Fig. 4 is the explanation figure of the operation method of the Lin network multi-channels guiding loading device of one embodiment of the invention.
In figure:
110:CAN controller 120:OBD terminals
130:Lin main control units 140:Lin slave units
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
Part of the embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
The term used in the present invention is only not to limit the invention to illustrate embodiment.In this specification
Singulative, on the premise of there is no special suggestion in sentence, also comprising plural form.Used in specification " including
(comprises)" or " including (comprising) " be not excluded for involved component, step, action and/or element with
Outer more than one other components, step, action and/or the presence of element or supplement.
Referring to Fig. 2, the Lin network multi-channels guiding loading device of one embodiment of the invention is illustrated.Fig. 2
It is the structure chart for the LiN network multi-channels guiding loading device for illustrating one embodiment of the invention.
As shown in Fig. 2 the Lin network multi-channels guiding loading device of the present invention includes CAN controller(CAN
Controller)110、OBD(On Board Diagnosis, on-board diagnostic system)Terminal 120, Lin main control units(LIN
Master Unit)130 and at least one Lin slave units(LIN Master Unit)130.
CAN controller 110 be by the CAN communication BUS of vehicle OBD terminals 120 to Lin main control units 130 transmit respectively from
Belong to the SW ROM datas of unit 140.
Lin main control units 130 are the SW ROM data approach LIN nets that will be transmitted by CAN BUS from CAN controller 110
Network is sent to each slave unit 140.
Each slave unit 140 is to be rearranged software based on the SW ROM datas transmitted from main control unit 130 by LIN buses
Journey.
The transfer rate of CAN is 500kbps, and the transfer rate of LIN buses is 20kbps, therefore effectively forms Lin
The gateway of main control unit 130(Gateway)Logic, then it is not required to successively reprogram each slave unit 140, but implements simultaneously
Reprogramming, so as to improve the time efficiency of reprogramming.
As described above, according to the present invention, simultaneously multiple units can be implemented to reprogram, it is than unit is weighed respectively
The time is more saved in programming, and is not required to carry out individual operations to vehicle(Tear safety cylinder, line disconnection etc. open), can also be to LIN
The SW of slave unit implements reprogramming, when software issue occurs for accessory, directly software is implemented again to program, is not required to replacing and matches somebody with somebody
Part and be advantageous to save maintenance cost while quickly taking counter-measure.
The Lin network multi-channels guiding loading device of one embodiment of the invention is illustrated above by reference to Fig. 2.Under
Face reference picture 3 and Fig. 4, the operation method of loading device is guided to retouch the Lin network multi-channels of one embodiment of the invention
State.Fig. 3 and Fig. 4 is the explanation figure of the operation method of the Lin network multi-channels guiding loading device of one embodiment of the invention.
As shown in Figure 3 and Figure 4, with the operation of tester, it is intended to the download of the SW reprogrammings of each Lin slave units 140
It is ready(Download Ready)Request signal is transmitted(Step S100), the download for receiving transmission is ready(Download
Ready)Request signal(Step S200), then judge that SW reprogramming can be implemented.
Judged result can implement SW reprogrammings, then reprogramming mark is set to after particular value such as 0x00 and transmits response letter
Number(Step S201).
According to the operation of tester, reset request signal and be sent to(Step S101), then receive transmission resets request
Signal(Step S202), then implement power-on reset(Step S203).
Reprogramming is labeled as particular value such as 0x00 labeled as 0x00 or Flash, then transmits bootstrap loader version
(Step S204), and the bootstrap loader version transmitted is shown in a manner of being confirmed by tester(Step S102).
Include the erasing of the operating and setting according to tester(Erase)The request erasing signal of address is transmitted(Step
S103), then receive transmission request erasing signal(Step S205), then judge store corresponding with the erasing address being set
Can block be wiped.
Judged result, when memory block can wipe, implement the erasing of memory block(Step S206), by reprogramming mark setting
For particular value such as 0xFF, Flash marks are then set to 0x00 and transmit answer signal.
According to the operation of tester, download request signal is transmitted(Step S105), then receive transmission download request letter
Number(Step S207), and judge to download.
When judged result can be downloaded, the answer signal that can be downloaded is transmitted(Step S208), and according to the behaviour of tester
Make transmission data(Step S105).
Receive the data of transmission(Step S209), and Data Flash can as far as possible keep transmission state, that is, receive with
The data of the operation transmission of tester keep implementing Flash state(Step S210).
Data complete transmission, and terminate request signal according to the operation of tester, data transmission and transmitted(Step S106),
The transmission for then receiving transmission terminates request signal(Step S211)If transmission can be terminated, by flashing index(Flash
Flag)After being set to particular value such as 0xFF, answer signal is transmitted(Step S212).
Request signal is reseted according to tester to be transmitted(Step S107), then receive transmission resets request signal, and in fact
Apply power-on reset(Step S213).
On the other hand, tester after request within 50ms if do not responded, then retransmit once, retransmit once
Do not respond still afterwards, then terminate communication, and after guiding request response of the loading device then to tester, if tester
Do not respond and then terminate communication.
Above example and particular terms are merely illustrative of the technical solution of the present invention, rather than its limitations;Although reference
The present invention is described in detail previous embodiment, it will be understood by those within the art that:It still can be right
Technical scheme described in foregoing embodiments is modified, or carries out equivalent substitution to which part technical characteristic;And these
Modification is replaced, and the essence of appropriate technical solution is departed from the scope of technical scheme described in various embodiments of the present invention.
Claims (4)
- A kind of 1. Lin network multichannel guide installation device, it is characterised in that including;CAN controller, SW ROM datas are transmitted by the CAN communication bus for being connected to vehicle OBD terminals;LIN main control units, the SWROM data transmitted from the CAN controller are sent to by LIN by the CAN Network;At least one slave unit, the LIN networks are formed by LIN buses, based on from described in main control unit transmission SW ROM datas are implemented to reprogram to SW,Each slave unit is after the LIN main control units transmit the SW ROM datas, receives the data, at least two The SW of slave unit implements reprogramming simultaneously rather than respectively.
- 2. Lin network multichannel guide installation device according to claim 1, it is characterised in that the LIN main control units Including:Gateway, from the CAN controller by SW ROM datas described in high-speed CAN communications reception, communicated by low speed LIN to each Slave unit transmits the SW ROM datas.
- 3. a kind of operation method of LIN network multi-channels bootstrap loader, it is characterised in that implementation step includes:SW ROM datas are transmitted by being connected to the CAN communication bus of vehicle OBD terminals, will be received by the CAN The SW ROM datas transmitted by LIN networks;AndBased on by the SW ROM datas that the LIN networks receive to SW implement reprogram,After the SW ROM datas are transmitted, receive the data, SW is implemented to reprogram simultaneously rather than respectively.
- 4. the operation method of LIN network multi-channels bootstrap loader according to claim 3, it is characterised in thatThe reprogramming step comprises the following steps:Wipe the memory block corresponding with the erasing address of setting;Flash memory is implemented to the memory block of erasing with the SW ROM datas of reception;And power-on reset.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020110107589A KR101913706B1 (en) | 2011-10-20 | 2011-10-20 | Lin Network Multi-Channel BootLoader Apparatus And Loading Method Thereof |
KR10-2011-0107589 | 2011-10-20 |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103064357A CN103064357A (en) | 2013-04-24 |
CN103064357B true CN103064357B (en) | 2017-12-01 |
Family
ID=48107020
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210391861.8A Expired - Fee Related CN103064357B (en) | 2011-10-20 | 2012-10-16 | Lin network multichannel guide installation device and its operation method |
Country Status (2)
Country | Link |
---|---|
KR (1) | KR101913706B1 (en) |
CN (1) | CN103064357B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101470168B1 (en) * | 2013-06-14 | 2014-12-05 | 현대자동차주식회사 | Reprogramming method for cpu of controller |
KR102034650B1 (en) * | 2013-08-07 | 2019-10-21 | 현대모비스 주식회사 | Appatatus and Method Preventing False Operation according to NVR Data Error of Vehicle Module |
KR101527778B1 (en) * | 2014-01-02 | 2015-06-10 | 현대자동차주식회사 | In-vehicle apparatus for efficient reprogramming and method for controlling there of |
FR3033429B1 (en) * | 2015-03-04 | 2018-08-03 | Continental Automotive France | MICROCONTROLLER WITH A DIAGNOSTIC MODULE AND METHOD OF ACCESSING THE MODULE OF THE MICROCONTROLLER |
CN106338986B (en) * | 2016-10-27 | 2019-05-07 | 武汉奥泽电子有限公司 | Multimachine based on high frequency communications writes with a brush dipped in Chinese ink the method and system of program |
CN108170443A (en) * | 2016-12-06 | 2018-06-15 | 上汽通用汽车有限公司 | Vehicle-mounted LIN buses part software refreshing system and method |
CN106790233B (en) * | 2017-01-17 | 2020-06-05 | 北京经纬恒润科技有限公司 | Application program refreshing method and device of ECU |
CN108664256A (en) * | 2017-03-28 | 2018-10-16 | 宁德时代新能源科技股份有限公司 | Firmware updating method and device of system and battery management system |
-
2011
- 2011-10-20 KR KR1020110107589A patent/KR101913706B1/en active IP Right Grant
-
2012
- 2012-10-16 CN CN201210391861.8A patent/CN103064357B/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
KR101913706B1 (en) | 2018-10-31 |
CN103064357A (en) | 2013-04-24 |
KR20130043453A (en) | 2013-04-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103064357B (en) | Lin network multichannel guide installation device and its operation method | |
CN109219800B (en) | Relay device, program update system, and program update method | |
CN107465588B (en) | State control method and device of multi-channel bus network and network management system | |
US9986596B2 (en) | Connecting control devices and the V2X unit via WLAN or Bluetooth, and V2X unit which has update memory | |
CN106414178A (en) | Vehicle-mounted program writing device | |
JP6562134B2 (en) | Relay device, program update system, and program update method | |
CN101017438A (en) | Method for remote reprogramming of vehicle flash memory | |
CN104601421A (en) | Vehicle-mounted network system and management apparatus for the same | |
CN110753905B (en) | Control device, control method, and computer program | |
CN108156062A (en) | The gateway controller of various communications protocols including compatible Ethernet and CAN FD | |
CN112261130A (en) | Vehicle, OTA (over the air) upgrading system and OTA upgrading method for vehicle | |
WO2019035261A1 (en) | Control device, control method and computer program | |
CN110494844A (en) | Control equipment, transfer approach and computer program | |
CN101917320B (en) | Configuration parameter downloading device and downloading method of configurable control modules on passenger car body | |
JP2019034652A (en) | Control device, control method, and computer program | |
CN112567696A (en) | Vehicle-mounted communication device and vehicle-mounted system | |
CN104793975A (en) | Method and device for updating application programs in electronic control units | |
CN109714727A (en) | A kind of unmanned sweeper optimization method based on OTA technology | |
JP2018181376A (en) | Relay device, program update system, and program update method | |
KR20070076201A (en) | Rom program update system and method do electron control unit in vehicles | |
JP2018120438A (en) | Electronic control device and program rewriting system | |
US11399266B2 (en) | Control apparatus, in-vehicle communication system, communication control method and program | |
US11928458B2 (en) | Method for updating a digital system | |
KR101744998B1 (en) | Re-programming control module and re-programming system and method using the re-programming control module | |
CN107015542B (en) | Bus steering engine and control device, control system and control method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20171201 Termination date: 20211016 |
|
CF01 | Termination of patent right due to non-payment of annual fee |