CN103019797A - Method for upgrading firmware of advertising machine terminal through USB (Universal Serial Bus) interface - Google Patents
Method for upgrading firmware of advertising machine terminal through USB (Universal Serial Bus) interface Download PDFInfo
- Publication number
- CN103019797A CN103019797A CN2012105887652A CN201210588765A CN103019797A CN 103019797 A CN103019797 A CN 103019797A CN 2012105887652 A CN2012105887652 A CN 2012105887652A CN 201210588765 A CN201210588765 A CN 201210588765A CN 103019797 A CN103019797 A CN 103019797A
- Authority
- CN
- China
- Prior art keywords
- machine terminal
- upgrading
- advertisement machine
- firmware
- usb
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
The invention relates to a method for upgrading a firmware of an advertising machine terminal through a USB (Universal Serial Bus) interface. The method comprises the following steps: (S01) connecting a USB flash disk to a PC (Personal Computer), uploading a firmware program to be upgraded to the USB flash disk through upper computer application software, and setting display parameters and an upgrading mark of the advertising machine terminal under the support of the upper computer application software; (S02) after the advertising machine terminal is electrified and started, judging the upgrading mark and upgrading the firmware program to be upgraded; and (S03) after the firmware program is successfully upgraded, automatically reloading a new firmware program by the system of the advertising machine terminal. The method is suitable for upgrading the firmware of big and small advertising machines in various places only by using one USB flash disk; moreover, the firmware can be divided into a plurality of sub areas and the sub areas can be correspondingly upgraded according to specific revised parts without upgrading the whole firmware program again every time; therefore, the upgrading speed is increased, and the error probability is reduced.
Description
Technical field
The present invention relates to the firmware upgrade technical field, particularly a kind of method by USB interface upgrading advertisement machine terminal firmware.
Background technology
The core of embedded system is comprised of one or several microprocessor or single-chip microcomputer of programming in advance to carry out several tasks.Different from the software that multi-purpose computer can run user be selected, the software on the embedded system is normally temporary transient constant, so often be called " firmware ".But along with the content of embedded system and service more and more newly, more and more abundanter, the client needs also more and more to product function, sometimes also may need the performance of system is done further lifting, so that firmware upgrade also becomes is more and more frequent, more and more heavier.
Firmware program generally passes through the chip burner programming in the flash chip when producing in factory, if flash has been welded on the mainboard, by the mode ROMPaq of chip burner, just must tear chip open, this mode workload is large, and might damage the flash chip.
Embedded system generally has boot, the upgrading of firmware also can be carried out in boot, at debug serial port input download command, by Serial Port Line, twisted-pair feeder, USB connecting line the file of upgrading is downloaded among the RAM of Target Board, and then input programming order, in flash, still this mode is more loaded down with trivial details with the content programming among the RAM, be not suitable for the employee of production line and the technical support personnel who sends to some other department, generally need to be finished by the developer.
It is fairly perfect that the boot function of some embedded system is done, Target Board need to be connected with PC by USB connecting line or twisted-pair feeder, cooperate the download software on the PC to finish auto-update, but this mode can't be seen the progress of ROMPaq intuitively, and be applicable to some small-sized, portable embedded devices, some open airs, large-scale, fixed embedded device are just become very not.
Summary of the invention
The purpose of this invention is to provide a kind of method by USB interface upgrading advertisement machine terminal firmware, as long as use a USB flash disk, can realize the firmware upgrade of advertisement terminal.
The present invention adopts following scheme to realize: a kind of method by USB interface upgrading advertisement machine terminal firmware is characterized in that may further comprise the steps:
Step S01: a USB flash disk is connected on the PC, and the firmware program that will upgrade by a host computer application software uploads in the described USB flash disk, and the support of described host computer application software arranges display parameter and the upgrading sign of described advertisement machine terminal;
Step S02: behind the advertisement machine terminal electrifying startup, at first detect whether the USB flash disk access is arranged, then judge whether to be provided with the upgrading sign such as successful connection, do not arrange and then skip upgrade step, directly move the application program of advertisement machine terminal, if the upgrading sign has been set, then whether the current firmware program version of sense terminals is the version that will upgrade, if it is directly moves the application program of advertisement machine terminal; Whether exist if not then detecting firmware program, if exist then upgrade, do not have the application program of then directly moving advertisement machine terminal;
Step S03: after the updating firmware program success, the system of advertisement machine terminal can reload new firmware program automatically.
In an embodiment of the present invention, described display parameter comprise the way of output, resolution and the horizontal/vertical screen of demonstration.
In an embodiment of the present invention, described host computer application software is arranged on the described USB flash disk.
In an embodiment of the present invention, described host computer application software is based on the qt4.7 exploitation, and this host computer application software has friendly interface in order to the setting of display parameter and upgrading sign.
In an embodiment of the present invention, described firmware program is divided into boot partition file, kernel partitioned file and root file system partitioned file, upgrades by subregion during upgrading.
In an embodiment of the present invention, the system kernel of described advertisement machine terminal need to increase MTD and drive, and allows this MTD drive the flash chip of supporting that advertisement machine terminal uses, and size and the offset address of MTD subregion is set according to the actual size of every part firmware.
In an embodiment of the present invention, the information that has at the display of described advertisement machine terminal in the described step S02 escalation process, according to the situation of actual upgrade, what show current upgrading is that a part of updating content success and failure.
In an embodiment of the present invention, among the described step S03 after upgrading successfully, the display of described advertisement machine terminal can show the information of extracting USB device, and whether this advertisement machine terminal can the cycle detection USB device disconnect, in case disconnect, this advertisement machine terminal then reloads new firmware program automatically.
The present invention has friendly interface, and is simple to operate, is fit to research staff, an interior producers, sends to some other department and support the support staff to use; ROMPaq is on-the-spot as long as use a USB flash disk, and is small and exquisite, portable, is fit to large small-sized advertisement machine indoor, outdoor various occasions and carries out firmware upgrade; Firmware is divided into a plurality of subregions, can upgrade one to one according to the part of concrete modification, does not need at every turn all again upgradings of whole firmware program, raising updating speed, reduction error probability.
Description of drawings
Fig. 1 is the schematic flow sheet of the inventive method.
Fig. 2 is the method flow schematic diagram of one embodiment of the invention.
Embodiment
Below in conjunction with accompanying drawing and implement that the present invention will be further described.
As shown in Figure 1, the present embodiment provides a kind of method by USB interface upgrading advertisement machine terminal firmware, it is characterized in that may further comprise the steps:
Step S01: a USB flash disk is connected on the PC, and the firmware program that will upgrade by a host computer application software uploads in the described USB flash disk, and the support of described host computer application software arranges display parameter and the upgrading sign of described advertisement machine terminal;
Step S02: behind the advertisement machine terminal electrifying startup, at first detect whether the USB flash disk access is arranged, then judge whether to be provided with the upgrading sign such as successful connection, do not arrange and then skip upgrade step, directly move the application program of advertisement machine terminal, if the upgrading sign has been set, then whether the current firmware program version of sense terminals is the version that will upgrade, if it is directly moves the application program of advertisement machine terminal; Whether exist if not then detecting firmware program, if exist then upgrade, do not have the application program of then directly moving advertisement machine terminal;
Step S03: after the updating firmware program success, the system of advertisement machine terminal can reload new firmware program automatically.
Better, described host computer application software is based on the qt4.7 exploitation, and this host computer application software has friendly interface in order to the setting of display parameter and upgrading sign.This host computer application software can be arranged on the described USB flash disk, also can be arranged on the PC.These display parameter comprise the way of output, resolution and the horizontal/vertical screen of demonstration.Because the resolution of the display screen that advertisement machine connects is not identical with the way of output, such as resolution 1024x768,1366x768,1930x1080 etc. are arranged, the way of output has vga output, lvds output, hdmi output etc., in order to allow information show normally, need to arrange according to the display parameter of actual conditions to terminal.After the operation of host computer application software, the user can see at the interface these parameters, then select the parameter of needs according to actual conditions, after advertisement machine starts, meeting extracting parameter from USB flash disk, and utilize these parameters to come the display module of initialization advertisement machine system, just can according to the situation of actual upgrade, demonstrate information after finishing.
In an embodiment of the present invention, in order better to improve updating speed, reduce error probability, do not need at every turn all again upgradings of whole firmware program, the present embodiment is divided into boot partition file, kernel partitioned file and root file system partitioned file with firmware program, upgrades by subregion during upgrading.In addition, the system kernel of described advertisement machine terminal need to increase MTD and drive, and allows this MTD drive the flash chip of supporting that advertisement machine terminal uses, and size and the offset address of MTD subregion is set according to the actual size of every part firmware.
Please refer to Fig. 2, a kind of method with advertisement machine terminal firmware program of friendly interface, portable, suitable various occasions of the present embodiment, it comprises the steps: 1, USB flash disk is connected on the PC, the host computer application software is copied in the USB flash disk, and move this host computer application software, program pushbutton is uploaded in click, the firmware program that will upgrade uploads in the USB flash disk, the corresponding parameter of the advertisement machine terminal that then selection will be upgraded in the way of output, resolution, horizontal/vertical screen tabulation successively in the display interface that this host computer application software provides, and set the upgrading sign; 2, firmware program is divided into boot partition file, kernel partitioned file, root file system partitioned file, firmware program is upgraded by subregion, can only upload a part of firmware file in USB flash disk according to reality, upgrade one to one according to the partitioned file in the USB flash disk in the time of upgrading; 3, behind the advertisement machine terminal electrifying startup, whether at first detect has USB flash disk to be connected with advertisement terminal, then judge whether to be provided with the upgrading sign such as successful connection, do not arrange and then skip upgrade step, directly run application, if sign has been set, then detects firmware program and whether exist, if exist then upgrade, do not exist and then directly move other application programs; 4, at the advertisement machine terminal display intuitively information is arranged in the escalation process, according to the situation of actual upgrade, what show current upgrading is that a part of content, and upgrades successfully and failure; 5, after the updating firmware program success, display shows the information of extracting USB device, and whether program can the cycle detection USB device disconnect with terminal, in case disconnect, system can reload new firmware program automatically, and the program of moving on the terminal this moment has been exactly the program after the upgrading.
The above only is preferred embodiment of the present invention, and all equalizations of doing according to the present patent application claim change and modify, and all should belong to covering scope of the present invention.
Claims (8)
1. method by USB interface upgrading advertisement machine terminal firmware is characterized in that may further comprise the steps:
Step S01: a USB flash disk is connected on the PC, and the firmware program that will upgrade by a host computer application software uploads in the described USB flash disk, and the support of described host computer application software arranges display parameter and the upgrading sign of described advertisement machine terminal;
Step S02: behind the advertisement machine terminal electrifying startup, at first detect whether the USB flash disk access is arranged, then judge whether to be provided with the upgrading sign such as successful connection, do not arrange and then skip upgrade step, directly move the application program of advertisement machine terminal, if the upgrading sign has been set, then whether the current firmware program version of sense terminals is the version that will upgrade, if it is directly moves the application program of advertisement machine terminal; Whether exist if not then detecting firmware program, if exist then upgrade, do not have the application program of then directly moving advertisement machine terminal;
Step S03: after the updating firmware program success, the system of advertisement machine terminal can reload new firmware program automatically.
2. the method by USB interface upgrading advertisement machine terminal firmware according to claim 1, it is characterized in that: described display parameter comprise the way of output, resolution and the horizontal/vertical screen of demonstration.
3. the method by USB interface upgrading advertisement machine terminal firmware according to claim 1, it is characterized in that: described host computer application software is arranged on the described USB flash disk.
4. the method by USB interface upgrading advertisement machine terminal firmware according to claim 1, it is characterized in that: described host computer application software is based on the qt4.7 exploitation, and this host computer application software has friendly interface in order to the setting of display parameter and upgrading sign.
5. the method by USB interface upgrading advertisement machine terminal firmware according to claim 1, it is characterized in that: described firmware program is divided into boot partition file, kernel partitioned file and root file system partitioned file, upgrades by subregion during upgrading.
6. the method by USB interface upgrading advertisement machine terminal firmware according to claim 5, it is characterized in that: the system kernel of described advertisement machine terminal need to increase MTD and drive, and allow this MTD drive the flash chip of supporting that advertisement machine terminal uses, size and the offset address of MTD subregion is set according to the actual size of every part firmware.
7. the method by USB interface upgrading advertisement machine terminal firmware according to claim 1, it is characterized in that: the information that has at the display of described advertisement machine terminal in the described step S02 escalation process, according to the situation of actual upgrade, what show current upgrading is that a part of updating content success and failure.
8. the method by USB interface upgrading advertisement machine terminal firmware according to claim 1, it is characterized in that: among the described step S03 after upgrading successfully, the display of described advertisement machine terminal can show the information of extracting USB device, and whether this advertisement machine terminal can the cycle detection USB device disconnect, in case disconnect, this advertisement machine terminal then reloads new firmware program automatically.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012105887652A CN103019797A (en) | 2012-12-29 | 2012-12-29 | Method for upgrading firmware of advertising machine terminal through USB (Universal Serial Bus) interface |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012105887652A CN103019797A (en) | 2012-12-29 | 2012-12-29 | Method for upgrading firmware of advertising machine terminal through USB (Universal Serial Bus) interface |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103019797A true CN103019797A (en) | 2013-04-03 |
Family
ID=47968431
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2012105887652A Pending CN103019797A (en) | 2012-12-29 | 2012-12-29 | Method for upgrading firmware of advertising machine terminal through USB (Universal Serial Bus) interface |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103019797A (en) |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103761135A (en) * | 2014-02-20 | 2014-04-30 | 珠海全志科技股份有限公司 | Firmware write-in method of embedded device |
CN104166450A (en) * | 2014-08-20 | 2014-11-26 | 浪潮电子信息产业股份有限公司 | Method for distinguishing FW versions of VR chip |
CN104360877A (en) * | 2014-10-24 | 2015-02-18 | 同济大学 | ECU (electronic control unit) firmware updating method based on Bootloader self update |
CN104699514A (en) * | 2015-04-01 | 2015-06-10 | 江苏惠通集团有限责任公司 | Remote-control end system updating method and device |
CN105867985A (en) * | 2016-04-25 | 2016-08-17 | 广州路派电子科技有限公司 | Method for upgrading file through vehicle-mounted decoder software |
CN106648748A (en) * | 2016-11-15 | 2017-05-10 | 广州视源电子科技股份有限公司 | Program updating method and system |
CN107239300A (en) * | 2017-05-03 | 2017-10-10 | 深圳市同泰怡信息技术有限公司 | A kind of intelligent cabinet RMC and MP batch refreshing methods |
CN107506205A (en) * | 2017-06-30 | 2017-12-22 | 杭州旗捷科技有限公司 | Chip rewrites data updating method, electronic equipment and the storage medium of equipment |
WO2018076969A1 (en) * | 2016-10-24 | 2018-05-03 | 深圳创维数字技术有限公司 | Software upgrade method, computing device, and channel control device |
CN108966078A (en) * | 2017-05-19 | 2018-12-07 | 广西三诺数字科技有限公司 | A kind of speaker firmware upgrade method and circuit |
CN110047586A (en) * | 2019-04-16 | 2019-07-23 | 北京品驰医疗设备有限公司 | Implantable medical controls equipment and its Firmware Interface update method and system |
CN112035149A (en) * | 2019-07-26 | 2020-12-04 | 安徽中家智康科技有限公司 | System and method for updating E-side program based on communication circuit of indoor and outdoor units of air conditioner |
CN112559002A (en) * | 2019-09-26 | 2021-03-26 | 上海汽车集团股份有限公司 | Vehicle application updating method and device and storage medium |
CN114327538A (en) * | 2021-12-02 | 2022-04-12 | 中国船舶重工集团公司第七0九研究所 | Embedded equipment updating method and updating device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1949169A (en) * | 2006-10-19 | 2007-04-18 | 康佳集团股份有限公司 | TV software upgrading method |
CN101067788A (en) * | 2006-05-04 | 2007-11-07 | 新泰辉煌公司 | Television and display device with a USB port for updating firmware |
CN101316314A (en) * | 2007-05-29 | 2008-12-03 | 青岛海信电器股份有限公司 | Method and interface for upgrading flash through USB interface for digital LCD TV |
CN102385520A (en) * | 2011-09-06 | 2012-03-21 | 四川金网通电子科技有限公司 | USB (Universal Serial Bus) upgrading method based on partition name for digital television set-top box |
-
2012
- 2012-12-29 CN CN2012105887652A patent/CN103019797A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101067788A (en) * | 2006-05-04 | 2007-11-07 | 新泰辉煌公司 | Television and display device with a USB port for updating firmware |
CN1949169A (en) * | 2006-10-19 | 2007-04-18 | 康佳集团股份有限公司 | TV software upgrading method |
CN101316314A (en) * | 2007-05-29 | 2008-12-03 | 青岛海信电器股份有限公司 | Method and interface for upgrading flash through USB interface for digital LCD TV |
CN102385520A (en) * | 2011-09-06 | 2012-03-21 | 四川金网通电子科技有限公司 | USB (Universal Serial Bus) upgrading method based on partition name for digital television set-top box |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103761135A (en) * | 2014-02-20 | 2014-04-30 | 珠海全志科技股份有限公司 | Firmware write-in method of embedded device |
CN104166450A (en) * | 2014-08-20 | 2014-11-26 | 浪潮电子信息产业股份有限公司 | Method for distinguishing FW versions of VR chip |
CN104360877A (en) * | 2014-10-24 | 2015-02-18 | 同济大学 | ECU (electronic control unit) firmware updating method based on Bootloader self update |
CN104360877B (en) * | 2014-10-24 | 2017-12-05 | 同济大学 | ECU firmware updates based on Bootloader self refreshes |
CN104699514A (en) * | 2015-04-01 | 2015-06-10 | 江苏惠通集团有限责任公司 | Remote-control end system updating method and device |
CN105867985B (en) * | 2016-04-25 | 2018-12-21 | 广州路派电子科技有限公司 | A kind of method of vehicle-mounted decoder software upgrade file |
CN105867985A (en) * | 2016-04-25 | 2016-08-17 | 广州路派电子科技有限公司 | Method for upgrading file through vehicle-mounted decoder software |
WO2018076969A1 (en) * | 2016-10-24 | 2018-05-03 | 深圳创维数字技术有限公司 | Software upgrade method, computing device, and channel control device |
CN106648748A (en) * | 2016-11-15 | 2017-05-10 | 广州视源电子科技股份有限公司 | Program updating method and system |
CN107239300A (en) * | 2017-05-03 | 2017-10-10 | 深圳市同泰怡信息技术有限公司 | A kind of intelligent cabinet RMC and MP batch refreshing methods |
CN108966078A (en) * | 2017-05-19 | 2018-12-07 | 广西三诺数字科技有限公司 | A kind of speaker firmware upgrade method and circuit |
CN107506205A (en) * | 2017-06-30 | 2017-12-22 | 杭州旗捷科技有限公司 | Chip rewrites data updating method, electronic equipment and the storage medium of equipment |
CN110047586A (en) * | 2019-04-16 | 2019-07-23 | 北京品驰医疗设备有限公司 | Implantable medical controls equipment and its Firmware Interface update method and system |
CN112035149A (en) * | 2019-07-26 | 2020-12-04 | 安徽中家智康科技有限公司 | System and method for updating E-side program based on communication circuit of indoor and outdoor units of air conditioner |
CN112559002A (en) * | 2019-09-26 | 2021-03-26 | 上海汽车集团股份有限公司 | Vehicle application updating method and device and storage medium |
CN114327538A (en) * | 2021-12-02 | 2022-04-12 | 中国船舶重工集团公司第七0九研究所 | Embedded equipment updating method and updating device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103019797A (en) | Method for upgrading firmware of advertising machine terminal through USB (Universal Serial Bus) interface | |
WO2020220184A1 (en) | Visual programming control apparatus, programmable control device and control method therefor, computer readable storage medium, and programming control system | |
CN104407874A (en) | Embedded equipment compatible to a plurality of types of LCD screens | |
EP2746935A1 (en) | User interface with splash screen | |
CN103064812B (en) | Method and device for quickly connecting mobile equipment and computer | |
CN103677915A (en) | Automatic burning method of flash mirror image based on TF starting card | |
CN102693144A (en) | Method for upgrading capacitive screen firmware used for Android mobile terminal | |
CN106980493B (en) | Firmware management method and device | |
CN102520975B (en) | Intelligent updating method of external equipment driver, device and system | |
CN103997683A (en) | System for using set-top-box platform to realize customizable Flash CD-ROM recorder and method thereof | |
CN102662708A (en) | Linux operating system and display card driving device thereof | |
CN109683967A (en) | Firmware supports method, apparatus, mobile terminal and readable storage medium storing program for executing | |
CN102984209A (en) | Distributing method of application program and terminals thereof | |
CN102541591A (en) | Automatic guiding method of computer U-disc operating system compatible with multioperation system platform | |
CN105718346A (en) | Computer mainboard PCIe slot function test method based on UEFI | |
CN105094877A (en) | Method for firmware upgrading, and host side device and system | |
CN102609290B (en) | The method for upgrading software of electronic product | |
CN103902329A (en) | Electronic device capable of updating basic input and output system and updating method thereof | |
CN102567061A (en) | Method and system for bidirectionally updating television and remote controller | |
CN101685402A (en) | Method for BIOS configuration of computer | |
CN104428751A (en) | Program data updating method and equipment | |
CN116298801A (en) | Chip testing device, method, electronic equipment and storage medium | |
CN102331942A (en) | Method for automatically upgrading BIOS (basic input/output system) and Linux core | |
CN104602124A (en) | Multi-screen driving method and system of LCD TV and driving main board module | |
CN102270148B (en) | Method for upgrading drive board of liquid crystal display screen |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20130403 |