CN101452263A - Automobile electronic controller and start-up control method thereof - Google Patents
Automobile electronic controller and start-up control method thereof Download PDFInfo
- Publication number
- CN101452263A CN101452263A CNA2007100943960A CN200710094396A CN101452263A CN 101452263 A CN101452263 A CN 101452263A CN A2007100943960 A CNA2007100943960 A CN A2007100943960A CN 200710094396 A CN200710094396 A CN 200710094396A CN 101452263 A CN101452263 A CN 101452263A
- Authority
- CN
- China
- Prior art keywords
- electronic controller
- automobile electronic
- software
- program module
- diagnostic equipment
- 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
Images
Landscapes
- Stored Programmes (AREA)
Abstract
The invention discloses an automobile electronic controller. The automobile electronic controller comprises a bootstrap module which is called during the start. The module is positioned at an initial address for storing a software program module and is used for judging whether the software of the automobile electronic controller needs to be updated and guiding the updating if needed. The invention also discloses a start control method for the automobile electronic controller. The method is used to detect an updating program and guide the completion of the updating. As the invention integrates the bootstrap module into the automobile electronic controller, adopts the Flash switching or Ram switching technique and follows a diagnosis protocol, the invention can realize the aim of updating the program through a diagnosis instrument, and bring about the simple and feasible updating of the automobile electronic controller.
Description
Technical field
The present invention relates to a kind of body of a motor car electronic installation, be specifically related to a kind of automobile electronic controller.The invention still further relates to a kind of start-up control method of automobile electronic controller
Background technology
Along with the development of automotive electronic technology, increasing electronic controller is applied on the automobile, as driven rearview mirrors control module, automatic seat controller, power window controller, air-conditioner controller, lamp dimmer, central controlled lock module, alarm or the like.
The application of electronic controller in automobile is more and more, the data communication of each electric room becomes more and more, a large amount of uses of these separation modules simultaneously, brought also when improving vehicle riding comfort that cost increase, failure rate rise, the change of design requirement, thereby also caused former design failure etc.
At present in a single day program mal takes place in automobile electronic controller, perhaps since the treating method of the software that design alteration causes change be: controller is removed from car load, in the operating room, is adopted specific purpose tool to carry out program updates.Because the installation site difference of each controller, removing needs certain workload; The difference of microprocessor, programming instrument are also different; The characteristics that the sale of automobile distribution range is big also will make the task of this refresh routine become very difficult.
Summary of the invention
Technical matters to be solved by this invention provides a kind of automobile electronic controller, and it can just can carry out program upgrade by diagnostic equipment, the simple possible that the renewal of automobile electronic controller is become.For this reason, the present invention also will provide a kind of start-up control method of automobile electronic controller.
In order to solve above technical matters, the invention provides a kind of automobile electronic controller, comprise a bootstrap program module that calls when starting, this module is positioned at the start address of its software program module storage, be used to judge whether the software of automobile electronic controller needs to upgrade, and guiding is when needed upgraded.
The present invention also provides a kind of start-up control method of above-mentioned automobile electronic controller, after comprising the steps: the energising of (1) automobile electronic controller, its bootstrap program module detects whether be connected with diagnostic equipment, if then detect the version number of the update software in the diagnostic equipment, if otherwise guide in the startup application program of automobile electronic controller; Whether (2) bootstrap program module detects the version number of existing software identical with the version number of update software, if different then the transmission to diagnostic equipment needs the signalings upgraded, in the identical startup application program that then guides to automobile electronic controller; (3) diagnostic equipment sends update software to automobile electronic controller after receiving the signaling that needs to upgrade; (4) bootstrap program module detects the data of update software, wherein different with existing software data segments is duplicated, and move to the original data segment of covering in the internal memory; (5) outage automatically, renewal is finished.
Because the present invention is with in the integrated admission car of the bootstrap program module electronic controller, adopt Flash exchange or Ram switching technology, follow diagnosing protocol, thereby reach, the simple possible that the renewal of automobile electronic controller is become by the purpose of diagnostic equipment with program updates.
Description of drawings
Below in conjunction with the drawings and specific embodiments the present invention is described in further detail.
Fig. 1 is a system construction drawing of the present invention.
Embodiment
As shown in Figure 1, automobile electronic controller of the present invention comprises a bootstrap program module that calls when starting, this module is positioned at the start address of its software program module storage, be used to judge whether the software of automobile electronic controller needs to upgrade, and guiding is upgraded when needed.Owing to system power-up or after resetting, all CPU usually all from certain by instruction fetch on the prearranged address of CPU manufacturer, therefore boot is assigned in one section space that this start address begins, can controls the startup of automobile electronic controller.
After the automobile electronic controller energising, whether the automatic detection of its bootstrap program module is connected with diagnostic equipment.If then detect the version number of the update software in the diagnostic equipment, if otherwise guide in the program of normal startup of automobile electronic controller.Whether the version number of the existing software of bootstrap program module contrast is identical with the version number of update software then, if differently then send the signalings that need renewal to diagnostic equipment; If in the program of the identical normal startup that then guides to automobile electronic controller.Then diagnostic equipment sends update software to automobile electronic controller after receiving the signaling that needs to upgrade.After bootstrap program module is received update software, further detect the data of update software, wherein different with existing software data segments is duplicated, and move to the original data segment of covering in the internal memory.After finishing data segment and duplicating, automobile electronic controller cuts off the power supply automatically, and renewal is finished.
The communication of automobile electronic controller of the present invention and diagnostic equipment realizes by the ODBII port, and follow the KWP2000 agreement, diagnostic equipment is easy to link to each other with automobile electronic controller by the ODBII mouth and obtains Physical layer and be connected, and communicate the transmission of data, make program updates no longer need special software replication tool.
Can be provided with one in addition and upgrade the complement mark position in the boot of automobile electronic controller of the present invention, its initial value is 1 or 0.In the start-up control program process, when step of updating began to carry out, the value of upgrading the complement mark position was set to the inverted value of initial value; When step of updating is finished, the value of this renewal complement mark position is reset to initial value.When automobile electronic controller restarts,, can judge at first whether this refresh routine is normal if upgrade like this by detecting the value of upgrading the complement mark position.Because if this zone bit is not an initial value, show that promptly then automatically original program segment is resetted has unusually appearred in refresh routine.Has only the identical program of just further carrying out the back of value of upgrading the complement mark position with initial value.Make the operation of calling program more safe and reliable like this.
Claims (6)
1, a kind of automobile electronic controller; It is characterized in that comprise a bootstrap program module that calls when starting, this module is positioned at the start address of its software program module storage, be used to judge whether the software of described automobile electronic controller needs to upgrade, and guiding is upgraded when needed.
2, automobile electronic controller as claimed in claim 1 is characterized in that, realizes by the ODBII port when described automobile electronic controller and diagnostic equipment communication.
3, a kind of start-up control method of automobile electronic controller; It is characterized in that, comprise the steps:
(1) after the automobile electronic controller energising, its bootstrap program module detects whether be connected with diagnostic equipment, if then detect the version number of the update software in the described diagnostic equipment, if otherwise guide in the startup application program of described automobile electronic controller;
Whether (2) described bootstrap program module detects the version number of existing software identical with the version number of described update software, if different then the transmission to described diagnostic equipment needs the signalings upgraded, in the identical startup application program that then guides to described automobile electronic controller;
(3) diagnostic equipment sends update software to automobile electronic controller after receiving the signaling that needs to upgrade;
(4) described bootstrap program module detects the data of described update software, wherein different with described existing software data segments is duplicated, and move to the original data segment of covering in the internal memory;
(5) outage automatically, renewal is finished.
4, the start-up control method of automobile electronic controller as claimed in claim 3 is characterized in that, follows the KWP2000 agreement when described bootstrap program module and described diagnostic equipment communication.
5, the start-up control method of automobile electronic controller as claimed in claim 3, it is characterized in that be provided with one in the described bootstrap program module and upgrade the complement mark position, its initial value is 1 or 0, when step (4) when beginning to carry out, the value of this renewal complement mark position is made as the inverted value of initial value; When step (4) is complete, the value of this renewal complement mark position is reset to initial value.
6, the start-up control method of automobile electronic controller as claimed in claim 5, it is characterized in that, after step (1) energising, increase step detection and upgrade whether the value of complement mark position is initial value, if not representing that then generation is unusual in the renewal process, former all program segments that do not upgrade are resetted.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2007100943960A CN101452263A (en) | 2007-12-06 | 2007-12-06 | Automobile electronic controller and start-up control method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2007100943960A CN101452263A (en) | 2007-12-06 | 2007-12-06 | Automobile electronic controller and start-up control method thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101452263A true CN101452263A (en) | 2009-06-10 |
Family
ID=40734545
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNA2007100943960A Pending CN101452263A (en) | 2007-12-06 | 2007-12-06 | Automobile electronic controller and start-up control method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101452263A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102588178A (en) * | 2011-01-05 | 2012-07-18 | 致宏有限公司 | Electronic injection system detecting method |
CN104572141A (en) * | 2013-10-10 | 2015-04-29 | 上海信耀电子有限公司 | Online updating method for guide program of vehicle electric control unit (ECU) |
CN105022690A (en) * | 2015-07-14 | 2015-11-04 | 四川长虹电器股份有限公司 | Air conditioner testing method and function testing system |
CN102736586B (en) * | 2012-05-21 | 2016-12-14 | 奇瑞新能源汽车技术有限公司 | The entire car controller of a kind of pure electric automobile and system boot method |
-
2007
- 2007-12-06 CN CNA2007100943960A patent/CN101452263A/en active Pending
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102588178A (en) * | 2011-01-05 | 2012-07-18 | 致宏有限公司 | Electronic injection system detecting method |
CN102736586B (en) * | 2012-05-21 | 2016-12-14 | 奇瑞新能源汽车技术有限公司 | The entire car controller of a kind of pure electric automobile and system boot method |
CN104572141A (en) * | 2013-10-10 | 2015-04-29 | 上海信耀电子有限公司 | Online updating method for guide program of vehicle electric control unit (ECU) |
CN104572141B (en) * | 2013-10-10 | 2019-03-12 | 上海信耀电子有限公司 | The online updating method of the bootstrap of automobile electric control unit ECU |
CN105022690A (en) * | 2015-07-14 | 2015-11-04 | 四川长虹电器股份有限公司 | Air conditioner testing method and function testing system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108268264B (en) | Pre-shutdown exchange verification | |
US9880927B2 (en) | Functionally expandable vehicle control device and method for supplementing the functionality of a vehicle control device | |
CN101850799A (en) | Controller FLASH programming method based on hybrid electric vehicle CAN bus communication | |
US20060248172A1 (en) | Method for updating software of an electronic control device by flash programming via a serial interface and corresponding automatic state machine | |
CN103412561A (en) | Automobile controller refreshing method and device | |
US20180321929A1 (en) | Method and system for software installation in a vehicle | |
CN101236526A (en) | Computer system having cache system directly connected to nonvolatile storage device | |
CN101452263A (en) | Automobile electronic controller and start-up control method thereof | |
KR101913706B1 (en) | Lin Network Multi-Channel BootLoader Apparatus And Loading Method Thereof | |
CN106020870A (en) | System and method for quick upgrading of firmware of full liquid crystal instrument | |
CN107807624B (en) | Method for refreshing application program in controller | |
CN102073508A (en) | Method and apparatus for upgrading terminals and software thereof | |
CN108427885A (en) | Updating BIOS method and apparatus | |
CN106339328A (en) | Shared Memory Architecture Autoupdater | |
CN106775674A (en) | A kind of equipment and its startup method based on universal guiding loading procedure | |
CN103395389B (en) | A kind of vehicle lamplight control method | |
CN102508676A (en) | Startup method and device of embedded system | |
CN202110528U (en) | ECU (electrical conversion unit) embedded type software refreshing and downloading programming system | |
CN111459508B (en) | BootLoader self-upgrading method and system | |
CN106274551B (en) | Electric machine controller firmware upgrade system, method and electric machine controller | |
EP3961379B1 (en) | Software update device, software update method, non-transitory storage medium, and vehicle | |
CN109263580A (en) | A kind of automobile control method | |
CN111610981A (en) | BMS board online writing method and device | |
CN114780114A (en) | Firmware upgrading method, system, vehicle and storage medium | |
JP7396216B2 (en) | Server, update management method, update management program, and software update device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Open date: 20090610 |