[go: up one dir, main page]

CN101030146A - Method and system for updating fastener - Google Patents

Method and system for updating fastener Download PDF

Info

Publication number
CN101030146A
CN101030146A CN 200710065301 CN200710065301A CN101030146A CN 101030146 A CN101030146 A CN 101030146A CN 200710065301 CN200710065301 CN 200710065301 CN 200710065301 A CN200710065301 A CN 200710065301A CN 101030146 A CN101030146 A CN 101030146A
Authority
CN
China
Prior art keywords
fat
firmware update
host computer
embedded system
update module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN 200710065301
Other languages
Chinese (zh)
Other versions
CN100458699C (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.)
Zhongxing Technology Co ltd
Original Assignee
Vimicro 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 Vimicro Corp filed Critical Vimicro Corp
Priority to CNB2007100653012A priority Critical patent/CN100458699C/en
Publication of CN101030146A publication Critical patent/CN101030146A/en
Application granted granted Critical
Publication of CN100458699C publication Critical patent/CN100458699C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Stored Programmes (AREA)

Abstract

A method for realizing firmware update includes loading firmware update module in embedded system, setting up virtual file distribution table FAT by said update module, connecting up-level computer with embedded system to carry out device enumeration process and identifying said embedded system to be storage device according to storage device protocol and virtual FAT, executing firmware update process and copying firmware program into said embedded system through firmware update module according virtual FAT.

Description

A kind of method and system of realizing firmware update
Technical field
The present invention relates to the firmware update technical field, particularly a kind of method and system of realizing the embedded system firmware update.
Background technology
Firmware is the hardware with software function, and this in early days device generally all is the erasable read-only memory (EROM) that has software or Erasable Programmable Read Only Memory EPROM (EPROM) etc.Firmware develops into has had new definition today, in general, is called firmware with serving as system's software the most basic, bottom work, and is carrier with the flash memory in the system, has the back-up system operation simultaneously with system other hardware components.
Firmware extensively is present in the embedded system, such as: in the mobile phone, in the digital camera, walkman is medium to be had.Firmware usually needs to upgrade, and for example works as embedded system and breaks down, and just need upgrade firmware, with repair-deficiency.In addition, the hardware performance ground of being not only that firmware update brings promotes, and can also increase many brand-new functions for hardware.For example, printer has carried out after the firmware update, can improve print quality largely, promotes paper feeding speed etc.
Present embedded firmware update mainly is to connect between embedded system and host computer by the hardware transmission line, cooperate between the master routine of embedded system and the host computer, finish device enumeration, when needs carry out firmware update, host computer need send the notice of firmware update by client application and special-purpose hardware transmission line to the master routine of embedded system according to privately owned client protocol, embedded system is earlier by carrying out master routine, obtain this firmware update notice, from that storer at master routine place, move on to the firmware update program in the buffer memory, from buffer memory, read this firmware update program and execution then, the result who carries out is that the new firmware stores that will obtain from host computer is to the assigned address (being generally the position at former firmware program place) of storer, and new firmware carried out verification, check results is fed back to host computer, whether host computer obtains by special application program and shows this check results, thereby notify user's firmware update successful.Wherein said host computer is for can being used to upgrade the server of firmware program for PC or other.As can be seen, the hardware transmission line that present embedded firmware update need be special, special application program and privately owned protocol client software, when the different embedded system of correspondence, correspondent customer terminal software must be installed in host computer, system and operate all more complicated, inconvenient embedded system is carried out the renewal of firmware program.In addition, in the existing embedded system in order to realize firmware update also more complicated of designed system structure, research and development and cost of products are higher.
Summary of the invention
In view of this, fundamental purpose of the present invention is to provide a kind of method that realizes firmware update, makes the firmware update of embedded system simple and convenient.
Second purpose of the present invention is to provide a kind of system that realizes firmware update, makes the firmware update of embedded system simple and convenient.
In order to realize above-mentioned first purpose, the invention provides a kind of method that realizes firmware update, this method comprises:
Under the firmware update pattern, loading firmware update module in embedded system, described firmware update module is set up Virtual File Allocation Table FAT;
With after embedded system is connected, carry out the device enumeration process at host computer, host computer is identified as described embedded system the equipment that can carry out data storage operations based on the memory device agreement according to described virtual FAT;
Carry out the firmware update process, described host computer copies firmware program to embedded system, and described firmware update module receives the firmware program from host computer, and stores this firmware program according to described virtual FAT.
Preferably, described virtual FAT can comprise: FAT boot sector FAT HEADER, only comprise 2 FAT list areas of the data head of FAT list area, and only comprise the catalogue and the file name area of 1 filename content, and the virtual data district.
Preferably, described firmware update module can be carried in the guidance system BOOT of described embedded system, the FAT HEADER of described virtual FAT, FAT list area and catalogue and file name area are all set up in described BOOT, and described virtual data district is mapped in the storage space of described embedded system.
Described firmware update module further can be carried out verification to firmware program after receiving firmware program from host computer, and check results is returned to described host computer by described virtual FAT, and verification by the time storing firmware program.
Preferably, described firmware update module returns to described host computer with check results by virtual FAT, generate the feedback of status file according to check results, described generation feedback of status file is for being filled in check results in the catalogue and file name area in the virtual FAT with the form of character string; After generating the feedback of status file, data change in the firmware update module notice host computer virtual FAT, and host computer refreshes automatically, shows with the feedback of status file of check results as filename.
Preferably, described device enumeration process comprises: host computer reads FAT HEADER, and the firmware update module is returned FAT HEADER content; Host computer reads FAT list area and catalogue and file name area content according to the FAT HEADER content of returning, and the firmware update module is returned FAT list area and the catalogue and the file name area content of simplification according to the length of the FAT list area that identifies among the FAT HEADER and catalogue and file name area.
Preferably, verification by the time, described firmware update module stores described firmware program in the virtual data district in the storage space that is mapped in described embedded system; When verification was not passed through, described firmware update module abandoned described firmware program.
Preferably, the described equipment that carries out data storage operations is general movable memory equipment;
Described memory device agreement is general movable memory equipment agreement.
Preferably, described firmware update module is the USB flash disk system, and described general movable memory equipment agreement is the software and hardware agreement of USB flash disk, and described host computer is identified as USB flash disk with embedded system;
Described host computer is connected with embedded system by USB cable.
In order to realize above-mentioned second purpose, the invention provides a kind of system that realizes firmware update, this system comprises host computer and embedded system, be provided with the firmware update module in the embedded system, described firmware update module is loaded under the firmware update pattern, and sets up Virtual File Allocation Table FAT after loading;
Host computer is connected with embedded system under being in the firmware update pattern, and is used for after connection described embedded system being identified as the equipment that can carry out data storage operations according to described virtual FAT based on the memory device agreement;
Described host computer also is used for copying firmware program to described embedded system, and described firmware update module is used to receive the firmware program from host computer, and stores the storage space of this firmware program to embedded system according to described virtual FAT.
Preferably, the virtual FAT in the described firmware update module comprises: FAT HEADER, only comprise 2 FAT list areas of the data head of FAT list area, and only comprise the catalogue and the file name area of 1 filename content, and the virtual data district.
Described firmware update module is further used for the firmware program from host computer is carried out verification, and generating the feedback of status file according to check results, described generation feedback of status file is for being filled in check results in the catalogue and file name area in the virtual FAT with the form of character string;
After generating the feedback of status file, the firmware update module is further used for notifying data change in the host computer virtual FAT;
Described host computer is further used for refreshing automatically, shows with the feedback of status file of check results as filename.
Preferably, described firmware update module loading is in the guidance system BOOT of described embedded system, the FAT HEADER of described virtual FAT, FAT list area and catalogue and file name area all are arranged among the described BOOT, and described virtual data district is mapped in the storage space of described embedded system.
Preferably, described firmware update module is the USB flash disk system, the software and hardware agreement that described memory device agreement is a USB flash disk, and described host computer is identified as USB flash disk with embedded system;
Described host computer is connected by USB cable with USB flash disk system in the described embedded system.
As can be seen from the above technical solutions, the present invention has the firmware update module of Virtual File Allocation Table FAT by being provided with in embedded system, after connecting between host computer and the embedded system, host computer can be discerned embedded system automatically based on the memory device agreement, and the operation by execute file copy, can copy firmware program to embedded system, make the firmware update module carry out the operation of firmware update, firmware program be stored in the storage space of embedded system.Therefore with prior art in must cooperate with host computer by the master routine of embedded system just can finish firmware update different be, the present invention is directed to different embedded systems does not need to adopt special transmission line and privately owned protocol client software, makes the firmware update of embedded system simple and convenient.
Description of drawings
Fig. 1 is for realizing the system architecture synoptic diagram of firmware update;
Fig. 2 is the virtual FAT distribution schematic diagram of basic firmware update module;
Fig. 3 is for realizing the method flow diagram of firmware update;
Fig. 4 is the method flow diagram of embodiment provided by the present invention.
Embodiment
In order to make the purpose, technical solutions and advantages of the present invention clearer, the present invention is done detailed description further below in conjunction with drawings and Examples.
At first be necessary the memory device agreement is described.The memory device agreement that is adopted herein is meant that host computer is general, is used for memory device is discerned, and the standard agreement that communicates with memory device.Those skilled in that art are known, host computer is in order to discern the memory device of some type, generally all pre-configured memory device agreement, these memory device agreements become in the industry standard agreement because of its versatility, and after memory device was connected to host computer, host computer need not other application program control, can carry out device enumeration to this memory device automatically, identification equipment, and can in use carry out the operation of data access to this memory device.For instance, all have the software and hardware agreement of USB flash disk as present computer, after USB flash disk was inserted the USB interface of computer, computer can automatically identify USB flash disk, thereby in the operating system of computer, by the mode of opened file folder, USB flash disk was carried out file operation.In addition, equipment such as some MP3 players, mobile phone also can need not under the situation of special install driver at present, are discerned the style of writing part accessing operation of going forward side by side by computer.
Memory device here and memory device agreement comprise existing and following general memory device that will have and memory device agreement now.Described memory device and memory device agreement can be existing or following general movable memory equipment that will have and general movable memory equipment agreement.
Core concept of the present invention is, utilize host computer to possess the performance of discerning external unit according to described memory device agreement automatically, make host computer that embedded system is identified as the equipment that can carry out data storage operations automatically, finish complicated firmware update process to the simple operations of this equipment copied files by host computer.
The operation of described herein " copy ", not only comprise the traditional process that file is copied to another file from a file, also comprise file is moved to another file from a file, or file pasted another file after file is sheared, or the like similar process.
Below, at first a kind of system of firmware update that realizes provided by the present invention is described.Fig. 1 is for realizing the system architecture synoptic diagram of firmware update.As shown in Figure 1, this system comprises: host computer 100 and embedded system 110.Wherein, host computer 100 is to be the host computer that can carry out the equipment of data storage operations with the recognition of devices that is connected automatically according to the memory device agreement; Be provided with firmware update module 111 in the embedded system 100, and storage space 112.
Firmware update module 111 is set up virtual FAT after being loaded, and can carry out device enumeration process and firmware update process based on memory device agreement and virtual FAT and host computer 100.
Below with reference to existing FAT the virtual FAT in the firmware update module of the present invention is described.
The file allocation table FAT of present known standard is an example with FAT16, as shown in Figure 2, is divided into: FAT HEADER 201,2 FAT list areas 202 and 203, catalogue and file name area 204 and data field 205.
Wherein, FAT HEADER 201 generally is used for identifying the FAT system, also can be used to identify the length of FAT list area 202 and 203, catalogue and file name area 204 and data field.Whether FAT list area 202 and 203 is used for writing down each sector and uses, and their position relation.Catalogue and file name area 204 are used for log file name and pathname, the start element of each file, file attribute etc. under the record root directory.During the locating file position, operating system just can have been known the particular location of file and size according to catalogue and file name area 204 and FAT table 202 and 203.Data field 205 is used for storing data.
Because the information that comprises among the file allocation table FAT of standard is a lot, generally its shared storage space is very big, has many times all reached 500k.Therefore existing this standard FAT will take a large amount of memory headrooms.
The present invention makes virtualization process to FAT, promptly only after entering the firmware update pattern, embedded system just can just can be set up virtual FAT in the process of firmware update module work with the firmware update module loading in internal memory, the content of virtual FAT just can be buffered in the internal memory; And under non-firmware update pattern, virtual FAT can not be loaded or remove from the internal memory of embedded system because of the firmware update module, and is not established or is removed simultaneously.Thereby reach the process that virtual FAT can help to realize carrying out based on the memory device agreement firmware update on the one hand, do not take the purpose of the memory headroom of embedded system on the other hand again.
In addition, in order to simplify the structure of embedded system, described firmware update module 111 can be carried among the BOOT of embedded system, and the firmware update process of embedded system will not rely on the master routine of system like this, and work alone.
But very little because present embedded system is distributed to the memory headroom of BOOT, generally about 30k, therefore the FAT of existing standard can not be arranged in the BOOT of present embedded system.For can be in BOOT the loading firmware update module, the virtual FAT of setting up in the firmware update module 111 can adopt the file allocation table FAT of the simplification after virtual.That is: keep the FATHEADER district; 2 FAT list areas only comprise the data head of FAT list area, only account for the 3-4 byte, and the remainder data in the FAT list area is represented with 0, do not take up room, and can also represent that all sectors are not used simultaneously, and 0 address of data field is the storage address of firmware program so; Catalogue and file name area only keep 1 filename content, are 32 bytes, and this document name content is the filename content of feedback of status file, and before firmware update, this filename content is empty.The data field of this virtual FAT is mapped directly in the storage space 112 of embedded device, becomes a virtual data district.So just the virtual FAT of simplifying can be put among the BOOT, being about to the FATHEADER district of virtual FAT, 2 FAT list areas and catalogue and file name area is put among the BOOT, only take BOOT memory headroom seldom, and the virtual data district actually exists in the storage space 112 of embedded device, and it does not take the memory headroom of BOOT.
Further, host computer 100 is connected with embedded system 110 under being in the firmware update pattern, and is used for described embedded system 110 being identified as the equipment that can carry out data storage operations according to described memory device agreement and virtual FAT after connection;
Described host computer 100 also is used for copying firmware program to described embedded system 110, described firmware update module 111 is used to receive the firmware program from host computer 100, and firmware program carried out verification, check results is returned to described host computer 100 by described virtual FAT, and verification by the time store the storage space 112 of this firmware program according to described virtual FAT to embedded system.
Described host computer is generally PC, also can be for discerning other equipment of firmware update module.
Described firmware update module 111 returns to described host computer 100 with check results by described virtual FAT: in checking procedure, length and check code according to firmware program come checking data, and, send data to host computer 100 then and change notice according to check results generation feedback of status file.
Wherein, whether the feedback of status file of described generation is used for characterizing verification successful, and verification succeeds then generates and characterizes correct feedback of status file; The verification failure then generates and characterizes wrong feedback of status file.
Described feedback of status file is filled in the catalogue and file name area of described virtual FAT with the form of character string.
Host computer 100 receives after data that firmware update module 111 sends change notice, refreshes automatically, shows with the feedback of status file of check results as filename.
As a kind of mode of concrete enforcement, described firmware update module 111 can be USB flash disk system, the software and hardware agreement that described memory device agreement is a USB flash disk; Host computer connects with adopting the USB transmission line being connected of embedded system.
Below the method for realization firmware update provided by the present invention is done detailed description.Fig. 3 is for realizing the method flow diagram of firmware update.As shown in Figure 3, this method may further comprise the steps:
Step 301: under the firmware update pattern, loading firmware update module in embedded system, the firmware update module is set up virtual FAT.
Step 302: connect host computer and embedded system, carry out the device enumeration process, and described embedded system is identified as the equipment that can carry out data storage operations according to memory device agreement and virtual FAT.
Step 303: carry out the firmware update process, described host computer copies firmware program to embedded system, and described firmware update module receives the firmware program from host computer, and stores this firmware program according to described virtual FAT.
Described step 303 can comprise that further the firmware update module is carried out verification to firmware program, and check results is returned to host computer by described virtual FAT.After the step 303, this method can further include: host computer refreshes automatically, shows check results.
Above-mentioned is the main flow process of method provided by the present invention, and below with from PC download firmware program, the firmware update module is an example for the USB flash disk system, and the method for realization firmware update provided by the present invention is described in detail.Fig. 4 is the method flow diagram of embodiment provided by the present invention.As shown in Figure 4, this method may further comprise the steps:
Step 401: under the firmware update pattern, load the USB flash disk system in the BOOT of embedded system, the USB flash disk system sets up virtual FAT.
Those skilled in the art should expect, in order to make embedded system enter the firmware update pattern, can the mode of operation selector switch be set for embedded system, with PC with before embedded system is connected, the mode of operation selector switch is selected to common duty, and then PC is with after embedded system is connected, will be according to known step, enter normal duty, this step can be prior art, and the present invention does not give unnecessary details; When selecting the mode of operation selector switch to the firmware update state, then embedded system enters the firmware update pattern.
The USB flash disk system can be a software module, is stored in advance in the storage space of embedded system, when system switches to firmware update pattern following time, just loads this USB flash disk system in BOOT.
After the USB flash disk system is loaded, will set up virtual FAT.
Virtual FAT in the USB flash disk system can adopt the FAT12/FAT16 of simplification.Keep the FATHEADER district; 2 FAT list areas only comprise the data head of FAT list area, only account for the 3-4 byte; Catalogue and file name area only keep 1 filename content, are 32 bytes.
Like this, in fact the virtual FAT of setting up in BOOT includes only FAT HEADER district, 2 FAT list areas and catalogue and file name area, and the virtual data district of virtual FAT is mapped in the storage space 112 of embedded system.
In the present embodiment, embedded system 110 can be PMP (Portable MultiMedia Player such as MP3 player, palm PC, portable media player) equipment, the internal memory of embedded system 110 can adopt internal memory RAM such as SRAM, SDRAM, and storage space 112 can adopt nonvolatile memory NOR FLASH or NAND FLASH etc.
When the USB flash disk system communicates by letter with host computer, it is the USB device host-host protocol of employing standard, this agreement is general by present computing machine, so present embodiment is when carrying out firmware update, can no longer need special proprietary protocol client software, follow proprietary protocol and communicate, make the firmware update of embedded system more convenient and simple.
Step 402: connect PC and embedded system.
Connect PC and embedded system by USB cable in this step, connect back PC end and can show formatted USB flash disk.Described PC end shows the process of formatted USB flash disk, is the enumeration process of USB flash disk system: the PC end at first reads FAT HEADER, and the USB flash disk system returns FAT HEADER content; The PC end can read FAT list area or catalogue and file name area content according to FAT HEADER content then, the USB flash disk system returns FAT list area or the catalogue and the file name area content of simplification according to the length of the FAT list area, catalogue and the file name area that identify among the FAT HEADER, replaces with 0 data for the reduced data that does not take storage space.PC finishes enumerating of USB flash disk system after having read these data.
After enumeration process is finished, can demonstrate the device symbols of expression embedded system on the PC, such as: open " my computer " or " windows explorer " in the windows operating system, can see the USB flash disk identifier that an expression embedded system wherein newly occurred.Double-click the root directory that this identifier can enter into embedded system, enter the memory location that root directory will be a firmware program this moment.
Step 403:, firmware program is copied to the storage space of embedded system from PC by the USB flash disk system.
Firmware program in this step generally is the data block of the good firmware program of packing.The data length and the check code that wherein comprise firmware program are used for determining the end of firmware program copy and the checking data after the copy end.
The implementation procedure that this step is concrete is as follows:
In the time of need carrying out firmware update, after host computer received and copies firmware program in the embedded system instruction, host computer passed through transmission line according to the mode of sector block operations with the data block of firmware program; Embedded system is by its USB flash disk system, receives the data block of the firmware program that host computer sends over, and analyzes, separate firmware program after, be stored to the address and be the storage space of 0 embedded system.
When the length that copies the data field to had reached the length of the firmware program data that comprise in the packing firmware program, the copy of firmware program finished.The data field of described USB flash disk system is mapped in the storage space of embedded system, and this step has copied firmware program the storage space of embedded system to from PC in fact exactly.
For the user, the operation of this step is in the windows of PC operating system, has copied the firmware program in other disk in the embedded system storage space, and its operation is with the same to the operation of another disk with the document copying of a disk.
Step 404: checking data generates the feedback of status file in the USB flash disk system.
When the USB flash disk system receives firmware program, to carry out the verification of firmware program data according to data length that comprises in the firmware program and check code earlier, verification succeeds generates in the USB flash disk system and characterizes correct feedback of status file, and firmware program is stored into the storage space of embedded system; The verification failure then generates in the USB flash disk system and characterizes wrong feedback of status file, and the firmware program data of copy are abandoned.
The feedback of status file that generates is filled in the catalogue and the file name area of 32 bytes in the USB flash disk system with the form of character string.As verification succeeds, can generate " success.txt " in catalogue and file name area, the verification failure then can generate " fail.txt " in catalogue and file name area.
Step 405: data change in the notice PC end USB flash disk system, and the PC end refreshes automatically.
After checking data and feedback of status file generate, the USB flash disk system will change virtual FAT again according to new data.Change to the intrasystem data of PC end notice USB flash disk then, after the PC end is notified, refresh automatically, show the feedback of status file of USB flash disk system.For example, after the PC end refreshes automatically, under the root directory of embedded system on the PC end, can see the file of file " success.txt " or " fail.txt " by name.The feedback of status document analysis firmware update success of the USB flash disk system that the user can show according to PC or the reason of failure.
Can be found out that by foregoing description compared with prior art there is following advantage in the present invention:
1, because the firmware update module adopts general memory device agreement to communicate by letter host computer with host computer According to virtual FAT embedded system is carried out recognition of devices, the firmware update module is held according to virtual FAT Row firmware renewal process, so host computer need not to install in addition specific client-side program need to be passed through The common file on the equipment, copied files opened be to the simple operations of equipment, Refresh Device Status, Can realize that firmware upgrades. Also make the firmware renewal of embedded system break away from traditional needs to specific On the host computer, by the constraint of specific hardware transmission line, can automatically identify this storage at any one and establish Can realize on the standby machine. Its operating process is quite simple.
2, because the virtual FAT of setting up in the firmware update module is virtual FAT virtual and that simplify, This does not take the memory headroom of embedded system virtual FAT when the firmware update module is not loaded, Make embedded system can distribute more memory headroom to use for other functional module.
3, because after the firmware update module was loaded, virtual FAT only took memory headroom seldom, advances One step guaranteed that the firmware update module can be arranged in the existing BOOT. And utilize BOOT as drawing Guiding systems, the characteristic of before main program starts, working, the process that makes the present invention realize that firmware upgrades will be not Depend on again the main program of embedded system, and the system architecture that its firmware upgrades has also obtained greatly letter Change.
4, the check results of firmware renewal passes to host computer by virtual FAT, with connecing of check results The process that receive, procedure for displaying has been simplified to the automatic refreshing a device folder state of host computer makes host computer not Need again specific client application to receive and the demonstration check results, further make the firmware renewal process Do not rely on client application, specific hardware transmission line and proprietary protocol.

Claims (14)

1, a kind of method that realizes firmware update is characterized in that, this method comprises:
Under the firmware update pattern, loading firmware update module in embedded system, described firmware update module is set up Virtual File Allocation Table FAT;
With after embedded system is connected, carry out the device enumeration process at host computer, host computer is identified as described embedded system the equipment that can carry out data storage operations based on the memory device agreement according to described virtual FAT;
Carry out the firmware update process, described host computer copies firmware program to embedded system, and described firmware update module receives the firmware program from host computer, and stores this firmware program according to described virtual FAT.
2, method according to claim 1, it is characterized in that described virtual FAT comprises: FAT boot sector FAT HEADER only comprises 2 FAT list areas of the data head of FAT list area, the catalogue and the file name area that only comprise 1 filename content, and virtual data district.
3, method according to claim 2, it is characterized in that: described firmware update module loading is in the guidance system BOOT of described embedded system, the FAT HEADER of described virtual FAT, FAT list area and catalogue and file name area are all set up in described BOOT, and described virtual data district is mapped in the storage space of described embedded system.
4, according to claim 1,2 or 3 described methods, it is characterized in that, behind the firmware program of described firmware update module reception from host computer, further firmware program is carried out verification, check results is returned to described host computer by described virtual FAT, and verification by the time storing firmware program.
5, method according to claim 4, it is characterized in that, described firmware update module returns to described host computer with check results by virtual FAT, generate the feedback of status file according to check results, described generation feedback of status file is for being filled in check results in the catalogue and file name area in the virtual FAT with the form of character string; After generating the feedback of status file, data change in the firmware update module notice host computer virtual FAT, and host computer refreshes automatically, shows with the feedback of status file of check results as filename.
6, method according to claim 5 is characterized in that, described device enumeration process comprises: host computer reads FAT HEADER, and the firmware update module is returned FAT HEADER content; Host computer reads FAT list area and catalogue and file name area content according to the FAT HEADER content of returning, and the firmware update module is returned FAT list area and the catalogue and the file name area content of simplification according to the length of the FAT list area that identifies among the FAT HEADER and catalogue and file name area.
7, method according to claim 6 is characterized in that, verification by the time, described firmware update module stores described firmware program in the virtual data district in the storage space that is mapped in described embedded system; When verification was not passed through, described firmware update module abandoned described firmware program.
8, method according to claim 1 is characterized in that, the described equipment that carries out data storage operations is general movable memory equipment;
Described memory device agreement is general movable memory equipment agreement.
9, method according to claim 8 is characterized in that, described firmware update module is the USB flash disk system, and described general movable memory equipment agreement is the software and hardware agreement of USB flash disk, and described host computer is identified as USB flash disk with embedded system;
Described host computer is connected with embedded system by USB cable.
10, a kind of system that realizes firmware update, this system comprises host computer and embedded system, it is characterized in that, is provided with the firmware update module in the embedded system, described firmware update module is loaded under the firmware update pattern, and sets up Virtual File Allocation Table FAT after loading;
Host computer is connected with embedded system under being in the firmware update pattern, and is used for after connection described embedded system being identified as the equipment that can carry out data storage operations according to described virtual FAT based on the memory device agreement;
Described host computer also is used for copying firmware program to described embedded system, and described firmware update module is used to receive the firmware program from host computer, and stores the storage space of this firmware program to embedded system according to described virtual FAT.
11, system according to claim 10, it is characterized in that the virtual FAT in the described firmware update module comprises: FAT HEADER only comprises 2 FAT list areas of the data head of FAT list area, the catalogue and the file name area that only comprise 1 filename content, and virtual data district.
12, system according to claim 11, it is characterized in that, described firmware update module is further used for the firmware program from host computer is carried out verification, and generating the feedback of status file according to check results, described generation feedback of status file is for being filled in check results in the catalogue and file name area in the virtual FAT with the form of character string;
After generating the feedback of status file, the firmware update module is further used for notifying data change in the host computer virtual FAT;
Described host computer is further used for refreshing automatically, shows with the feedback of status file of check results as filename.
13, system according to claim 12, it is characterized in that: described firmware update module loading is in the guidance system BOOT of described embedded system, the FAT HEADER of described virtual FAT, FAT list area and catalogue and file name area all are arranged among the described BOOT, and described virtual data district is mapped in the storage space of described embedded system.
14, system according to claim 10 is characterized in that, described firmware update module is the USB flash disk system, the software and hardware agreement that described memory device agreement is a USB flash disk, and described host computer is identified as USB flash disk with embedded system;
Described host computer is connected by USB cable with USB flash disk system in the described embedded system.
CNB2007100653012A 2007-04-10 2007-04-10 Method and system for updating fastener Expired - Fee Related CN100458699C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2007100653012A CN100458699C (en) 2007-04-10 2007-04-10 Method and system for updating fastener

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2007100653012A CN100458699C (en) 2007-04-10 2007-04-10 Method and system for updating fastener

Publications (2)

Publication Number Publication Date
CN101030146A true CN101030146A (en) 2007-09-05
CN100458699C CN100458699C (en) 2009-02-04

Family

ID=38715518

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2007100653012A Expired - Fee Related CN100458699C (en) 2007-04-10 2007-04-10 Method and system for updating fastener

Country Status (1)

Country Link
CN (1) CN100458699C (en)

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010130130A1 (en) * 2009-05-11 2010-11-18 中兴通讯股份有限公司 Method and terminal device for controlling data transmission function of universal serial bus port
CN101980161A (en) * 2010-11-01 2011-02-23 航天东方红卫星有限公司 A method for on-orbit updating of spaceborne computer software
CN102135896A (en) * 2011-03-17 2011-07-27 中兴通讯股份有限公司 Method and system for realizing software upgrading based on embedded system
CN102169443A (en) * 2011-04-07 2011-08-31 柴可 Virtual universal serial bus (USB) disk-based firmware update method
WO2011110030A1 (en) * 2010-03-08 2011-09-15 中兴通讯股份有限公司 Method and system for upgrading network device
CN102236572A (en) * 2011-08-01 2011-11-09 华为技术有限公司 Firmware loading method and equipment
CN101398760B (en) * 2007-09-27 2012-04-18 广达电脑股份有限公司 Firmware updating system and updating method thereof
WO2012155412A1 (en) * 2011-07-20 2012-11-22 中兴通讯股份有限公司 Firmware updating method and system under android system
CN104679545A (en) * 2013-11-29 2015-06-03 中兴通讯股份有限公司 Device and device starting method
CN104731631A (en) * 2015-04-09 2015-06-24 广东小天才科技有限公司 Upgrading method, system and device of point reading machine
CN106325817A (en) * 2016-08-25 2017-01-11 中山市天启智能科技有限公司 A method for automatic upgrade of embedded system
CN106412029A (en) * 2016-09-13 2017-02-15 乐视控股(北京)有限公司 Configuration information receiving method and device, and configuration information transmitting method and device
CN106484486A (en) * 2016-10-31 2017-03-08 乐视控股(北京)有限公司 A kind of application program update processing method and processing device
CN106648781A (en) * 2016-12-26 2017-05-10 广东芬尼克兹节能设备有限公司 Remote firmware upgrading method and system for communication equipment
CN106970778A (en) * 2017-03-20 2017-07-21 中国科学院长春光学精密机械与物理研究所 A kind of Configuration Online method and system of the embedded device based on FPGA
CN107526616A (en) * 2017-09-01 2017-12-29 联想(北京)有限公司 A kind of main frame carries out the method and device of data write-in and reading to BMC
CN107783769A (en) * 2016-08-24 2018-03-09 青岛歌尔声学科技有限公司 A kind of method, apparatus and electronic equipment by USB upgrading electronic equipment
CN107924443A (en) * 2015-07-23 2018-04-17 菲尼克斯电气公司 Firmware upgrade method and its system for the control device of process control
WO2018076969A1 (en) * 2016-10-24 2018-05-03 深圳创维数字技术有限公司 Software upgrade method, computing device, and channel control device
CN109725917A (en) * 2017-10-31 2019-05-07 京瓷办公信息系统株式会社 Server device, non-transitory computer-readable recording medium, and update system
CN113010900A (en) * 2021-04-20 2021-06-22 西安联飞智能装备研究院有限责任公司 Application software upgrading method, device, system and storage medium
CN114791819A (en) * 2021-01-25 2022-07-26 南京天迈信息科技有限公司 A method and system for browsing and updating program firmware when an embedded system is used offline

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107506205A (en) * 2017-06-30 2017-12-22 杭州旗捷科技有限公司 Chip rewrites data updating method, electronic equipment and the storage medium of equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100334555C (en) * 2002-12-27 2007-08-29 技嘉科技股份有限公司 Upgrade Control Method of Intelligent Firmware
CN100479372C (en) * 2003-06-22 2009-04-15 华为技术有限公司 Method of automatic software update for terminal equipment
US20050060530A1 (en) * 2003-09-12 2005-03-17 Giga-Byte Technology Co., Ltd Method for displaying information of updating BIOS
US7627733B2 (en) * 2005-08-03 2009-12-01 Sandisk Corporation Method and system for dual mode access for storage devices

Cited By (32)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101398760B (en) * 2007-09-27 2012-04-18 广达电脑股份有限公司 Firmware updating system and updating method thereof
WO2010130130A1 (en) * 2009-05-11 2010-11-18 中兴通讯股份有限公司 Method and terminal device for controlling data transmission function of universal serial bus port
WO2011110030A1 (en) * 2010-03-08 2011-09-15 中兴通讯股份有限公司 Method and system for upgrading network device
US8782181B2 (en) 2010-03-08 2014-07-15 Zte Corporation Method and system for upgrading network device
CN101980161B (en) * 2010-11-01 2013-03-13 航天东方红卫星有限公司 On-orbit updating method for satellite-borne computer software
CN101980161A (en) * 2010-11-01 2011-02-23 航天东方红卫星有限公司 A method for on-orbit updating of spaceborne computer software
CN102135896A (en) * 2011-03-17 2011-07-27 中兴通讯股份有限公司 Method and system for realizing software upgrading based on embedded system
CN102135896B (en) * 2011-03-17 2015-08-12 中兴通讯股份有限公司 A kind of method and system based on Implementation of Embedded System software upgrading
WO2012122776A1 (en) * 2011-03-17 2012-09-20 中兴通讯股份有限公司 Method and system for realizing software upgrade based on embedded system
CN102169443A (en) * 2011-04-07 2011-08-31 柴可 Virtual universal serial bus (USB) disk-based firmware update method
CN102890636A (en) * 2011-07-20 2013-01-23 中兴通讯股份有限公司 Firmware upgrade method and system under Android system
WO2012155412A1 (en) * 2011-07-20 2012-11-22 中兴通讯股份有限公司 Firmware updating method and system under android system
CN102236572A (en) * 2011-08-01 2011-11-09 华为技术有限公司 Firmware loading method and equipment
CN104679545A (en) * 2013-11-29 2015-06-03 中兴通讯股份有限公司 Device and device starting method
CN104731631B (en) * 2015-04-09 2019-03-08 广东小天才科技有限公司 Upgrading method, system and device of point reading machine
CN104731631A (en) * 2015-04-09 2015-06-24 广东小天才科技有限公司 Upgrading method, system and device of point reading machine
CN107924443B (en) * 2015-07-23 2021-08-10 菲尼克斯电气公司 Firmware upgrading method and system for process control device
CN107924443A (en) * 2015-07-23 2018-04-17 菲尼克斯电气公司 Firmware upgrade method and its system for the control device of process control
CN107783769A (en) * 2016-08-24 2018-03-09 青岛歌尔声学科技有限公司 A kind of method, apparatus and electronic equipment by USB upgrading electronic equipment
CN106325817A (en) * 2016-08-25 2017-01-11 中山市天启智能科技有限公司 A method for automatic upgrade of embedded system
CN106412029A (en) * 2016-09-13 2017-02-15 乐视控股(北京)有限公司 Configuration information receiving method and device, and configuration information transmitting method and device
WO2018076969A1 (en) * 2016-10-24 2018-05-03 深圳创维数字技术有限公司 Software upgrade method, computing device, and channel control device
CN106484486A (en) * 2016-10-31 2017-03-08 乐视控股(北京)有限公司 A kind of application program update processing method and processing device
CN106648781B (en) * 2016-12-26 2020-03-13 广东芬尼克兹节能设备有限公司 Method and system for upgrading remote firmware of communication equipment
CN106648781A (en) * 2016-12-26 2017-05-10 广东芬尼克兹节能设备有限公司 Remote firmware upgrading method and system for communication equipment
CN106970778A (en) * 2017-03-20 2017-07-21 中国科学院长春光学精密机械与物理研究所 A kind of Configuration Online method and system of the embedded device based on FPGA
CN106970778B (en) * 2017-03-20 2020-06-12 中国科学院长春光学精密机械与物理研究所 An online configuration method and system of an embedded device based on FPGA
CN107526616A (en) * 2017-09-01 2017-12-29 联想(北京)有限公司 A kind of main frame carries out the method and device of data write-in and reading to BMC
CN109725917A (en) * 2017-10-31 2019-05-07 京瓷办公信息系统株式会社 Server device, non-transitory computer-readable recording medium, and update system
CN114791819A (en) * 2021-01-25 2022-07-26 南京天迈信息科技有限公司 A method and system for browsing and updating program firmware when an embedded system is used offline
CN114791819B (en) * 2021-01-25 2025-03-25 南京天迈信息科技有限公司 A method and system for browsing and updating program firmware when an embedded system is used offline
CN113010900A (en) * 2021-04-20 2021-06-22 西安联飞智能装备研究院有限责任公司 Application software upgrading method, device, system and storage medium

Also Published As

Publication number Publication date
CN100458699C (en) 2009-02-04

Similar Documents

Publication Publication Date Title
CN101030146A (en) Method and system for updating fastener
US11636032B2 (en) Memory system, data storage device, user device and data management method thereof
US8078794B2 (en) Hybrid SSD using a combination of SLC and MLC flash memory arrays
CN1282089C (en) Device and method for controllintg proper execution in serial flash memory and corresponding chip
CN1848087A (en) Using usb memory device to recover operating system
TWI420305B (en) Memory storage device, memory controller thereof, and method for creating fill-file automatically thereof
CN103984641B (en) A kind of memory space recovery method and its device based on simplify configuration technology
CN1540672A (en) Power Management Data Block for Non-Volatile Storage Systems
JP2008198208A (en) Method of operating host data processing device, host data processing device, and data storage device
CN1441352A (en) Information processor, control method and storage medium for said information processor
KR20120037786A (en) Storage device, lock mode management method thereof and memory system having the same
CN102841802B (en) Software upgrade method for mobile terminal
CN1945537A (en) Method for realizing high speed solid storage device based on storage region network
CN100472447C (en) A method and device for implementing software update
KR20110103165A (en) Data storage device and computing system including the same
KR20000022716A (en) Efficient volume copy using pre-configuration of log structured target storage
CN1749963A (en) A kind of Boot software upgrade method and a kind of Boot software restoration method
CN101051283A (en) Hard disk data backup system and method
US20120137063A1 (en) Auxiliary storage device and processing method thereof
US20100005286A1 (en) Method for booting computer system
US7441077B2 (en) Device for transmitting data and method for the same
CN102455879B (en) Memory storage device, memory controller and method for automatically generating filling files
CN111444119A (en) Feiteng platform nonvolatile memory registration method based on kernel parameters
CN1968098A (en) Method for configuring network element device
CN1967505A (en) Information processing device, image pickup device, information processing method and computer program

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20171221

Address after: 100083 Haidian District, Xueyuan Road, No. 35, the world building, the second floor of the building on the ground floor, No. 16

Patentee after: Zhongxing Technology Co.,Ltd.

Address before: 100083, Haidian District, Xueyuan Road, Beijing No. 35, Nanjing Ning building, 15 Floor

Patentee before: VIMICRO Corp.

CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 100083 Haidian District, Xueyuan Road, No. 35, the world building, the second floor of the building on the ground floor, No. 16

Patentee after: Zhongxing Technology Co.,Ltd.

Address before: 100083 Haidian District, Xueyuan Road, No. 35, the world building, the second floor of the building on the ground floor, No. 16

Patentee before: Zhongxing Technology Co.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090204