CN107391215A - The system that a kind of ECU embedded softwares refresh and download programming - Google Patents

The system that a kind of ECU embedded softwares refresh and download programming Download PDF

Info

Publication number
CN107391215A
CN107391215A CN201710876935.XA CN201710876935A CN107391215A CN 107391215 A CN107391215 A CN 107391215A CN 201710876935 A CN201710876935 A CN 201710876935A CN 107391215 A CN107391215 A CN 107391215A
Authority
CN
China
Prior art keywords
test
test lead
node
software
lead
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
CN201710876935.XA
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.)
Nanjing Ke Tuo Software Technology Co Ltd
Original Assignee
Nanjing Ke Tuo Software Technology Co Ltd
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 Nanjing Ke Tuo Software Technology Co Ltd filed Critical Nanjing Ke Tuo Software Technology Co Ltd
Priority to CN201710876935.XA priority Critical patent/CN107391215A/en
Publication of CN107391215A publication Critical patent/CN107391215A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/654Updates using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The system for refreshing the invention discloses a kind of ECU embedded softwares and downloading programming.The system includes test node, standard traffic circuit and test lead.There is read-only program memory and dynamic routine memory in the test lead of the system, there is dynamic routine memory in test node.Software refreshing provided by the present invention and the decorum for downloading programming, upgrading software is allowed to be separated with test lead, only just upgrading software is downloaded in test lead dynamic routine memory from test node when test lead carries out software refreshing and run, so as to reach the purpose of test lead software refreshing.Because upgrading software download is deposited in the dynamic routine memory of test lead, it is and uncured in test lead, test lead, which is restarted in rear test lead, upgrades software loss, when test lead program occurs abnormal, it significantly more efficient can prevent from wiping write operation to vehicle ECU mistake, so as to improve system data security.

Description

The system that a kind of ECU embedded softwares refresh and download programming
Technical field
The present invention relates to a kind of automotive diagnostic system, particularly to a kind of ECU based on automotive bus technology (Electronic Control Unit, electronic control unit)Embedded software refreshes and downloaded programing system, particularly introduces A kind of security strategy protected to ECU data.
Background technology
With the development of automotive engineering, people are to vehicle security and the requirement more and more higher of comfortableness, controlled vehicle-mounted electrical list The quantity of member is also more and more, and mechanism is increasingly complicated, and function progressively strengthens, and the requirement to vehicle diagnosis is also just higher;Now very More vehicle-mounted control modules both increase on board diagnosis function, detect motoring condition in real time;Once it was found that failure, meeting is according to event The significance level of barrier, choose whether to notify driver by indicator lamp immediately, and store failure code and related data;So as to carry The high security of running car and the accuracy of diagnosis;Simultaneously in production matching and after-sales service maintenance, examined by outside Disconnected equipment establishes communication connection with control module, so that it may realizes Read fault code, the quality for detecting actuator, transducer calibration etc. Function, there is provided great convenience.
At present, vehicle diagnostic network generally has three kinds, i.e. LIN by physical layer point(Local Interconnect Network, local interconnect network)Bus, high-speed CAN(Controller Arae Network, controller LAN), low speed CAN;It is CAN that three of the above is most widely used in vehicle at present, is most widely used controller communication on automobile One of bus.Refreshing of some the existing diagnostic test systems to target ECU mainly has direct refreshing, and this is for data on ECU Security extreme difference, it is easy to maloperation to data occurs;Also a kind of system is that data on ECU ought refreshed When, it is necessary to some password authentications, such as a kind of implementation method of company of Cherry(Number of patent application:200910172930 publication numbers: CN101692017), but this implementation not only increases the complexity of operation, it is necessary to carry out the work such as the checking of password Add system burden, and the program Solidification of erasable operation still will be carried out to ECU on target ECU, so when program goes out During existing abnormal conditions, just probably go to perform the erasable operation sequence to ECU, this will cause gross error.
The content of the invention
It is an object of the invention to provide one kind can avoid entering test lead because performing upgrading software by mistake during the system failure Row maloperation, so as to improve the system that the ECU embedded softwares of test lead Information Security refresh and download programming.
To achieve the above object, the system for refreshing the invention provides a kind of ECU embedded softwares and downloading programming, this is System includes standard traffic circuit, at least one test lead and test node.Wherein, standard traffic circuit respectively with test node and Test lead is connected, for carrying out data exchange between test node and test lead.Test lead is connected with standard traffic circuit, By the refresh command of standard traffic line receiver test node, upgrading software, relevant product information and refresh daily record.Test section Point is connected by standard traffic circuit with test lead.
Also there is read-only program memory and test lead dynamic routine memory in test lead, there is test in test node Node dynamic routine memory.The read-only program memory of test lead and test lead dynamic routine memory and test node dynamic Program storage is connected, and can carry out information exchange;Test node dynamic routine memory and test lead dynamic routine memory It is connected, information exchange can be carried out.
The device have the advantages that:
First, software refreshing of the invention and the system for downloading programming, test lead ECU software refreshing is realized, compared to other Software refreshing process, this system are more convenient on the basis of safety guarantee refreshing.Either wipe test lead internal processes also It is downloading data, it is necessary to download test lead program storage operation sequence, this is performed automatically by system, to improve convenience.
In addition, software refreshing provided by the present invention and the system for downloading programming, allow upgrading software to be separated with test lead, only Have when carrying out to test lead software refreshing and test lead upgrading software just to be downloaded into test lead dynamic routine from test node deposit Run in reservoir, so as to reach the purpose of test lead software refreshing.Because the upgrading software of test lead deposits in the dynamic of test lead In program storage, upgrade software loss, the i.e. erasable operation journey to test lead read-only program memory after test lead power down Sequence is uncured in test lead, so when test lead program occurs abnormal, significantly more efficient can prevent the mistake wiping to vehicle ECU Except write operation, so as to improve to system data security.Meanwhile it is uncured in test lead to upgrade software, effectively reduces survey The occupancy of end memory is tried, enhances the protection to testing end system.
In addition, the present invention can also provide refreshing checking, test side controller is related in read test end before refreshing to be believed Breath such as controller software, hardware version numbers, product renewing date, controller supplier relevant information and daily record;In refresh process After end, test lead will again read off test lead relevant information and daily record, and for refreshing front and rear comparison, proving program refreshes specific Realize situation.
Brief description of the drawings
Fig. 1 is the structural representation of communication system of the present invention;
Fig. 2 is that the present invention realizes software refreshing and downloads the step flow chart of programming;
Fig. 3 is that the present invention realizes software refreshing and downloads programming schematic diagram.
Embodiment
For the purpose of the present invention, technical scheme and advantage is more clearly understood, one is entered to the present invention referring to the drawings Step describes in detail.
As shown in figure 1, this system includes test node, at least one test lead and standard traffic circuit.Standard traffic Circuit refers to the Standardization Communication circuit available for vehicle electronic communication, and physical link is established for test node and test lead, The automobile communication network based on CAN or LIN bussing techniques can be but not limited to.In the present embodiment, standard traffic Circuit is connected with examination node and test lead respectively, for carrying out data exchange between test node and test lead.
Test lead refers to certain ECU controller, can be but not limited to engine control module, instrument, air bag, tire pressure control Molding block, gearbox, brake system, electric boosting steering system, air-conditioning, car body controller.In the present embodiment, test lead It is connected with standard traffic circuit, passes through the refresh command of standard traffic line receiver test node, storage drive program, phase Close product information and refresh daily record.
Test node is connected by standard traffic circuit with test lead, has test analysis soft inside test node Part, the test node are mainly used in testing results analysis software, perform test software related order and operation, and to test lead Send the upgrading software and refreshing information needed for test lead.
Wherein, test lead includes the module for starting, and it is used to start test lead, runs test lead bootloader;For the module of initialization, it is connected with hardware resource, for being initialized to hardware resource;For entering The module of row acquiescence diagnosis, it is connected by standard traffic circuit with test node, for receiving the instruction of test node transmission, And test lead is set to enter acquiescence diagnostic mode;For the module of renewal, it is used for read test end relevant product information and refreshing Daily record, and contrasted with renewal software in examination node, so as to judge whether that needs are refreshed;Examined for being downloaded refreshing Disconnected module, it is connected by standard traffic circuit with test node, for from test node download test lead upgrade software to In test lead dynamic memory;And the module for automatic start.
In addition, having read-only program memory and test lead dynamic routine memory in test lead, have in test node Test node dynamic routine memory.The read-only program memory of test lead and test lead dynamic routine memory and test node Dynamic routine memory is connected, and can carry out information exchange;Test node dynamic routine memory is deposited with test lead dynamic routine Reservoir is connected, and can carry out information exchange.The read-only program memory of test lead be used for store test lead relevant product information, Updating software and refreshing daily record;Test lead dynamic routine memory is used to store what is downloaded from test node dynamic routine memory Test lead upgrades software, and test node dynamic routine memory is used to store test lead ROMPaq and the renewal of test lead is soft Part.
With reference to 2,3 figures, test lead progress software refreshing step is specifically described test node as follows:
Step S301, the starting module of test lead start test lead, into bootloader, the initialization of test lead initialization module Necessary hardware resource, afterwards, test node control test lead diagnostic mode module send instruction make test lead be used for into The module work of row acquiescence diagnosis, test lead enter acquiescence diagnostic mode, read test end relevant product information, example before refreshing Controller software, hardware version numbers, product renewing date, controller supplier relevant information and daily record can be such as but not limited to Etc. information.
Step S302, the module work updated is used in test lead, test lead is entered more new procedures, now test lead is first Read test end relevant product information and refreshing daily record, and contrasted with software is updated in test node, judge whether to need Refreshed, if need not refresh, system enters access customer other operating processes, if desired refreshes, continues executing with step S303;
Step S303, the module of test node control test lead diagnostic mode send order to test lead, make being used for for test lead The module work for refreshing diagnosis is downloaded, test lead, which enters to download, refreshes diagnostic mode, the module to be downloaded in test lead Test lead is downloaded from test node by standard traffic circuit and upgrades software into test lead dynamic memory;
Step S304, when test lead upgrade software download after, test lead operation upgrading software, by standard traffic circuit from Test node download needed for renewal software arrive test lead read-only storage designated area, after the completion of renewal refreshing daily record;
Step S305, after renewal is downloaded, the module for test lead automatic start is worked, and test lead is restarted automatically, this When dynamic memory in upgrading software loss;Test lead starts, and into bootloader, initializes necessary hardware resource, Test node, which sends instruction, afterwards makes test lead enter acquiescence diagnostic mode, and test lead is again introduced into more new procedures, and test lead is first Read test end relevant product information and refreshing daily record, judge whether that needs are refreshed;If desired refresh, perform step S302- S305;If it is determined that without refreshing, system enters access customer other operating processes.In the present embodiment, software is updated It is that test lead needs to download the software replaced from test node, upgrading software is test lead read-only program memory operation sequence.
The present invention is the improvement to some current automotive diagnostic systems, and what software refreshing of the invention and download programmed is System, realizes test lead ECU software refreshing, compared to other software refreshing processes, this system is on the basis that safety guarantee refreshes On it is more convenient.Either wipe test lead internal processes or downloading data, it is necessary to download test lead program storage behaviour Make program, this is performed automatically by system, to improve convenience.
Software refreshing provided by the present invention and the system for downloading programming, allow upgrading software to be separated with test lead, only exist Test lead upgrading software is just downloaded into test lead dynamic routine memory from test node when carrying out to test lead software refreshing Middle operation, so as to reach the purpose of test lead software refreshing.Because the upgrading software of test lead deposits in the dynamic routine of test lead In memory, it upgrades software loss, the i.e. erasable operation sequence to test lead read-only program memory after test lead power down It is uncured in test lead, so when test lead program occurs abnormal, significantly more efficient can prevent to the erasing of vehicle ECU mistake Write operation, so as to improve system data protectiveness and security.Meanwhile test lead program storage operation sequence it is uncured Test lead, the occupancy of test lead memory is effectively reduced, enhance the protection to testing end system.
Certainly, the present invention can also have other various embodiments, ripe in the case of without departing substantially from spirit of the invention and its essence Know those skilled in the art when can be made according to the present invention it is various it is corresponding change and deformation, but these corresponding change and become Shape should all belong to the protection domain of appended claims of the invention.

Claims (4)

1. the system that a kind of ECU embedded softwares refresh and download programming, the system includes standard traffic circuit, at least one Test lead and test node,
The standard traffic circuit is connected with the test node and the test lead respectively, for the test node and institute State and carry out data exchange between test lead;
The test lead is connected with the standard traffic circuit, passes through test node described in the standard traffic line receiver Refresh command, upgrading software, relevant product information and refreshing daily record;
It is characterized in that:
There is read-only program memory and test lead dynamic routine memory in the test lead, have in the test node and survey Try node dynamic routine memory;The read-only program memory of the test lead and the test lead dynamic routine memory and institute State test node dynamic routine memory to be connected, information exchange, the test node dynamic routine memory and institute can be carried out State test lead dynamic routine memory to be connected, information exchange can be carried out.
2. the system that ECU embedded softwares as claimed in claim 1 refresh and download programming, it is characterised in that the standard Communication line is one of CAN, LIN buses.
3. the system that ECU embedded softwares as claimed in claim 1 refresh and download programming, it is characterised in that the test Hold as ECU controllers.
4. the system that ECU embedded softwares as claimed in claim 3 refresh and download programming, it is characterised in that the test End is engine control module, instrument, air bag, tire pressure control module, gearbox, brake system, electric boosting steering system, sky One of tune, car body controller or two or more.
CN201710876935.XA 2017-09-25 2017-09-25 The system that a kind of ECU embedded softwares refresh and download programming Pending CN107391215A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710876935.XA CN107391215A (en) 2017-09-25 2017-09-25 The system that a kind of ECU embedded softwares refresh and download programming

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710876935.XA CN107391215A (en) 2017-09-25 2017-09-25 The system that a kind of ECU embedded softwares refresh and download programming

Publications (1)

Publication Number Publication Date
CN107391215A true CN107391215A (en) 2017-11-24

Family

ID=60349986

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710876935.XA Pending CN107391215A (en) 2017-09-25 2017-09-25 The system that a kind of ECU embedded softwares refresh and download programming

Country Status (1)

Country Link
CN (1) CN107391215A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109067629A (en) * 2018-07-10 2018-12-21 南京协和电子科技有限公司 A kind of hardware download tool communicating more new data by LIN
CN109165030A (en) * 2018-09-07 2019-01-08 中国电子科技集团公司第五十八研究所 A kind of online programming test method of single-chip microcontroller

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109067629A (en) * 2018-07-10 2018-12-21 南京协和电子科技有限公司 A kind of hardware download tool communicating more new data by LIN
CN109165030A (en) * 2018-09-07 2019-01-08 中国电子科技集团公司第五十八研究所 A kind of online programming test method of single-chip microcontroller

Similar Documents

Publication Publication Date Title
CN102043680B (en) Method and system for refreshing ECU (Electronic Control Unit) embedded software and downloading program
US20190312892A1 (en) Onboard cybersecurity diagnostic system for vehicle, electronic control unit, and operating method thereof
US8126606B2 (en) Automobile detection and control gateway interface and method thereof
KR101094781B1 (en) Configuration System Of A Vehicle And Process For The Configuration Of At Least One Control Unit Of The Configuration System
US20080216067A1 (en) Arrangement and Method for Programming Motor Vehicles
CN109164789A (en) A kind of in-vehicle multi-media system for information of vehicles diagnosis
CN102262404A (en) End-of-line configuration system and configuration method for finished vehicle
Drolia et al. Autoplug: An automotive test-bed for electronic controller unit testing and verification
US10574553B2 (en) Fault isolation for a controller area network
CN101692017A (en) Whole-automobile diagnosing method
CN106020870A (en) System and method for quick upgrading of firmware of full liquid crystal instrument
CN202110528U (en) ECU (electrical conversion unit) embedded type software refreshing and downloading programming system
KR20220156057A (en) Devices and methods for managing electronic control units of a motor vehicle
CN110087209A (en) Electronic control unit and for connect certification method
CN107391215A (en) The system that a kind of ECU embedded softwares refresh and download programming
CN115993809A (en) Automobile network vehicle bus diagnostics
EP2789127B1 (en) Self-learning automotive data logger identifying automotive messages transmitted over a can bus connecting automotive electronic control units
CN118092966A (en) OTA upgrading method, system, automobile and storage medium based on Ethernet architecture
CN114379570A (en) Automatic detection of vehicle data manipulation and mechanical failure
CN102681526A (en) CAN (controller area network) bus system and fault diagnosis method thereof
CN203658989U (en) ECU (electronic control unit) embedding software refreshing and program downloading system
JPH11175331A (en) Rom rewritting method for lan system for vehicle, and on-vehicle controller
Kim et al. Compare of Vehicle Management over the Air and On-Board Diagnostics
CN113341936B (en) Virtual fault injection test method based on power supply control
KR20100115965A (en) Control system for fault diagnosis in vehicle

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20171124

WD01 Invention patent application deemed withdrawn after publication