CN108628621A - It is a kind of from the firmware upgrade method of equipment and slave equipment, the system of firmware upgrade - Google Patents

It is a kind of from the firmware upgrade method of equipment and slave equipment, the system of firmware upgrade Download PDF

Info

Publication number
CN108628621A
CN108628621A CN201810179928.9A CN201810179928A CN108628621A CN 108628621 A CN108628621 A CN 108628621A CN 201810179928 A CN201810179928 A CN 201810179928A CN 108628621 A CN108628621 A CN 108628621A
Authority
CN
China
Prior art keywords
equipment
memory
upgrade
upgrading
firmware upgrade
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
CN201810179928.9A
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.)
Shenzhen Siglent Technologies Co Ltd
Original Assignee
Shenzhen Siglent Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Siglent Technologies Co Ltd filed Critical Shenzhen Siglent Technologies Co Ltd
Priority to CN201810179928.9A priority Critical patent/CN108628621A/en
Publication of CN108628621A publication Critical patent/CN108628621A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

It is a kind of from the firmware upgrade method of equipment and slave equipment, the system of firmware upgrade, since the bus type for the memory and the memory to be upgraded can be determined according to the upgrade command of main equipment from equipment, to according to the transmission channel of determining bus type configuration upgrading, make main device can be by quickly and accurately establishing the data path between main equipment and the memory of wanted firmware upgrade from equipment, and then will upgrade in the memory that data write-in is specified.The program can overcome the firmware upgrade interface bus type Single-issue encountered in existing firmware upgrade scheme so that this programme have good upgrade flexibility, can meet most electronic equipments firmware upgrade occasion application demand.

Description

It is a kind of from the firmware upgrade method of equipment and slave equipment, the system of firmware upgrade
Technical field
The present invention relates to firmware upgrade technologies, and in particular to a kind of firmware upgrade method and firmware upgrade from equipment from Equipment, system.
Background technology
Firmware upgrade refers to that the embedded firmware to electronic equipment on original hardware foundation is upgraded with Improving Equipment work( It can, enhance software stability and repairing software vulnerability.Now, firmware mostly is considered to serve as a system is most basic, most bottom The software of layer work, such as BIOS, mobile phone on computer motherboard operating system, be generally stored inside one of electronic equipment In read-only memory or Flash chip, by manufacturer, burning is completed before manufacture, and user is soft in this kind of firmware memory when using Part content remains unchanged.And with the arriving of information age, it is more multi-vendor by way of firmware updating by the work(of continuous renewal It can be supplied to user as added value, ensure system compatibility to repair bug, more convenient more people is provided to improve mode of operation Property expanded function, it is final to improve experience effect of the user to related electronic products.
It in the prior art, can be by for the firmware being stored in electricallyerasable ROM (EEROM) EEPROM or FLASH chip User carries out firmware upgrade operation as desired by specific refurbishing procedure.(1) if user uses such as JTAG before manufacture When the firmware burning method of interface, then generally require to remove the veneer that need to upgrade from packaged electronic equipment, by burning Device, upgrading master computer software progress firmware upgrade operation are recorded, firmware upgrade operation at this time will lack operability and convenience, Even in the case of needing to upgrade multiple firmwares, workload will greatly increase;In addition, if the firmware storage after manufacture burning Device has not supported original upgrading mode, then user will be unable to complete firmware upgrade by original burning mode.(2) if user adopts When with the upgrading mode of integrated CPU, then need to integrate CPU on USB peripheral, by the processor or microcontroller of mainstream to give tacit consent to Enumeration type completes the firmware upgrade to other memories, since CPU need to have corresponding power supply supply, storage IC single-candidate external-opens Pin, therefore the complexity of circuit design is not only increased for common USB is from equipment, also improve development cost;In addition, This kind of USB peripheral can only often give tacit consent to the equipment for enumerating original vendor, and for the firmware memory of other manufacturers in equipment, it uses Family can not still carry out firmware upgrade.
Invention content
The present invention solves the technical problem of how to carry out firmware upgrade to the memory to be upgraded.For in solution State technical problem, the present invention provides a kind of firmware upgrade method from equipment and can firmware upgrade slave equipment, system.
According in a first aspect, provide a kind of firmware upgrade method from equipment in a kind of embodiment, include the following steps:
It is described to obtain upgrade command from equipment, the memory and the memory to be upgraded are determined according to the upgrade command Bus type;
According to the transmission channel of determining bus type configuration upgrading;
After receiving upgrading data, by the memory to be upgraded described in upgrading data write-in, to complete firmware liter Grade.
According to second aspect, a kind of embodiment provides another firmware upgrade method from equipment, includes the following steps:
Main equipment sends the upgrade command for including the selection memory to be upgraded from the device;
The bus type for determining the memory and the memory to be upgraded according to the upgrade command from equipment, according to true The transmission channel of fixed bus type configuration upgrading;
The main equipment sends upgrading data;
It is described from equipment when receive upgrading data after, by the upgrading data be written described in the memory to be upgraded, with Complete firmware upgrade.
According to the third aspect, provided in a kind of embodiment it is a kind of can firmware upgrade slave equipment, including:
Memory selecting unit determines the memory to be upgraded for obtaining upgrade command according to the upgrade command And the bus type of the memory;
Data interface unit, for the transmission channel according to determining bus type configuration upgrading;
Bus unit, for after receiving upgrading data, the memory to be upgraded to be written in the upgrading data, To complete firmware upgrade;
Memory cell is communicated to connect with the bus unit, for storing upgrading data.
According to fourth aspect, a kind of firmware upgrade system is provided in a kind of embodiment, including:
Main equipment, for send include selection the memory to be upgraded from the device upgrade command, for it is described from Upgrading data are sent after the transmission channel of the complete upgrading of device configuration;
From equipment, the bus type for determining the memory and the memory to be upgraded according to the upgrade command, According to the transmission channel of determining bus type configuration upgrading, for after receiving upgrading data, the upgrading data to be write Enter the memory to be upgraded, to complete firmware upgrade.
The advantageous effect of the application is:
According to above-described embodiment a kind of firmware upgrade method from equipment and can firmware upgrade slave equipment, system, by In the bus type that can determine the memory and the memory to be upgraded according to the upgrade command of main equipment from equipment, thus According to the transmission channel of determining bus type configuration upgrading so that main equipment can be by quickly and accurately establishing master from equipment Data path between equipment and the memory of wanted firmware upgrade, and then in the memory specified by data write-in is upgraded.It should Scheme can overcome the firmware upgrade interface bus type Single-issue encountered in existing firmware upgrade scheme so that we Case have good upgrade flexibility, can meet most electronic equipments firmware upgrade occasion application demand.
Description of the drawings
Fig. 1 is the structural schematic diagram from equipment;
Fig. 2 is another structural schematic diagram from equipment;
Fig. 3 is the flow diagram of firmware upgrade method;
Fig. 4 is the flow diagram of another firmware upgrade method;
Fig. 5 is the detailed process schematic diagram of firmware upgrade method.
Specific implementation mode
Below by specific implementation mode combination attached drawing, invention is further described in detail.Wherein different embodiments Middle similar component uses associated similar element numbers.In the following embodiments, many datail descriptions be in order to The application is better understood.However, those skilled in the art can be without lifting an eyebrow recognize, which part feature It is dispensed, or can be substituted by other elements, material, method in varied situations.In some cases, this Shen Please it is relevant some operation there is no in the description show or describe, this is the core in order to avoid the application by mistake More descriptions are flooded, and to those skilled in the art, these relevant operations, which are described in detail, not to be necessary, they It can completely understand relevant operation according to the general technology knowledge of description and this field in specification.
It is formed respectively in addition, feature described in this description, operation or feature can combine in any suitable way Kind embodiment.Meanwhile each step in method description or action can also can be aobvious and easy according to those skilled in the art institute The mode carry out sequence exchange or adjustment seen.Therefore, the various sequences in the description and the appended drawings are intended merely to clearly describe a certain A embodiment is not meant to be necessary sequence, and wherein some sequentially must comply with unless otherwise indicated.
It is herein component institute serialization number itself, such as " first ", " second " etc., is only used for distinguishing described object, Without any sequence or art-recognized meanings.And " connection ", " connection " described in the application, unless otherwise instructed, include directly and It is indirectly connected with (connection).
CRC check is most common a kind of debugging verification mode in data communication field, it is characterized in that information field and school The length for testing field can be arbitrarily selected, carries out polynomial computation to data, and obtained debugging check code is attached to every frame number Behind, receiving device also executes similar algorithm, by check debugging check code with ensure data transmission correctness and Integrality.
Referring to FIG. 1, this application discloses it is a kind of can firmware upgrade slave equipment, be used for logical with external main equipment A1 Letter connection should include storage from device A 2 to carry out firmware upgrade to the memory of itself under the control action of main equipment A1 Device selecting unit 101, data interface unit 103, bus unit 105 and memory cell 106, illustrate separately below.
Memory selecting unit 101 is communicated to connect with main equipment A1, and main equipment A1 can run firmware upgrade Firmware upgrade data packet and electronic equipment type can be arranged in the upper computer equipments such as the computer of software, user on firmware upgrade software Number etc. parameters, to electronic equipment carry out firmware upgrade when, upper computer equipment run firmware upgrade software simultaneously to memory select Unit 101 sends upgrade command, and (upgrade command abbreviation CMD should include target memory and its communication of required upgrading When the key messages such as bus type).Memory selecting unit 101 is for obtaining upgrade command, according to upgrade command by looking into The mode for asking embedded list (one-to-one relationship for having various memory models and bus type in the embedded list) determines mesh Mark the bus type of memory.
Bus unit 105 includes in I2C modules, SPI modules, JTAG modules, CAN module, GPIO modules and UART modules One of or more persons, those bus submodules represent different bus types, can be separately operable I2C bus protocols, spi bus association View, jtag bus agreement, CAN bus agreement, GPIO bus protocols and UART bus protocols, can be respectively with corresponding bus type Burning upgrades data to memory, in addition, bus unit 105 can also include other types of bus submodule, not office here It is limited to the above-mentioned bus submodule enumerated.In one embodiment, bus unit 105 passes through conventional hard-disk interface and outside Memory cell 106 communicate to connect, memory cell 106 here can be the memory of arbitrary manufacturer, with firmware Storage capacity and specific firmware upgrade interface bus type.
Data interface unit 103 is connect with 101 signal of memory selecting unit, for according to memory selecting unit 101 The transmission channel of the bus type configuration upgrading data of middle determination.In one embodiment, data interface unit 103 is set with master Standby A1 is communicated to connect, when receiving the transmission channel selection signal of the transmission of data interface unit 103, switching upgrading data (upgrading Data abbreviation DATA includes all information of the firmware for upgrading) transmission channel to bus unit 105 in be upgraded Bus submodule corresponding to memory, to establish in main equipment A1 to bus unit 105 between corresponding bus submodule Data path, and then establish the data path between main equipment A1 and memory cell 106.
Memory cell 106 is communicated to connect with bus unit 105, and memory cell 106 is available including one or more In the memory of storage upgrading data.In this embodiment, it is preferred that setting memory cell 106 includes multiple memories, often A memory connects one to one according to the bus communication type of itself and the bus submodule in bus unit 105, this is It is logical with the data for solving multi-memory multi-bus interface in order to adapt to the situation that electronic equipment includes multiple and different type memories Letter problem.In one embodiment, the I2C modules 1051 in bus unit pass through the in I2C buses and memory group B2 One memory group 1061 connects, and SPI modules 1052 are connect by spi bus with second memory group 1062, other types of total Line unit is connect also by corresponding bus with the memory that the bus is adapted, when main equipment A1 is needed to second memory group 1062 when sending upgrading data, and data interface unit 103 is according to the coherent signal switch data channel of memory selecting unit 101 To SPI modules 1052, then, SPI modules 1052 receive main equipment A1 and send upgrading data and deposit upgrading data write-in second Reservoir group 1062.
Further, further include V-CLK unit 107 from device A 2, V-CLK unit 107 and memory selection are single Member 101, data interface unit 103 connect with 105 signal of bus unit, for receive memory selecting unit 101 send when Clock frequency adjusting signals will be adjusted to the frequency being adapted with identified bus type from the clock frequency of device A 2, from And suitable clock frequency is provided for the correspondence bus submodule of data interface unit 103 and bus unit 105, and then ensure to lead The process that device A 1 sends upgrading data (DATA) to memory cell 106 can be normally carried out.In the present embodiment, data connect Mouth unit 103 is switching the transmission channel upgraded to the memory to be upgraded, and V-CLK unit 107 produces suitably When Bus Clock Rate, it is OK states that data interface unit 103, which updates upgrade status, and detailed process is:Data interface unit 103 The upgrade status register of itself is changed, and upgrade status register is updated to OK states, which is used for Label upgrade status judges whether the transmission channel of upgrading configures completion when reading upgrade status register for main equipment A1.
Further, further include CRC check unit 109 from device A 2, CRC check unit 109 is communicated with bus unit 105 Connection, for obtaining the ascending series in memory cell 106 by bus submodule corresponding with memory in bus unit 105 According to carrying out CRC check to upgrading data, (i.e. debugging check code, the check code can be specific character, be used for obtain check code Judge whether firmware upgrade success then shows " verifying successfully ", conversely, showing " school when it is identical as setting character from equipment Test failure "), the check code of acquisition is updated into check register, according to school when reading check register for main equipment A1 It tests code and judges whether firmware upgrade is successful from device A 2.Since CRC check process belongs to the prior art, no longer carry out here detailed Explanation.
In another embodiment, referring to FIG. 2, memory cell 106 includes a memory, which can pass through One general purpose interface bus is connect with all bus submodules in bus unit 105, and to adapt to, from device A 2, only there are one memories Situation.When carrying out firmware upgrade, memory selecting unit 101 knows the bus type of the memory according to upgrade command, Data interface unit 103 is according to the transmission channel of determining bus type switching upgrading to the corresponding bus submodule of the memory Unit, to establish main equipment A1 to the data path of the memory.
In the present embodiment, main equipment A1 is connect by data transmission link with from device A 2, data line here All data transmission medias of the road including USB data line, specific data transmittal and routing form are not limited.In a specific embodiment In, main equipment A1 can by principal and subordinate's USB data line to the write operation worked normally from device A 2 or read operation, when To when sending the write operations such as upgrading data from device A 2, main equipment A1 can be incited somebody to action main equipment A1 according to USB relevant communication protocols Upgrading data packet is sent to from device A 2;When main equipment is to from the transmission of device A 2 such as reads upgrade status register, read check is posted When the read operation of storage, main equipment A1 can read relevant character from the register from device A 2.
Referring to FIG. 3, correspondingly, this application discloses a kind of firmware upgrade methods from equipment, including step S210 is extremely S230。
S210, memory selecting unit 101 are sent out according to main equipment A1 comprising the selection memory to be upgraded from the device Upgrade command (CMD) determine the bus type of target memory.In one embodiment, memory selecting unit 101 is logical The mode for crossing inquiry embedded list determines the bus type of target memory, then according to the bus type to data interface unit 103 send transmission channel selection signal, to 107 tranmitting data register frequency adjusting signals of V-CLK unit.
S220, the transmission that data interface unit 103 switches upgrading data after receiving transmission channel selection signal are logical The fixed corresponding bus submodule of bus type and the corresponding memory of bus submodule in road to bus unit 105 (memory is one of memory cell 106), V-CLK unit 107 is adjusted after receiving clock frequency Regulate signal The clock of regulating device to data interface unit 103 and bus unit 105 to provide suitable clock frequency.Complete transmission channel After switching and clock frequency are adjusted, it is OK states that data interface unit 103, which updates upgrade status, to further complete transmission The configuration work in channel, and then set up the data path between main equipment A1 and a memory of memory cell 106.
In one embodiment, it is assumed that the memory set by user to be upgraded is the using I2C communication bus One memory 1061, then memory selecting unit 101 send out relevant transmission channel selection signal with designation date interface unit The transmission channel of 103 switching upgrading data is to I2C modules 1051, when sending out relevant clock frequency Regulate signal to indicate variable Clock unit 107 sends the clock frequency for being adapted to I2C bus protocols to data interface unit 103 and I2C modules 1051 respectively.This When, data interface unit 103 configures the transmission channel for completing upgrading, establishes main equipment A1 to the number of first memory 1061 According to access, meanwhile, upgrade status is updated to OK states by data interface unit 103.
S230, bus unit 105 receives the upgrading data (DATA) that main equipment A1 is sent, according to what is established in step S202 Data path will upgrade the target memory in data into memory cells 106, to complete firmware update.
Further, for make user know in time firmware upgrade as a result, the firmware upgrade method of the application further includes The step S240 of CRC check, it is seen that Fig. 4.
S240, CRC check unit 109 obtains the upgrading data in target memory by bus unit 105, to ascending series According to CRC check is carried out, will be so that main equipment A1 carries out firmware update among the check code that obtained update to check register The judgement of no completion.When that need not know the result of firmware upgrade, this step can be omitted.
According to the explanation of above-described embodiment, those skilled in the art is also understood that the application substantially also discloses that one Kind of firmware upgrade system, is shown in Fig. 1 comprising main equipment A1 and from device A 2 is respectively described below.
Main equipment A1 is used to send the upgrade command for including the selection memory to be upgraded from the device, is used for from equipment A2 sends upgrading data after configuring the transmission channel of upgrading.
It is used to determine the bus type for the memory and the memory to be upgraded according to upgrade command from device A 2, according to The transmission channel of determining bus type configuration upgrading, for after receiving upgrading data, will be wanted described in upgrading data write-in The memory of upgrading, to complete firmware upgrade.
In the firmware upgrade system carries out course of normal operation, from device A 2 after the transmission channel that upgrading is completed in configuration It is that OK states work as acquisition at this point, main equipment A1 knows the upgrade status from device A 2 in a manner of poll by update upgrade status From the upgrade status of device A 2 be OK states when, main equipment A2 just start send upgrade data.In addition, will upgrade from device A 2 After data write-in needs the memory that upgrades, upgrading data will be obtained from memory from device A 2, and to upgrade data into Then row CRC check is reset to the pattern that reads or writes of normal work to obtain check code from device A 2, main equipment A1 inquiries are from setting Check code in standby A2, to judge whether firmware upgrade is successful from device A 2.
Correspondingly, the application also discloses that a kind of firmware upgrade method about above-mentioned firmware upgrade system, this method tool Body includes step S300-S309.
S300 is powered startup, into init state, subsequently into default mode from device A 2.In a specific implementation In example, schema refers to that the upgrade status register of memory selecting unit 101 is arranged as " non-OK " state, at this point, storage Device selecting unit 101 waits for upgrade command.
S301, after the relevant parameter of firmware upgrade is arranged on main equipment A1 in user, main equipment A1 is selected to memory Unit 101 sends upgrade command (CMD) to select the target memory to be upgraded.
S302 please refers to step S210.
S303 please refers to step S220.
S304, main equipment A1 know the upgrade status from device A 2 with poll, in one embodiment, data-interface list Member 103 updates upgrade status register by step S302, and main equipment A1 inquires upgrade status register when being OK states, accurate It is standby to send firmware upgrade data to data interface unit 103, if it is non-that main equipment A1 time-out, which still inquires upgrade status register, OK states, then it is assumed that the transmission channel configuration failure of upgrading encounters communication failure.
S305, main equipment A1 send upgrading data (DATA) to data interface unit 103, control Upgrade process, until rising Level data is sent.
S306 please refers to step S230.
S307 please refers to step S240.
S308, main equipment A1 poll firmware upgrades as a result, in one embodiment, CRC check unit 109 passes through step Rapid S307 updates check register, when it is " verifying successfully " state that main equipment A1, which inquires check register, issues the user with The successful prompt message of firmware upgrade, conversely, sending out the prompt message of firmware upgrade failure.
S309 after main equipment A1 polls obtain the result of firmware upgrade, sends reset command, from device A 2 to from device A 2 It is again introduced into the default mode as shown in S300 according to reset command, be reset to normal work reads or writes pattern.
Use above specific case is illustrated the present invention, is merely used to help understand the present invention, not limiting The system present invention.For those skilled in the art, according to the thought of the present invention, can also make several simple It deduces, deform or replaces.

Claims (13)

1. a kind of firmware upgrade method from equipment, which is characterized in that include the following steps:
It is described to obtain upgrade command from equipment, the total of the memory and the memory to be upgraded is determined according to the upgrade command Line type;
According to the transmission channel of determining bus type configuration upgrading;
After receiving upgrading data, by the memory to be upgraded described in upgrading data write-in, to complete firmware upgrade.
2. firmware upgrade method as described in claim 1, which is characterized in that described to configure upgrading according to determining bus type Transmission channel, including:Switch the transmission channel of upgrading to the memory to be upgraded, properly for transmission channel selection Bus Clock Rate, later update upgrade status be OK states.
3. firmware upgrade method as described in claim 1, which is characterized in that the transmission for completing upgrading from device configuration is logical Behind road, update upgrade status is OK states.
4. firmware upgrade method as described in claim 1, which is characterized in that further include CRC check step:
It is described to obtain the upgrading data in the memory from equipment, CRC check is carried out to be verified to the upgrading data Code, the check code is for judging whether firmware upgrade is successful from equipment;
It is described to read or write pattern from device reset to normal work.
5. a kind of firmware upgrade method from equipment, which is characterized in that include the following steps:
Main equipment sends the upgrade command for including the selection memory to be upgraded from the device;
The bus type for determining the memory and the memory to be upgraded according to the upgrade command from equipment, according to determining The transmission channel of bus type configuration upgrading;
The main equipment sends upgrading data;
It is described from equipment when receive upgrading data after, by the upgrading data write-in described in the memory to be upgraded, with completion Firmware upgrade.
6. as claimed in claim 5 from the firmware upgrade method of equipment, which is characterized in that further include:
It is described from device configuration complete upgrading transmission channel after, update upgrade status be OK states;
The master polls from the upgrade status of equipment, when obtain from the upgrade status of equipment be OK states when, main equipment hair Send the upgrading data.
7. firmware upgrade method as claimed in claim 5, which is characterized in that further include:
It is described to obtain the upgrading data in the memory from equipment, CRC check is carried out to be verified to the upgrading data Code, it is described to read or write pattern from device reset to normal work;
The check code of the main equipment inquiry from the device, to judge whether firmware upgrade is successful from equipment.
8. it is a kind of can firmware upgrade slave equipment, which is characterized in that including:
Memory selecting unit determines the memory to be upgraded according to the upgrade command and is somebody's turn to do for obtaining upgrade command The bus type of memory;
Data interface unit, for the transmission channel according to determining bus type configuration upgrading;
Bus unit, for receive upgrading data after, by the upgrading data be written described in the memory to be upgraded, with Complete the firmware upgrade from equipment;
Memory cell is communicated to connect with the bus unit, for storing upgrading data.
9. as claimed in claim 8 can firmware upgrade slave equipment, which is characterized in that further include V-CLK unit;
In the transmission channel upgraded according to determining bus type configuration, the transmission of the data interface unit switching upgrading is logical Road to the memory to be upgraded, the V-CLK unit is the data interface unit and institute according to determining bus type It states bus unit and suitable Bus Clock Rate is provided, the data interface unit update upgrade status is OK states later.
10. as claimed in claim 8 can firmware upgrade slave equipment, which is characterized in that further include CRC check unit, it is described CRC check unit is used to obtain the upgrading data in the memory, and CRC check is carried out to be verified to the upgrading data Code, the check code are described from device reset to the reading of normal work later for judging whether firmware upgrade is successful from equipment Or WriteMode.
11. a kind of firmware upgrade system, which is characterized in that including:
Main equipment includes the upgrade command for selecting the memory to be upgraded from the device for sending, is used for described from equipment Upgrading data are sent after configuring the transmission channel of upgrading;
From equipment, the bus type for determining the memory and the memory to be upgraded according to the upgrade command, according to The transmission channel of determining bus type configuration upgrading, for after receiving upgrading data, institute to be written in the upgrading data The memory to be upgraded is stated, to complete firmware upgrade.
12. firmware upgrade system as claimed in claim 11, which is characterized in that
It is described from device configuration complete upgrading transmission channel after, update upgrade status be OK states;
The master polls from the upgrade status of equipment, when obtain from the upgrade status of equipment be OK states when, main equipment hair Send the upgrading data.
13. firmware upgrade system as claimed in claim 11, which is characterized in that further include:
It is described to obtain the upgrading data in the memory from equipment, CRC check is carried out to be verified to the upgrading data Code, it is described later to read or write pattern from device reset to normal work;
The check code of the main equipment inquiry from the device, to judge whether firmware upgrade is successful from equipment.
CN201810179928.9A 2018-03-05 2018-03-05 It is a kind of from the firmware upgrade method of equipment and slave equipment, the system of firmware upgrade Pending CN108628621A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810179928.9A CN108628621A (en) 2018-03-05 2018-03-05 It is a kind of from the firmware upgrade method of equipment and slave equipment, the system of firmware upgrade

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810179928.9A CN108628621A (en) 2018-03-05 2018-03-05 It is a kind of from the firmware upgrade method of equipment and slave equipment, the system of firmware upgrade

Publications (1)

Publication Number Publication Date
CN108628621A true CN108628621A (en) 2018-10-09

Family

ID=63706089

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810179928.9A Pending CN108628621A (en) 2018-03-05 2018-03-05 It is a kind of from the firmware upgrade method of equipment and slave equipment, the system of firmware upgrade

Country Status (1)

Country Link
CN (1) CN108628621A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109656583A (en) * 2018-12-28 2019-04-19 北京深思数盾科技股份有限公司 Method for burning chip, host computer and chip burn-recording system
CN111506325A (en) * 2020-03-27 2020-08-07 广州视源电子科技股份有限公司 Firmware upgrading method, system, storage medium and related equipment
CN113535213A (en) * 2021-07-21 2021-10-22 联想长风科技(北京)有限公司 Firmware updating method and system for programmable logic device
CN116483401A (en) * 2023-03-31 2023-07-25 武汉环宇智行科技有限公司 Domain controller firmware upgrading device and upgrading method
CN117519748A (en) * 2023-11-10 2024-02-06 惠州市乐亿通科技股份有限公司 Battery management system program upgrading method and device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030106051A1 (en) * 2001-12-03 2003-06-05 Morrison John A. System and method for high availability firmware load
CN101030140A (en) * 2006-03-02 2007-09-05 中兴通讯股份有限公司 Device and method for on-line updating fastener programm
US20080047005A1 (en) * 2006-08-18 2008-02-21 Fujitsu Limited Access monitoring method and device for shared memory
CN102750155A (en) * 2011-04-19 2012-10-24 鸿富锦精密工业(深圳)有限公司 Control board for updating firmware as well as firmware updating system and method
CN104503796A (en) * 2014-12-25 2015-04-08 浙江中控研究院有限公司 IAP (Internet Access Provider) based configurable full-network remote node firmware upgrading method
CN106293851A (en) * 2016-08-19 2017-01-04 联想(北京)有限公司 A kind of firmware upgrade method and equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030106051A1 (en) * 2001-12-03 2003-06-05 Morrison John A. System and method for high availability firmware load
CN101030140A (en) * 2006-03-02 2007-09-05 中兴通讯股份有限公司 Device and method for on-line updating fastener programm
US20080047005A1 (en) * 2006-08-18 2008-02-21 Fujitsu Limited Access monitoring method and device for shared memory
CN102750155A (en) * 2011-04-19 2012-10-24 鸿富锦精密工业(深圳)有限公司 Control board for updating firmware as well as firmware updating system and method
CN104503796A (en) * 2014-12-25 2015-04-08 浙江中控研究院有限公司 IAP (Internet Access Provider) based configurable full-network remote node firmware upgrading method
CN106293851A (en) * 2016-08-19 2017-01-04 联想(北京)有限公司 A kind of firmware upgrade method and equipment

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
刘平: "《深入浅出玩转51单片机》", 31 May 2014, 北京航空航天大学出版社 *
刘海成: "《单片机及应用系统设计原理与实践》", 31 August 2009, 北京航空航天大学出版社 *
高仕斌等: "《2008全国博士生学术论坛 电气工程论文集下》", 30 November 2008, 西南交通大学出版社 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109656583A (en) * 2018-12-28 2019-04-19 北京深思数盾科技股份有限公司 Method for burning chip, host computer and chip burn-recording system
CN109656583B (en) * 2018-12-28 2021-04-20 北京深思数盾科技股份有限公司 Chip burning method, upper computer and chip burning system
CN111506325A (en) * 2020-03-27 2020-08-07 广州视源电子科技股份有限公司 Firmware upgrading method, system, storage medium and related equipment
CN113535213A (en) * 2021-07-21 2021-10-22 联想长风科技(北京)有限公司 Firmware updating method and system for programmable logic device
CN113535213B (en) * 2021-07-21 2024-03-29 联想长风科技(北京)有限公司 Firmware updating method and system for programmable logic device
CN116483401A (en) * 2023-03-31 2023-07-25 武汉环宇智行科技有限公司 Domain controller firmware upgrading device and upgrading method
CN117519748A (en) * 2023-11-10 2024-02-06 惠州市乐亿通科技股份有限公司 Battery management system program upgrading method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN108628621A (en) It is a kind of from the firmware upgrade method of equipment and slave equipment, the system of firmware upgrade
US6151657A (en) Processor with embedded in-circuit programming structures
WO2021212948A1 (en) Storage system boot method and apparatus, and computer-readable storage medium
CN107820603A (en) A kind of firmware update and controller
SE517286C2 (en) Methods and apparatus for upgrading cellular mobile phones
CN114003538B (en) Identification method of intelligent network card and intelligent network card
CN112000351B (en) Updating method, updating device, updating equipment and storage medium of BMC (baseboard management controller) firmware
CN109002310A (en) firmware upgrade method
US20090198770A1 (en) System and method of updating codes in controller
US20040153778A1 (en) Method, system and software for configuring a graphics processing communication mode
CN105718281A (en) Touch screen firmware upgrading method and device
CN110286932A (en) Program downloading method and device
CN111813432B (en) FPGA configuration upgrading method and FPGA platform
CN115312110A (en) Chip verification system and verification method thereof
CN104679566A (en) Method and terminal equipment for updating SMBIOS (System Management Basic Input/Output System)
CN112925569A (en) Firmware data processing method, device, equipment and storage medium
CN115878533A (en) Adaptive configuration method, device, equipment and storage medium of AI server
CN102081526B (en) Basic input/output system architecture
CN114721683A (en) Circuit, method, chip and electronic equipment for upgrading firmware
CN114019357A (en) Management method of test pin of logic processing module and related assembly
CN116431546B (en) Parameter configuration method, electronic device, storage medium, and program product
CN111414182B (en) SPI-based FPGA remote upgrading method
US6842820B2 (en) Processor with embedded in-circuit programming structures
CN100399752C (en) System and method for testing digital communication signal processing single board
CN107908418B (en) Method for upgrading logic program of fiber channel node card and fiber channel bus equipment

Legal Events

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

Application publication date: 20181009