CN100472442C - Device and method for on-line updating fastener programm - Google Patents

Device and method for on-line updating fastener programm Download PDF

Info

Publication number
CN100472442C
CN100472442C CNB2006100114099A CN200610011409A CN100472442C CN 100472442 C CN100472442 C CN 100472442C CN B2006100114099 A CNB2006100114099 A CN B2006100114099A CN 200610011409 A CN200610011409 A CN 200610011409A CN 100472442 C CN100472442 C CN 100472442C
Authority
CN
China
Prior art keywords
boot
work
cpld
file
interface controller
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.)
Active
Application number
CNB2006100114099A
Other languages
Chinese (zh)
Other versions
CN101030140A (en
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CNB2006100114099A priority Critical patent/CN100472442C/en
Publication of CN101030140A publication Critical patent/CN101030140A/en
Application granted granted Critical
Publication of CN100472442C publication Critical patent/CN100472442C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

A device used for carrying out on-line upgrade of firmware program includes connecting interface controller to service single board processor and storage as well as operation CPLD component, obtaining BOOT file used to make upgrade by said processor and carrying out upgrade operation through said controller, storing BOOT file into said storage, obtaining CPLD logic file used to make upgrade by said processor and carrying out upgrade operation through said controller, converting CPLD logic file and writing said CPLD logic file into operation CPLD component.

Description

A kind of devices and methods therefor that firmware program is carried out online upgrading
Technical field
The present invention relates to communication etc. and use relevant field, particularly relate to a kind of apparatus and method of the firmware program of service board being carried out dynamic update by the processor of service board itself with central processing unit.
The background skill
In communication system, use a large amount of firmware programs, such as BOOT file, CPLD (ComplexProgrammable Logic Device, CPLD) logical file and FPGA (FieldProgrammable Gates Array, field programmable gate array) logical file etc.These firmware programs often are not to be unalterable, but often because increased function newly or some faults have appearred and need the upgrading.The BOOT file that generally uses all is to fire by programmable device at present, the CPLD logical file then needs to carry out sintering with private cable, the download cable of different manufacturers is not exclusively the same, these have brought very big difficulty all for the field upgrade of firmware program, improved maintenance cost greatly, escalation process also may cause professional long-time interruption, and these all can't satisfy the desired high reliability of communication system, high stable and maintainable demand.
At present, each CPLD device producer all provides the technology of the CPLD logical file being carried out online upgrading, but because the upgrading of CPLD logical file must be carried out very cautiously, if mistake writes, may produce serious consequence, such as damaging service board or causing service board normally to power on.
Summary of the invention
Technical matters to be solved by this invention is to provide a kind of firmware program is carried out the devices and methods therefor of online upgrading, is used for BOOT file and CPLD logical file are carried out reliable online upgrading.
To achieve these goals, the invention provides and a kind of firmware program is carried out the device of online upgrading, comprise the service board processor, be used for the storer of storing firmware program, this device also comprises an interface controller, a work CPLD device; Described interface controller is used for the interface between service board processor, work CPLD device and the storer is changed, and be connected, and the startup of service board processor is controlled with described service board processor, storer, work CPLD device respectively;
Described service board processor is initiated the order of BOOT document upgrading, obtains the BOOT file that is used to upgrade, and carries out updating operation by described interface controller, and described BOOT file is deposited to described storer;
Described service board processor is initiated CPLD logical file upgrading order, obtain the CPLD logical file that is used to upgrade, and keep the service board processor to be in " peace and quiet " state, carry out updating operation by described interface controller again, change described CPLD logical file and write to described work CPLD device.
The described device that firmware program is carried out online upgrading, wherein, described storer is divided into the work CPLD space of work BOOT space, backup BOOT space, backup again, is respectively applied for work BOOT, the backup BOOT of storage service veneer, the work CPLD version of backup.
The described device that firmware program is carried out online upgrading, wherein, the work CPLD space of described work BOOT space, backup BOOT space, backup resides in three respectively independently on the storer, or the mode of distinguishing by different addresses resides on the same storer.
Described firmware program is carried out the device of online upgrading, wherein, the work CPLD space of described work BOOT space and backup is read-only, and described backup BOOT space is read-only.
Described firmware program is carried out the device of online upgrading, wherein, described storer is a flash memory.
Described firmware program is carried out the device of online upgrading, wherein, described interface controller is connected with described work CPLD device by jtag interface.
Described firmware program is carried out the device of online upgrading, wherein, described interface controller uses the startup interface of the service board processor of number transfer bus and data address multiplex bus type to be connected with described storer by encapsulation common status bus, low pin; The width of wherein said data address multiplex bus is 32,16 or 8 bit widths.
Described firmware program is carried out the device of online upgrading, wherein, described interface controller also is provided with a non-volatile storage space, is used to store the Status Flag of work BOOT, backup BOOT.
The described device that firmware program is carried out online upgrading, wherein, when described service board powers on, described interface controller reads this Status Flag and determines work BOOT, backup BOOT according to this Status Flag, the sheet choosing is switched to described work BOOT space, and described service board processor starts from work BOOT.
Described firmware program is carried out the device of online upgrading, wherein, described interface controller is revised this Status Flag under following three kinds of situations:
Situation one, described backup BOOT is finished upgrading and expectation next time when backup BOOT starts,
Situation two, the failure of current BOOT file start, described interface controller is revised Status Flag automatically, makes current BOOT file attempt starting from another BOOT space;
Situation three, if the BOOT file start after, the Status Flag of finding this BOOT file occurs unusual, described interface controller is repaired this Status Flag according to the version number of this BOOT file automatically: the BOOT file of top version number is set to work BOOT, and the BOOT file of lowest version number is set to back up BOOT.
Described firmware program is carried out the device of online upgrading, wherein, described interface controller also is provided with a timer, is used for the starting state of BOOT file on the monitoring traffic veneer.
Described firmware program is carried out the device of online upgrading, wherein, if described BOOT file successfully starts, described interface controller cuts out this timer in described BOOT file; If this timer overflows, described interface controller is revised Status Flag, exchanges current backup BOOT and work BOOT, restarts described service board then, attempts starting from another BOOT.
Described firmware program is carried out the device of online upgrading, wherein, described service board processor obtains the described BOOT file that is used to upgrade, CPLD logical file from an operation maintenance center or local storage medium.
To achieve these goals, the present invention also provides a kind of method of utilizing described device to realize firmware program is carried out online upgrading, described service board processor is initiated the order of BOOT document upgrading, obtain the BOOT file that is used to upgrade, and carry out updating operation by described interface controller, described BOOT file is deposited to described storer;
Described service board processor is initiated CPLD logical file upgrading order, obtain the CPLD logical file that is used to upgrade, and keep the service board processor to be in " peace and quiet " state, carry out updating operation by described interface controller again, change described CPLD logical file and write to described work CPLD device.
The present invention is divided into interface controller, two separate units of work CPLD, the start-up control of a unit interface controller individual responsibility service board with the device of service board; Another cell operation CPLD then finishes the needed function of service board; And only work CPLD logical file is carried out online upgrading, and also considered the back mechanism of work CPLD logical file simultaneously, improved the reliability of CPLD logical file online upgrading so greatly.
Interface controller is a core apparatus of the present invention, and the CPU of service board finishes online upgrading to CPLD logical file and BOOT file by interface controller, and provides unified online sintering method to different CPLD producer.In terms of existing technologies, adopt the present invention to reduce cost, be applicable to the upgrading of BOOT file and CPLD logical file simultaneously, improved the maintainability of work efficiency and equipment greatly; Reliable online upgrading mechanism, having guaranteed the updating firmware program process not influence regular traffic, that influence is dropped to is minimum.
The invention solves the dynamic online upgrading of two class firmware programs: a class is the BOOT file (boot files that service board starts) that leaves FLASH device (for a kind of high capacity, non-volatile, the hardware memory of programming repeatedly) the inside in, an other class is the logical file of CPLD device, i.e. the CPLD logical file.
Describe the present invention below in conjunction with the drawings and specific embodiments, but not as a limitation of the invention.
Description of drawings
Fig. 1 is an online upgrading device synoptic diagram of the present invention;
Fig. 2 is the present invention's BOOT after finishing process flow diagram that powers on of upgrading.
Embodiment
Below in conjunction with accompanying drawing technical scheme of the present invention is carried out concrete description.
See also shown in Figure 1ly, be online upgrading device synoptic diagram of the present invention.This online upgrading device 10 mainly by the CPU 101 of service board, be used to finish the service board normal function work CPLD device 102, be used to deposit the FLASH device 103 of firmware program and interface controller more than 100 parts that are connected with CPU 101, work CPLD device 102, FLASH device 103 are respectively formed.
CPU 101 is meant CPU used on the service board, it is the promoter of file dynamic update, initiate the upgrading order of BOOT file or CPLD logical file, CPU 101 obtains the file that will upgrade from operation maintenance center 104 or local other storage medium, carry out updating operation by interface controller 100 then.
Work CPLD device 102 is the logical devices on the service board, and it is mainly used in realizes function and the control relevant with service board.Work CPLD, the functional relationship that starts CPLD and service board relatively is close, may change along with the change of the structure of service board, function, also be the easiest amiss part.Based on this, work CPLD dynamic update is seemed very necessary.To work CPLD dynamic update is the core work that the present invention will solve.
FLASH device 103 is made up of FLASH1 1031, FLASH2 1032,1,033 three FLASH memory devices of FLASH3, FLASH1 1031, FLASH2 1032, FLASH3 1033 memory devices are called the work CPLD space of work BOOT space, backup BOOT space, backup, they have different functions: FLASH1 1031 and FLASH2 1032 is respectively applied for work BOOT, the backup BOOT that deposits service board, and FLASH3 1033 is used to deposit the work CPLD version of backup.This three block space both can reside on three independent F LASH devices, also can reside in among a slice FLASH and distinguished by different addresses.The work CPLD space of work BOOT space and backup is read-only, and backup BOOT space is read-write.The CPU 101 of the online upgrading of BOOT file by service board writes BOOT file to be upgraded to backup BOOT space and finishes.The work CPLD space of backup is used to store reliable CPLD version, this version is available really through testing authentication, it need be initially burned by cable or sintering instrument, and after to the failure of work CPLD dynamic update, system will be automatically retracted back into this CPLD version.
Interface controller 100 is a core apparatus of the present invention, is the supvr of online down operation, and its inside function mainly comprises the function that an online download management unit 1002 is realized and keeps the required configuration logic function of CPU 101 normal startups.The interface conversion between CPU 101 and work CPLD device 102 and the FLASH device 103 is finished in online download management unit 1002; realization comprises timer management; write-protect to FLASH device 103; work BOOT and the selection of backing up BOOT, the function of the online downloads such as Status Flag of renewal work BOOT, backup BOOT.Interface controller 100 is interface conversion and the administrative unit between the CPU 101, work CPLD device 102, FLASH device 103 of service board, organically be connected as a single entity, form the dynamic download device with CPU 101, work CPLD device 102, FLASH device 103.Interface between interface controller 100 and the work CPLD device 102 is JTAG (Joint Test Action Group, combined testing action group, an a kind of international standard test protocol) interface.
Interface controller 100 also is responsible for the start-up control of CPU 101, and the startup interface of 100 couples of various types of CPU of interface controller is unified encapsulation, makes this device 10 can be applied to multiple CPU occasion.At present the startup interface type that uses is more, compatibility of the present invention following three kinds of interface types:
1, common bus is similar to ISA (Industry Standard Architecture, industrial standard architectures) bus;
2, LPC (Low Pin Count, low pin uses number) bus;
3, data address multiplex bus (32,16,8 bit width).
Interface controller 100 is unified into similar isa bus interface to above-mentioned three types interface, is connected with FLASH device 103 again; CPU 101 can finish read-write operation to FLASH device 103 by interface controller 100.
Interface controller 100 realizes that by complicated programmable logic device (PLD) its inner logical file solidifies.When carrying out large-scale production, can use ASIC (Application-Specific IntegratedCircuit, special IC) to substitute.
In the present invention, the CPU101 by service board upgrades to the BOOT file on the service board, work CPLD logical file.In this operating process without any need for the supplementary means of outside.The present invention can guarantee the BOOT file that service board is downloaded or the CPLD logical file is wrong or the situation that the down operation process is wrong can be resumed work.Following mask body narration upgrading principle.
BOOT document upgrading: when CPU 101 normal operations, after receiving the message of BOOT version configuration modification, from operation maintenance center 104 or local storage medium, obtain the BOOT file that upgrading is used, the BOOT version that this is new deposits backup BOOT space in, upgrade the version information of backup BOOT simultaneously, revise the BOOT Status Flag of storage in the interface controller 100 then: the Status Flag of backup BOOT and work BOOT exchanges.In the time of service board startup next time, will attempt from the BOOT version that upgrades, promptly former standby BOOT starts.When there were a plurality of CPU (corresponding a plurality of BOOT) in a service board, may there be dependence in the startup of these CPU, so the service board that when resets is enabled new BOOT, can be controlled by operating personnel.
During CPLD logical file upgrading: CPU 101 normal operations, after the message that receives work CPLD version configuration modification, from operation maintenance center 104 or local storage medium, obtain the CPLD file that upgrading is used, the equipment of inaccessible all current business veneers except the CPU mini system makes CPU 101 be in " peace and quiet " state (promptly requiring escalation process not interrupted by other tasks, process or interruption).Then, the work CPLD version that this is new writes in the work CPLD device 102 by interface controller 100 conversions.Finish in case write, the service board that resets immediately comes into force new work CPLD version.
Because the online upgrading process of BOOT file is just carried out write operation to backup BOOT, can the normal operation of CPU not had any impact.And the upgrading of work CPLD version then needs the environment of " peace and quiet " relatively, can cause of short duration influence to business.
In order just can to discern which BOOT when CPU 101 powers on is work BOOT, has used a fritter non-volatile storage space 1001 in interface controller 100, is used to store the Status Flag of work BOOT, backup BOOT.When service board powered on, interface controller 100 was at first read this Status Flag, and determined work BOOT, backup BOOT according to this Status Flag, then the sheet choosing was switched to work BOOT space, and CPU 101 is started from work BOOT.In case just can guaranteeing to write, can not lose this piece storage space, good even outage also can be preserved.Simultaneously, writing of this block space must be followed certain time sequence, thereby guarantees can not rewritten arbitrarily.The Status Flag of work BOOT, backup BOOT is mutual exclusion, if one of them space is identified as work BOOT, then BOOT is backed up in another space exactly.All be identified as work BOOT if two spaces occur, perhaps all be identified as the such abnormal conditions of backup BOOT, the CPU acquiescence starts from the BOOT of physically low address space, after the normal operation, carries out the mutual exclusion of BOOT version number again and handles.This Status Flag can be modified under following three kinds of situations:
1), backup BOOT is finished upgrading, and expectation next time when backup BOOT starts;
2), when current BOOT starts failure, interface controller 100 is revised Status Flags automatically, makes it to attempt starting from another BOOT space;
3), if after BOOT starts, find that unusual (be all work BOOT or be all standby BOOT) appears in this BOOT Status Flag, interface controller 100 is repaired this Status Flag according to the version number of BOOT automatically: the BOOT of top version number is set to work BOOT, and the BOOT of lowest version number is set to back up BOOT.This is repaired, and not necessarily the user wanted, but through after such reparation, can guarantee that switch logic is normal.
For whether monitoring traffic board B OOT normally starts, in interface controller 100, also set a timer.After service board powered on, this timer can begin counting, and after BOOT started successfully, interface controller 100 cut out this timer in the BOOT program.If the timer that is provided with overflows, then interface controller 100 will be revised the BOOT Status Flag, exchange current backup BOOT and work BOOT, restart service board then, attempt starting from another BOOT.This mechanism can be guaranteed can be automatically retracted back into former work BOOT, thereby guarantee that service board still can operate as normal after the BOOT of upgrading operation failure.For different cpu types, because its BOOT difference start-up time, the numerical value of timer is provided with slightly has any different.
The present invention has also solved the online upgrading of service board CPLD logical file except the online upgrading that solves the BOOT file.For the reliability that guarantees to upgrade, the present invention divides the logic of service board: interface controller 100 and work CPLD device 102.Interface controller 100 is finished the interface conversion between CPU 101, work CPLD device 102, the FLASH device 103, and the start-up control of CPU 101; 102 of work CPLD devices only are used for the maintenance service veneer.Interface controller 100 and work CPLD device 102 the two boundary are clear, independent fully.Interface controller 100 functions are unified, can guarantee the general unanimity of different CPU, because of more single on its function, can reach highly reliable and stable, just can not remake change once finalizing a text; Work CPLD device 102 is finished the service board normal function, may change along with the function modification of service board or fault, and the online upgrading of the logical file of CPLD described in the present invention refers to work CPLD part.When this division methods guarantees online upgrading work CPLD failure, can not influence the normal startup of service board, guarantee reliability.
The interface of CPU 101 and work CPLD device 102 is to finish by the register of access interface controller 100.CPU 101 finishes the simulation to JTAG (Joint Test Action Group, combined testing action group) sequential, thereby finishes the dynamic update to the CPLD logical file by these registers of read-write on interface controller 100 pins.
Divide except CPLD being carried out function, outside only work CPLD being upgraded, also considered the back mechanism of work CPLD.In FLASH device 103, also there is a unit: the CPLD space of backup, it is used to store reliable CPLD version, and the basic function that this CPLD version can guarantee service board is normal.After CPLD is finished upgrading, in the BOOT program that starts next time, whether meeting judgment task CPLD device 102 is working properly, if it is undesired, then automatically the back-up job CPLD that stores in the FLASH device 103 is write work CPLD device 102 by interface controller 100, thereby realize the automatic rollback function of logic, guarantee that service board still can normally power on.CPLD version in the backup CPLD space generally after initial burned, can not upgrade, because of this block space is set to read-only.If need to change, need to open write-protect and just can write through after the strict checking.
In view of the importance of firmware program version, escalation process must carry out cautiously, so generally finish by the mode of human intervention is online.
See also shown in Figure 2ly, be the present invention upgrading BOOT after the finishing process flow diagram that powers on.In conjunction with Fig. 1, this flow process that powers on comprises the steps:
Step 201, finish updating firmware program after, begin to carry out service board and start, power on the stage at service board, interface controller 100 reads BOOT Status Flag, CPU information, and the work of selection BOOT starts, in this step, hardware timer starts;
Step 202, work BOOT normally starts;
Step 203 is closed hardware timer, when hardware timer is overtime, upgrades the BOOT Status Flag, and the service board that resets;
Step 204, whether judgment task CPLD loads, if load, then step continues; If do not load, then change step 206 and carry out;
Step 205 judges whether the BOOT Status Flag is legal, if legal, represents that then BOOT normally moves, if illegal, then change step 207 and carries out;
Step 206 loads the work CPLD in the FLASH device 103;
Step 207 judges whether current BOOT is highest version BOOT, if highest version BOOT, then step continues, if not highest version BOOT then changes step 209 and carries out;
Step 208 is repaired the BOOT Status Flag, and this BOOT is work BOOT, normally moves until BOOT;
Step 209 is repaired the BOOT Status Flag, and this BOOT is backup BOOT;
Step 210, service board resets.
In Fig. 2, after finishing updating firmware program, beginning to carry out service board starts, service board powers on the stage, interface controller 100 is determined the interface type of CPU 101 local bus according to the type identification mark of CPU 101 (this mark is that service board is given interface controller 100, is used for representing the CPU of which type that the used CPU of service board defines for the present invention).Then, interface controller 100 starts from work BOOT according to the BOOT Status Flag, opens timer simultaneously.If BOOT starts successfully, timeing closing device in the BOOT program then; The BOOT file of expression upgrading can normally start.If timer expiry, expression BOOT starts failure, and interface controller 100 switches the choosing of FLASH sheet, upgrades the BOOT Status Flag, the whole service that resets then veneer.Service board will use the BOOT file before the upgrading to start, thereby realize the BOOT rollback after the upgrading failure.
BOOT is behind the timeing closing device in work, also with the correctness of verification work CPLD device 102.If the work of discovery CPLD device 102 incorrect loadings, the logical file that then will be stored in the back-up job CPLD device 102 in the FLASH device 103 writes work CPLD device 102, the service board that resets then, thereby the rollback of the work of realization CPLD device 102.
In order to guarantee to be stored in the correctness of the BOOT Status Flag in the memory controller, in BOOT, be provided with the verification of Status Flag and repair flow process.If the Discovery Status sign is illegal, promptly two BOOT are all work BOOT or are all backup BOOT, will be by the following reparation Status Flag that is provided with: the BOOT that version number upgrades is set to work BOOT, and the BOOT of early version then is set to back up BOOT.Start from up-to-date BOOT by above-mentioned the setting when guaranteeing that start next time, and the mutual exclusion of Guarantee Status sign.
After the CPU version normally powered on, the BOOT that also will more current operation and the version of CPLD version and configuration compared, if find inconsistently, then sent the alarm of upgrading failure.
The invention provides a kind of device that BOOT file and CPLD logical file is carried out online upgrading.The present invention has changed the present situation of firmware program version independent maintenance, makes the firmware program version to take the unified method that administers and maintains with the CPU version, and the firmware program version is also the same with the CPU version, becomes configurable object, and dirigibility strengthens greatly.
The online upgrading of firmware program is finished by the CPU of service board fully, does not need additionally to add equipment again.Like this, in the maintainability that improves product, the cost of service board remains unchanged substantially.Compared with prior art, the present invention has carried out unified encapsulation to the online upgrading of CPLD and FLASH, is applicable to all kinds of CPU, has simplified the complexity of BOOT and CPLD upgrading, provides number of mechanisms to guarantee the reliability of upgrading.Can carry out long-range online upgrading by operation maintenance center, greatly improve efficient, strengthen the maintainability of product.
Certainly; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection domain of the appended claim of the present invention.

Claims (14)

1, a kind of firmware program is carried out the device of online upgrading, comprise the service board processor, be used for the storer of storing firmware program, it is characterized in that this device also comprises an interface controller, a work CPLD device;
Described interface controller is used for the interface between service board processor, work CPLD device and the storer is changed, and be connected, and the startup of service board processor is controlled with described service board processor, storer, work CPLD device respectively;
Described service board processor is initiated the order of BOOT document upgrading, obtains the BOOT file that is used to upgrade, and carries out updating operation by described interface controller, and described BOOT file is deposited to described storer;
Described service board processor is initiated CPLD logical file upgrading order, obtain the CPLD logical file that is used to upgrade, and keep the service board processor to be in " peace and quiet " state, carry out updating operation by described interface controller again, change described CPLD logical file and write to described work CPLD device, wherein, rest state is exactly that escalation process is not interrupted by other tasks, process or interruption.
2, the device that firmware program is carried out online upgrading according to claim 1, it is characterized in that, described storer is divided into the work CPLD space of work BOOT space, backup BOOT space, backup again, is respectively applied for work BOOT, the backup BOOT of storage service veneer, the work CPLD version of backup.
3, the device that firmware program is carried out online upgrading according to claim 2, it is characterized in that, the work CPLD space of described work BOOT space, backup BOOT space, backup resides in three respectively independently on the storer, or the mode of distinguishing by different addresses resides on the same storer.
4, described firmware program is carried out the device of online upgrading according to claim 2 or 3, it is characterized in that the work CPLD space of described work BOOT space and backup is read-only, described backup BOOT space is read-write.
5, described firmware program is carried out the device of online upgrading according to claim 1,2 or 3, it is characterized in that described storer is a flash memory.
6, described firmware program is carried out the device of online upgrading according to claim 1,2 or 3, it is characterized in that described interface controller is connected with described work CPLD device by jtag interface.
7, according to claim 1, the 2 or 3 described devices that firmware program carried out online upgrading, it is characterized in that described interface controller uses the startup interface of the service board processor of number transfer bus and data address multiplex bus type to be connected with described storer by encapsulation common status bus, low pin; The width of wherein said data address multiplex bus is 32,16 or 8 bit widths.
8, described firmware program is carried out the device of online upgrading according to claim 2 or 3, it is characterized in that described interface controller also is provided with a non-volatile storage space, be used to store the Status Flag of work BOOT, backup BOOT.
9, the device that firmware program is carried out online upgrading according to claim 8, it is characterized in that, when described service board powers on, described interface controller reads this Status Flag and determines work BOOT, backup BOOT according to this Status Flag, the sheet choosing is switched to described work BOOT space, and described service board processor starts from work BOOT.
10, according to claim 8 firmware program is carried out the device of online upgrading, it is characterized in that described interface controller is revised this Status Flag under following three kinds of situations:
Situation one, described backup BOOT is finished upgrading and expectation next time when backup BOOT starts,
Situation two, the failure of current BOOT file start, described interface controller is revised Status Flag automatically, makes current BOOT file attempt starting from another BOOT space;
Situation three, if the BOOT file start after, the Status Flag of finding this BOOT file occurs unusual, described interface controller is repaired this Status Flag according to the version number of this BOOT file automatically: the BOOT file of top version number is set to work BOOT, and the BOOT file of lowest version number is set to back up BOOT.
11, according to claim 8 firmware program is carried out the device of online upgrading, it is characterized in that described interface controller also is provided with a timer, be used for the starting state of BOOT file on the monitoring traffic veneer.
12, according to claim 11 firmware program is carried out the device of online upgrading, it is characterized in that if described BOOT file successfully starts, described interface controller cuts out this timer in described BOOT file; If this timer overflows, described interface controller is revised Status Flag, exchanges current backup BOOT and work BOOT, restarts described service board then, attempts starting from another BOOT.
13, according to claim 1 firmware program is carried out the device of online upgrading, it is characterized in that described service board processor obtains the described BOOT file that is used to upgrade, CPLD logical file from an operation maintenance center or local storage medium.
14, a kind of method of utilizing the described device of claim 1 to realize firmware program is carried out online upgrading, it is characterized in that, described service board processor is initiated the order of BOOT document upgrading, obtain the BOOT file that is used to upgrade, and carry out updating operation by described interface controller, described BOOT file is deposited to described storer;
Described service board processor is initiated CPLD logical file upgrading order, obtain the CPLD logical file that is used to upgrade, and keep the service board processor to be in " peace and quiet " state, carry out updating operation by described interface controller again, change described CPLD logical file and write to described work CPLD device, wherein, rest state is exactly that escalation process is not interrupted by other tasks, process or interruption.
CNB2006100114099A 2006-03-02 2006-03-02 Device and method for on-line updating fastener programm Active CN100472442C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100114099A CN100472442C (en) 2006-03-02 2006-03-02 Device and method for on-line updating fastener programm

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100114099A CN100472442C (en) 2006-03-02 2006-03-02 Device and method for on-line updating fastener programm

Publications (2)

Publication Number Publication Date
CN101030140A CN101030140A (en) 2007-09-05
CN100472442C true CN100472442C (en) 2009-03-25

Family

ID=38715513

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100114099A Active CN100472442C (en) 2006-03-02 2006-03-02 Device and method for on-line updating fastener programm

Country Status (1)

Country Link
CN (1) CN100472442C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107870776A (en) * 2017-11-03 2018-04-03 北京锐安科技有限公司 A kind of IPMC online upgradings method and device

Families Citing this family (39)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101778378B (en) * 2009-01-14 2013-03-13 英华达(上海)电子有限公司 Firmware node updating method, device and system
CN102073517A (en) * 2009-11-23 2011-05-25 中兴通讯股份有限公司 Upgrading and backup method and device for embedded system
CN101853171A (en) * 2010-05-24 2010-10-06 福建星网锐捷网络有限公司 On-line upgrade method and device of complicated programmable logical device
CN101853172B (en) * 2010-05-24 2014-07-02 中兴通讯股份有限公司 Device and method for dynamically upgrading complex programmable logic device (CPLD)
CN102279756A (en) * 2010-06-11 2011-12-14 英业达股份有限公司 CPLD (Complex Programmable Logic Device) firmware updating method
CN101894029A (en) * 2010-06-21 2010-11-24 中兴通讯股份有限公司 Method and device for upgrading complex programmable logic device on line
CN102053850A (en) * 2010-12-17 2011-05-11 天津曙光计算机产业有限公司 Method for on-line FPGA logic upgrade
CN102122530B (en) * 2011-01-20 2016-12-07 北京百卓网络技术有限公司 A kind of system and method for programming flash memory
CN102811436B (en) * 2011-06-03 2017-06-27 联想(北京)有限公司 A kind of firmware update and device
CN102890636A (en) * 2011-07-20 2013-01-23 中兴通讯股份有限公司 Firmware upgrade method and system under Android system
CN102520979A (en) * 2011-11-22 2012-06-27 大唐移动通信设备有限公司 Boot program backup method and Boot program backup device
CN102662701B (en) * 2012-03-28 2016-07-27 中兴通讯股份有限公司 CPLD online upgrading method, device and service board
CN103366812B (en) * 2013-07-22 2015-12-09 烽火通信科技股份有限公司 The device of Flash online programming and implementation method on circuit board
CN103490927A (en) * 2013-09-10 2014-01-01 中兴通讯股份有限公司 Firmware upgrading method, equipment and communication system
CN104156229A (en) * 2014-07-04 2014-11-19 英业达科技有限公司 Computer system
CN104166561B (en) * 2014-07-25 2017-11-07 深圳市大迈科技有限公司 Electronic equipment system starting method and electronic equipment
CN104331300A (en) * 2014-09-23 2015-02-04 英业达科技有限公司 Server capable of directly updating setting by using substrate management controller
CN104484200B (en) * 2014-12-09 2018-05-25 小米科技有限责任公司 The method and device upgraded to firmware
CN104484205B (en) * 2014-12-17 2017-12-12 华为技术有限公司 A kind of update device and method of I/O device firmware
CN104572181A (en) * 2014-12-19 2015-04-29 大唐移动通信设备有限公司 Method and device for starting backup bootstrap program
CN106469069B (en) * 2015-08-17 2021-06-11 中兴通讯股份有限公司 Version upgrading method and system
CN106775791A (en) * 2015-11-20 2017-05-31 海思光电子有限公司 The method and optical module of firmware loads in optical module
WO2017143513A1 (en) * 2016-02-23 2017-08-31 华为技术有限公司 Method, cpu and single board for starting boot
CN106227557B (en) * 2016-07-13 2019-11-08 深圳市飞鸿光电子有限公司 A kind of hardware circuit and method of the programmable logic device load FLASH based on GPON, EPON
CN106776432B (en) * 2016-12-12 2019-06-25 中国航空救生研究所 A kind of airborne ejection escape On-line Product software upgrading circuit
CN106952425B (en) * 2017-02-15 2019-05-14 深圳市新国都支付技术有限公司 A kind of terminal remote upgrade method and POS terminal
CN108694054A (en) * 2017-04-10 2018-10-23 南昌欧菲生物识别技术有限公司 The upgrade method and intelligent terminal of microprocessor firmware
CN109491679B (en) * 2017-09-08 2023-03-24 迈普通信技术股份有限公司 CPLD online upgrading method and device
CN107678770B (en) * 2017-09-14 2021-03-09 硅谷数模半导体(北京)有限公司 Interface chip upgrading method and device, storage medium and processor
CN108196891A (en) * 2017-12-27 2018-06-22 烽火通信科技股份有限公司 CPLD downloads the system and method for compiling file automatically during a kind of single-deck production
CN108628621A (en) * 2018-03-05 2018-10-09 深圳市鼎阳科技有限公司 It is a kind of from the firmware upgrade method of equipment and slave equipment, the system of firmware upgrade
CN109271185A (en) * 2018-08-30 2019-01-25 郑州云海信息技术有限公司 A kind of CPLD method for updating edition, device, equipment and storage medium
CN109525276B (en) * 2018-10-30 2020-11-20 航天恒星科技有限公司 Multimode data link system and method with external downloading function
CN109783148A (en) * 2019-01-15 2019-05-21 湖南泽天智航电子技术有限公司 A kind of U-Boot starting double copies system
CN109901867B (en) * 2019-02-14 2022-07-26 浙江可胜技术股份有限公司 BOOT area code online upgrading method, heliostat controller and heliostat
CN110109857A (en) * 2019-04-29 2019-08-09 杭州迪普科技股份有限公司 A kind of data transmission method and device
CN110147243A (en) * 2019-06-13 2019-08-20 上海仪电汽车电子系统有限公司 A kind of multi-chip communication means and system
CN111742297A (en) * 2019-07-23 2020-10-02 深圳市大疆创新科技有限公司 Firmware starting method, equipment and computer readable storage medium
CN111966385B (en) * 2020-06-24 2024-01-02 地太科特影像科技(上海)有限公司 Flat panel detector online upgrading method, flat panel detector and upper computer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107870776A (en) * 2017-11-03 2018-04-03 北京锐安科技有限公司 A kind of IPMC online upgradings method and device

Also Published As

Publication number Publication date
CN101030140A (en) 2007-09-05

Similar Documents

Publication Publication Date Title
CN100472442C (en) Device and method for on-line updating fastener programm
CN103299276B (en) The software upgrading process of embedded equipment
CN102609286B (en) A kind of FPGA configurator remote update system based on processor control and method thereof
CN100354825C (en) Software staging and back spacing method
CN102023881B (en) Method and device for upgrading software as well as embedded device
CN100517246C (en) Computer remote control method and system
CN103827834B (en) A kind of moving method of internal storage data, computing machine and device
CN102855146A (en) Firmware updating system and method
CN111694760B (en) Server system, flash memory module and method for updating firmware mapping file
CN105930236A (en) Application program version returning method based on BMS Bootloaderupgrade
CN100583782C (en) Software upgrade method and device
CN111143132B (en) BIOS recovery method, device, equipment and readable storage medium
CN101593120A (en) Be with outer upgrade method and system
CN101216789A (en) Data update method, device and system
CN106201590A (en) A kind of FPGA configuration file loading method and system
CN111666111A (en) Multi-node storage system and firmware updating method thereof
CN109189485A (en) A kind of system starting management of embedded device, operating system configuration method
CN113934471A (en) Baseboard management controller of computer system and starting method
CN105426268B (en) A kind of method of file system corruption when preventing the protective relaying device from powering off
CN102033767A (en) Single plate and method for upgrading same on line
CN108664275A (en) Method, system and the storage medium of backup configuration parameter
CN108572835A (en) A kind of FPGA configuration file online upgrade system
US20080201572A1 (en) Method and system for uniformizing product data embedded in a computer platform
CN107423075A (en) The register method and user terminal of driving
CN106528114A (en) Android firmware application, android firmware and firmware upgrading method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant