CN107346244A - A kind of automobile EPS director demons automation download system and method - Google Patents
A kind of automobile EPS director demons automation download system and method Download PDFInfo
- Publication number
- CN107346244A CN107346244A CN201710482954.4A CN201710482954A CN107346244A CN 107346244 A CN107346244 A CN 107346244A CN 201710482954 A CN201710482954 A CN 201710482954A CN 107346244 A CN107346244 A CN 107346244A
- Authority
- CN
- China
- Prior art keywords
- eps
- download
- controllers
- bootloader
- host computer
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
-
- 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
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a kind of automobile EPS director demons automation download system and method, system includes host computer, USB CAN boxes, feature board, EPS controllers, barcode scanning gun;Host computer is connected with USB CAN boxes by USB interface, and USB CAN boxes are connected by CAN with feature board, EPS controllers respectively, and feature board is connected with EPS controllers each other by serial ports and CAN;Quick Response Code on barcode scanning gun scanning EPS controllers, is sent into host computer after obtaining data by wire.The present invention considerably simplify EPS director demon downloading process, can quickly and reliably complete the download of director demon.
Description
Technical field
The invention belongs to technical field of automobile control, is related to a kind of electric boosting steering system of electric automobile (EPS) control
The program downloading system and method for device master control chip processed, include the download of Bootloader and application program.
Background technology
The download program of embedded system is the important step of current electronic product exploitation and production.Traditional method is to make
Downloaded with BDM (Background Debug Mode) instrument or upgrade applications, this method are only tried out in research and development of products rank
Section, in the production of big batch products, not only efficiency is low for this method for down loading, and the program code of download is also unreliable.And use
The method of online updating application program based on Bootloader is it is possible to prevente effectively from above mentioned problem.Bootloader also cries startup
Bootstrap, this section of code is first carried out after electricity on hardware device.In automobile electronics, Bootloader's is mainly used to
Online updating application program.
Typically when carrying out download program to chip, it need to be carried out in two steps:Bootloader is downloaded and application program is downloaded.
When Bootloader download complete when, it usually needs to chip again power-on and power-off, and will renewal traffic sign placement be application program more
New model.The function of power-on and power-off and change generation patterns is realized generally by two mechanical switch, but this method is not only
Efficiency is low, and producers also can often malfunction when downloading.
The content of the invention
In order to solve the above-mentioned technical problem, the invention provides a kind of automobile EPS director demons to automate download system
And method.
Technical scheme is used by the system of the present invention:A kind of automobile EPS director demons automate download system, its
It is characterised by:Including host computer, USB-CAN boxes, feature board, EPS controllers, barcode scanning gun;
The feature board is used to store part Bootloader data, realizes Bootloader generation patterns and application program
Generation patterns automatically switch, the automatic power-on and power-off of EPS controllers;The host computer is connected with the USB-CAN boxes by USB interface
Connect, the USB-CAN boxes are connected by CAN with the feature board, EPS controllers respectively, and the feature board controls with EPS
Device connects each other by serial ports with CAN;The barcode scanning gun scans the Quick Response Code on the EPS controllers, after obtaining data
It is sent into by wire in the host computer.
Technical scheme is used by the method for the present invention:A kind of automobile EPS director demons automate method for down loading, its
It is characterised by, comprises the following steps:
Step 1:Configure EPS controller informations;
Step 2:Tester scans the Quick Response Code on EPS controllers by barcode scanning gun, when upper computer detection to EPS controls
When 2 D code information on device changes, it is Bootloader generation patterns that feature board sets program generation patterns automatically;
Step 3:It is offline to download Bootloader programs;
Step 4:Download online application program;
Step 5:After the completion of the offline download of EPS controllers and download online, host computer believes the key of download program
Breath is recorded in txt file, and is uploaded to by LAN in the database of background server.
It is an advantage of the invention that:
(1) download system is simple to operate.Producers pass through the Quick Response Code on barcode scanning gun scanning monitor, upper computer software
After receiving the information, it is possible to carry out download program;
(2) download efficiency of system is high, highly reliable.Download system realizes Bootloader and application by feature board
One key of program is downloaded, and is realized controller power-on and power-off by the program in feature board and changed the function of generation patterns, is replaced
The step of for manual operation mechanical switch;
(3) download system is integrated with product back-tracing module, facilitates the maintenance and management in controller later stage.When controller is complete
Into after download program, the information related to the controller can be stored in txt file by upper computer software, and by LAN
Pass in the database of background server.
Brief description of the drawings
Fig. 1 is the system the general frame of the embodiment of the present invention;
Fig. 2 is the method flow diagram of the embodiment of the present invention;
Fig. 3 is the Bootloader program files of the embodiment of the present invention and the process of analysis figure of application file.
Embodiment
Understand for the ease of those of ordinary skill in the art and implement the present invention, below in conjunction with the accompanying drawings and embodiment is to this hair
It is bright to be described in further detail, it will be appreciated that implementation example described herein is merely to illustrate and explain the present invention, not
For limiting the present invention.
See Fig. 1, a kind of automobile EPS director demons automation download system provided by the invention, including host computer 1,
USB-CAN boxes 2, feature board 3, EPS controllers 4, barcode scanning gun 5;Feature board 3 is used to store part Bootloader data, realizes
Bootloader generation patterns automatically switch with application program update pattern, the automatic power-on and power-off of EPS controllers 4;Host computer with
USB-CAN boxes 2 are connected by USB interface, and USB-CAN boxes 2 are connected by CAN with feature board 3, EPS controllers 4 respectively,
Feature board 3 is connected with EPS controllers 4 each other by serial ports and CAN;Barcode scanning gun 5 scans the Quick Response Code on EPS controllers 4,
It is sent into after obtaining data by wire in host computer 1.
Barcode scanning gun 5 scans the Quick Response Code of EPS controllers 4, and the ID number of EPS controllers 4 is sent in host computer 1;When 1 inspection
When measuring the ID of EPS controllers 4 and changing, the order for starting to download, work(are sent to feature board 3 by USB-CAN boxes 2
The update mark of EPS controllers 4 is arranged to Bootloader generation patterns by energy plate 3, then will be stored in the program of feature board 4
Code downloads to EPS controllers 4;After Bootloader, which is downloaded, to be completed, feature board 3 sets the update mark of EPS controllers 4
Application program update pattern is set to, and sends the signal to host computer 1, under then host computer 1 is started by USB-CAN boxes 2
Carry application code;After the completion of the download program of EPS controllers, host computer 1 is by controller ID number, Bootloader versions
Number, application version number, the information such as download program time and operator be stored in txt file, and by LAN by its
Upload in the database of background server.
See Fig. 2, a kind of automobile EPS director demons automation method for down loading provided by the invention, comprise the following steps:
Step 1:Configure the information of EPS controllers 4;
The information that need to be configured includes controller application file, the information of tester.
Step 2:Tester scans the Quick Response Code on EPS controllers 4 by barcode scanning gun 5, when host computer 1 detects EPS
When 2 D code information on controller 4 changes, feature board 3 sets program generation patterns to update mould for Bootloader automatically
Formula;
The determination methods whether 2 D code information of EPS controllers 4 changes:Host computer 1 can store the two of last controller
Code information is tieed up, when the 2 D code information that current controller is obtained with barcode scanning gun 5, both are contrasted;If the program of controller
Failed download, host computer will not store the 2 D code information.The advantages of this determination methods:It can avoid successfully downloading
Controller repeated downloads, improve controller production efficiency;Meanwhile to the controller of download program failure, it can attempt again
Download.
Step 3:It is offline to download Bootloader programs;
When detecting that the 2 D code information of EPS controllers 4 changes, feature board 3 sets the program generation patterns to be automatically
Bootloader generation patterns.First, to the specific data of one byte of transmission of EPS controllers 4, (data are controlled feature board 3 by EPS
The main control chip of device 4 determines), EPS controllers 4 are according to the time for receiving data, the baud rate of the serial communication of arbitration functions plate 3;
Then, feature board 3 sends data by serial ports to EPS controllers 4, and the effect of this partial data is initialization EPS controllers 4
CAN module;After serial data is sent completely, if the successful data reception of EPS controllers 4, EPS controllers 4 can send burning
Successful signal.Feature board 3 sends data by CAN module to EPS controllers 4 again, and this partial data is Bootloader
Program.If offline downloading process occurs downloading mistake, feature board 3 can be alarmed by indicator lamp, and can pass through USB-CAN boxes
2 status display areas for uploading to error message in the interface of host computer 1, and stop offline downloading process.
Step 4:Download online application program;
After the completion of offline download, feature board 3 can carry out principal and power on operation to EPS controllers 4, and set journey
Sequence generation patterns are application program update pattern.After being provided with, EPS controllers 4 can send application program and download initial signal,
After host computer 1 receives the signal, it will start to download application program by USB-CAN boxes 2., can be right when application program is downloaded
Downloading data is encrypted, and the Bootloader programs of EPS controllers 4 can will receive data and first be decrypted, then be then stored into
The FLASH areas of the main control chip of EPS controllers 4.Equally, if download online process occurs downloading mistake, host computer 1 can show in state
Show that area shows error message, and stop online downloading process.
Step 5:After the completion of the offline download of EPS controllers 4 and download online, host computer 1 is by the key of download program
Information record is uploaded in the database of background server in txt file, and by LAN.Key message includes:Control
Device ID number, Bootloader version numbers, application version number, download program time, operator, Bootloader and apply journey
Whether sequence is downloaded successfully etc..
See Fig. 3, the Bootloader program files of the present embodiment with application file are entered with HEX file formats
Row storage, and be all encryption file;Before starting offline download, Bootloader program files need to be entered with application file
Row parsing;
For Bootloader program files, first decryption obtains HEX files, data is carried out line by line according to HEX file formats
Understand, be converted into 16 data processed, and carry out data check;After data check is errorless, to valid data encapsulation group bag, if obtaining
Dry packet, and store it in the FLASH areas of feature board 3;
For application file, data parsing is carried out using Bootloader program files analytic method, then to envelope
Each packet of dress group bag carries out CRC check;Packet after parsing will be stored in host computer 1.
The present invention considerably simplify EPS director demon downloading process, can quickly and reliably complete to control
The download of device program.
It should be appreciated that the part that this specification does not elaborate belongs to prior art.
It should be appreciated that the above-mentioned description for preferred embodiment is more detailed, therefore can not be considered to this
The limitation of invention patent protection scope, one of ordinary skill in the art are not departing from power of the present invention under the enlightenment of the present invention
Profit is required under protected ambit, can also be made replacement or deformation, be each fallen within protection scope of the present invention, this hair
It is bright scope is claimed to be determined by the appended claims.
Claims (10)
1. a kind of automobile EPS director demons automate download system, it is characterised in that:Including host computer (1), USB-CAN boxes
(2), feature board (3), EPS controllers (4), barcode scanning gun (5);
The feature board (3) is used to store part Bootloader data, realizes Bootloader generation patterns and application program
Generation patterns automatically switch, the automatic power-on and power-off of EPS controllers (4);The host computer passes through USB with the USB-CAN boxes (2)
Interface is connected, and the USB-CAN boxes (2) are connected by CAN with the feature board (3), EPS controllers (4) respectively, described
Feature board (3) is connected with EPS controllers (4) each other by serial ports and CAN;The barcode scanning gun (5) scans the EPS controls
Quick Response Code on device (4), it is sent into after obtaining data by wire in the host computer (1).
2. a kind of automobile EPS director demons automate method for down loading, it is characterised in that comprise the following steps:
Step 1:Configure EPS controllers (4) information;
Step 2:Tester scans the Quick Response Code on EPS controllers (4) by barcode scanning gun (5), when host computer (1) detects
When 2 D code information on EPS controllers (4) changes, setting program generation patterns are feature board (3) automatically
Bootloader generation patterns;
Step 3:It is offline to download Bootloader programs;
Step 4:Download online application program;
Step 5:After the completion of the offline download of EPS controllers (4) and download online, host computer (1) is by the key of download program
Information record is uploaded in the database of background server in txt file, and by LAN.
3. automobile EPS director demons according to claim 2 automate method for down loading, it is characterised in that:Institute in step 1
Stating EPS controllers (4) information includes controller application file information, tester's information.
4. automobile EPS director demons according to claim 2 automate method for down loading, it is characterised in that:In step 2,
The determination methods whether EPS controllers (4) 2 D code information changes are:Host computer (1) stores last EPS controllers (4)
2 D code information, when the 2 D code information that current EPS controllers (4) are obtained by barcode scanning gun (5), both are contrasted;If
The download program failure of EPS controllers (4), host computer (1) will not then store the 2 D code information.
5. automobile EPS director demons according to claim 2 automate method for down loading, it is characterised in that:Institute in step 3
Offline download Bootloader programs are stated, specific implementation includes following sub-step:
Step 3.1:The specific data that feature board (3) is determined to one byte of EPS controllers (4) transmission by EPS controllers (4), EPS
Controller (4) is according to the time for receiving data, the baud rate of the serial communication of arbitration functions plate (3);
Step 3.2:Feature board (3) sends data by serial ports to EPS controllers (4), for initializing EPS controllers (4)
CAN module;After serial data is sent completely, for EPS controllers (4) if successful data reception, EPS controllers (4) send burning
Successful signal;
Step 3.3:Feature board (3) sends data by CAN module to EPS controllers (4), and this data is Bootloader journeys
Sequence.
6. automobile EPS director demons according to claim 5 automate method for down loading, it is characterised in that:Step 3.3
In, if offline downloading process occurs downloading mistake, feature board (3) is alarmed by indicator lamp, and passes through USB-CAN boxes (2)
Error message is uploaded in host computer (1), stops offline downloading process.
7. automobile EPS director demons according to claim 2 automate method for down loading, it is characterised in that:Institute in step 4
Download online application program is stated, specific implementation includes following sub-step:
Step 4.1:After the completion of offline download, feature board (3) carries out principal and power on operation to EPS controllers (4), and
It is application program update pattern to set program generation patterns;
Step 4.2:EPS controllers (4) send application program and download initial signal, after host computer (1) receives the signal, pass through
USB-CAN boxes (2) start to download application program.
8. automobile EPS director demons according to claim 7 automate method for down loading, it is characterised in that:Step 4.2
In, if download online process occurs downloading mistake, feature board (3) is alarmed by indicator lamp, and passes through USB-CAN boxes (2)
Error message is uploaded in host computer (1), stops online downloading process.
9. automobile EPS director demons according to claim 2 automate method for down loading, it is characterised in that institute in step 5
Stating key message includes:Controller ID number, Bootloader version numbers, application version number, download program time, operation
Whether member, Bootloader programs and application program download successful information.
10. the automobile EPS director demons automation method for down loading according to claim 2-9 any one, its feature exist
In:Bootloader program files are stored with application file with HEX file formats, and are all encryption texts
Part;Before starting offline download, Bootloader program files need to be parsed with application file;
For Bootloader program files, first decryption obtains HEX files, data deciphering is carried out line by line according to HEX file formats,
16 data processed are converted into, and carry out data check;After data check is errorless, to valid data encapsulation group bag, several are obtained
Packet, and store it in the FLASH areas of feature board (3);
For application file, data parsing is carried out using Bootloader program files analytic method, then to encapsulation group
Each packet of bag carries out CRC check;Packet after parsing will be stored in host computer (1).
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710482954.4A CN107346244B (en) | 2017-06-22 | 2017-06-22 | A kind of automobile EPS director demon automation download system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710482954.4A CN107346244B (en) | 2017-06-22 | 2017-06-22 | A kind of automobile EPS director demon automation download system and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107346244A true CN107346244A (en) | 2017-11-14 |
CN107346244B CN107346244B (en) | 2019-09-10 |
Family
ID=60253377
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710482954.4A Active CN107346244B (en) | 2017-06-22 | 2017-06-22 | A kind of automobile EPS director demon automation download system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107346244B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108228217A (en) * | 2018-01-18 | 2018-06-29 | 晶晨半导体(上海)股份有限公司 | A kind of method for upgrading system |
CN108681458A (en) * | 2018-03-23 | 2018-10-19 | 天津清智科技有限公司 | A kind of hand-held programmer and its control method |
CN110001553A (en) * | 2019-02-25 | 2019-07-12 | 南京航空航天大学 | A kind of automobile four-way is adjustable steering apparatus, controller download system and method |
CN111209059A (en) * | 2020-01-14 | 2020-05-29 | 中国北方车辆研究所 | Embedded software multi-version control system and method |
CN113934473A (en) * | 2021-12-17 | 2022-01-14 | 机科发展科技股份有限公司 | Industrial electric vehicle driver application program downloading system and method |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2002088972A1 (en) * | 2001-04-26 | 2002-11-07 | The Boeing Company | A system and method for maintaining proper termination and error free communication in a network bus |
CN104216745A (en) * | 2014-08-29 | 2014-12-17 | 万向钱潮股份有限公司 | Online upgrading system and method for semi-active suspension ECU (Electronic Control Unit) controller software |
-
2017
- 2017-06-22 CN CN201710482954.4A patent/CN107346244B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2002088972A1 (en) * | 2001-04-26 | 2002-11-07 | The Boeing Company | A system and method for maintaining proper termination and error free communication in a network bus |
CN104216745A (en) * | 2014-08-29 | 2014-12-17 | 万向钱潮股份有限公司 | Online upgrading system and method for semi-active suspension ECU (Electronic Control Unit) controller software |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108228217A (en) * | 2018-01-18 | 2018-06-29 | 晶晨半导体(上海)股份有限公司 | A kind of method for upgrading system |
CN108681458A (en) * | 2018-03-23 | 2018-10-19 | 天津清智科技有限公司 | A kind of hand-held programmer and its control method |
CN110001553A (en) * | 2019-02-25 | 2019-07-12 | 南京航空航天大学 | A kind of automobile four-way is adjustable steering apparatus, controller download system and method |
CN110001553B (en) * | 2019-02-25 | 2021-07-09 | 南京航空航天大学 | Automobile four-direction adjustable steering control device and controller downloading method |
CN111209059A (en) * | 2020-01-14 | 2020-05-29 | 中国北方车辆研究所 | Embedded software multi-version control system and method |
CN111209059B (en) * | 2020-01-14 | 2023-03-03 | 中国北方车辆研究所 | Embedded software multi-version control system and method |
CN113934473A (en) * | 2021-12-17 | 2022-01-14 | 机科发展科技股份有限公司 | Industrial electric vehicle driver application program downloading system and method |
CN113934473B (en) * | 2021-12-17 | 2022-03-11 | 机科发展科技股份有限公司 | Industrial electric vehicle driver application program downloading system and method |
US11778042B2 (en) | 2021-12-17 | 2023-10-03 | Machinery Technology Development Co., Ltd | System and method for downloading application program of industrial electric vehicle driver |
Also Published As
Publication number | Publication date |
---|---|
CN107346244B (en) | 2019-09-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107346244B (en) | A kind of automobile EPS director demon automation download system and method | |
CN102662697B (en) | Software upgrading method and device | |
CN106681751A (en) | Unified firmware management system, management method, and computer readable medium | |
CN104199706A (en) | Firmware upgrade method and device for eMMC | |
CN101216773A (en) | Embedded Linux system firmware downloading method and device | |
CN111404733A (en) | Firmware control method and system and storage medium | |
CN107678949B (en) | Automatic testing method for realizing different communication modes of embedded equipment | |
CN106708586B (en) | A kind of handheld instrument and method for the update of embedded system program automatic on-line | |
CN111562933A (en) | Air conditioner upgrading method and air conditioner system | |
CN106775778B (en) | Program updating identification method and system in embedded program development | |
CN114281394A (en) | Method, system, equipment and medium for fast on-line upgrading program | |
CN105094877A (en) | Method for firmware upgrading, and host side device and system | |
US20060026462A1 (en) | Apparatus for recovering BIOS in computer system | |
CN110196726A (en) | A method of the load of FPGA program remote upgrading is realized based on CPU+CPLD | |
CN104133743B (en) | A kind of by burning file to the method for EMMC chip and device | |
TWI665553B (en) | Adapter with instrument control function, instrument control system and instrument control method applied thereto | |
CN111427602A (en) | Method for upgrading firmware on line of intelligent platform management controller of VPX case | |
CN106775904A (en) | A kind of program burn writing system and method for microcontroller built-in type system | |
CN206892846U (en) | A kind of program burn writing system of microcontroller built-in type system | |
CN202394528U (en) | Programming device for storage board | |
CN108103683B (en) | Sewing machine equipment and software program upgrading device thereof | |
CN116541026A (en) | Self-adaptive chip manufacturer bit stream burning method, device, equipment and medium | |
CN116700751A (en) | Upgrading method of server firmware and computing device | |
CN116483416A (en) | Firmware online upgrading method, server and storage medium | |
CN115981687A (en) | Firmware upgrading method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |