CN112558988A - Remote filling method and filling equipment for engine control software - Google Patents

Remote filling method and filling equipment for engine control software Download PDF

Info

Publication number
CN112558988A
CN112558988A CN202011280661.6A CN202011280661A CN112558988A CN 112558988 A CN112558988 A CN 112558988A CN 202011280661 A CN202011280661 A CN 202011280661A CN 112558988 A CN112558988 A CN 112558988A
Authority
CN
China
Prior art keywords
electronic controller
character
target electronic
filling
control software
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
CN202011280661.6A
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.)
AECC Aero Engine Xian Power Control Technology Co Ltd
Original Assignee
AECC Aero Engine Xian Power Control 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 AECC Aero Engine Xian Power Control Technology Co Ltd filed Critical AECC Aero Engine Xian Power Control Technology Co Ltd
Priority to CN202011280661.6A priority Critical patent/CN112558988A/en
Publication of CN112558988A publication Critical patent/CN112558988A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation

Abstract

The invention relates to a remote filling method and filling equipment for engine control software, which comprises the following steps: 1) connecting the target electronic controller with filling equipment and configuring a communication port; 2) sending the character a by filling equipment, and receiving the returned character a; 3) the filling equipment selects and sends the prepared guide code file, and returns information for prompting that the character a to be input is subjected to communication baud rate relocking; 4) the filling equipment sends the character a to carry out communication baud rate locking again, and returns a prompt to indicate whether the FLASH needs to be erased or not; 5) sending the character to the target electronic controller; 6) the filling equipment selects and sends the prepared control software code, and the target electronic controller returns information prompting correct verification to the filling equipment. The invention provides an engine control software remote filling method and filling equipment capable of conveniently and safely carrying out software filling maintenance operation.

Description

Remote filling method and filling equipment for engine control software
Technical Field
The invention belongs to the field of automatic control, relates to a software remote filling method, and particularly relates to an engine control software remote filling method and filling equipment.
Background
The engine control software is filled in an electronic controller for operation, at present, in some domestic engine control systems, a processor TMS320F281X (X stands for 0, 1 and 2) is used as a core processor of the electronic controller, software filling test on the electronic controller is an operation which is often carried out in the development process of the control system, and conventional software filling is generally carried out by connecting a JTAG port carried by the processor TMS320F281X with an emulator, but the method requires that a cable wire leading out of the JTAG port from the end of the electronic controller is required to be very short (the length of the cable is about 20cm generally) to be normally connected with the emulator for software filling. The TMS320F281X also provides a software filling method through a serial communication port, and the method utilizes the serial communication port of the TMS to be connected with a super terminal on a PC through a communication line, so that software codes are filled into the processor.
The method for filling software by connecting the JTAG port and the simulator has the defects of short filling distance, easy damage to a processor during filling and the like; the method for software filling by connecting the serial communication port with the super terminal has the defects that the filling success rate is low, the highest baud rate of the communication port can only be set to 57600Bd/s, filling of codes with the same size can be completed in about one minute, frequent filling is unsuccessful, a processor is easy to lock in the filling process, and the like, and the two methods can not conveniently carry out software filling maintenance operation on occasions requiring remote filling, such as engine high-altitude test beds, airplanes and the like. The engine control software is required to have strong maintainability, high safety and reliability during maintenance, and the control software has the characteristic of frequent modification and needs to be filled and tested frequently, so a convenient and reliable filling method needs to be researched to ensure the rapidity and the safety of filling of the control software. The invention provides a method for controlling software remote filling, which can conveniently and safely carry out software filling maintenance operation.
Disclosure of Invention
In order to solve the technical problems in the prior art, the invention provides the engine control software remote filling method and the filling equipment which can conveniently and safely carry out software filling maintenance operation.
In order to achieve the purpose, the invention adopts the following technical scheme:
a remote filling method of engine control software is characterized in that: the remote filling method of the engine control software comprises the following steps:
1) connecting the target electronic controller with filling equipment and configuring a communication port;
2) the target electronic controller is electrified, the filling equipment is operated, the filling equipment sends a character a to the target electronic controller, and meanwhile, the character a returned to the filling equipment by the target electronic controller is received and displayed;
3) the filling equipment selects the prepared guide code file, sends the guide code file to the target electronic controller, and after the guide code file is sent, the target electronic controller returns information prompting that the character a to be input is required to carry out communication baud rate relocking to the filling equipment;
4) the filling equipment sends a character a to the target electronic controller to lock the communication baud rate again, and the target electronic controller returns a prompt to the filling equipment to prompt whether the FLASH needs to be erased or not;
5) after receiving the prompt of the step 4), the filling equipment selects the N character or the Y character as required and sends the character to the target electronic controller, and after the sending is finished, the target electronic controller returns information for prompting that the application code is ready to be sent to the filling equipment;
6) after the filling equipment receives the prompt in the step 5), selecting the prepared control software code, and starting to send the control software code, after the control software code is sent, the target electronic controller returns information indicating correct verification to the filling equipment, and after the filling equipment receives the prompt, the filling of the control software is finished.
The remote filling method of the engine control software further comprises the following steps before the step 1):
0) boot code and control software code are prepared.
The boot code file and the control software code are binary files generated by a compiler.
The specific implementation manner of the target electronic controller in the step 5) returning the information prompting that the application code is ready to be sent to the filling equipment is as follows: the target electronic controller judges after receiving the N character or the Y character, if the Y character is selected, the target electronic controller erases the FLASH and returns information prompting that the application code is ready to be sent to the filling equipment; if the N character is selected, the information which prompts that the application code is ready to be sent is directly returned to the filling equipment.
A filling apparatus for implementing the engine control software remote filling method as described above, characterized in that: the filling equipment comprises a communication baud rate configuration and automatic matching module, a guide code sending module, a communication baud rate locking module, a FLASH erasing selection module and a control software code sending module;
the configuration and automatic matching communication baud rate module is used for configuring a communication port; the system is used for sending a character a to a target electronic controller to carry out communication baud rate automatic matching; the character a is used for receiving and displaying the character a returned by the target electronic controller;
the guide code sending module is used for selecting a guide code file to be sent; for sending the boot code file to the target electronic controller; receiving and displaying all characters returned by the target electronic controller;
the communication baud rate locking module is used for sending a character a to lock the communication baud rate; the electronic control unit is used for receiving and displaying all characters returned by the target electronic control unit;
the FLASH erasing selection module is used for selecting a character Y or a character N; the electronic control unit is used for sending the selected characters to the target electronic controller; the electronic control unit is used for receiving and displaying all characters returned by the target electronic control unit;
the transmission control software code module is used for selecting a control software code file to be transmitted; for sending it to the target electronic controller; the electronic control unit is used for receiving and displaying all characters returned by the target electronic control unit;
the configuration and automatic matching communication baud rate module sends a character a to the target electronic controller, when the configuration and automatic matching communication baud rate module receives the character a returned by the target electronic controller, the module sends a guide code to start running, when the guide code sending module receives the information that the target electronic controller prompts that the character a needs to be input, the communication baud rate locking module starts to operate, when the communication baud rate locking module receives the information that whether the target electronic controller needs to input the FLASH to be erased or not, the FLASH erasing selection module starts to operate, when the FLASH erasing selection module receives the information that the target electronic controller prompts that the application code is ready to be sent, the sending control software code module starts to run, and when the sending control software code module receives the information that the target electronic controller prompts correct verification, ending the filling operation.
The communication port configuration comprises communication port configuration, baud rate configuration, data bit configuration, verification mode configuration, stop bit configuration and block control configuration.
The boot code file and the control software code file are binary files.
The meaning of the character Y is to erase FLASH; the meaning of the character N is non-erased FLASH.
The invention has the following advantages:
the invention provides a remote filling method and filling equipment for engine control software, wherein the method is connected with the filling equipment through a communication cable, and after an electronic controller is electrified, the filling equipment starts to work: the method comprises the steps that a communication baud rate configuring and automatically matching module is operated in the first step, a character 'a' returned by an electronic controller is received after the operation of the communication baud rate configuring and automatically matching module is finished, a guide code sending module is operated in the second step, information prompting that the character 'a' needs to be input and returned by the electronic controller is received after the operation of the communication baud rate configuring and automatically matching module is finished, a communication baud rate locking module is operated in the third step, information prompting whether to erase FLASH is required to be input and returned by the electronic controller after the operation of the communication baud rate locking module is finished, a FLASH erasing selection module is operated in the fourth step, information prompting that an application code is ready to be sent and returned by the electronic controller is received after the operation of the FLASH erasing selection module is finished, a control software code sending module is operated in the fifth step, information prompting that correct verification and returned by the. The filling method provided by the invention utilizes the serial communication port of the processor, and a filling program capable of establishing communication connection with the communication port is developed, so that the filling of control software is realized by utilizing the filling program. The method for controlling the remote filling of the software provided by the invention has the advantages that the remote filling application verification is carried out on an electronic controller (the processor is TMS320F2812) in a laboratory environment and an engine high-altitude platform test environment, the software filling can be carried out through a cable with the length of 50 meters (the length can be longer, only one set of cable with the length of 50 meters is processed for cost reasons), the highest baud rate of a communication port can be set to be 230400Bd/s, and the filling of a 256K control software code (the size of a target code of the control software based on the processor TMS320F2812 is 256K, and the format of the control software code is a binary file) can be completed in ten seconds. The method provided by the invention is verified by a large number of actual filling operations, the problems of unsuccessful filling, processor locking and the like do not occur in the filling process, and the method has the advantages of long filling distance, convenient and safe filling process, high filling speed and the like.
Drawings
Fig. 1 is a schematic flow chart of a method for remotely filling engine control software provided by the invention.
Detailed Description
As shown in fig. 1, the present invention provides a method for remotely filling engine control software, in which before filling the control software, an electronic controller is connected to a filling device and a communication port is configured, and then the operation is performed according to the steps shown in fig. 1, which is divided into the following 5 steps:
1) the electronic controller is electrified, filling equipment is operated, a character a (the character a is a simple character and belongs to the known technology) is sent to the electronic controller, and the character a returned by the electronic controller is received and displayed;
2) after seeing the character a displayed in the step 1, selecting a prepared guide code, and starting to send the guide code, wherein after the guide code is sent, the electronic controller returns information for prompting the character a to be input to carry out communication baud rate relocking;
3) when the prompt in the step 2 is seen, the character a is sent to the electronic controller to carry out communication baud rate relocking, and the electronic controller returns a prompt whether the FLASH needs to be erased or not;
4) after seeing the prompt in the step 3, selecting the N or Y character according to the requirement, and sending the character to the electronic controller, and after the sending is finished, the electronic controller returns the information for prompting that the application code is ready to be sent;
5) and (4) after the prompt in the step (4) is seen, selecting the prepared control software code, starting to send the control software code, returning information indicating correct verification to the electronic controller after the control software code is sent, finishing the control software filling after the prompt is seen, and cutting off the power supply of the electronic controller.
The invention provides a remote filling method of engine control software, wherein before filling of the control software, a guide code and a control software code are prepared, which are binary files generated by a compiler, then an electronic controller is connected with filling equipment through a communication cable, and after the electronic controller is powered on, the control software can be filled according to the filling method flow in figure 1.
The invention provides the method and filling equipment capable of realizing the method, and the equipment comprises a communication baud rate configuration and automatic matching module, a guide code sending module, a communication baud rate locking module, a FLASH erasing selection module and a control software code sending module.
When the configuration and automatic matching communication baud rate module receives the character 'a' returned by the electronic controller, the transmission guide code module starts to operate, when the communication baud rate module receives the information that the electronic controller prompts that the character 'a' needs to be input, the communication baud rate locking module starts to operate, when the communication baud rate locking module receives the information that the electronic controller prompts whether to erase FLASH or not, the FLASH erasing selection module starts to operate, when the communication baud rate module receives the information that the electronic controller prompts that the application code is ready to be transmitted, the transmission control software code module starts to operate, and when the communication baud rate module receives the information that the electronic controller prompts that the verification is correct, the filling operation is finished.
The configuration and automatic matching communication baud rate module function: carrying out communication port configuration (communication port, baud rate, data bit, check mode, stop bit and block control); sending a character 'a' to carry out communication baud rate automatic matching; and receiving and displaying the character 'a' returned by the electronic controller.
Send boot code module function: selecting a boot code file (binary file) to be transmitted; sending it to the electronic controller; all characters returned by the electronic controller are received and displayed.
Communication baud rate locking module function: sending a character 'a' to lock the communication baud rate; all characters returned by the electronic controller are received and displayed.
The FLASH erasure selection module has the functions that: selecting the character "Y" (Yes: Erase FLASH) or "N" (No: not Erase FLASH); sending the selected character to an electronic controller; all characters returned by the electronic controller are received and displayed.
Send control software code module function: selecting a control software code file (binary file) to be transmitted; sending it to the electronic controller; all characters returned by the electronic controller are received and displayed.
An engine control software remote filling method, an electronic controller is configured to be powered on and then guided to operate from SCI-A, and is connected with filling equipment through a communication cable, and after the electronic controller is powered on, the filling equipment starts to work: the method comprises the steps that a communication baud rate configuring and automatically matching module is operated in the first step, a character 'a' returned by an electronic controller is received after the operation of the communication baud rate configuring and automatically matching module is finished, a guide code sending module is operated in the second step, information prompting that the character 'a' needs to be input and returned by the electronic controller is received after the operation of the communication baud rate configuring and automatically matching module is finished, a communication baud rate locking module is operated in the third step, information prompting whether to erase FLASH is required to be input and returned by the electronic controller after the operation of the communication baud rate locking module is finished, a FLASH erasing selection module is operated in the fourth step, information prompting that an application code is ready to be sent and returned by the electronic controller is received after the operation of the FLASH erasing selection module is finished, a control software code sending module is operated in the fifth step, information prompting that correct verification and returned by the.

Claims (8)

1. A remote filling method of engine control software is characterized in that: the remote filling method of the engine control software comprises the following steps:
1) connecting the target electronic controller with filling equipment and configuring a communication port;
2) the target electronic controller is electrified, the filling equipment is operated, the filling equipment sends a character a to the target electronic controller, and meanwhile, the character a returned to the filling equipment by the target electronic controller is received and displayed;
3) the filling equipment selects the prepared guide code file, sends the guide code file to the target electronic controller, and after the guide code file is sent, the target electronic controller returns information prompting that the character a to be input is required to carry out communication baud rate relocking to the filling equipment;
4) the filling equipment sends a character a to the target electronic controller to lock the communication baud rate again, and the target electronic controller returns a prompt to the filling equipment to prompt whether the FLASH needs to be erased or not;
5) after receiving the prompt of the step 4), the filling equipment selects the N character or the Y character as required and sends the character to the target electronic controller, and after the sending is finished, the target electronic controller returns information for prompting that the application code is ready to be sent to the filling equipment;
6) after the filling equipment receives the prompt in the step 5), selecting the prepared control software code, and starting to send the control software code, after the control software code is sent, the target electronic controller returns information indicating correct verification to the filling equipment, and after the filling equipment receives the prompt, the filling of the control software is finished.
2. The remote filling method of the engine control software according to claim 1, characterized in that: the remote filling method of the engine control software further comprises the following steps before the step 1):
0) boot code and control software code are prepared.
3. The engine control software remote filling method according to claim 2, characterized in that: the boot code file and the control software code are both binary files generated by a compiler.
4. The engine control software remote filling method according to claim 1, 2 or 3, characterized in that: the specific implementation manner of the target electronic controller in the step 5) returning the information prompting that the application code is ready to be sent to the filling equipment is as follows: the target electronic controller judges after receiving the N character or the Y character, if the Y character is selected, the target electronic controller erases the FLASH and returns information prompting that the application code is ready to be sent to the filling equipment; if the N character is selected, the information which prompts that the application code is ready to be sent is directly returned to the filling equipment.
5. A filling apparatus for implementing the engine control software remote filling method according to claim 4, characterized in that: the filling equipment comprises a communication baud rate configuration and automatic matching module, a guide code sending module, a communication baud rate locking module, a FLASH erasing selection module and a control software code sending module;
the configuration and automatic matching communication baud rate module is used for configuring a communication port; the system is used for sending a character a to a target electronic controller to carry out communication baud rate automatic matching; the character a is used for receiving and displaying the character a returned by the target electronic controller;
the guide code sending module is used for selecting a guide code file to be sent; for sending the boot code file to the target electronic controller; receiving and displaying all characters returned by the target electronic controller;
the communication baud rate locking module is used for sending a character a to lock the communication baud rate; the electronic control unit is used for receiving and displaying all characters returned by the target electronic control unit;
the FLASH erasing selection module is used for selecting a character Y or a character N; the electronic control unit is used for sending the selected characters to the target electronic controller; the electronic control unit is used for receiving and displaying all characters returned by the target electronic control unit;
the transmission control software code module is used for selecting a control software code file to be transmitted; for sending it to the target electronic controller; the electronic control unit is used for receiving and displaying all characters returned by the target electronic control unit;
the configuration and automatic matching communication baud rate module sends a character a to the target electronic controller, when the configuration and automatic matching communication baud rate module receives the character a returned by the target electronic controller, the module sends a guide code to start running, when the guide code sending module receives the information that the target electronic controller prompts that the character a needs to be input, the communication baud rate locking module starts to operate, when the communication baud rate locking module receives the information that whether the target electronic controller needs to input the FLASH to be erased or not, the FLASH erasing selection module starts to operate, when the FLASH erasing selection module receives the information that the target electronic controller prompts that the application code is ready to be sent, the sending control software code module starts to run, and when the sending control software code module receives the information that the target electronic controller prompts correct verification, ending the filling operation.
6. The filling apparatus according to claim 5, wherein: the communication port configuration comprises communication port configuration, baud rate configuration, data bit configuration, verification mode configuration, stop bit configuration and block control configuration.
7. The filling apparatus according to claim 6, wherein: the boot code file and the control software code file are both binary files.
8. The filling apparatus according to claim 7, wherein: the meaning of the character Y is to erase FLASH; the meaning of the character N is non-erased FLASH.
CN202011280661.6A 2020-11-16 2020-11-16 Remote filling method and filling equipment for engine control software Pending CN112558988A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011280661.6A CN112558988A (en) 2020-11-16 2020-11-16 Remote filling method and filling equipment for engine control software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011280661.6A CN112558988A (en) 2020-11-16 2020-11-16 Remote filling method and filling equipment for engine control software

Publications (1)

Publication Number Publication Date
CN112558988A true CN112558988A (en) 2021-03-26

Family

ID=75042359

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011280661.6A Pending CN112558988A (en) 2020-11-16 2020-11-16 Remote filling method and filling equipment for engine control software

Country Status (1)

Country Link
CN (1) CN112558988A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2345084A1 (en) * 1998-09-22 2000-03-30 Cybex Computer Products Corporation System for accessing personal computers remotely
CN101304462A (en) * 2008-05-27 2008-11-12 中国科学院国家天文台南京天文光学技术研究所 Telescope remote control method based on iridium star point-to-point communication mode
CN105183523A (en) * 2015-09-29 2015-12-23 国网智能电网研究院 Method for remote upgrade of digital signal processor (DSP) program
CN110941254A (en) * 2019-11-21 2020-03-31 中国航发西安动力控制科技有限公司 Aeroengine data processing method and equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2345084A1 (en) * 1998-09-22 2000-03-30 Cybex Computer Products Corporation System for accessing personal computers remotely
CN101304462A (en) * 2008-05-27 2008-11-12 中国科学院国家天文台南京天文光学技术研究所 Telescope remote control method based on iridium star point-to-point communication mode
CN105183523A (en) * 2015-09-29 2015-12-23 国网智能电网研究院 Method for remote upgrade of digital signal processor (DSP) program
CN110941254A (en) * 2019-11-21 2020-03-31 中国航发西安动力控制科技有限公司 Aeroengine data processing method and equipment

Similar Documents

Publication Publication Date Title
CN112596972A (en) Vehicle-mounted equipment testing method, device and system and computer equipment
CN108508877A (en) A kind of T-BOX test devices and test method
CN108776278B (en) Topological-associated configuration type relay protection test system and method
CN104850114A (en) Vehicle failure analyzing method and system
CN111580501A (en) Test equipment and method for vehicle electronic stability system
CN211528944U (en) Well gun auxiliary control system with radio station communication protocol
CN107340765A (en) A kind of on-vehicle host ATP test systems
CN107128331A (en) A kind of Portable locomotive signal mobile unit is in car detection method
CN111835799A (en) Automatic acquisition system and method for vehicle log
CN102736929A (en) Remote on-line upgrade method for terminal controller software of hydraulic support electrohydraulic control system
CN112558988A (en) Remote filling method and filling equipment for engine control software
CN113406514A (en) Battery test equipment identification system and method
CN110873544A (en) Missile ground testing and launching control device based on CAN bus and working method
KR101676652B1 (en) Charger and charging method for electric vehicle
CN212473432U (en) Unmanned vehicle remote driving system based on 5G technology
CN113341921A (en) Automobile controller function testing method and system
CN201993802U (en) Auxiliary system based on work ticket isolation measure field operation
CN116088903A (en) Vehicle software upgrading method and device, vehicle, equipment and storage medium
CN114822537A (en) Intelligent control method and system for coal mining machine, readable storage medium and coal mining machine system
CN111596647B (en) Efficient and intelligent test system and method for wind turbine generator
CN115146942A (en) Electronic operation ticket system of hydraulic power plant and operation method
CN114706747A (en) Automatic test system for TACS (train operation control System)
CN113622911A (en) Heading machine control method and system, movable intelligent terminal and heading machine
CN106569740A (en) Data local transmission method for electric energy meter, and electric energy meter
CN215010305U (en) LKJ data reloading error-proofing device

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