CN105117253A - BootLoader based remote upgrade method for UV LED (Ultraviolet Light Emitting Diode) curing system - Google Patents

BootLoader based remote upgrade method for UV LED (Ultraviolet Light Emitting Diode) curing system Download PDF

Info

Publication number
CN105117253A
CN105117253A CN201510536559.0A CN201510536559A CN105117253A CN 105117253 A CN105117253 A CN 105117253A CN 201510536559 A CN201510536559 A CN 201510536559A CN 105117253 A CN105117253 A CN 105117253A
Authority
CN
China
Prior art keywords
bootloader
upgrading
packet
program
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.)
Pending
Application number
CN201510536559.0A
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.)
Changzhou University
Original Assignee
Changzhou University
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 Changzhou University filed Critical Changzhou University
Priority to CN201510536559.0A priority Critical patent/CN105117253A/en
Publication of CN105117253A publication Critical patent/CN105117253A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a BootLoader based remote upgrade method for a UV LED (Ultraviolet Light Emitting Diode) curing system. The system manages and distributes FLASH storage addresses of a user program area, an upgrade storage area and a parameter storage area; a request of an upper computer is received for judging whether to perform upgrade or not; the request of the upper computer is received for performing information transmission of a program version number, a verification code and the like; and the jumping of a user program is finished after the completion of upgrade. According to the method, BootLoader is combined with IAP and a remote upgrade system finished through communication of the upper computer or configuration of communication modules of GPRS, WiFi, an Ethernet card and the like is integrated in a UV LED control device, so that remote debugging and program updating of the device can be finished, the maintenance cost is greatly reduced, and the maintenance cycle is greatly shortened.

Description

A kind of UV LED cure system remote upgrade method based on BootLoader
Technical field
The present invention relates to the technical fields such as UVLED curing apparatus and Industry Control, particularly relate to a kind of UVLED cure system remote upgrade method based on BootLoader.
Background technology
Along with the development of science and technology, just there is subversive change in the curing process in all kinds of printing industry.Traditional long-time, large wind speed, the hot blast curing process of high heat because its efficiency is low, highly energy-consuming, the mortality weakness such as not environmentally gradually eliminate by industry, UV-curing technology once succeed in developing just obtain universal with development rapidly.Advocating the current of energy-conserving and environment-protective, industry is devoted to improve always, and ultraviolet diode (UltravioletLightEmittingDiode, UVLED) appearance of technology causes a sensation immediately, UVLED curing technology starts to be applied in industry-by-industry widely, such as printing, PCB exposure etc.
Current UVLED cure system is mostly in development, and existing technology only can produce the equipment of simple function.And market is various to the function of curing apparatus, control overflow, control for foot-operated as a glue industry requirement UVLED solidifies a control mode, the time can by manual control; It is spray drawing machine internal PLC programming Control that large-scale description air brushing UVLED solidifies control mode; The UVLED sterilization of medical industry controls directly to be controlled etc. by light source controller.In the face of these different requirements, most of manufacturer relies on the various different type of design and sets up huge after service network to meet the demand for control of industry-by-industry to UVLED.So not only considerably increase the design cycle of product, make the fringe cost of product significantly improve simultaneously.For such present situation, propose a kind of UVLED cure system remote upgrade method based on BootLoader.
In embedded OS, BootLoader be operate in operating system nucleus before program.Can initiating hardware equipment, set up memory headroom mapping graph, thus take the hardware environment of system to a proper states, to get out correct environment for final call operation system kernel.In common embedded system, the loading initiating task of whole system is just complete have been come by BootLoader.In general embedded system, system usually all performs when powering on or reset from 0x00000000 place, address, and what arrange at this address place is exactly the BootLoader program of system usually.
Remote upgrade technology is that to be based upon the IAP of embedded system technical.IAP, full name is " In-ApplicationProgramming ", and Chinese is interpreted as " programming in a program ".IAP is that a kind of communication interface by microprocessor is (as USART, IIC, CAN, USB, Ethernet interface or even wireless radio frequency channel) microprocessor just at working procedure is carried out to the technology (being different from ICP or ISP technology completely) of internal processes renewal.
At present, the applied research based on the system remote upgrade of BootLoader is also few in cure system field, and manufacturer mostly adopts traditional technician's field adjustable, downloads, and has efficiency and critical defect economically.
Summary of the invention
In order to overcome the defect that prior art exists, the present invention proposes a kind of UVLED cure system remote upgrade method based on BootLoader.Bootloader and IAP combines by the present invention, by the remote update system that the communication modules such as upper machine communication or GP configuring RS, WiFi, Ethernet card complete, be integrated on a UVLED opertaing device, can the remote debugging of finishing equipment, program updates, greatly reduce maintenance cost and maintenance period.
Technical scheme of the present invention is: a kind of UVLED cure system remote upgrade method based on BootLoader, comprises step:
Step 1, the distribution to page is completed according to the memory architecture of the STM32F103R8T6 in processor module, light source driver module, FLASH is divided into four districts, i.e. BootLoader, user program area, upgrading memory block, parameter conservation zone, and initialization BootLoader;
Step 2, after BootLoader initialization terminates, judge the upgrading mark Updata_Flag in parameter conservation zone, if upgrading is masked as 0xFA, explanation receives remote upgrade instruction, then judges it is the program upgrade of processor module or the program upgrade of light source driver module; Determine that rear corresponding module then enters ROMPaq by the redirect of BootLoader boot, programming jump instruction meets the command protocols of STM32F10X series, and upgrading confirms that instruction feedback is to host computer;
Step 3, STM32F103R8T6 microprocessor calls FLASH and wipes the corresponding data of function F lash_SectorErase () by storage area of upgrading in page erasing FLASH, and note the address of program storage and FLASH to carry out page alignment, every page takies 2048bit;
Step 4, in order to ensure the safety of program, the present invention introduces resist miscode link, and host computer can be packaged into each packet according to certain format to the link of new procedures BIN file subpackage;
Step 5, after data direct packets receives, ROMPaq in BootLoader can carry out the reception of packet according to the information of direct packets, often again can calculate CRC at controller end after bag data receiver, and whether verification is identical with the CRC check code in packet, if not identical, again can apply for the packet of this sequence number, and be limited with 5 applications, if 5 all mistakes, exit upgrading; If identical, apply for next transmission of wrapping, until all Packet Generations are complete;
Step 6, in order to the resist miscode ability of strengthening system, except the verification to each packet, also can in the end verify total data bag;
Step 7, after confirmation upgrades successfully, current version number can preserve in the parameter region of FLASH by the BootLoader program of client, and is uploaded to host computer storage, and so far escalation process confirms successfully.
Further, described UVLED cure system mainly comprises communication module, processor module, light source driver module and interactive module, described communication module is by RS485 connection handling device module, light source driver module respectively, described processor module is for controlling the operation of whole system, described light source driver module is for controlling the distribution of electric current, described interactive module is connected with processor module, for display and the manually input of UVLED cure system.
Further, in described step 1, BootLoader is the first paragraph code that embedded system performs after the power-up, after completing initiating hardware equipment, setting up memory headroom mapping, jump to the memory headroom of the built-in application program of operation system image or solidification again, startup optimization system; User program area stores the user program needing to run; Upgrading memory block is used to the binary file temporarily storing new program, to be verified complete after write user program area again; Define the structure of a upgrade status in parameter conservation zone, member comprises upgrading mark, the last upgrade information, CRC check code.
Further, the first address of described BootLoader and user program area, needs manually to be set to 0x8000000 and 0x8010000 in the Optionsfortarget in KEIL.
Further, described step 3 is in the process of erasing, and Flash_SectorErase () can return the erasing result of every page, and the result of erasing is returned to host computer; If wipe successfully, start request msg direct packets, if unsuccessful, inquire whether terminate upgrading by host computer; Data direct packets is that host computer generates after subpackage new procedures BIN document analysis, comprises the overall budget number of routine package, total bytes, version number and total CRC (16BitMODELBUS pattern) check code in direct packets.
Further, in described step 4, detailed process is: each packet is respectively containing frame head (1Bit), sequence number (1Bit), file size (2Bit), file data (within 1024Bit), check code (2Bit), postamble (1Bit); Frame head and postamble are according to fixing 0x5A and 0xA5 of communication protocol; What verification link adopted is CRC (16BitMODELBUS pattern), and host computer calculates a CRC to each packet and generates check code before transmission packet; STM32F103R8T6 microprocessor all can check (CRC) after the reception of each bag data, if verify unsuccessful, sends false command, requires to resend a current data packet.
Further, described step 6 also comprises: after entire packet is transmitted, the CRC check code that host computer and STM32F103R8T6 microprocessor all can store these is a total CRC, judge that whether total CRC check code that host computer and microprocessor calculate is consistent, also can be judged as upgrading unsuccessfully if inconsistent.
Beneficial effect of the present invention is:
1) Bootloader and IAP combines by the present invention, by the remote update system that the communication modules such as upper machine communication or GP configuring RS, WiFi, Ethernet card complete, be integrated on a UVLED opertaing device, can the remote debugging of finishing equipment, program updates.Owing to solidifying the singularity of industry, technician needs often according to the program of different streamlines debugging curing apparatus.The remote upgrade scheme of the dependable performance that the present invention proposes, no longer needs technician to hurry to each industry spot to carry out debugging and the upgrading of program, decreases maintenance cost and debugging cycle largely, bring the interests of economy and time.
2) innovatively the FLASH of STM32F103R8T6 is divided into four districts in step 1, comparatively conventional I AP upgrading has had more upgrading memory block and parameter conservation zone.Directly user program area can not be covered in escalation process, but program file is first positioned over upgrading memory block, to be verified no problem after, guided by Bootloader and directly run new procedures, if find, new procedures has the defect in programming, can also to resume operation original program, to greatly strengthen the stability of escalation process.In addition, distribution place parameter conservation zone, is kept at upgrade status and checking parameter in this district in escalation process, once occur in escalation process that emergency situations causes upgrading to stop, again can read the state of upgrading last time during upgrading, continue transmission packet at breakpoint place.The mechanism of breakpoint transmission can use GPRS as the consumption type of transport module greatly reducing expensive flow.
3) in step 4,5,6, the design of twice CRC check not only ensure that the security of data, the CRC to individual data bag that the verification link that general IAP upgrades increases verifies link, can not upgrading be exited when individual data bag authentication error, but again attempt sending this packet.Such design is based on the bit error rate inevitable in wireless transmission, avoids data and contracts out existing mistake and cause whole escalation process to stop, saved update time and data traffic.
Accompanying drawing explanation
Fig. 1 is system principle diagram;
Fig. 2 is the inner Flash planning chart of STM32F103R8T6;
Fig. 3 is data frame format key diagram;
Fig. 4 is method flow diagram.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described.
Be described below in detail embodiments of the invention, the example of described embodiment is shown in the drawings, and wherein same or similar label represents same or similar element or has element that is identical or similar functions from start to finish.Being exemplary below by the embodiment be described with reference to the drawings, only for explaining the present invention, and can not limitation of the present invention being interpreted as.
UVLED cure system remote upgrade method based on BootLoader of the present invention, comprises with lower module:
(1) BootLoader module.The distribution of the FLASH memory address of management distributing user program area, upgrading storage area, parameter conservation zone; Judge whether to upgrade by the request accepting host computer; The information transmission such as program version number, identifying code are carried out by the request accepting host computer; The redirect to user program is completed after upgrading terminates.
(2) upper computer module.Operate in the computer software on industrial computer, control the reading, parsing, packing etc. of upgrade file.Upper computer software is connected with the server of equipment vendor, accomplishes to push ROMPaq and debugged program etc. in time.Host computer is connected with equipment by the RS485 bus of industrial computer.
(3) optional communication module (GPRS, WiFi, bluetooth or Ethernet card etc.) is arranged in pairs or groups with host computer, completes remote transmission.
As shown in Figure 1, UVLED cure system mainly comprises processor module, communication module, light source driver module and interactive module (comprising touch-screen and key-press module, display and manual input control for UVLED cure system).Wherein need programme controlledly have two modules, i.e. processor module (controlling the operation of whole system) and light source driver module (controlling the distribution of electric current), by RS485, same processor module, light source driver module are connected described communication module respectively, described communication module is also connected with wireless module by network, wireless module is connected with host computer by RS485, coordinate host computer and network can carry out remote upgrade to program, greatly shorten the time of machine maintenance upgrading.The STM32 series microprocessor STM32F103R8T6 that the present invention uses for UVLED cure system.The control core of processor module, light source driver module is all STM32F103R8T6 microprocessor, BootLoader runs before user program, initialization apparatus can be completed, set up memory headroom to map, thus software and hardware is adjusted to the environment of a suitable operation, to prepare for final call operation system kernel.Utilize this feature, BootLoader program can be write, finally can reach the object of ROMPaq.
The present invention uses the STM32F103R8T6 of Cortex-M3 framework as the microprocessor of UVLED cure system, utilizes the IAP based on BootLoader to complete UVLED cure system remote upgrade in conjunction with host computer or optional communication module.UVLED cure system mainly comprises following four modules: processor module, communication module, light source driver module and interactive module.The method that the present invention proposes completes based on processor module and communication module.With regard to feasibility, in common microprocessor, all comprise BootLoader.STM32F103R8T6 microprocessor is supported the primary prerequisite of IAP technology to be it must to be based on can the microprocessor of overprogram flash memory.In addition STM32 microprocessor have quantitatively, peripheral communication interface all very abundant in kind, therefore realize on STM32 based on BootLoader IAP, to complete remote upgrade be feasible.
In processor module, in the FLASH region of STM32F103R8T6 microprocessor, hew out the storage area (address can customize) of BootLoader, wherein store the start-up routine of BootLoader.Start BootLoader program, program can accept the upgrade transmitted by host computer, program carries out a synthetic determination according to current state, if desired upgrade, then BootLoader can call the ROMPaq left in BootLoader, coordinate communication module to complete the transmission of upgrade data, updating operation is performed to the data in the working procedure district in FLASH.
In communication module, the present invention uses the RS485 bus of STM32F103R8T6 microprocessor to complete the communication with host computer, host computer complete upgrading direct packets, upgrading data packet, upgrade status bag, verification bag and program version number etc. data to the transmission of microprocessor.
As shown in Figure 4, the UVLED cure system remote upgrade method based on BootLoader is set forth, mainly comprises the following steps:
Step 1, completes the distribution to page according to the memory architecture of STM32F103R8T6.FLASH is divided into four districts, i.e. BootLoader according to address as shown in Figure 2 by the present invention, user program area, upgrading memory block, parameter conservation zone.BootLoader is the first paragraph code that embedded system performs after the power-up, completing initiating hardware equipment, sets up after memory headroom maps, then jumps to the memory headroom of built-in application program of operation system image or solidification, startup optimization system; User program area stores the user program needing to run; Upgrading memory block is used to the binary file temporarily storing new program, to be verified complete after write user program area again; Define the structure of a upgrade status in parameter conservation zone, member comprises upgrading mark, the last upgrade information, CRC check code etc.The wherein first address of BootLoader and user program, needs manually to be set to 0x8000000 and 0x8010000 in the Optionsfortarget in KEIL; All arranging in BootLoader of other.Whole BootLoader accounts for 8K byte altogether.
Step 2, needs programme controlledly have two modules in UVLED cure system, i.e. processor module (controlling the operation of whole system) and light source driver module (distribution of control electric current).The control core of module is all STM32F103R8T6 microprocessor.After BootLoader initialization terminates, judge the upgrading mark Updata_Flag in parameter conservation zone, if upgrading is masked as 0xFA, illustrates and receive remote upgrade instruction, then judge it is the program upgrade of processor module or the program upgrade of light source driver module.Determine that rear corresponding module then enters ROMPaq by the redirect of BootLoader boot, programming jump instruction meets the command protocols of STM32F10X series.Upgrading confirms that instruction feedback is to host computer.
Step 3, STM32F103R8T6 microprocessor calls FLASH and wipes the corresponding data of function F lash_SectorErase () by storage area of upgrading in page erasing FLASH; Due to this built-in function to FLASH perform be paging erasing, therefore should be noted that by program store address and FLASH carry out page alignment (every page takies 2048bit).In the process of erasing, Flash_SectorErase () can return the erasing result of every page, and the result of erasing is returned to host computer.If wipe successfully, start request msg direct packets, if unsuccessful, inquire whether terminate upgrading by host computer.Data direct packets is that host computer generates after subpackage new procedures BIN document analysis, comprises the overall budget number of routine package, total bytes, version number and total CRC (16BitMODELBUS pattern) check code in direct packets.
Step 4, because transmission link unavoidably occurs error code, when especially using GPRS, Zigbee as long-range carrier, has certain bit error rate; So the safety in order to ensure program, the present invention introduces resist miscode link.Host computer can be packaged into each packet according to certain format to the link of new procedures BIN file subpackage.As shown in Figure 3, each packet is respectively containing frame head (1Bit), sequence number (1Bit), file size (2Bit), file data (within 1024Bit), check code (2Bit), postamble (1Bit) etc.Frame head and postamble are according to fixing 0x5A and 0xA5 of communication protocol.What verification link adopted is CRC (16BitMODELBUS pattern), and host computer calculates a CRC to each packet and generates check code before transmission packet.Microprocessor all can check (CRC) after the reception of each bag data, if verify unsuccessful, sends false command, requires to resend a current data packet.This verification mode is for total CRC check, and adjustment cycle is short, reliability is high.
Step 5, after data direct packets receives, the ROMPaq in BootLoader can carry out the reception of packet according to the information of direct packets.Often again can calculate CRC at controller end after bag data receiver, and whether verification is identical with the CRC check code in packet, if not identical, again can apply for the packet of this sequence number, and be limited with 5 applications, if 5 all mistakes, exit upgrading; If identical, apply for next transmission of wrapping, until all Packet Generations are complete.Often FLASH operation is write in the errorless rear execution of bag verification, uses to write FLASH function F LASH_ProgramWord () in STM32 built-in function; Notice that the minimum unit of write is word (32bit) but not general single-chip microcomputer writes in the mode of half-word (16bit), discontented byte need be filled with 0xFF.By this way, cyclically by the program area of the program code write FLASH in all packets.
Step 6, in order to the resist miscode ability of strengthening system, except the verification to each packet, also can in the end verify total data bag.Host computer just does CRC check to all bytes of the binary file of program when resolving bag, expends time in longer, can weaken user's health check-up; And change the verification when sending into, two bytes of verification unit in every bag frame are carried out separately preserving (client is saved in the parameter region in FLASH too).After entire packet is transmitted, the CRC check code that host computer and microprocessor all can store these is a total CRC, judges that whether total CRC check code that host computer and microprocessor calculate is consistent, also can be judged as upgrading unsuccessfully if inconsistent.Further enhancing the non fouling of system.
Step 7, after confirmation upgrades successfully, current version number can preserve in the parameter region of FLASH by the BootLoader program of client, and is uploaded to host computer storage, and so far escalation process confirms successfully.Last BootLoader executive routine jump instruction Jump_To_Application (); Before this jump instruction of execution, need the stack pointer of initialising subscriber program, setting _ _ set_MSP (* (_ _ IOuint32_t*) APPLICATION_ADD) instruction.So far, all ROMPaq complete.
In the description of this instructions, specific features, structure, material or feature that the description of reference term " embodiment ", " some embodiments ", " illustrative examples ", " example ", " concrete example " or " some examples " etc. means to describe in conjunction with this embodiment or example are contained at least one embodiment of the present invention or example.In this manual, identical embodiment or example are not necessarily referred to the schematic representation of above-mentioned term.And the specific features of description, structure, material or feature can combine in an appropriate manner in any one or more embodiment or example.
Although illustrate and describe embodiments of the invention, those having ordinary skill in the art will appreciate that: can carry out multiple change, amendment, replacement and modification to these embodiments when not departing from principle of the present invention and aim, scope of the present invention is by claim and equivalents thereof.

Claims (7)

1., based on a UVLED cure system remote upgrade method of BootLoader, it is characterized in that, comprise step:
Step 1, the distribution to page is completed according to the memory architecture of the STM32F103R8T6 in processor module, light source driver module, FLASH is divided into four districts, i.e. BootLoader, user program area, upgrading memory block, parameter conservation zone, and initialization BootLoader;
Step 2, after BootLoader initialization terminates, judge the upgrading mark Updata_Flag in parameter conservation zone, if upgrading is masked as 0xFA, explanation receives remote upgrade instruction, then judges it is the program upgrade of processor module or the program upgrade of light source driver module; Determine that rear corresponding module then enters ROMPaq by the redirect of BootLoader boot, programming jump instruction meets the command protocols of STM32F10X series, and upgrading confirms that instruction feedback is to host computer;
Step 3, STM32F103R8T6 microprocessor calls FLASH and wipes the corresponding data of function F lash_SectorErase () by storage area of upgrading in page erasing FLASH, and note the address of program storage and FLASH to carry out page alignment, every page takies 2048bit;
Step 4, in order to ensure the safety of program, the present invention introduces resist miscode link, and host computer can be packaged into each packet according to certain format to the link of new procedures BIN file subpackage;
Step 5, after data direct packets receives, ROMPaq in BootLoader can carry out the reception of packet according to the information of direct packets, often again can calculate CRC at controller end after bag data receiver, and whether verification is identical with the CRC check code in packet, if not identical, again can apply for the packet of this sequence number, and be limited with 5 applications, if 5 all mistakes, exit upgrading; If identical, apply for next transmission of wrapping, until all Packet Generations are complete;
Step 6, in order to the resist miscode ability of strengthening system, except the verification to each packet, also can in the end verify total data bag;
Step 7, after confirmation upgrades successfully, current version number can preserve in the parameter region of FLASH by the BootLoader program of client, and is uploaded to host computer storage, and so far escalation process confirms successfully.
2. the UVLED cure system remote upgrade method based on BootLoader according to claim 1, it is characterized in that, described UVLED cure system mainly comprises communication module, processor module, light source driver module and interactive module, described communication module is by RS485 connection handling device module, light source driver module respectively, described processor module is for controlling the operation of whole system, described light source driver module is for controlling the distribution of electric current, described interactive module is connected with processor module, for display and the manually input of UVLED cure system.
3. the UVLED cure system remote upgrade method based on BootLoader according to claim 1, it is characterized in that, in described step 1, BootLoader is the first paragraph code that embedded system performs after the power-up, after completing initiating hardware equipment, setting up memory headroom mapping, jump to the memory headroom of the built-in application program of operation system image or solidification again, startup optimization system; User program area stores the user program needing to run; Upgrading memory block is used to the binary file temporarily storing new program, to be verified complete after write user program area again; Define the structure of a upgrade status in parameter conservation zone, member comprises upgrading mark, the last upgrade information, CRC check code.
4. the UVLED cure system remote upgrade method based on BootLoader according to claim 3, it is characterized in that, the first address of described BootLoader and user program area, needs manually to be set to 0x8000000 and 0x8010000 in the Optionsfortarget in KEIL.
5. the UVLED cure system remote upgrade method based on BootLoader according to claim 1, it is characterized in that, described step 3 is in the process of erasing, and Flash_SectorErase () can return the erasing result of every page, and the result of erasing is returned to host computer; If wipe successfully, start request msg direct packets, if unsuccessful, inquire whether terminate upgrading by host computer; Data direct packets is that host computer generates after subpackage new procedures BIN document analysis, comprises the overall budget number of routine package, total bytes, version number and total CRC (16BitMODELBUS pattern) check code in direct packets.
6. the UVLED cure system remote upgrade method based on BootLoader according to claim 1, it is characterized in that, in described step 4, detailed process is: each packet is respectively containing frame head (1Bit), sequence number (1Bit), file size (2Bit), file data (within 1024Bit), check code (2Bit), postamble (1Bit); Frame head and postamble are according to fixing 0x5A and 0xA5 of communication protocol; What verification link adopted is CRC (16BitMODELBUS pattern), and host computer calculates a CRC to each packet and generates check code before transmission packet; STM32F103R8T6 microprocessor all can check (CRC) after the reception of each bag data, if verify unsuccessful, sends false command, requires to resend a current data packet.
7. the UVLED cure system remote upgrade method based on BootLoader according to claim 1, it is characterized in that, described step 6 also comprises:
After entire packet is transmitted, the CRC check code that host computer and STM32F103R8T6 microprocessor all can store these is a total CRC, judge that whether total CRC check code that host computer and microprocessor calculate is consistent, also can be judged as upgrading unsuccessfully if inconsistent.
CN201510536559.0A 2015-08-27 2015-08-27 BootLoader based remote upgrade method for UV LED (Ultraviolet Light Emitting Diode) curing system Pending CN105117253A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510536559.0A CN105117253A (en) 2015-08-27 2015-08-27 BootLoader based remote upgrade method for UV LED (Ultraviolet Light Emitting Diode) curing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510536559.0A CN105117253A (en) 2015-08-27 2015-08-27 BootLoader based remote upgrade method for UV LED (Ultraviolet Light Emitting Diode) curing system

Publications (1)

Publication Number Publication Date
CN105117253A true CN105117253A (en) 2015-12-02

Family

ID=54665255

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510536559.0A Pending CN105117253A (en) 2015-08-27 2015-08-27 BootLoader based remote upgrade method for UV LED (Ultraviolet Light Emitting Diode) curing system

Country Status (1)

Country Link
CN (1) CN105117253A (en)

Cited By (42)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105607515A (en) * 2015-12-31 2016-05-25 天津金米特电子有限公司 Intelligent upgrading method for electric moped
CN106200456A (en) * 2016-06-27 2016-12-07 武汉立方科技有限公司 A kind of hydrographic water resource detecting system possessing remote upgrade function
CN106293857A (en) * 2016-08-31 2017-01-04 成都国蓉科技有限公司 A kind of wireless mode carries out the method for software upgrading
CN106445504A (en) * 2016-08-31 2017-02-22 上海斐讯数据通信技术有限公司 Update method and system of mobile terminal device driver
CN106775588A (en) * 2016-11-30 2017-05-31 合肥科迈捷智能传感技术有限公司 A kind of firmware upgrade method based on principal and subordinate processor framework
CN106843943A (en) * 2017-01-03 2017-06-13 恒鸿达信息技术有限公司 A kind of STM32 microprocessor programs architecture design method
CN106886444A (en) * 2017-03-27 2017-06-23 北京润科通用技术有限公司 A kind of online programming method and device
CN106886426A (en) * 2015-12-15 2017-06-23 西安富成防务科技有限公司 A kind of DSP processing systems of piecemeal upgrading
CN107037757A (en) * 2017-04-17 2017-08-11 浙江威星智能仪表股份有限公司 A kind of BootLoader programme upgrade methods based on photoelectricity transmission
CN107301068A (en) * 2017-06-12 2017-10-27 合肥众志行云科技有限公司 One-to-many wireless program upgrade-system and method on a kind of single-chip microcomputer
CN107832079A (en) * 2017-11-15 2018-03-23 中国石油天然气股份有限公司 Method and device for upgrading oil-gas well monitor and computer readable storage medium
CN108108178A (en) * 2016-11-23 2018-06-01 北京遥感设备研究所 A kind of FLASH program self refresh methods based on DSP
CN108255510A (en) * 2017-12-22 2018-07-06 芯海科技(深圳)股份有限公司 One kind is based on IAP online upgradings firmware transfer check design method to be upgraded
CN108469961A (en) * 2018-03-07 2018-08-31 江苏北弓智能科技有限公司 One kind is based on micromation embedded platform remote update system and method
CN108494818A (en) * 2018-02-10 2018-09-04 西安融盛智汇电子科技有限公司 A kind of online upgrading method of photovoltaic data acquisition gateway device
CN108737026A (en) * 2018-05-08 2018-11-02 深圳市心流科技有限公司 Data transmission method, device and computer readable storage medium
CN108874432A (en) * 2018-08-17 2018-11-23 深圳市优驰科技有限公司 Radio firmware upgrade-system
CN109271174A (en) * 2018-08-01 2019-01-25 广州市星翼电子科技有限公司 A kind of multiple firmwares dispersion method for burn-recording of single-chip microcontroller
CN109347937A (en) * 2018-10-09 2019-02-15 深圳市亿联智能有限公司 A kind of intelligent remote upgrade method applied to video monitoring equipment
CN109375940A (en) * 2018-08-15 2019-02-22 广州南方卫星导航仪器有限公司 A kind of upgrade method of data radio station, system and storage medium
CN109508199A (en) * 2017-09-15 2019-03-22 北京万佳信科技有限公司 A kind of novel embedded remote soft ware upgrading method
CN109522040A (en) * 2018-09-27 2019-03-26 宁波三星智能电气有限公司 A kind of elongated remote upgrade method of number-of-packet for ammeter
CN109684795A (en) * 2018-12-25 2019-04-26 成都卫士通信息产业股份有限公司 The method, apparatus and electronic equipment of application program anti-debug
CN109710291A (en) * 2018-12-27 2019-05-03 中国科学院长春光学精密机械与物理研究所 A kind of aviation O-E Payload software configuration item remote upgrade method
CN109918111A (en) * 2019-04-09 2019-06-21 保定市智能电脑有限公司 The method of the Intelligent power distribution terminal remote I AP program upgrading of double MCU
CN110244970A (en) * 2019-05-16 2019-09-17 芜湖智久机器人有限公司 A kind of single-chip microcontroller and its upgrade-system, upgrade method
CN110362323A (en) * 2018-12-20 2019-10-22 无锡职业技术学院 Embedded type terminal equipment method for updating program based on distributed ad hoc network
CN110413298A (en) * 2019-07-16 2019-11-05 南京邮电大学 The method that single-chip microcontroller serially upgrades and debugs is carried out based on Labwindows platform
CN110609692A (en) * 2019-08-06 2019-12-24 厦门科灿信息技术有限公司 Data acquisition module, firmware upgrading method thereof and storage medium
CN111562090A (en) * 2020-06-05 2020-08-21 深圳爱克莱特科技股份有限公司 Lamp remote debugging system and lamp debugging method
CN111625267A (en) * 2020-06-02 2020-09-04 中电科蓉威电子技术有限公司 Program online upgrading system and method based on UWB communication
CN112015456A (en) * 2019-05-31 2020-12-01 河南森源电动汽车有限公司 BootLoader program updating method
CN112035152A (en) * 2020-08-24 2020-12-04 成都三零嘉微电子有限公司 Secure processing system and method for SoC chip firmware upgrade
CN112338904A (en) * 2020-10-27 2021-02-09 南京东奇智能制造研究院有限公司 Robot multi-joint coordination control system
CN112559014A (en) * 2020-12-28 2021-03-26 南京立迈胜机器人有限公司 Servo drive firmware upgrading method based on EtherCAT real-time Ethernet
CN112631628A (en) * 2020-12-11 2021-04-09 邦彦技术股份有限公司 Singlechip upgrading method, singlechip and storage medium
CN113203936A (en) * 2021-03-15 2021-08-03 江西创成微电子有限公司 Chip testing device, system and method
CN113219872A (en) * 2021-05-10 2021-08-06 安徽大学 Remote upgrading method of monitoring system of refrigerator car based on real-time perception
CN113553085A (en) * 2021-07-26 2021-10-26 科东(广州)软件科技有限公司 Method, device, equipment and storage medium for online upgrading of embedded operating system
CN113741933A (en) * 2021-08-23 2021-12-03 深圳市航天泰瑞捷电子有限公司 Remote upgrading method of controller, controller and system
CN114448971A (en) * 2021-12-29 2022-05-06 中国航空工业集团公司西安航空计算技术研究所 Data loading method of airborne embedded system
CN117453261A (en) * 2023-11-10 2024-01-26 珠海科创储能科技有限公司 Upgrade data verification method of equipment, storage medium and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101957764A (en) * 2010-08-02 2011-01-26 珠海许继电气有限公司 Method for remotely updating remote terminal program
WO2011137640A1 (en) * 2010-05-06 2011-11-10 中兴通讯股份有限公司 File transmission method, file transmission apparatus and file reception apparatus
CN103019788A (en) * 2012-12-14 2013-04-03 上海邮政科学研究院 Remote online upgrading method based on CAN (Controller Area Network) bus
CN104007996A (en) * 2014-06-16 2014-08-27 南京融教科技有限公司 Reliable firmware upgrading realizing method for distributed control system
CN104360877A (en) * 2014-10-24 2015-02-18 同济大学 ECU (electronic control unit) firmware updating method based on Bootloader self update

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011137640A1 (en) * 2010-05-06 2011-11-10 中兴通讯股份有限公司 File transmission method, file transmission apparatus and file reception apparatus
CN101957764A (en) * 2010-08-02 2011-01-26 珠海许继电气有限公司 Method for remotely updating remote terminal program
CN103019788A (en) * 2012-12-14 2013-04-03 上海邮政科学研究院 Remote online upgrading method based on CAN (Controller Area Network) bus
CN104007996A (en) * 2014-06-16 2014-08-27 南京融教科技有限公司 Reliable firmware upgrading realizing method for distributed control system
CN104360877A (en) * 2014-10-24 2015-02-18 同济大学 ECU (electronic control unit) firmware updating method based on Bootloader self update

Cited By (54)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106886426A (en) * 2015-12-15 2017-06-23 西安富成防务科技有限公司 A kind of DSP processing systems of piecemeal upgrading
CN105607515A (en) * 2015-12-31 2016-05-25 天津金米特电子有限公司 Intelligent upgrading method for electric moped
CN105607515B (en) * 2015-12-31 2018-05-25 天津金米特科技股份有限公司 A kind of Moped Scooter intelligent upgrade method
CN106200456A (en) * 2016-06-27 2016-12-07 武汉立方科技有限公司 A kind of hydrographic water resource detecting system possessing remote upgrade function
CN106293857A (en) * 2016-08-31 2017-01-04 成都国蓉科技有限公司 A kind of wireless mode carries out the method for software upgrading
CN106445504A (en) * 2016-08-31 2017-02-22 上海斐讯数据通信技术有限公司 Update method and system of mobile terminal device driver
CN108108178A (en) * 2016-11-23 2018-06-01 北京遥感设备研究所 A kind of FLASH program self refresh methods based on DSP
CN106775588A (en) * 2016-11-30 2017-05-31 合肥科迈捷智能传感技术有限公司 A kind of firmware upgrade method based on principal and subordinate processor framework
CN106843943A (en) * 2017-01-03 2017-06-13 恒鸿达信息技术有限公司 A kind of STM32 microprocessor programs architecture design method
CN106886444A (en) * 2017-03-27 2017-06-23 北京润科通用技术有限公司 A kind of online programming method and device
CN107037757A (en) * 2017-04-17 2017-08-11 浙江威星智能仪表股份有限公司 A kind of BootLoader programme upgrade methods based on photoelectricity transmission
CN107301068A (en) * 2017-06-12 2017-10-27 合肥众志行云科技有限公司 One-to-many wireless program upgrade-system and method on a kind of single-chip microcomputer
CN109508199A (en) * 2017-09-15 2019-03-22 北京万佳信科技有限公司 A kind of novel embedded remote soft ware upgrading method
CN107832079A (en) * 2017-11-15 2018-03-23 中国石油天然气股份有限公司 Method and device for upgrading oil-gas well monitor and computer readable storage medium
CN108255510A (en) * 2017-12-22 2018-07-06 芯海科技(深圳)股份有限公司 One kind is based on IAP online upgradings firmware transfer check design method to be upgraded
CN108494818A (en) * 2018-02-10 2018-09-04 西安融盛智汇电子科技有限公司 A kind of online upgrading method of photovoltaic data acquisition gateway device
CN108494818B (en) * 2018-02-10 2021-02-05 西安融盛智汇电子科技有限公司 Online upgrading method for photovoltaic data acquisition gateway equipment
CN108469961A (en) * 2018-03-07 2018-08-31 江苏北弓智能科技有限公司 One kind is based on micromation embedded platform remote update system and method
CN108737026A (en) * 2018-05-08 2018-11-02 深圳市心流科技有限公司 Data transmission method, device and computer readable storage medium
US11368563B2 (en) 2018-05-08 2022-06-21 Shenzhen Mental Flow Technology Co., Ltd. Data transmission method, device and non-transitory computer readable storage medium
CN108737026B (en) * 2018-05-08 2020-07-03 深圳市心流科技有限公司 Data transmission method, device and computer readable storage medium
CN109271174A (en) * 2018-08-01 2019-01-25 广州市星翼电子科技有限公司 A kind of multiple firmwares dispersion method for burn-recording of single-chip microcontroller
CN109375940A (en) * 2018-08-15 2019-02-22 广州南方卫星导航仪器有限公司 A kind of upgrade method of data radio station, system and storage medium
CN108874432B (en) * 2018-08-17 2022-07-12 深圳市优驰科技有限公司 Wireless firmware upgrade system
CN108874432A (en) * 2018-08-17 2018-11-23 深圳市优驰科技有限公司 Radio firmware upgrade-system
CN109522040A (en) * 2018-09-27 2019-03-26 宁波三星智能电气有限公司 A kind of elongated remote upgrade method of number-of-packet for ammeter
CN109347937A (en) * 2018-10-09 2019-02-15 深圳市亿联智能有限公司 A kind of intelligent remote upgrade method applied to video monitoring equipment
CN109347937B (en) * 2018-10-09 2021-08-27 深圳市亿联智能有限公司 Intelligent remote upgrading method applied to video monitoring equipment
CN110362323A (en) * 2018-12-20 2019-10-22 无锡职业技术学院 Embedded type terminal equipment method for updating program based on distributed ad hoc network
CN109684795B (en) * 2018-12-25 2023-01-24 成都卫士通信息产业股份有限公司 Method and device for anti-debugging of application program and electronic equipment
CN109684795A (en) * 2018-12-25 2019-04-26 成都卫士通信息产业股份有限公司 The method, apparatus and electronic equipment of application program anti-debug
CN109710291A (en) * 2018-12-27 2019-05-03 中国科学院长春光学精密机械与物理研究所 A kind of aviation O-E Payload software configuration item remote upgrade method
CN109710291B (en) * 2018-12-27 2021-02-12 中国科学院长春光学精密机械与物理研究所 Remote upgrading method for aviation photoelectric load software configuration items
CN109918111A (en) * 2019-04-09 2019-06-21 保定市智能电脑有限公司 The method of the Intelligent power distribution terminal remote I AP program upgrading of double MCU
CN109918111B (en) * 2019-04-09 2024-03-19 保定华智电气有限公司 Remote IAP program upgrading method for intelligent power distribution terminal with double MCU
CN110244970A (en) * 2019-05-16 2019-09-17 芜湖智久机器人有限公司 A kind of single-chip microcontroller and its upgrade-system, upgrade method
CN112015456A (en) * 2019-05-31 2020-12-01 河南森源电动汽车有限公司 BootLoader program updating method
CN110413298A (en) * 2019-07-16 2019-11-05 南京邮电大学 The method that single-chip microcontroller serially upgrades and debugs is carried out based on Labwindows platform
CN110609692A (en) * 2019-08-06 2019-12-24 厦门科灿信息技术有限公司 Data acquisition module, firmware upgrading method thereof and storage medium
CN111625267A (en) * 2020-06-02 2020-09-04 中电科蓉威电子技术有限公司 Program online upgrading system and method based on UWB communication
CN111625267B (en) * 2020-06-02 2023-05-26 中电科蓉威电子技术有限公司 Program online upgrading system and method based on UWB communication
CN111562090A (en) * 2020-06-05 2020-08-21 深圳爱克莱特科技股份有限公司 Lamp remote debugging system and lamp debugging method
CN112035152A (en) * 2020-08-24 2020-12-04 成都三零嘉微电子有限公司 Secure processing system and method for SoC chip firmware upgrade
CN112035152B (en) * 2020-08-24 2023-10-10 成都三零嘉微电子有限公司 Secure processing system and method for upgrading firmware of SoC chip
CN112338904A (en) * 2020-10-27 2021-02-09 南京东奇智能制造研究院有限公司 Robot multi-joint coordination control system
CN112631628A (en) * 2020-12-11 2021-04-09 邦彦技术股份有限公司 Singlechip upgrading method, singlechip and storage medium
CN112559014A (en) * 2020-12-28 2021-03-26 南京立迈胜机器人有限公司 Servo drive firmware upgrading method based on EtherCAT real-time Ethernet
CN113203936A (en) * 2021-03-15 2021-08-03 江西创成微电子有限公司 Chip testing device, system and method
CN113219872A (en) * 2021-05-10 2021-08-06 安徽大学 Remote upgrading method of monitoring system of refrigerator car based on real-time perception
CN113553085A (en) * 2021-07-26 2021-10-26 科东(广州)软件科技有限公司 Method, device, equipment and storage medium for online upgrading of embedded operating system
CN113741933A (en) * 2021-08-23 2021-12-03 深圳市航天泰瑞捷电子有限公司 Remote upgrading method of controller, controller and system
CN114448971A (en) * 2021-12-29 2022-05-06 中国航空工业集团公司西安航空计算技术研究所 Data loading method of airborne embedded system
CN114448971B (en) * 2021-12-29 2024-01-19 中国航空工业集团公司西安航空计算技术研究所 Data loading method of airborne embedded system
CN117453261A (en) * 2023-11-10 2024-01-26 珠海科创储能科技有限公司 Upgrade data verification method of equipment, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN105117253A (en) BootLoader based remote upgrade method for UV LED (Ultraviolet Light Emitting Diode) curing system
CN105354070B (en) A method of passing through I2C updating apparatus firmware
US7562360B2 (en) Method and system for firmware downloads
CN104579719A (en) A method and system for updating firmware, upper computer and optical module
US11433718B2 (en) Upgrading method and apparatus for tire pressure monitoring module and tire pressure sensor
CN102331943B (en) System and method for updating storage on line
CN104007996A (en) Reliable firmware upgrading realizing method for distributed control system
CN112947977B (en) Online software upgrading method and system
CN103092647A (en) Online upgrade method of embedded system
CN108415718B (en) BootLoader design method applied to on-line updating of satellite-borne software
CN104503796A (en) IAP (Internet Access Provider) based configurable full-network remote node firmware upgrading method
CN113360173B (en) Device and method for multi-cascade OTA upgrading of industrial equipment
CN111562933A (en) Air conditioner upgrading method and air conditioner system
CN102711095B (en) A kind of method of the node in wireless sensor network being carried out to radio upgrade
CN104407878A (en) On-line upgrading method of C6000 digital signal processor
CN201146523Y (en) ARM built-in terminal remote upgrade apparatus based on GPRS network
CN101882119A (en) NAND flash memory controller and data transmission method thereof
CN108255510B (en) IAP-based transmission verification design method for online upgrading of firmware to be upgraded
CN104407881A (en) Active RFID (radio frequency identification) firmware remote upgrading method
CN102722408B (en) Method and apparatus for communication equipment software update
CN104572195A (en) Remote online device program updating method
CN100543680C (en) A kind of method of the electric energy meter chip program being carried out down loading updating
CN102426528A (en) Online updating method for kernel program of navigation positioning receiver
CN104461589A (en) Single-chip microcomputer updating method and system
CN100373336C (en) Method for realizing flash-storage dynamic update of single-chip machine

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20151202

RJ01 Rejection of invention patent application after publication