Movatterモバイル変換


[0]ホーム

URL:


CN101850799A - Controller FLASH programming method based on hybrid electric vehicle CAN bus communication - Google Patents

Controller FLASH programming method based on hybrid electric vehicle CAN bus communication
Download PDF

Info

Publication number
CN101850799A
CN101850799ACN201010187825ACN201010187825ACN101850799ACN 101850799 ACN101850799 ACN 101850799ACN 201010187825 ACN201010187825 ACN 201010187825ACN 201010187825 ACN201010187825 ACN 201010187825ACN 101850799 ACN101850799 ACN 101850799A
Authority
CN
China
Prior art keywords
controller
program
chinese ink
brush dipped
write
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
CN201010187825A
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.)
Chongqing Changan Automobile Co Ltd
Chongqing Changan New Energy Automobile Co Ltd
Original Assignee
Chongqing Changan Automobile Co Ltd
Chongqing Changan New Energy Automobile 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 Chongqing Changan Automobile Co Ltd, Chongqing Changan New Energy Automobile Co LtdfiledCriticalChongqing Changan Automobile Co Ltd
Priority to CN201010187825ApriorityCriticalpatent/CN101850799A/en
Publication of CN101850799ApublicationCriticalpatent/CN101850799A/en
Pendinglegal-statusCriticalCurrent

Links

Images

Landscapes

Abstract

The invention provides a controller FLASH programming method based on hybrid electric vehicle CAN bus communication. When a controller program is needed to be programmed, a CAN bus on a controller can be directly connected with the controller, thereby the aim for programming the controller program is achieved. The method is realized by connecting a computer with a vehicle CAN bus through ZLG CAN bus detection equipment, then sending out a connection request through the CAN bus to be connected to the controller and finally updating a new program prepared in advance into the controller, thereby finishing one programming and programming the program in the controller.

Description

Controller FLASH programming method based on hybrid electric vehicle CAN bus communication
Technical field
The present invention relates to a kind ofly the moderate hybrid power automobile controller be carried out the method that FLASH writes with a brush dipped in Chinese ink by the CAN agreement.
Background technology
In energy-conservation today of carrying out energetically with environmental protection, hybrid vehicle more and more is subject to people's attention, hybrid vehicle control core strategy technology also develops more and more ripely, usually needs the control policy program of core controller is upgraded again, upgraded.Need to come refresh routine by the method for giving controller BDM interface refurbishing procedure on automobile in the past, therefore not only will reserve the stitch that FLASH writes with a brush dipped in Chinese ink to control unit interface, the waste hardware resource also makes the position of controller be subjected to a great extent restriction.In case the BMD space of reserving is not enough, perhaps location of controls is too remote, then can only be from the car dismounting controller refresh routine that gets off, and finish and again controller is reinstalled up after upgrading, the difficulty of the program of writing with a brush dipped in Chinese ink will be increased greatly.
The applicant extensively retrieves at the problems referred to above, does not find relevant solution as yet.
Summary of the invention
To the objective of the invention is in order solving because can't direct contact, to write with a brush dipped in Chinese ink the shortcoming of unusual difficulty again and a kind of CAN of utilization line of proposing, the method hybrid power automobile controller FLASH write with a brush dipped in Chinese ink by means of ZLG USB CAN when controller.
The technical solution used in the present invention is as follows:
The invention provides a kind of controller FLASH programming method based on hybrid electric vehicle CAN bus communication.Need be in the bottom software of controller integrated bootloader function, in the bootloader functional software, finish setting up corresponding the connection according to the Message that receives on the CAN bus, finish the verification of writing with a brush dipped in Chinese ink authority, check the storage space of RAM, FLASH and Eeprom, accept the Frame received on the CAN bus, be combined into complete controller software at last and write with a brush dipped in Chinese ink, feedback is write with a brush dipped in Chinese ink the result.
When needs are write with a brush dipped in Chinese ink director demon, can directly be connected with controller, thereby reach the purpose of writing with a brush dipped in Chinese ink director demon by the CAN bus on the controller.This method is that computing machine is linked to each other with automobile CAN-bus by a Zhou Ligong CAN bus check implement, send connection request by the CAN bus then and be connected to controller, at last preprepared new procedures is uploaded in the controller, so just finished once and write with a brush dipped in Chinese ink, refreshed controller in-to-in program.
When writing with a brush dipped in Chinese ink director demon by the CAN bus, computer terminal need move bootloader and write with a brush dipped in Chinese ink program.After moving this program, at first confirm computer terminal and the employed CANID of controller end, and the baud rate parameter of employed Zhou Ligong CAN bus monitoring equipment, clicking " next step " afterwards, choose " update controller program ", and click " browsing " and select the required S19 file of writing with a brush dipped in Chinese ink.Confirm errorless after, click " beginning to download ".At this moment in Information related feedback information can appear, to show the current situation of writing with a brush dipped in Chinese ink of carrying out.Concrete steps are as follows:
1. open the CAN port.
2. request command.Computer terminal bootloader writes with a brush dipped in Chinese ink program and sends the Can message that contains request command, and waits for the controller feedback.If this step failure then can't be finished download.
3. the order of shaking hands.Computer terminal bootloader writes with a brush dipped in Chinese ink program and sends the Can message that contains the order of shaking hands, and waits for the controller feedback.If this step failure then can't be finished download.
4. accreditation.Computer terminal bootloader writes with a brush dipped in Chinese ink program and sends the Can message contain authentication message, the controller end contrast this message whether with controller end bootloader function program in authentication message whether corresponding.If this step failure then can't be finished download.
5. open the director demon file.
6. wipe old director demon.
7. update controller program.Computer terminal bootloader writes with a brush dipped in Chinese ink program and sends several Can message that contain complete director demon, and the controller termination is received the back and write with a brush dipped in Chinese ink.If this step failure then can't be finished download.
8. download successfully.After finishing, download shows this message.
9. controller is restarted.Restart controller with the operation new procedures.
10. close the Can port.
After writing with a brush dipped in Chinese ink failure, can trouble-shooting after, click " beginning to download " again and write with a brush dipped in Chinese ink program, need not to carry out reset operation.
Advantage of the present invention is:
1. owing to CAN bus on the modern vehicle is used very extensive, on hardware, need not to add new interface and can realize this function, on the controller hardware of moderate hybrid vehicle, can save the BDM interface like this, saved the controller occupation space, the difficulty that makes controller hardware design difficulty and each space of components arrange all obviously reduces.
2. because the characteristic of CAN bus, make that any one port all can be write with a brush dipped in Chinese ink controller on the CAN bus, increased the alerting ability when writing with a brush dipped in Chinese ink FLASH.
3. controller end program contains the authority setting.The insufficient permission that comprises when a controller end program is so that it when refreshing entire controller, can make this time write with a brush dipped in Chinese ink failure.The safety of the program of writing with a brush dipped in Chinese ink that such design increases has avoided controller end program by unsuitable modification or wipe.
Description of drawings
Fig. 1 is a diagram of circuit of the present invention
Fig. 2 is the CAN bus architecture scheme drawing behind the access bootloader
The specific embodiment
Referring to Fig. 1, the performing step of this method is as follows:
According to the Can2.0A/B agreement to the CAN module initialization, write out relevant .C and .H file.
2. distribute according to controller RAM and FLASH, write MAKE and LINK file.
3. by CosmicC compiling S19 file, write with a brush dipped in Chinese ink the controller end.
4. computer terminal is connected on the CAN bus by a ZLG USB CAN.
5. write with a brush dipped in Chinese ink program (computer terminal) at computer terminal operation bootloader, operate according to prompting, concrete steps are as follows:
1. open the CAN port.
2. request command.Computer terminal bootloader writes with a brush dipped in Chinese ink program and sends the Can message that contains request command, and waits for the controller feedback.If this step failure then can't be finished download.
3. the order of shaking hands.Computer terminal bootloader writes with a brush dipped in Chinese ink program and sends the Can message that contains the order of shaking hands, and waits for the controller feedback.If this step failure then can't be finished download.
4. accreditation.Computer terminal bootloader writes with a brush dipped in Chinese ink program and sends the Can message contain authentication message, the controller end contrast this message whether with controller end bootloader function program in authentication message whether corresponding.If this step failure then can't be finished download.
5. open the director demon file.
6. wipe old director demon.
7. update controller program.Computer terminal bootloader writes with a brush dipped in Chinese ink program and sends several Can message that contain complete director demon, and the controller termination is received the back and write with a brush dipped in Chinese ink.If this step failure then can't be finished download.
8. download successfully.After finishing, download shows this message.
9. controller is restarted.Restart controller with the operation new procedures.
10. close the Can port.

Claims (1)

CN201010187825A2010-05-312010-05-31Controller FLASH programming method based on hybrid electric vehicle CAN bus communicationPendingCN101850799A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201010187825ACN101850799A (en)2010-05-312010-05-31Controller FLASH programming method based on hybrid electric vehicle CAN bus communication

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201010187825ACN101850799A (en)2010-05-312010-05-31Controller FLASH programming method based on hybrid electric vehicle CAN bus communication

Publications (1)

Publication NumberPublication Date
CN101850799Atrue CN101850799A (en)2010-10-06

Family

ID=42802521

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201010187825APendingCN101850799A (en)2010-05-312010-05-31Controller FLASH programming method based on hybrid electric vehicle CAN bus communication

Country Status (1)

CountryLink
CN (1)CN101850799A (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102253849A (en)*2011-06-082011-11-23重庆金美通信有限责任公司Intelligent boot loader based on controller area network (CAN) bus
CN102495601A (en)*2011-12-122012-06-13深圳市航盛电子股份有限公司Software refreshing system and method for internetwork electronic control units
CN102621950A (en)*2012-01-132012-08-01奇瑞汽车股份有限公司Pure electric vehicle carload controller refreshing instrument and refreshing method
CN102707979A (en)*2012-05-222012-10-03奇瑞汽车股份有限公司Special refreshing tool and refreshing method for automobile controller software
CN102968114A (en)*2012-11-202013-03-13意昂神州(北京)科技有限公司Production line flash terminal supporting multiple protocols and flashing method with terminal
CN103020514A (en)*2012-12-242013-04-03潍柴动力股份有限公司Method and system for programming controller
CN103095745A (en)*2011-10-282013-05-08上海移远通信技术有限公司Vehicle-mounted terminal, electronic module and device, system and method of electronic module upgrade
CN103885791A (en)*2012-12-202014-06-25北汽福田汽车股份有限公司Programming device of vehicle controller
CN104461610A (en)*2014-11-032015-03-25桂林电子科技大学Platformized multi-ECU online flashing method
CN104850015A (en)*2014-09-092015-08-19北汽福田汽车股份有限公司Software packaging method and automobile electronic controller
CN105630477A (en)*2014-11-282016-06-01奇点新源国际技术开发(北京)有限公司Method and device for upgrading application program of vehicle-mounted terminal
CN106094624A (en)*2016-06-242016-11-09苏州工业职业技术学院Hybrid vehicle electron program station based on embedded type C AN bus system
CN106991065A (en)*2017-03-312017-07-28东莞博力威电池有限公司Method for communicating with equipment with CAN and/or LIN bus through USB upper computer
CN109144550A (en)*2018-09-032019-01-04北京新能源汽车股份有限公司Data processing method, device and system
CN109582931A (en)*2017-09-292019-04-05上海欧菲智能车联科技有限公司Refresh the generation method and system of file
CN110134422A (en)*2019-04-192019-08-16东风汽车集团有限公司 System and method for downloading flash drive and upgrading controller software based on OBD and CAN bus
CN111610981A (en)*2019-02-222020-09-01广州汽车集团股份有限公司 A kind of BMS board online flashing method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1747472A (en)*2005-10-172006-03-15浙江大学 Embedded universal calibration device and method based on CCP protocol
CN101673202A (en)*2008-09-092010-03-17比亚迪股份有限公司Program writing method and system, pre-writing device and writing device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1747472A (en)*2005-10-172006-03-15浙江大学 Embedded universal calibration device and method based on CCP protocol
CN101673202A (en)*2008-09-092010-03-17比亚迪股份有限公司Program writing method and system, pre-writing device and writing device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《苏州大学学报(工科版)》 20100430 刘矗,罗峰 基于飞思卡尔控制器的CAN Bootloader的实现与应用 57-61 1 第30卷, 第2期 2*

Cited By (23)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102253849A (en)*2011-06-082011-11-23重庆金美通信有限责任公司Intelligent boot loader based on controller area network (CAN) bus
CN103095745B (en)*2011-10-282016-04-13上海移远通信技术有限公司Car-mounted terminal, electronic module, electronic module update device, system and method
CN103095745A (en)*2011-10-282013-05-08上海移远通信技术有限公司Vehicle-mounted terminal, electronic module and device, system and method of electronic module upgrade
CN102495601A (en)*2011-12-122012-06-13深圳市航盛电子股份有限公司Software refreshing system and method for internetwork electronic control units
CN102621950A (en)*2012-01-132012-08-01奇瑞汽车股份有限公司Pure electric vehicle carload controller refreshing instrument and refreshing method
CN102707979A (en)*2012-05-222012-10-03奇瑞汽车股份有限公司Special refreshing tool and refreshing method for automobile controller software
CN102968114A (en)*2012-11-202013-03-13意昂神州(北京)科技有限公司Production line flash terminal supporting multiple protocols and flashing method with terminal
CN103885791A (en)*2012-12-202014-06-25北汽福田汽车股份有限公司Programming device of vehicle controller
CN103020514B (en)*2012-12-242016-01-06潍柴动力股份有限公司A kind of method and system writing with a brush dipped in Chinese ink controller
CN103020514A (en)*2012-12-242013-04-03潍柴动力股份有限公司Method and system for programming controller
CN104850015B (en)*2014-09-092018-02-23北汽福田汽车股份有限公司A kind of software packaging method and a kind of automobile electronic controller
CN104850015A (en)*2014-09-092015-08-19北汽福田汽车股份有限公司Software packaging method and automobile electronic controller
CN104461610A (en)*2014-11-032015-03-25桂林电子科技大学Platformized multi-ECU online flashing method
CN105630477A (en)*2014-11-282016-06-01奇点新源国际技术开发(北京)有限公司Method and device for upgrading application program of vehicle-mounted terminal
CN105630477B (en)*2014-11-282019-03-01奇点新源国际技术开发(北京)有限公司The upgrade method and device of car-mounted terminal application program
CN106094624A (en)*2016-06-242016-11-09苏州工业职业技术学院Hybrid vehicle electron program station based on embedded type C AN bus system
CN106094624B (en)*2016-06-242018-10-26苏州工业职业技术学院Hybrid vehicle electron program station system based on embedded type C AN buses
CN106991065A (en)*2017-03-312017-07-28东莞博力威电池有限公司Method for communicating with equipment with CAN and/or LIN bus through USB upper computer
CN106991065B (en)*2017-03-312019-07-05东莞博力威电池有限公司Method for communicating with equipment with CAN and/or LIN bus through USB upper computer
CN109582931A (en)*2017-09-292019-04-05上海欧菲智能车联科技有限公司Refresh the generation method and system of file
CN109144550A (en)*2018-09-032019-01-04北京新能源汽车股份有限公司Data processing method, device and system
CN111610981A (en)*2019-02-222020-09-01广州汽车集团股份有限公司 A kind of BMS board online flashing method and device
CN110134422A (en)*2019-04-192019-08-16东风汽车集团有限公司 System and method for downloading flash drive and upgrading controller software based on OBD and CAN bus

Similar Documents

PublicationPublication DateTitle
CN101850799A (en)Controller FLASH programming method based on hybrid electric vehicle CAN bus communication
CN108710499B (en)Method and device for flashing vehicle-mounted ECU software of electric vehicle
US12153911B2 (en)Vehicle program rewrite system, vehicle master device, progress synchronization method and computer program product
CN111061499B (en)ECU updating method and system based on file system
CN110489143A (en)FOTA firmware remote update system and its method on new-energy automobile
CN203405692U (en)Vehicle controller remote upgrading device and system based on CAN bus, and vehicle
CN102495744A (en)Control software upgrading method of electronic control devices of electric automobile based on controller area network (CAN) bus
CN105573787A (en)Software upgrade method and device based on vehicular T-Box
CN203237208U (en)Vehicle remote control system and vehicle capable of achieving remote control
CN102103511A (en)Method and system for refreshing application program
CN110263590B (en) A vehicle-mounted ECU and its safety protection method
CN103369037A (en)Method for automatically synchronizing data among Android intelligent equipment
CN108454538A (en)Vehicle Electronic Control Unit updating system
CN112527326A (en)Board-dismounting-free ECU (electronic control Unit) cross-manufacturer flashing system and method
CN114281374A (en)Remote flash method and system for vehicle electronic control unit and storage medium
CN105830021A (en)Updatable integrated-circuit radio
CN112148312A (en)Firmware upgrading management method, device, equipment and medium for electronic controller
CN113434168A (en)Vehicle-mounted network architecture self-adaptive upgrading method based on intelligent hardware computing power
CN117762452A (en)Vehicle software upgrading method, device, terminal equipment and storage medium
Shi et al.A vehicle electric control unit over-the-air reprogramming system
CN103455347A (en)Language setting method and system of vehicle-mounted information entertainment system
CN115987964B (en)Whole vehicle FOTA upgrading system and method
CN111505977B (en)Function auxiliary debugging method, device, system and medium
CN102033765A (en)BCM (Body Control Module) program upgrading method and vehicle-mounted electronic control system upgrading method
CN115129025A (en)Finished automobile off-line distribution method, finished automobile off-line distribution system, readable storage medium and equipment

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
C02Deemed withdrawal of patent application after publication (patent law 2001)
WD01Invention patent application deemed withdrawn after publication

Open date:20101006


[8]ページ先頭

©2009-2025 Movatter.jp