CN112579103A - BMS program flashing device - Google Patents

BMS program flashing device Download PDF

Info

Publication number
CN112579103A
CN112579103A CN201910938899.4A CN201910938899A CN112579103A CN 112579103 A CN112579103 A CN 112579103A CN 201910938899 A CN201910938899 A CN 201910938899A CN 112579103 A CN112579103 A CN 112579103A
Authority
CN
China
Prior art keywords
program
memory
flash
main controller
module
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
CN201910938899.4A
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.)
Jiangsu Dupu New Energy Technology Co ltd
Shanghai Dupu New Energy Technology Co ltd
Original Assignee
Jiangsu Dupu New Energy Technology Co ltd
Shanghai Dupu New Energy 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 Jiangsu Dupu New Energy Technology Co ltd, Shanghai Dupu New Energy Technology Co ltd filed Critical Jiangsu Dupu New Energy Technology Co ltd
Priority to CN201910938899.4A priority Critical patent/CN112579103A/en
Publication of CN112579103A publication Critical patent/CN112579103A/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
    • G06F8/63Image based installation; Cloning; Build to order

Abstract

The invention provides a BMS program flashing device which comprises a main controller, a wireless data transceiver module, an identification data acquisition module, a memory and a CAN module, wherein the wireless data transceiver module, the identification data acquisition module, the memory and the CAN module are connected with the main controller; the master controller is configured to: when a program updating instruction sent by a server is acquired, sending a program updating request to the server, and storing a program file sent by the server in response to the program updating request into the memory; when the identification data of the flash object is acquired through the identification data acquisition module, the program file matched with the identification data is called from the memory, and the program file is flash written into the flash object through the CAN module, so that the automatic updating and the quick flash of the program file are realized.

Description

BMS program flashing device
Technical Field
The invention relates to the technical field of data processing, in particular to a BMS program flashing device.
Background
When an existing assembly line production enterprise updates a Battery Management System (BMS) production line program, the BMS production line program generally updates a Battery Management unit and a power Battery cell Management unit through a diagnostic instrument or a PC, and thus the operation is complex and the efficiency is low.
Disclosure of Invention
In view of this, an embodiment of the present invention provides a BMS program flashing apparatus to achieve fast update of a program file.
In order to achieve the above purpose, the embodiments of the present invention provide the following technical solutions:
a BMS program flashing device comprising:
a main controller;
the wireless data transceiver module is connected with the main controller;
the identification data acquisition module is connected with the main controller;
a memory connected to the host controller;
the CAN module is connected with the main controller through a CAN bus;
the master controller is configured to: when a program updating instruction sent by a server is acquired, sending a program updating request to the server, and storing a program file sent by the server in response to the program updating request into the memory; when the identification data of the flash object is acquired through the identification data acquisition module, a program file matched with the identification data is called from the memory, and the program file is flash-written into the flash object through the CAN module.
Optionally, in the BMS program flashing device, the memory includes, but is not limited to, an SD card memory and a usb disk memory.
Optionally, the BMS program flashing device further includes:
a selection key is connected with the main controller;
and when the controller acquires the trigger signal output by the selection key, selecting a memory matched with the trigger signal from all memories connected with the main controller as a memory for storing a program file.
Optionally, in the BMS program flashing device, the identification data acquisition module is a two-dimensional code scanning module or a barcode scanning module, and is configured to scan a two-dimensional code or a barcode label on the flashing object;
the main controller is further configured to obtain the type of the flash object and BootLoader software version information from the scanning result of the identification data acquisition module, analyze the BootLoader software version information to determine a data flash sector of the flash object, call a program file matched with the type of the flash object from the memory, and flash the program file in the data flash sector of the flash object.
Optionally, the BMS program flashing device further includes:
and the display is connected with the main controller and used for displaying the downloading progress of the program file and the data brushing progress.
Optionally, in the BMS program flashing device, the main controller is further configured to:
detecting the brushing progress, adding 1 to the count value of the counter when detecting that the program file fails to be brushed, and brushing the brushing object again; when the same brushing object is brushed, if the counting value of the counter is detected to reach the preset value, preset warning information is output, and after the warning information is output or when the brushing success is detected, the counting value of the counter is cleared.
Optionally, in the BMS program flashing device, the wireless data transceiver module is a WIFI module.
Based on the above technical solution, in the above scheme provided in the embodiment of the present invention, the main controller 100 performs data interaction with the server through the wireless data transceiver module 200, so as to implement automatic update and download of the program file stored in the memory, when the program flash needs to be performed on the flash object, the program file matched with the flash object is automatically retrieved from the storage device, and the program file is automatically downloaded to the flash object, so as to implement automatic flash of the program file.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a BMS program flashing device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In view of the problem in the prior art that the operation is complicated when a user operates a diagnostic device or a PC to update the program of a flash object, the present application provides a BMS program flash apparatus, which may include:
the wireless data transceiver module 200, the identification data acquisition module 300, the memory 400 and the CAN module 500.
The wireless data transceiver module 200, the identification data acquisition module 300, the memory 400 and the CAN module 500 are connected to corresponding data interfaces of the main controller 100, and the CAN module 500 is connected to the main controller 100 through a CAN bus.
In this scheme, main controller 100 is as the core control device of this device, realizes to the action process control of device is write by brush to the BMS procedure, specifically, in the technical scheme disclosed in this application embodiment:
the master controller is configured to: the wireless data transceiver module 200 performs data interaction with a server, when a program update instruction sent by the server is obtained, a program update request is sent to the server, after the server obtains the update request, a program file matched with the update request is issued to the main controller 100 through the wireless data transceiver module 200, at this time, the main controller 100 stores the program file issued by the server in response to the program update request in the memory, so that data flashing on a flash object is called the program file, of course, if the memory has a low-version program file, the low-version program file is directly overwritten by the program file obtained at this time, further, in order to ensure the integrity of the downloaded program file, the main controller can also perform CRC check on the downloaded program file, to ensure the integrity of the downloaded program files. The CAN interface of an execution mechanism on the flow production line CAN automatically control a brushing object is connected with the CAN module 500, when the CAN module 500 is connected to the brushing object, the main controller triggers the identification data acquisition module 300 to act, identification data on the brushing object is read through the identification data acquisition module 300, and after the main controller 100 acquires the identification data of the brushing object, a program file matched with the identification data is called from the memory, and the program file is brushed to the brushing object through the CAN module.
It can be seen from the above solutions that, in the above solutions, the main controller 100 performs data interaction with the server through the wireless data transceiver module 200, so as to implement automatic update and download of a program file stored in a memory, when a program flash object needs to be flashed, the program file matched with the flash object is automatically retrieved from the storage device, and the program file is automatically downloaded to the flash object, so as to implement automatic flash of the program file.
In the technical solution disclosed in the embodiment of the present application, the number and the type of the memory may be selected according to user requirements, for example, the memory connected to the host controller includes, but is not limited to, an SD card memory and a usb disk memory. The user can select which memory is used as the memory currently used by the BMS program flashing device, when the memory is selected, the memory can be selected by a selection key connected with the main controller, the selection key and the memory can have a one-to-one mapping relation, and when a certain selection key is pressed, the memory matched with the key is selected as the memory used by the BMS program flashing device. Of course, when the memory connected to the main controller includes a SD card memory and a usb disk memory, the switching between the SD card memory and the usb disk memory may be implemented by using only one selection button, for example, when the selection switch is pressed, the switch outputs a first level signal to the main controller, when the main controller obtains the first level signal, the SD card memory is used as the memory currently used by the BMS program writing device, when the selection switch is not pressed, the switch outputs a second level signal to the main controller, and when the main controller obtains the second level signal, the usb disk memory is used as the memory currently used by the BMS program writing device.
In the technical solution disclosed in the embodiment of the present application, the specific type of the identification data acquisition module is determined according to the type of the identification data on the brushing object, for example, when the identification data on the brushing object is a two-dimensional code or a barcode, the identification data acquisition module is a two-dimensional code scanning module and a barcode scanning module which are adapted to the two-dimensional code and the barcode, and is used for scanning a two-dimensional code or a barcode label on the brushing object and sending the scanned identification data to the main controller, the output controller analyzes the identification data after acquiring the identification data to obtain the device type of the brushing object contained in the identification data and BootLoader software version information of the brushing object, wherein the BootLoader software version information is used for indicating a storage sector of a program file to be brushed in the brushing object, after the type of the flash object and the BootLoader software version information are acquired, the main controller analyzes the BootLoader software version information to determine a data flash sector of the flash object, calls a program file matched with the type of the flash object from the memory, and flashes the program file to the data flash sector of the flash object according to a Universal Diagnostic Services (UDS) download protocol, so that the flash of the program file of the flash object is realized.
In the above apparatus of the present application, the apparatus may further include a display, where the display is connected to the main controller and is configured to display a download progress and a data brushing progress of the program file, where the download progress refers to a progress of downloading the program file from the server into the memory, and the brushing progress is a progress of brushing the program file from the memory to the brushing object.
In view of the fact that there may be a damaged flash object, when the flash object is damaged, in order to output corresponding warning information in time, in the technical solution disclosed in the above embodiment of the present application, the main controller is further configured to: detecting the brushing progress, and controlling the count value of the counter to be added by 1 and brushing the brushing object again if the situation of brushing failure occurs when the program file is detected to be brushed to the brushing object; when the same brushing object is brushed, if the counting value of the counter is detected to reach a preset value, the brushing object is damaged, preset warning information is output, the warning information is used for representing that the brushing object is damaged, and after the warning information is output or when brushing success is detected, the main controller also needs to control the counting value of the counter to be reset in order to prevent false alarm.
In the technical solution disclosed in the embodiment of the present application, the wireless data transceiver module may specifically be a WIFI module, the flash object may specifically be the power battery cell management unit or the battery management unit, at this time, the program file may specifically be an S19 file or a hex file, the main controller may be an S32K418 processing chip, and the WIFI module may be an ESP8266 high-speed WIFI module.
For convenience of description, the above system is described with the functions divided into various modules, which are described separately. Of course, the functionality of the various modules may be implemented in the same one or more software and/or hardware implementations of the invention.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. The above-described apparatuses and apparatus embodiments are merely illustrative, wherein the modules described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Those of skill would further appreciate that the various illustrative modules described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps described in the foregoing description have been generally described in terms of their functionality for clarity of illustration. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
It is further noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (7)

1. A BMS program flashing device, comprising:
a main controller;
the wireless data transceiver module is connected with the main controller;
the identification data acquisition module is connected with the main controller;
a memory connected to the host controller;
the CAN module is connected with the main controller through a CAN bus;
the master controller is configured to: when a program updating instruction sent by a server is acquired, sending a program updating request to the server, and storing a program file sent by the server in response to the program updating request into the memory; when the identification data of the flash object is acquired through the identification data acquisition module, a program file matched with the identification data is called from the memory, and the program file is flash-written into the flash object through the CAN module.
2. The BMS program flash apparatus of claim 1, wherein the memory includes, but is not limited to, SD card memory and usb disk memory.
3. The BMS program flashing device according to claim 2, further comprising:
a selection key is connected with the main controller;
and when the controller acquires the trigger signal output by the selection key, selecting a memory matched with the trigger signal from all memories connected with the main controller as a memory for storing a program file.
4. The BMS program flashing device of claim 1, wherein the identification data acquisition module is a two-dimensional code scanning module or a barcode scanning module for scanning a two-dimensional code or a barcode label on the object to be flashed;
the main controller is further configured to obtain the type of the flash object and BootLoader software version information from the scanning result of the identification data acquisition module, analyze the BootLoader software version information to determine a data flash sector of the flash object, call a program file matched with the type of the flash object from the memory, and flash the program file in the data flash sector of the flash object.
5. The BMS program flashing device according to claim 1, further comprising:
and the display is connected with the main controller and used for displaying the downloading progress of the program file and the data brushing progress.
6. The BMS program flashing device of claim 1, wherein the main controller is further configured to:
detecting the brushing progress, adding 1 to the count value of the counter when detecting that the program file fails to be brushed, and brushing the brushing object again; when the same brushing object is brushed, if the counting value of the counter is detected to reach the preset value, preset warning information is output, and after the warning information is output or when the brushing success is detected, the counting value of the counter is cleared.
7. The BMS program flashing device of claim 1, wherein the wireless data transceiver module is a WIFI module.
CN201910938899.4A 2019-09-30 2019-09-30 BMS program flashing device Pending CN112579103A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910938899.4A CN112579103A (en) 2019-09-30 2019-09-30 BMS program flashing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910938899.4A CN112579103A (en) 2019-09-30 2019-09-30 BMS program flashing device

Publications (1)

Publication Number Publication Date
CN112579103A true CN112579103A (en) 2021-03-30

Family

ID=75116235

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910938899.4A Pending CN112579103A (en) 2019-09-30 2019-09-30 BMS program flashing device

Country Status (1)

Country Link
CN (1) CN112579103A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114461280A (en) * 2021-12-28 2022-05-10 浪潮电子信息产业股份有限公司 BMC double-mirror image flash writing method and related device

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102968114A (en) * 2012-11-20 2013-03-13 意昂神州(北京)科技有限公司 Production line flash terminal supporting multiple protocols and flashing method with terminal
CN103345243A (en) * 2013-06-27 2013-10-09 深圳市元征科技股份有限公司 Method and device for brushing vehicle electronic control unit program
CN203480498U (en) * 2013-07-29 2014-03-12 北京汽车研究总院有限公司 Wireless brushing system and automobile
CN105718288A (en) * 2016-01-21 2016-06-29 北京新能源汽车股份有限公司 Automobile controller program flashing method, device and system and terminal
CN105930236A (en) * 2016-07-15 2016-09-07 深圳市沃特玛电池有限公司 Application program version returning method based on BMS Bootloaderupgrade
CN106598641A (en) * 2016-10-27 2017-04-26 深圳市元征科技股份有限公司 Trip computer-based program swiping method and apparatus
CN107168725A (en) * 2017-03-30 2017-09-15 苏州精控能源科技有限公司 A kind of method for upgrading software of controller, apparatus and system
CN107222517A (en) * 2017-04-12 2017-09-29 惠州市蓝微新源技术有限公司 A kind of remote update system and remote upgrade method of battery management system software
CN108829079A (en) * 2018-04-26 2018-11-16 安徽江淮汽车集团股份有限公司 A kind of TCU writes with a brush dipped in Chinese ink system and method automatically
CN109471652A (en) * 2018-10-24 2019-03-15 北汽福田汽车股份有限公司 Method for updating program and its system, the car-mounted terminal and electronic equipment of vehicle

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102968114A (en) * 2012-11-20 2013-03-13 意昂神州(北京)科技有限公司 Production line flash terminal supporting multiple protocols and flashing method with terminal
CN103345243A (en) * 2013-06-27 2013-10-09 深圳市元征科技股份有限公司 Method and device for brushing vehicle electronic control unit program
CN203480498U (en) * 2013-07-29 2014-03-12 北京汽车研究总院有限公司 Wireless brushing system and automobile
CN105718288A (en) * 2016-01-21 2016-06-29 北京新能源汽车股份有限公司 Automobile controller program flashing method, device and system and terminal
CN105930236A (en) * 2016-07-15 2016-09-07 深圳市沃特玛电池有限公司 Application program version returning method based on BMS Bootloaderupgrade
CN106598641A (en) * 2016-10-27 2017-04-26 深圳市元征科技股份有限公司 Trip computer-based program swiping method and apparatus
CN107168725A (en) * 2017-03-30 2017-09-15 苏州精控能源科技有限公司 A kind of method for upgrading software of controller, apparatus and system
CN107222517A (en) * 2017-04-12 2017-09-29 惠州市蓝微新源技术有限公司 A kind of remote update system and remote upgrade method of battery management system software
CN108829079A (en) * 2018-04-26 2018-11-16 安徽江淮汽车集团股份有限公司 A kind of TCU writes with a brush dipped in Chinese ink system and method automatically
CN109471652A (en) * 2018-10-24 2019-03-15 北汽福田汽车股份有限公司 Method for updating program and its system, the car-mounted terminal and electronic equipment of vehicle

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114461280A (en) * 2021-12-28 2022-05-10 浪潮电子信息产业股份有限公司 BMC double-mirror image flash writing method and related device
CN114461280B (en) * 2021-12-28 2024-02-23 浪潮电子信息产业股份有限公司 BMC double-mirror image brushing method and related device

Similar Documents

Publication Publication Date Title
CN107193750B (en) Script recording method and device
WO2020057091A1 (en) Ios-based data acquisition and analysis method and apparatus
CN106648958A (en) System and method for BIOS recovery management and program products
CN108008914B (en) The method, apparatus and ARM equipment of disk management in a kind of ARM equipment
CN107800757B (en) User behavior recording method and device
US11755447B2 (en) Predictive performance indicator for storage devices
CN111181776B (en) MODBUS RTU-based data acquisition method, device and system
CN112083972A (en) BMC system configuration method, device, equipment and readable storage medium
CN112579103A (en) BMS program flashing device
CN112073241B (en) Switch configuration method and device, electronic equipment and storage medium
JP5202230B2 (en) Data operation device, data operation system, computer program, and data operation method
CN111049717A (en) Variable acquisition method and equipment
CN110889116A (en) Advertisement blocking method and device and electronic equipment
CN110427528A (en) SSD identifier test method, device, computer equipment and storage medium
CN114595089A (en) Hard disk remote diagnosis method, system, terminal and storage medium
CN112363915A (en) Method and device for page performance test, terminal equipment and storage medium
CN113194161A (en) Method and device for setting MMIO base address of server system
CN108234216B (en) Method and device for downloading data message
CN113741953A (en) Form processing method and device, electronic equipment and computer storage medium
CN111459660A (en) Dynamic allocation method of cloud host on host, electronic device and storage medium
CN110795129A (en) Data flashing method, device and equipment
CN111880996B (en) Bare metal data acquisition method, device, equipment and readable storage medium
CN110597536B (en) Software upgrading method, system and terminal equipment
CN111352811B (en) User behavior data acquisition method, device, equipment and medium
CN109491601B (en) Parallel processing method and device for solid state disk data and readable 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