CN104200843A - Flash memory burner, burning system and burning method - Google Patents

Flash memory burner, burning system and burning method Download PDF

Info

Publication number
CN104200843A
CN104200843A CN201410466816.3A CN201410466816A CN104200843A CN 104200843 A CN104200843 A CN 104200843A CN 201410466816 A CN201410466816 A CN 201410466816A CN 104200843 A CN104200843 A CN 104200843A
Authority
CN
China
Prior art keywords
burning
chip
flash memory
burned
bluetooth
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
CN201410466816.3A
Other languages
Chinese (zh)
Other versions
CN104200843B (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.)
Wuxi Vimicro Corp
Original Assignee
Wuxi 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 Wuxi Vimicro Corp filed Critical Wuxi Vimicro Corp
Priority to CN201410466816.3A priority Critical patent/CN104200843B/en
Publication of CN104200843A publication Critical patent/CN104200843A/en
Application granted granted Critical
Publication of CN104200843B publication Critical patent/CN104200843B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a flash memory burner, a burning system and a burning method. Flash memories of a plurality of bluetooth chips can be simultaneously burnt, the number of the simultaneously burnt chips can be changed through the parallel transmission of chip select signals, the different requirements of one-step burning and one-to-one burning can be met, the operation is more flexible, and the application range is wider. Besides, as the memory positions of bluetooth addresses and equipment names are previously stored in an image file, the memory position information can be acquired when the image file is burnt, and corresponding to-be-burnt addresses in to-be-burnt chips can be found according to the memory position information. Therefore, the bluetooth addresses and the equipment names can be directly burnt after the image file is burnt, burning is no longer needed to be carried out after erasing like the prior art, the burning process of the flash memories of the bluetooth chips is essentially changed, the burning speed is raised, and the burning control procedures are simplified and more tend to automation.

Description

The burned device of flash memory, burned system and burned method
Technical field
The present invention relates to electronic applications, relate in particular to the burned device of a kind of high efficiency flash memory, burned system and burned method.
Technical background
Burned device is an instrument of programmable integrated circuit being write to data, the programming (or claiming to write with a brush dipped in Chinese ink) that is mainly used in the chip of single-chip microcomputer (containing embedded)/storer (containing BIOS) and so on can divide the burned device of universal type, the burned device of yield production type, the burned device of tailored version function.
The burned device of existing yield production type is normally connected with a burned device by computer, moves software control burned and open the program file for the treatment of burning in computer, then by USB or serial ports, transmits data to burned device, and burned device is transferred to chip again.
But the burned device of bluetooth flash memory (flash) of existing yield production type, the once burned many pieces of chips that have, work efficiency is extremely low; Have when burned many pieces of chips once, only support burned identical file, and there is Bluetooth address and the device name that every piece of chip has oneself because of Bluetooth chip, therefore the burned device of existing yield production type is when burning Bluetooth chip, can only be burned piecewise, total length consuming time, efficiency is low.In addition, the cost of the burned device of existing bluetooth Flash own is high, and burned control flow complicated operation cannot simply one-touch foolproof operation.
In a word, there is following shortcoming in the burned device of bluetooth flash of yield production type at present:
1) copying speed is slow, all with burned number, increase, and consuming time increasing progressively;
2) operation steps is complicated, on the market substantially all want operating processes more than 4 steps;
3) burned device cost is high, poor expandability;
4) burned device semi-automatic operation all, cannot bad sheet of self-verifying, look into sky, programme, wipe etc.;
5) cannot policer operation flow process, can not provide effective prompting;
6) cannot add up to burned number (such as bad sheet, good sheet);
7) cannot be to every Bluetooth Address (Bluetooth address) and Device Name (device name) that all writes appointment;
Therefore, be necessary to propose a kind of improved technical scheme and overcome the problems referred to above.
Summary of the invention
In view of this, the object of the present invention is to provide a kind of high-level efficiency, quick, burned many pieces of Bluetooth chips simultaneously, and can write the burned system of flash memory and the burned method of flash memory of Bluetooth address and device name simultaneously.
In order to achieve the above object, according to a first aspect of the invention, the invention provides the burned device of a kind of flash memory, can to the flash memory of many pieces of Bluetooth chips, carry out burning simultaneously, comprise that parallel port input end, USB interface, USB turn SPI unit and a plurality of chip link;
Described parallel port input end is for by a plurality of chip selection signals---corresponding each chip link that exports to;
Described USB interface provides the transmission channel of reading data signal and write data signal;
Described USB turns SPI unit for the processing that reads and writes data, realize the communication between usb bus and SPI interface, when it is effective at chip selection signal, export the write data signal from USB interface to each chip link, export the reading data signal from the corresponding chip link of effective chip selection signal to described USB interface;
Described chip link has the Bluetooth chip of onboard flash memory module for connection encapsulation, or is hung on the flash chip of Bluetooth chip outside outward.
Further, can also comprise the driving enhancement unit for the output of two-way stable level, its input end turns SPI unit with described USB respectively and is connected to input write data signal, clock signal and chip selection signal with parallel port input end, its output terminal is connected with each chip link respectively, with write data signal, clock signal and the chip selection signal of stable output level.
Preferably, described chip link can be burning probe, on it, be provided with chip selection signal end, reading data signal end, write data signal end and clock signal terminal, during burning described in burning probe each signal end and treat that the corresponding signal end contact of burning/recording chip connects.
Preferably, described parallel port input end can be parallel port socket, selects wherein identical with described chip link quantity stitch as chip selection signal input end.
Preferably, the burned device of described flash memory can drag eight the burned device of Bluetooth chip flash memory for one, and described chip link has 8, and the male that described parallel port socket is parallel port selects its 8 data lines stitch as eight chip selection signal input ends.
According to a second aspect of the invention, provide a kind of flash memory burned system, comprise the burned device of host computer and flash memory,
Described host computer has the USB link that can be connected with the USB interface of the burned device of described flash memory, with the parallel port link that can be connected with the parallel port input end of the burned device of described flash memory;
In described host computer, be also provided with that mirror image processing module, protocol process module, USB turn SPI driver module, parallel port drives interface and human-computer interaction module;
The burned instruction of flash memory that described human-computer interaction module is inputted for receiving outside, and show burned result;
Described mirror image processing module for resolve or wrapper containing the image file of Bluetooth chip parameter, obtaining in image file be Bluetooth address and the reserved memory location of device name, and for treating chip generation Bluetooth address and the device name of burning;
Described protocol process module is the burned instruction of flash memory from human-computer interaction module for basis, loading is from image file and Bluetooth address and the device name of mirror image processing module, by described USB, turn SPI driver module and parallel port driving interface and the burned device of flash memory and carry out data interaction, thereby obtain the information for the treatment of burning/recording chip on the burned device of flash memory, treating burning/recording chip execution wipes, the operation of burning, valid data in image file are burnt in the flash memory storage district that treats burning/recording chip, and according to being Bluetooth address and the reserved memory location of device name in the image file obtaining, Bluetooth address and device name are burnt in flash memory storage district.
According to third aspect present invention, provide a kind of flash memory burned method, can to the flash memory of many pieces of Bluetooth chips, carry out burning simultaneously, described flash memory is the flash memory module that is encapsulated in Bluetooth chip inside, or is hung on the flash chip of Bluetooth chip outside outward, comprising:
System initialization step, for detection of the burning/recording chip for the treatment of connecting on the burned device of flash memory, for treating that burning/recording chip parsing or wrapper are containing the image file of Bluetooth chip parameter;
Flash memory erase step, for disposable flash memory storage district of wiping needed burning/recording chip;
Image file burning step, is burnt in needed burning/recording chip for the disposable valid data by the image file that comprises Bluetooth chip parameter, and obtains in image file as Bluetooth address and the reserved memory location of device name;
Bluetooth address and device name burning step, be used to the chip for the treatment of burning to produce Bluetooth address and device name, and according to being Bluetooth address and the reserved memory location of device name in the image file obtaining, piecewise Bluetooth address and device name are burnt in the corresponding flash memory storage district that treats burning/recording chip.
Further, to needed burning/recording chip is disposable, wipe or during burning, host computer sends sheet by its parallel port to the burning/recording chip that needs on the burned device of flash memory and selects useful signal; Burning piecewise or while reading to verify, host computer by its parallel port to treating that burning/recording chip sends piecewise sheet and selects useful signal on the burned device of flash memory.
Further, in described flash memory erase step, after sending the instruction of wiping full wafer flash memory, then check and whether wipe successfully piecewise, until the burning/recording chip that needs is all wiped successfully.
Further, in described image file burning step, from image file, by frame sign, extract data and detect wherein whether comprise Bluetooth address and device name, in this way, the memory location that definite this current frame data should write flash memory storage district is the memory location of Bluetooth address and device name, and retains this frame data;
In described Bluetooth address and device name burning step, for every a slice, treat burning/recording chip and produce separately Bluetooth address and device name, the Bluetooth address of generation and device name are replaced after the Bluetooth address and device name in the frame data that retain, and it is Bluetooth address and the reserved memory location of device name that the frame data after replacing are written in the flash memory storage district that treats burning/recording chip.
Further, also comprise and read verification step, for reading piecewise the burned image file for the treatment of burning/recording chip, and verify; While wherein reading image file, read every partial data in the flash memory storage district that treats burning/recording chip and carry out verification
Compared with prior art, the present invention has realized one and has dragged the burning simultaneously of many flash memories to many pieces of Bluetooth chips, greatly improved volume production efficiency, and transmit chip selection signal by parallel port, both can change burning/recording chip quantity simultaneously, can meet again the different demands of disposable burning and burning piecewise, operate more flexibly, the scope of application is wider.Further, owing to having reserved the memory location of Bluetooth address and device name in image file, when burning image file, can obtain this stored position information, when burning Bluetooth address and device name, can find and treat in burning/recording chip corresponding address that should be burned according to this stored position information, therefore can direct burning Bluetooth address and device name after burning image file, and without must first wipe again rear burning as prior art, from having changed in essence the burning flow process of the flash memory of Bluetooth chip, accelerated replication rate, simplified burning control flow, and robotization more becomes.
Accompanying drawing explanation
Fig. 1 is the structural framing schematic diagram of a kind of specific embodiment of the burned device of flash memory of the present invention;
Fig. 2 is the circuit theory schematic diagram of a kind of specific embodiment of the burned device of flash memory of the present invention;
Fig. 3 is the system framework schematic diagram of a kind of specific embodiment of the burned system of flash memory of the present invention;
Fig. 4 is the schematic flow sheet of a kind of specific embodiment of the burned method of flash memory of the present invention.
Embodiment
Below in conjunction with Figure of description, the specific embodiment of the present invention is described.
With reference to figure 1, as a kind of specific embodiments of the present invention, the burned device of a kind of flash memory can carry out burning to the flash memory of many pieces of Bluetooth chips simultaneously, comprises that parallel port input end, USB interface, USB turn SPI unit and a plurality of chip link;
Described parallel port input end is for by a plurality of chip selection signals---corresponding each chip link that exports to;
Described USB interface provides the transmission channel of reading data signal and write data signal;
Described USB turns SPI unit for the processing that reads and writes data, realize the communication between usb bus and SPI interface, when it is effective at chip selection signal, export the write data signal from USB interface to each chip link, export the reading data signal from the corresponding chip link of effective chip selection signal to described USB interface;
Described chip link has the Bluetooth chip of onboard flash memory module for connection encapsulation, or is hung on the flash chip of Bluetooth chip outside outward.
While connecting many pieces of Bluetooth chips or flash chip on chip link, as adopt the direct-connected mode of signal may cause data-signal unstable, therefore, as a kind of better embodiment, in the burned device of described chip, be also provided with the driving enhancement unit for the output of two-way stable level, its input end turns SPI unit with described USB respectively and is connected to input write data signal, clock signal and chip selection signal with parallel port input end, its output terminal is connected with each chip link respectively, with write data signal, clock signal and the chip selection signal of stable output level.
Described chip link can be the conventional burning probe of the burned device of yield production type chip, on it, be provided with chip selection signal end, reading data signal end, write data signal end and clock signal terminal, during burning described in burning probe each signal end and treat that the corresponding signal end contact of burning/recording chip connects.
Described parallel port input end is can parallel port socket, selects wherein identical with described chip link quantity stitch as chip selection signal input end, and other stitch can ground connection.
If the invention process is to drag eight the burned device of flash memory, chip link can be set, burning probe is 8, adopts the parallel port socket of 25 pins, and can adopt the male of parallel port, selects its 8 data lines P0~P7 stitch as eight chip selection signal input ends.
In the present invention, adopt parallel port to transmit chip selection signal, thereby each chip link is controlled by chip selection signal can respectively, thereby can realize burning piecewise and disposable burning when the flash memory of many pieces of Bluetooth chips is carried out to burning.Meanwhile, because parallel port stitch is more, make the number of chips of burned device burning simultaneously flexible, the system expandability is good.
Figure 2 shows that a kind of one drags the burned device structure of flash memory of eight Bluetooth chip, wherein schematically provide Liao Yi road chip link and turn the signal connection layout of SPI unit with driving enhancement unit and USB.Wherein, the P2 end output of parallel port socket is connected with driving the SSN0 end of enhancement unit 1, drive the CS0 end of enhancement unit 1 and CS0 (GPIO9) end of chip link CHIP1 to be connected, thereby the chip selection signal CS from parallel port socket P2 end is exported on CHIP1.USB turns the MISO end of SPI unit and S00 (GPIO11) end of CHIP1 is connected, thereby receives the reading data signal MISO from chip link CHIP1.The MOSI end that USB turns SPI unit is connected with driving the MOSI end of enhancement unit 1, drives the SI0 end of enhancement unit 1 and SI0 (GPIO10) end of CHIP1 to be connected, thereby the write data signal MOSI from USB interface is exported on CHIP1.The CLK end that USB turns SPI unit is connected with driving the CLK end of enhancement unit 1, drives the CLK0 end of enhancement unit 1 and CLK0 (GPIO12) end of CHIP1 to be connected, thereby the clock signal that turns SPI unit from USB is exported on CHIP1.
Those of ordinary skill in the art should be known, and other seven roads chip link also can be with reference to realization.
USB turns the interface unit that turns spi bus that SPI unit is a usb bus, by this unit, can realize easily the communication between upper computer end usb bus and slave computer end 4 line SPI interfaces; In the present embodiment, adopt USB2SPI chip, certainly can adopt the USBIO type of similar functions.
Driving enhancement unit is the unit of a two-way stable level output, this cell signal is divided A, two groups of B, a group input, a group output, and A end input voltage is supported 1.5-5.5V, B group voltage support is supported 1.5-3.6V, and A group input terminal voltage is greater than B output end voltage.It is bilateral device unit, can pass through DIR pin control signal direction, adopts A group input 5.5V, output 3.3V in the present invention; The IC unit that the present invention adopts is 74lvc4245a, certainly can select other similar bidirectional level output IC to be used as this.
When chip selection signal can be low level, be sheet choosing effectively, during high level, be that sheet selects invalid.
Fig. 3 is the structural framing schematic diagram of a kind of specific embodiment of the burned system of flash memory of the present invention.The burned system of described flash memory comprises host computer and the burned device of flash memory.
Described host computer has the USB link (not shown) that can be connected with the USB interface (not shown) of the burned device of described flash memory, with the parallel port link (not shown) that can be connected with the parallel port input end (not shown) of the burned device of described flash memory.
Wherein USB interface and the supporting setting of USB link, parallel port input end and the supporting setting of parallel port link.As a kind of concrete application, the present embodiment can be: host computer is connected by two data lines with the burned device of flash memory, and one is that what to adopt is the direct-connected parallel port extended lines of 8 lines, and other one is that what to adopt is the direct-connected USB extended lines of 4 lines; Parallel port adopts male to connect in upper computer end, and the burned device end of flash memory adopts female to connect, and the extended line upper computer end of USB adopts female to connect, and the burned device end of flash memory adopts male to connect.
In described host computer, be also provided with that mirror image processing module, protocol process module, USB turn SPI driver module, parallel port drives interface and human-computer interaction module;
The burned instruction of flash memory that described human-computer interaction module is inputted for receiving outside, and show burned result; During concrete enforcement, human-computer interaction module can comprise the human-computer interaction interface being presented on host computer, on interface, can show and be connected to the chip information on each chip link on the burned device of flash memory, user can just can carry out burned process by choosing the chip option showing on interface, on interface, also there is the display field that can provide detailed burning prompting, demonstration that more can be clear and definite after burning success any sheet burning chip success any sheet burning failure.
Described mirror image processing module for resolve or wrapper containing the image file of Bluetooth chip parameter, obtaining in image file be Bluetooth address and the reserved memory location of device name, and for treating chip generation Bluetooth address and the device name of burning;
Described protocol process module is the burned instruction of flash memory from human-computer interaction module for basis, loading is from image file and Bluetooth address and the device name of mirror image processing module, by described USB, turn SPI driver module and parallel port driving interface and the burned device of flash memory and carry out data interaction, thereby obtain the information for the treatment of burning/recording chip on the burned device of flash memory, treating burning/recording chip execution wipes, the operation of burning, valid data in image file are burnt in the flash memory storage district that treats burning/recording chip, and according to being Bluetooth address and the reserved memory location of device name in the image file obtaining, Bluetooth address and device name are burnt in flash memory storage district.
Described USB turns SPI driver module and parallel port driving interface is all bottom layer driving module, the operations such as the present invention directly carries out reading and writing data, wipes on driving, burning, reduced common burned device to have the processing of intermediate process module and produce consuming time, thereby reduced efficiency losses.
The basic functional principle of the burned system of flash memory in the present embodiment is:
Host computer receives after the burned instruction of the flash memory sending from human-computer interaction module, utilizes protocol process module to load and treats the image file of burning and be every piece to treat burning/recording chip Bluetooth address and the device name of generation separately; Use the control signal of stitch (P2-P9) the transmission flash memory storage district sheet choosing (CS) of parallel port; And use USB to turn the processing that reads and writes data of SPI unit, accelerate data processing.When host computer is turned SPI unit and is write image file by USB, the chip selection signal CS that treats burning/recording chip connecting on all chip links is all set to effectively, as all set low level, now host computer sends the instruction of once writing data and just can make needed burning/recording chip all write image file success; When turning SPI unit by USB and write Bluetooth address and device name, put piecewise the chip selection signal for the treatment of burning/recording chip for effectively, thereby Bluetooth address and device name are write and be set to effectively the treating in burning/recording chip of chip selection signal.
After writing data, host computer also goes piecewise singlely to read key message inspection and write success status, and success or not is write in judgement.
The present invention provides the specific embodiment of a kind of burned method of flash memory simultaneously.As shown in Figure 4, the burned method of described flash memory can be carried out burning to the flash memory of many pieces of Bluetooth chips simultaneously, and described flash memory is the flash memory module that is encapsulated in Bluetooth chip inside, or is hung on the flash chip of Bluetooth chip outside outward, comprising:
System initialization step, for detection of the burning/recording chip for the treatment of connecting on the burned device of flash memory, for treating that burning/recording chip parsing or wrapper are containing the image file of Bluetooth chip parameter;
Flash memory erase step, for disposable flash memory storage district of wiping needed burning/recording chip;
Image file burning step, is burnt in needed burning/recording chip for the disposable valid data by the image file that comprises Bluetooth chip parameter, and obtains in image file as Bluetooth address and the reserved memory location of device name;
Bluetooth address and device name burning step, be used to the chip for the treatment of burning to produce Bluetooth address and device name, and according to being Bluetooth address and the reserved memory location of device name in the image file obtaining, piecewise Bluetooth address and device name are burnt in the corresponding flash memory storage district that treats burning/recording chip.Read verification step, for reading piecewise the burned image file for the treatment of burning/recording chip, and verify.
Below in conjunction with Fig. 1, Fig. 2, Fig. 3 and Fig. 4, describe concrete burned control flow and the method for the burned device of flash memory providing in preferred embodiment of the present invention, burned system and burned method in detail.
A kind of burned device of flash memory, burned system and burned method of can dragging eight Bluetooth chip is provided in the present embodiment.
The burned device of flash memory is connected with parallel port extended line by USB extended line with host computer, and by after burning/recording chip is connected with the chip link of the burned device of flash memory, system enters duty.
Step 1, system initialization step.
On all chip links of upper computer detection, whether there is flash chip or with the Bluetooth chip of flash memory, detect on the burned device of flash memory and connect and need after burning/recording chip, read piecewise on the one hand the size in the flash memory storage district that treats burning/recording chip, for this, treat burning/recording chip parsing or wrapper on the other hand and contain the image file of Bluetooth chip parameter, and whether the size that detects this flash memory storage district is greater than the size of image file, when the size in flash memory storage district is greater than image file big or small, judge that this treats that burning/recording chip is writable; Otherwise point out this to treat that burning/recording chip makes mistakes, this chip is not carried out to follow-up burning step.When all chips are all made mistakes, exit this burning flow process; When having at least one piece of chip writable, continue to carry out this burning flow process.Therefore, should be appreciated that in following steps and will only the writable burning/recording chip for the treatment of be operated.
In the present embodiment, in image file, except comprising Bluetooth chip parameter, also reserve the memory location of Bluetooth address and device name.In this memory location, can include in advance predetermined Bluetooth address and device name data, to can identify fast this memory location when resolving image file.Before follow-up burning Bluetooth address and device name, can be as required, treat that burning/recording chip produces separately new Bluetooth address and device name for every piece, then the Bluetooth address newly producing and device name are replaced to original data in image file.
Step 2, flash memory erase step.
This step, for sending the disposable flash memory storage district of wiping needed burning/recording chip of erase command one time, reaches the object of wiping fast.Idiographic flow is as follows:
Step 201, the P0~P7 end of host computer by parallel port put the chip selection signal of needed burning/recording chip for effectively, treats the chip selection signal input of the chip link of burning/recording chip as put, and protects by the full wafer that USB interface is removed needed burning/recording chip;
Step 202, host computer sends the instruction of wiping all flash memory storage district to needed burning/recording chip, after burning/recording chip receives this instruction, start to wipe;
Step 203, host computer checks whether the flash memory storage district that treats burning/recording chip wipes successfully piecewise, until the flash memory of the burning/recording chip that needs is all wiped successfully.
As identical in the flash memory storage district size of needing burning/recording chip, because of it, wipe and consuming timely all fix, as long as wherein a slice has been wiped successfully, can judge that other treats that burning/recording chip all wipes successfully; As flash memory storage, district is not of uniform size, waits for all chip erase successes.
Step 204, the chip selection signal of putting needed burning/recording chip is invalid, puts the full wafer protection of its chip for effectively, finishes to wipe flow process.
Step 3, image file burning step.
This step is burnt in needed burning/recording chip for the disposable valid data by the image file that comprises Bluetooth chip parameter, and to obtain in image file be Bluetooth address and the reserved memory location of device name.Its idiographic flow is as follows:
Step 301, the full wafer protection of removing the burning/recording chip that needs;
Step 302 is extracted frame data by frame sign from image file;
Step 303, check whether the data of extracting comprise Bluetooth address and device name, in this way, the memory location that definite this current frame data should write flash memory storage district is the memory location of Bluetooth address and device name, and retain this frame data, return to afterwards step 302; As no, jump procedure 304.Now also determine that current burning flow process does not need burning Bluetooth address and device name, thereby follow-uply will not perform step 4.
Step 304, checks whether current frame data is valid data;
In the present embodiment, when whole frame data are all predetermined number, when being all hexadecimal FF, think non-effective data.
If the data of being extracted are valid data, enter step 305, otherwise return to step 302, or extracted whole image files, process ends.
Step 305, puts the chip selection signal of needed burning/recording chip for effective;
Step 306, host computer sends and writes data command to needed burning/recording chip, and the valid data of extraction are written in needed burning/recording chip;
Step 307, in extracted valid data are written to burning/recording chip after, the chip selection signal of putting needed burning/recording chip is invalid;
Step 308, whether be the last frame of image file, perform step 309 in this way if detecting present frame, otherwise jump procedure 302;
Step 309, puts the full wafer protection of needed burning/recording chip effectively, finishes image file burning flow process.
The present embodiment is when image file burning, and host computer sends a burning instruction can carry out the burning of image file to needed burning/recording chip, reduced the consuming time of burning.Further, in the present embodiment, also the data of image file are carried out to validity check, improved burning efficiency.In addition, in image file for follow-up burned Bluetooth address and device name reserve can direct burned region, and can identify this reserved region when image file burning, making in Bluetooth address and device name burning step can direct burning, needn't like the prior art, need to again wipe and after the storage area of burning Bluetooth address and device name, carry out again burning, thereby reduce command operation number of times, reduce consuming timely, raise the efficiency.
Step 4, Bluetooth address and device name burning step.
This step is used to the chip for the treatment of burning to produce Bluetooth address and device name, and according to being Bluetooth address and the reserved memory location of device name in the image file obtaining, piecewise Bluetooth address and device name are burnt in the corresponding flash memory storage district that treats burning/recording chip.Its idiographic flow is:
Step 401, treat that burning/recording chip produces Bluetooth address and device name for every, and the Bluetooth address newly producing and device name are replaced to Bluetooth address and the device name in the frame data that retain in image file burning step, thereby treat an embedding of burning/recording chip generation for every a slice, there are new Bluetooth address and the frame data of device name;
In this step, for every a slice, treat that burning/recording chip produces separately Bluetooth address and device name, wherein every a slice treats that the Bluetooth address of burning/recording chip all has uniqueness.For guaranteeing the uniqueness of Bluetooth address, the present embodiment is to adopt Bluetooth address cumulative 1 method automatically.
Generally, the present embodiment is placed on Bluetooth address and device name in adjacent address area, and its space taking is fixed as 72 bytes; We are its reserved 256 bytes, the page size of a FLASH (flash memory) namely, because the each write operation of FLASH is all according to a page size, a frame sign is write, and when burned Bluetooth address and device name, as long as revise this 72 bytes the inside contents, become burned FLASH after a complete Frame with adjacent front and back data encapsulation.
Step 402, removes the full wafer protection that N sheet is treated burning/recording chip, and N is natural number;
Step 403, puts N sheet and treats that the chip selection signal of burning/recording chip is effectively;
Step 404, reads N sheet and treats corresponding new Bluetooth address and the frame data of device name of having embedded of burning/recording chip;
Step 405, host computer is exported chip selection signal to the burned device of chip by parallel port, puts N sheet and treats that the chip selection signal of burning/recording chip is that effectively it is invalid keeping other chip selection signal for the treatment of burning/recording chip;
Step 406, host computer sends and writes data command to the burned device of chip, the frame data that embedded new Bluetooth address and device name is write to N sheet and treat burning/recording chip;
Step 407, host computer is exported chip selection signal to the burned device of chip by parallel port, puts N sheet and treats that the chip selection signal of burning/recording chip is invalid, and it is invalid keeping other chip selection signal for the treatment of burning/recording chip;
Step 408, puts N sheet and treats that the full wafer protection of burning/recording chip is effectively;
Step 409, detects N+1 sheet and treats whether burning/recording chip needs burned Bluetooth address and device name, puts after N=N+1 in this way, jumps to step 402; As completed the Bluetooth address of needing burning/recording chip and the burning of device name, finish this Bluetooth address and device name burning flow process.
In the present embodiment because the data content of the burned Bluetooth address of reality and device name itself is fewer, be less than a page size (256bytes), and during because of burning image file, reserved the space of burning Bluetooth address and device name, thereby saved the step of again wiping, even therefore burning piecewise herein, the consuming time of whole burning process is also less than 100 milliseconds.Meanwhile, this burning that completes image file and Bluetooth address and device name in a burning flow process of the present invention, from solve in essence the burned device burning of existing chip Bluetooth chip time, because of the problem of the communication that causes without Bluetooth address can not starting shooting after burning.Automatically produce Bluetooth address and also make the robotization that more becomes of burning control procedure.
Step 5, reads verification step.
This step is used for reading piecewise the burned image file for the treatment of burning/recording chip, and verifies.
Consider the singularity of image file structure, the present embodiment reads every partial data in the flash memory storage district that treats burning/recording chip and carries out verification.In a kind of most preferred embodiment, the MTU that reads to read in verification step (MTU) is a SECTOR (district), before reading in flash memory storage district, 12K data are carried out verification, every is read frame number and is divided into 3 frames and can runs through, if 8 chips to be verified all will be verified, as long as also read 96K data, verify, whole process can complete for approximately 2 seconds.Therefore realized the checking of high-level efficiency pin-point accuracy.Certainly, those skilled in the art also can adjust this partial data according to actual needs, as read front 4 frame data, or read the wherein critical data of certain part.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, be equal to replacement etc., within all should being included in protection scope of the present invention.

Claims (11)

1. the burned device of flash memory can carry out burning to the flash memory of many pieces of Bluetooth chips simultaneously, it is characterized in that: comprise that parallel port input end, USB interface, USB turn SPI unit and a plurality of chip link;
Described parallel port input end is for by a plurality of chip selection signals---corresponding each chip link that exports to;
Described USB interface provides the transmission channel of reading data signal and write data signal;
Described USB turns SPI unit for the processing that reads and writes data, realize the communication between usb bus and SPI interface, when it is effective at chip selection signal, export the write data signal from USB interface to each chip link, export the reading data signal from the corresponding chip link of effective chip selection signal to described USB interface;
Described chip link has the Bluetooth chip of onboard flash memory module for connection encapsulation, or is hung on the flash chip of Bluetooth chip outside outward.
2. the burned device of flash memory as claimed in claim 1, it is characterized in that: also comprise the driving enhancement unit for the output of two-way stable level, its input end turns SPI unit with described USB respectively and is connected to input write data signal, clock signal and chip selection signal with parallel port input end, its output terminal is connected with each chip link respectively, with write data signal, clock signal and the chip selection signal of stable output level.
3. the burned device of flash memory as claimed in claim 2, it is characterized in that: described chip link is burning probe, on it, be provided with chip selection signal end, reading data signal end, write data signal end and clock signal terminal, during burning described in burning probe each signal end and treat that the corresponding signal end contact of burning/recording chip connects.
4. the burned device of flash memory as claimed in claim 1 or 2, is characterized in that: described parallel port input end is parallel port socket, selects wherein identical with described chip link quantity stitch as chip selection signal input end.
5. the burned device of flash memory as claimed in claim 4, it is characterized in that: the burned device of described flash memory is to drag eight the burned device of Bluetooth chip flash memory, described chip link has 8, and the male that described parallel port socket is parallel port selects its 8 data lines stitch as eight chip selection signal input ends.
6. the burned system of flash memory, is characterized in that: comprise host computer and the burned device of flash memory as claimed in claim 1,
Described host computer has the USB link that can be connected with the USB interface of the burned device of described flash memory, with the parallel port link that can be connected with the parallel port input end of the burned device of described flash memory;
In described host computer, be also provided with that mirror image processing module, protocol process module, USB turn SPI driver module, parallel port drives interface and human-computer interaction module;
The burned instruction of flash memory that described human-computer interaction module is inputted for receiving outside, and show burned result;
Described mirror image processing module for resolve or wrapper containing the image file of Bluetooth chip parameter, obtaining in image file be Bluetooth address and the reserved memory location of device name, and for treating chip generation Bluetooth address and the device name of burning;
Described protocol process module is the burned instruction of flash memory from human-computer interaction module for basis, loading is from image file and Bluetooth address and the device name of mirror image processing module, by described USB, turn SPI driver module and parallel port driving interface and the burned device of flash memory and carry out data interaction, thereby obtain the information for the treatment of burning/recording chip on the burned device of flash memory, treating burning/recording chip execution wipes, the operation of burning, valid data in image file are burnt in the flash memory storage district that treats burning/recording chip, and according to being Bluetooth address and the reserved memory location of device name in the image file obtaining, Bluetooth address and device name are burnt in flash memory storage district.
7. one kind based on the burned device of flash memory or the as claimed in claim 6 burned method of flash memory of the burned system of flash memory as claimed in claim 1, can to the flash memory of many pieces of Bluetooth chips, carry out burning simultaneously, described flash memory is the flash memory module that is encapsulated in Bluetooth chip inside, or the outer flash chip that is hung on Bluetooth chip outside, it is characterized in that: comprising:
System initialization step, for detection of the burning/recording chip for the treatment of connecting on the burned device of flash memory, for treating that burning/recording chip parsing or wrapper are containing the image file of Bluetooth chip parameter;
Flash memory erase step, for disposable flash memory storage district of wiping needed burning/recording chip;
Image file burning step, is burnt in needed burning/recording chip for the disposable valid data by the image file that comprises Bluetooth chip parameter, and obtains in image file as Bluetooth address and the reserved memory location of device name;
Bluetooth address and device name burning step, be used to the chip for the treatment of burning to produce Bluetooth address and device name, and according to being Bluetooth address and the reserved memory location of device name in the image file obtaining, piecewise Bluetooth address and device name are burnt in the corresponding flash memory storage district that treats burning/recording chip.
8. the burned method of flash memory as claimed in claim 7, is characterized in that: to needed burning/recording chip is disposable, wipe or during burning, host computer sends sheet by its parallel port to the burning/recording chip that needs on the burned device of flash memory and selects useful signal; Burning piecewise or while reading to verify, host computer by its parallel port to treating that burning/recording chip sends piecewise sheet and selects useful signal on the burned device of flash memory.
9. whether the burned method of flash memory as claimed in claim 8, is characterized in that: in described flash memory erase step, after sending the instruction of wiping full wafer flash memory, then check and wipe successfully piecewise, until the burning/recording chip that needs is all wiped successfully.
10. the burned method of flash memory as claimed in claim 8, it is characterized in that: in described image file burning step, from image file, by frame sign, extract data and detect wherein whether comprise Bluetooth address and device name, in this way, the memory location that definite this current frame data should write flash memory storage district is the memory location of Bluetooth address and device name, and retains this frame data;
In described Bluetooth address and device name burning step, for every a slice, treat burning/recording chip and produce separately Bluetooth address and device name, the Bluetooth address of generation and device name are replaced after the Bluetooth address and device name in the frame data that retain, and it is Bluetooth address and the reserved memory location of device name that the frame data after replacing are written in the flash memory storage district that treats burning/recording chip.
11. burned methods of flash memory as claimed in claim 8, is characterized in that: also comprise and read verification step, for reading piecewise the burned image file for the treatment of burning/recording chip, and verify; While wherein reading image file, read every partial data in the flash memory storage district that treats burning/recording chip and carry out verification.
CN201410466816.3A 2014-09-13 2014-09-13 The burned device of flash memory, burned system and burned method Active CN104200843B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410466816.3A CN104200843B (en) 2014-09-13 2014-09-13 The burned device of flash memory, burned system and burned method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410466816.3A CN104200843B (en) 2014-09-13 2014-09-13 The burned device of flash memory, burned system and burned method

Publications (2)

Publication Number Publication Date
CN104200843A true CN104200843A (en) 2014-12-10
CN104200843B CN104200843B (en) 2018-01-30

Family

ID=52086119

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410466816.3A Active CN104200843B (en) 2014-09-13 2014-09-13 The burned device of flash memory, burned system and burned method

Country Status (1)

Country Link
CN (1) CN104200843B (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104750643A (en) * 2015-04-03 2015-07-01 福州瑞芯微电子有限公司 USB (Universal Serial Bus) topology-based firmware burning method and device
CN105893296A (en) * 2016-05-06 2016-08-24 Tcl移动通信科技(宁波)有限公司 Data information transmission device and method thereof
CN107203391A (en) * 2016-03-17 2017-09-26 日本电气株式会社 Firmware activation equipment and firmware Activiation method
CN107329779A (en) * 2017-06-13 2017-11-07 芯海科技(深圳)股份有限公司 A kind of method for burn-recording that configuration data is stored by recordable paper
CN107643902A (en) * 2017-09-20 2018-01-30 安徽皖通邮电股份有限公司 A kind of memory burner
CN107704261A (en) * 2017-11-24 2018-02-16 广东乐心医疗电子股份有限公司 Software burning system and software burning method
CN108447525A (en) * 2018-03-27 2018-08-24 江苏卡欧万泓电子有限公司 A kind of EEPROM writes the reliable detection method of number
CN109245832A (en) * 2018-09-29 2019-01-18 上海与德科技有限公司 Test method, system and the test equipment of bluetooth mould group
CN110381176A (en) * 2019-07-10 2019-10-25 中山优感科技有限公司 A kind of bluetooth title naming method and device for producing bluetooth equipment in batches
WO2020000947A1 (en) * 2018-06-29 2020-01-02 郑州云海信息技术有限公司 Method, apparatus, and device for refreshing encapsulated bios data
WO2020087401A1 (en) * 2018-10-31 2020-05-07 华北电力大学扬中智能电气研究中心 Program writing device, system and method
CN111782288A (en) * 2020-06-30 2020-10-16 联想(北京)有限公司 Electronic device and control method thereof
CN114203245A (en) * 2022-02-18 2022-03-18 深圳市芯茂微电子有限公司 eFuse control method and related assembly
WO2022143412A1 (en) * 2020-12-30 2022-07-07 欧普照明股份有限公司 Bluetooth burning method, bluetooth burning apparatus, and bluetooth burning system
CN115827032A (en) * 2022-12-12 2023-03-21 深微光电科技(深圳)有限公司 Memory burning method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101064192A (en) * 2007-06-15 2007-10-31 华为技术有限公司 System and method for accessing not-and flash memory
CN101751364A (en) * 2010-01-25 2010-06-23 成都优博创技术有限公司 Firmware ISP writer and writing method for SPI bus interface
CN102184741A (en) * 2011-02-28 2011-09-14 浪潮电子信息产业股份有限公司 Method for programming serial periphery interface (SPI) FLASH
CN203311856U (en) * 2013-07-04 2013-11-27 青岛海信宽带多媒体技术有限公司 Parallel burner circuit and burner
CN204155612U (en) * 2014-09-13 2015-02-11 无锡中星微电子有限公司 The burned device of flash memory and burned system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101064192A (en) * 2007-06-15 2007-10-31 华为技术有限公司 System and method for accessing not-and flash memory
CN101751364A (en) * 2010-01-25 2010-06-23 成都优博创技术有限公司 Firmware ISP writer and writing method for SPI bus interface
CN102184741A (en) * 2011-02-28 2011-09-14 浪潮电子信息产业股份有限公司 Method for programming serial periphery interface (SPI) FLASH
CN203311856U (en) * 2013-07-04 2013-11-27 青岛海信宽带多媒体技术有限公司 Parallel burner circuit and burner
CN204155612U (en) * 2014-09-13 2015-02-11 无锡中星微电子有限公司 The burned device of flash memory and burned system

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104750643A (en) * 2015-04-03 2015-07-01 福州瑞芯微电子有限公司 USB (Universal Serial Bus) topology-based firmware burning method and device
CN107203391A (en) * 2016-03-17 2017-09-26 日本电气株式会社 Firmware activation equipment and firmware Activiation method
CN105893296B (en) * 2016-05-06 2019-07-09 Tcl移动通信科技(宁波)有限公司 A kind of transmitting device and its method of data information
CN105893296A (en) * 2016-05-06 2016-08-24 Tcl移动通信科技(宁波)有限公司 Data information transmission device and method thereof
CN107329779A (en) * 2017-06-13 2017-11-07 芯海科技(深圳)股份有限公司 A kind of method for burn-recording that configuration data is stored by recordable paper
CN107643902A (en) * 2017-09-20 2018-01-30 安徽皖通邮电股份有限公司 A kind of memory burner
CN107704261A (en) * 2017-11-24 2018-02-16 广东乐心医疗电子股份有限公司 Software burning system and software burning method
CN108447525A (en) * 2018-03-27 2018-08-24 江苏卡欧万泓电子有限公司 A kind of EEPROM writes the reliable detection method of number
WO2020000947A1 (en) * 2018-06-29 2020-01-02 郑州云海信息技术有限公司 Method, apparatus, and device for refreshing encapsulated bios data
CN109245832A (en) * 2018-09-29 2019-01-18 上海与德科技有限公司 Test method, system and the test equipment of bluetooth mould group
WO2020087401A1 (en) * 2018-10-31 2020-05-07 华北电力大学扬中智能电气研究中心 Program writing device, system and method
CN110381176A (en) * 2019-07-10 2019-10-25 中山优感科技有限公司 A kind of bluetooth title naming method and device for producing bluetooth equipment in batches
CN111782288A (en) * 2020-06-30 2020-10-16 联想(北京)有限公司 Electronic device and control method thereof
WO2022143412A1 (en) * 2020-12-30 2022-07-07 欧普照明股份有限公司 Bluetooth burning method, bluetooth burning apparatus, and bluetooth burning system
CN114203245A (en) * 2022-02-18 2022-03-18 深圳市芯茂微电子有限公司 eFuse control method and related assembly
CN115827032A (en) * 2022-12-12 2023-03-21 深微光电科技(深圳)有限公司 Memory burning method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN104200843B (en) 2018-01-30

Similar Documents

Publication Publication Date Title
CN104200843A (en) Flash memory burner, burning system and burning method
CN102999350B (en) A kind of FPGA program upgrading download online method in digital signal processing platform
CN102819442B (en) A kind of method and system of embedded device program burn writing
CN105590072A (en) Method for achieving automatic burning of embedded system
JP5351130B2 (en) System and method for operating mixed types of memory devices
CN106951289A (en) A kind of online upgrading method, dsp controller and upgrade-system
CN110032520A (en) System boot code memory management method, memory device and its manufacturing method
CN100454257C (en) Embedded system
CN105718281A (en) Touch screen firmware upgrading method and device
US9176865B2 (en) Data writing method, memory controller, and memory storage device
CN102360302A (en) On-line upgrading method and device of configuration file of field-programmable gate array (FPGA)
CN109542478A (en) A kind of system and method updating FPGA program in SPI Flash
CN101567217A (en) Flash memory safely writing method and data writing method
CN103838585A (en) Method for achieving automatic recording of ARM9 embedded system based on SD card
CN204155612U (en) The burned device of flash memory and burned system
CN112000351B (en) Updating method, updating device, updating equipment and storage medium of BMC (baseboard management controller) firmware
CN102446141B (en) Device and method for realizing write protection control
CN105760191A (en) Embedded system equipment programming mass production method
CN104077166A (en) EPCS and EPCQ storer online upgrading method based on IP core in FPGA
CN109460240A (en) A kind of firmware programming component and firmware programming method, system and storage medium
CN105653330A (en) SD card based NorFlash programming system and method
US20040049617A1 (en) Method of firmware update by USB interface
CN112992231A (en) Data storage device and parameter rewriting method
US10191533B2 (en) Method of enabling sleep mode, memory control circuit unit and storage apparatus
CN112925569A (en) Firmware data processing method, device, equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: A 530 Taihu international science and Technology Park building 214135 Qingyuan Road in Jiangsu province Wuxi City District 10 layer

Applicant after: WUXI ZHONGGAN MICROELECTRONIC CO., LTD.

Address before: A 530 Taihu international science and Technology Park building 214135 Qingyuan Road in Jiangsu province Wuxi City District 10 layer

Applicant before: Wuxi Vimicro Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant