CN113326051A - Chip serial number burning device and method - Google Patents

Chip serial number burning device and method Download PDF

Info

Publication number
CN113326051A
CN113326051A CN202110628212.4A CN202110628212A CN113326051A CN 113326051 A CN113326051 A CN 113326051A CN 202110628212 A CN202110628212 A CN 202110628212A CN 113326051 A CN113326051 A CN 113326051A
Authority
CN
China
Prior art keywords
serial number
burning
chip
number generator
data
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
CN202110628212.4A
Other languages
Chinese (zh)
Other versions
CN113326051B (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.)
Shenzhen Angke Technology Co ltd
Original Assignee
Shenzhen Angke Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Angke Technology Co ltd filed Critical Shenzhen Angke Technology Co ltd
Priority to CN202110628212.4A priority Critical patent/CN113326051B/en
Publication of CN113326051A publication Critical patent/CN113326051A/en
Application granted granted Critical
Publication of CN113326051B publication Critical patent/CN113326051B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation

Abstract

The invention relates to a chip serial number burning device and a method, wherein a chip driving module sends serial number request information to a serial number generator when carrying out chip burning action; the serial number generator receives the serial number request information and sends serial number record group generation information to a specified serial number generator; the appointed serial number generator receives the serial number record group generation information, generates a serial number record group and returns the serial number record group to the serial number generator; the serial number generator reads a current serial number from the serial number record group and sends the current serial number to the data processing module; and the data processing module puts the current serial number into a burning data stream, so that the chip driving module writes the burning data stream into a chip. The chip serial number burning device and the method have better compatibility and higher flexibility.

Description

Chip serial number burning device and method
Technical Field
The present application relates to the field of chip burning technologies, and in particular, to a chip serial number burning apparatus and method.
Background
The Serial Number is a data area different from other chips on a certain chip in a batch of chips, for example, the total data capacity of a certain chip is 1Mbytes, and the record burned by a client is 512Kbytes, but the client wants that the former 16 bytes are different for each chip in the burning process and change according to a rule, for example, each chip increases by 1 in a stepping manner, the first is 0x01, the second is 0x02, and so on, the data of the position where each chip changes is generally called a Serial Number (Serial Number) and is marked as SN. For the burning of serial numbers in chip burning data, the burning of the whole data is generally completed independently, but programming equipment (or burning equipment) usually supports a plurality of chips of different manufacturers and different models, serial number generation rules of each client are different, a universal mode is needed to be compatible with various generation rules, the method is suitable for the burning conditions of various chips, the writing operation of some chips is OTP operation, namely, the chips can be written only once, if other non-client expected values are written in a serial number placement area before, the follow-up writing operation is failed again, and the problem that the compatibility of the traditional serial number burning scheme is poor can be seen.
Disclosure of Invention
Therefore, it is necessary to provide a device and a method for burning chip serial numbers with good compatibility and high flexibility.
One aspect of the present application provides a chip serial number burning apparatus, including: the device comprises a serial number generator, a plurality of serial number generators, a chip driving module and a data processing module, wherein the chip driving module and the data processing module are arranged on the burning equipment;
when the chip driving module carries out chip burning action, sending serial number request information to the serial number generator; the serial number generator receives the serial number request information and sends serial number record group generation information to a specified serial number generator; wherein the designated serial number generator is a serial number generator selected by a user; the appointed serial number generator receives the serial number record group generation information, generates a serial number record group and returns the serial number record group to the serial number generator; the serial number generator reads a current serial number from the serial number record group and sends the current serial number to the data processing module; and the data processing module puts the current serial number into a burning data stream, so that the chip driving module writes the burning data stream into a chip.
In one embodiment, after receiving the information that the data fed back by the chip is successfully written in, the chip driving module reads the current data on the chip, compares the current data with the burning data stream, and sends serial number completion information to the serial number generator if the current data is consistent with the burning data stream; and/or the serial number generator releases the appointed serial number generator after receiving serial number completion information of all chips to be burned in the current batch.
In one embodiment, the chip driving module acquires a first data range of initial burning data and sends the first data range to the data processing module; the data processing module obtains a second data range of the current serial number, identifies an intersection part between the first data range and the second data range, and merges serial number data of the intersection part into the initial burning data to obtain a burning data stream.
In one embodiment, the set of sequence number records comprises an array of sets of record sequence numbers.
In one embodiment, the serial number generator allocates and initializes the serial number generator after the chip driver module receives the burning request, so that the designated serial number generator is initialized.
Specifically, the specified serial number generator initializes the present generator to receive a configuration file; displaying a setting interface, and reading sequence parameters set by a user in an interactive interface mode; and reading the setting completion information input by the user through the interactive interface, recovering initialization, closing the interactive interface, and generating a sequence number group according to the configuration file and the sequence parameters.
Specifically, after the designated sequence number generator acquires the burning information setting instruction, the SNCreateWindow interface, the SNShowWindow interface, the SNInitCtrlValue interface, the SNGetCtrlValue interface and the SNDestroWindow interface are called in sequence, and the SNPreload interface is called; the SNCreateWindow interface is used for requesting a sequence number generator to create a window for a client to set information, the SNShowWindow interface is used for requesting the sequence number generator to display the created window, the SNInitCtrlrsValue interface is used for requesting the sequence number generator to set an initial value of a control on the window, the SNGetCtrlrsValue interface is used for requesting the sequence number generator to return the final setting of the client, the SNDestroyWindow interface is used for requesting the sequence number generator to destroy the created window, the SNPreLoad interface is used for requesting the sequence number generator to preload, and the preload allowing generator can perform initialization preparation of a sequence number generation environment according to the setting; the specified serial number generator also calls an SNQuery interface and an SNTellResult interface in sequence, and returns to execute the process of calling the SNQuery interface when the serial number is required to be acquired in the current burning cycle until the serial number is not required to be acquired in the current burning cycle; the SNQuery interface is used for requesting the serial number generator to return serial number data, wherein the serial number data comprises a plurality of serial number records, and one serial number record comprises a chip address input by a user, the number of bytes occupied by the serial number and content; the SNTellResult interface is used for informing the serial number generator of the burning result of the serial number.
Specifically, the serial number generator calls the SNUnLoad interface after the serial number is not required to be acquired in the current burning cycle; and the SNUnLoad interface informs the generator of recovering resources, and other interfaces are not called any more.
In another aspect, the present application provides a method for burning a chip serial number, including:
when the burning equipment carries out chip burning action, serial number request information is sent to the serial number determining equipment;
the serial number generator receives the serial number request information and sends serial number record group generation information to a specified serial number generator; wherein the designated serial number generator is a serial number generator selected by a user;
the appointed serial number generator receives the serial number record group generation information, generates a serial number record group and returns the serial number record group to the serial number generator;
the serial number generator reads a current serial number from the serial number record group and sends the current serial number to the data processing module;
and the burning equipment puts the current serial number into a burning data stream, so that the chip driving module writes the burning data stream into a chip.
In one embodiment, the method for burning the serial number of the chip further includes:
after receiving the information that the data fed back by the chip is successfully written in, the burning equipment reads the current data on the chip, compares the current data with the burning data stream, and sends serial number completion information to the serial number generator if the current data is consistent with the burning data stream;
and/or the presence of a gas in the gas,
and after the serial number generator receives serial number completion information of all chips to be burned in the current batch, releasing the specified serial number generator.
According to the chip serial number burning device and the chip serial number burning method, the combination mode of the serial number generator and the serial number generator is sampled, the serial number generation rule is constrained into the serial number generator, the influence of continuous change of the serial number generation rule on the burning process of burning equipment is avoided, the data processing module is additionally arranged in the chip burning and serial number generator, the serial number is merged into the burning data stream, the influence on the driving processing process due to position difference or chip difference of the serial number is avoided, the problem that compatibility influence on a chip burning equipment system caused by different serial number generation rules of different users is solved, meanwhile, the serial number burning differentiation processing of chip driving is shielded, the flexibility is high, and the chip serial number burning device and the method can be suitable for various user requirements.
Drawings
The above and other objects, features and advantages of exemplary embodiments of the present disclosure will become readily apparent from the following detailed description read in conjunction with the accompanying drawings. Several embodiments of the present disclosure are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which like reference numerals refer to similar or corresponding parts and in which:
FIG. 1 is a schematic diagram of a chip serial number burning apparatus according to an embodiment;
FIG. 2 is a schematic diagram of an embodiment of a device for burning serial numbers of chips;
FIG. 3 is a timing diagram illustrating the operation of the apparatus for burning serial numbers of chips according to an embodiment;
FIG. 4 is a diagram of various merge scenarios in one embodiment;
FIG. 5 is a flow diagram of interface calls of a sequence number generator in one embodiment;
FIG. 6 is a flow diagram illustrating interface method calls, according to an embodiment.
Detailed Description
The technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are some, but not all embodiments of the present disclosure. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
Specific embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.
As shown in fig. 1, a first aspect of the present application provides a chip serial number burning apparatus, including: a serial number generator 102, a plurality of serial number generators (such as serial number generator 1103, serial number generator 2104, and serial number generator N105 shown in fig. 1), and a chip driver module 107 data processing module 108 disposed in the burning device 101;
when the chip driving module 107 performs a chip burning operation, it sends a serial number request message to the serial number generator 102;
the serial number generator 102 receives the serial number request information and sends serial number record group generation information to a designated serial number generator; wherein the designated serial number generator is a serial number generator selected by a user;
the specified sequence number generator receives the sequence number record group generation information, generates a sequence number record group, and returns the sequence number record group to the sequence number generator 102;
the serial number generator 102 reads the current serial number from the serial number record group and sends the current serial number to the data processing module 107;
the data processing module 107 puts the current serial number into a burning data stream, so that the chip driving module writes the burning data stream into the chip 106.
One serial number generator among the multiple serial number generators realizes a serial number generation rule, if a newly added serial number generation rule exists, one serial number generator is realized again, and when the serial number generator 102 receives the serial number request information, the serial number generator selected by a user (such as an operator) according to actual requirements can be read through an interactive interface and the like so as to determine the designated serial number generator. The serial number generator 02 and the serial number generator are logically partitioned with respect to the chip driver module 107 and the data processing module 108, and may be independently configured with a physical file (for example, the serial number generator 02 and the serial number generator are configured on a serial number determination device independent from the burning device 101), or may be integrated into a physical file (for example, the serial number generator 02 and the serial number generator are configured on the burning device 101), which is not limited herein. The interface provided by the serial number generator at least has three functions of Init (generator), QuerySN (request serial number) and DeInit (cleaning generator), and other interfaces can be realized without providing necessary realization according to the situation and can be expanded by more interfaces according to the needs; the storage method of the column number record group and/or the sequence number generated by the device is not limited to the use of an array, and other data structures such as a linked list may be used.
Specifically, as shown in fig. 2, the chip driving module 107 reads or writes data from or to the data processing module 108 through 111, and reads or writes data from or to the chip 106 through 112. The serial number generator 102 is a software program module independent from the burning device 101, and is responsible for providing the chip location where the serial number expected by the client is written, the occupied byte number and the content to the data processing module 108, the data processing module 108 merges the serial number data into the whole burning data stream and transmits the serial number data to the chip driving module 107, and the chip driving module 107 does not need to know the location of the serial number in the burning data stream, and directly writes the data into the chip according to the communication protocol provided by the chip manual. The serial number generator and the serial number generators 1-N have agreed on an interface, each serial number generator (such as the serial number generator 1103, the serial number generator 2104, and the serial number generator N105 shown in fig. 1) needs to provide consistent serial number data output information to the serial number generator according to the agreed interface definition, one serial number generator implements one serial number generation rule, and if there is a new serial number generation rule, one serial number generator is implemented again. 109 denotes a call specification between the sequence number generator and the sequence number generator.
The chip serial number burning device provided by the embodiment is used for restraining the serial number generation rule into the serial number generator by adopting a combination mode of the serial number generator and the serial number generator, so that the influence of the continuous change of the serial number generation rule on the burning process of the burning equipment is avoided, a data processing module is additionally arranged in the chip burning and serial number generator, the serial number is merged into the burning data stream, the influence on the driving processing process due to the position difference or chip difference of the serial number is avoided, the problem that the compatibility influence on the chip burning equipment system caused by different users on the different serial number generation rules is solved, meanwhile, the chip driving is shielded to the serial number burning differentiation processing, the flexibility is high, and the chip serial number burning device can be suitable.
In one embodiment, after receiving the information that the data fed back by the chip is successfully written in, the chip driving module reads the current data on the chip, compares the current data with the burning data stream, and sends serial number completion information to the serial number generator if the current data is consistent with the burning data stream; and/or the serial number generator releases the appointed serial number generator after receiving serial number completion information of all chips to be burned in the current batch.
In this embodiment, after all chips to be burned in the current batch are burned, the serial number generator may clean the corresponding designated serial number generator (DeInit), and finally, the generator is cleaned, the resource is released, and the generator is called as equivalent to the Init.
Specifically, referring to the timing chart shown in fig. 3, the working process of the chip serial number burning apparatus includes:
1. a chip driving module in the burning setting receives a burning request sent by a chip;
2. the sequence number generator assigns and initializes the sequence number generator (fig. 3 specifically assigns sequence number generator N);
3. a chip driving module in the burning setting sends serial number request information to a serial number generator to request to generate a serial number;
4. the serial number generator receives the serial number request information and sends serial number record group generation information to a serial number generator N;
6. the serial number generator N receives the serial number record group generation information, generates a serial number record group and returns the serial number record group to the serial number generator;
5. the serial number generator reads the current serial number from the serial number record group and sends the current serial number to the data processing module;
7. the data processing module puts the current serial number into a burning data stream;
8. the chip driving module writes the burning data stream into the chip;
9. the chip informs whether the data writing is successful or not;
10. the chip driving module reads data in the chip;
12. the chip driving module compares the read data with an original data stream (a burning data stream);
13. the chip driving module reports the result according to the comparison result; after judging that the serial number is successfully written into the chip, sending serial number completion information to a serial number generator;
14. after all chips to be burned in the current batch are burned, the serial number generator releases the designated serial number generator (i.e., the serial number generator N shown in fig. 3).
Specifically, the sequence number record group includes an array of multiple sets of record sequence numbers.
In this embodiment, when the serial number generator requests the serial number generator to generate a serial number record group, one serial number record includes a chip address to which the client desires the serial number to be written, the number of bytes occupied by the serial number and the content, and the serial number record group is an array including a plurality of groups of serial number records. This can satisfy the requirement that a chip may want to have data in multiple places as serial numbers.
Before requesting serial number groups, the serial number generator needs to call the allocation and initialization method provided by the generator to initialize the serial number generator after a corresponding user (such as an external client) selects a specified generator, and a specified configuration file is allowed to be transmitted to the serial number generator for informing the initialization parameter during initialization. When the serial number generator is not used any more at last, the corresponding interface is called to release the serial number generator. In order to prevent data writing errors, after the data writing of the chip is successful, the data is read back from the chip and compared with the original data stream to determine that the data is correctly written into the chip.
In one embodiment, the chip driving module acquires a first data range of initial burning data and sends the first data range to the data processing module; the data processing module obtains a second data range of the current serial number, identifies an intersection part between the first data range and the second data range, and merges serial number data of the intersection part into the initial burning data to obtain a burning data stream.
The embodiment can realize the combination of the current serial number and the corresponding initial data stream to obtain the accurate and complete burning data stream. Specifically, the process of merging the sequence number data carried by the current sequence number into the corresponding burning data stream may be as follows:
1. when the chip driving module obtains the burning data (initial burning data), the chip driving module takes the starting position (StartAddress) and the Length (Length) to determine a first data range;
2. the data processing module judges whether the first data range [ StartAddress, StartAddress + Length-1] of the request is sequence number data when acquiring the request of the chip driving module, wherein "[ ] represents a closed interval, for example, the Length of 10 bytes from 0 StartAddress is represented as [0,9 ]. Assuming that the sequence number data is in the range of [ SNStartAddress, SNStartAddress + SNLength-1], wherein SNStartAddress is the starting position of the sequence number data, and SNLength is the length, if two intervals have an intersection, the sequence number data of the intersection part is merged into the returned request data, and the data of the non-intersection part in the request data range is derived from the original archive data.
In one example, assume that the drive now requests to read [0,9] data, the primitive values are 0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A, and the sequence number data valid range is four bytes starting from address 0, the values are 0x12,0x34,0x56,0x78. Then after merging, the drive will get 10 bytes of data 0x12,0x34,0x56,0x78,0x05,0x06,0x07,0x08,0x09,0x0A, where the beginning of 0x indicates that the value is 16-ary data. If the sequence number valid range is four bytes from address 8, with values of 0x12,0x34,0x56,0x78, then 0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x12,0x34 will result from the merge drive. The following describes various cases of the merging:
case 1: (SNStartAddress + SNLength-1) < StartAddress with no intersection, without merging, as shown in FIG. 4 (a).
Case 2 (StartAddress + Length-1) < SNStartAddress, without intersection, without merging, as shown in FIG. 4 (b).
Case 3: SNStartAddress < StartAddress
And (SNStartAddress + SNLength-1) > (StartAddress + Length-1). The sequence number data is located in StartAddreress, StartAddreress + Length-1, as shown in FIG. 4(c), where the shaded data is merged.
Case 4: SNStartAddress < StartAddress
And (SNStartAddress + SNLength-1) < (StartAddress + Length-1).
Data where the sequence number is [ StartAddreress, SNStartAddreress + SNLength-1] are merged as shown in FIG. 4(d), where the shaded data are merged.
Case 5: SNStartAddress > StartAddress
And (SNStartAddress + SNLength-1) > StartAddress + Length-1. Data where the sequence number is [ SNStartAddress, StartAddress + Length-1] are merged as shown in FIG. 4(e), where the shaded data are merged.
In one embodiment, the serial number generator allocates and initializes the serial number generator after the chip driver module receives the burning request, so that the specified serial number generator is initialized.
For one embodiment, the specified sequence number generator initializes the present generator to receive a configuration file; displaying a setting interface, and reading sequence parameters set by a user in an interactive interface mode; and reading the setting completion information input by the user through the interactive interface, recovering initialization, closing the interactive interface, and generating a sequence number group according to the configuration file and the sequence parameters.
In an example, in the chip serial number burning process, an interface call flow of each serial number generator including a designated serial number generator may be as shown in fig. 5, where the interface method provided by the serial number generator includes:
1. an initialization generator (Init) allowing the transfer of a configuration file containing the creation information.
2. And displaying a setting interface (ShowDialog) to allow the generator to carry out parameter setting by an operator in the form of interface interaction.
3. The settings are determined (DoOK) and the method is called after the operator settings are completed.
4. The reset initialization (DoReset) is performed, and the operator performs reset setting initialization.
5. Close the set up interface (CloseDialog), close the interactive interface.
6. Requesting a serial number (QuerySN), generating a serial number group by a request generator, transmitting a current chip burning number, the UID of the chip and a customer self-defined CID. The burning number starts from 1 and is accumulated by 1 each time. The UID of the chip is the identity card of each chip, the chip manufacturer is solidified in the outgoing chip, and the chips with the same model and batch are different. The CID is a customer-defined id (custom id), such as a two-dimensional code on the PCBA board, and in order to track board information, different two-dimensional codes exist on different boards, and the two-dimensional code participates in serial number generation calculation, which binds a chip and the PCBA board.
7. Cleaning a generator (DeInit), finally cleaning the generator, releasing resources, and calling with the Init in a peer-to-peer manner.
In this example, the corresponding interface is implemented in a dynamic library manner, which facilitates dynamic loading of the burning software, and the serial number generator works independently of the burning software, and can work normally when any chip or a plurality of chips are burned simultaneously. The sequence number generator has a lock function to ensure data integrity during concurrent access. The specific burning position and length of the serial number data are configured through an interface, and the customer determines the burning position and length of the serial number data according to the actual burning situation of the customer, and if a plurality of chips are burned at the same time, the burning position and length of the serial number data expected by the chips which are burned at the same time are the same.
As an embodiment, after the specified sequence number generator obtains the burning information setting instruction, sequentially calling an SNCreateWindow interface, an SNShowWindow interface, an sninitctrl value interface, an sngetctrl value interface and an SNDestroyWindow interface, and calling an SNPreLoad interface; the SNCreateWindow interface is used for requesting the serial number generator to create a window for a client to set information, and the window comprises serial number burning addresses, length, group number, initialization file selection and the like; the SNShowWindow interface is used for requesting the sequence number generator to display the created window; the SNInitCtrlValue interface is used for requesting the sequence number generator to set the initial value of the control on the window; the SNGetCtrlValue interface is used for requesting the sequence number generator to return the final setting of the client; the SNDestroyWindow interface is used for requesting the serial number generator to destroy the created window; the SNPreload interface is used for requesting the serial number generator to be preloaded, and the preloading permission generator can carry out initialization preparation of a serial number generation environment according to setting, including resource allocation, initialization of corresponding variables and the like;
the specified serial number generator also calls an SNQuery interface and an SNTellResult interface in sequence, and returns to execute the process of calling the SNQuery interface when the serial number is required to be acquired in the current burning cycle until the serial number is not required to be acquired in the current burning cycle; the SNQuery interface is used for requesting the serial number generator to return serial number data, wherein the serial number data comprises a plurality of serial number records, and one serial number record comprises a chip address input by a user, the number of bytes occupied by the serial number and content; the SNTellResult interface is used for informing the serial number generator of the burning result of the serial number.
Specifically, the serial number generator calls the SNUnLoad interface after the serial number is not required to be acquired in the current burning cycle; and the SNUnLoad interface informs the generator of recovering resources, and other interfaces are not called any more.
The interface method call flow provided in this embodiment may refer to fig. 6, where the interface convention provided by the serial number generator to the serial number generator includes initialization (SNPreLoad) and release (SNUnLoad), which allows the same generator to generate different outputs under different configuration files (the interface displayed by SNShowWindow allows a client to set), and may allow one call to obtain multiple groups of serial numbers to be burned into the same chip.
Another aspect of the present application provides a method for burning a chip serial number, including:
when the burning device carries out chip burning action (such as a burning function button on a corresponding control end or a burning function button on a programmer is pressed to trigger a burning execution command), sending serial number request information to the serial number determination device;
the serial number generator receives the serial number request information and sends serial number record group generation information to a specified serial number generator; wherein the designated serial number generator is a serial number generator selected by a user;
the appointed serial number generator receives the serial number record group generation information, generates a serial number record group and returns the serial number record group to the serial number generator;
the serial number generator reads a current serial number from the serial number record group and sends the current serial number to the data processing module;
and the burning equipment puts the current serial number into a burning data stream, so that the chip driving module writes the burning data stream into a chip.
In one embodiment, the method for burning the serial number of the chip further includes:
after receiving the information that the data fed back by the chip is successfully written in, the burning equipment reads the current data on the chip, compares the current data with the burning data stream, and sends serial number completion information to the serial number generator if the current data is consistent with the burning data stream;
and/or the presence of a gas in the gas,
and after the serial number generator receives serial number completion information of all chips to be burned in the current batch, releasing the specified serial number generator.
The chip serial number burning method provided by the application has all the beneficial effects of each chip serial number burning device provided by the embodiment, and is not repeated herein.
In the above description of the present specification, the terms "fixed," "mounted," "connected," or "connected," and the like, are to be construed broadly unless otherwise expressly specified or limited. For example, with the term "coupled", it can be fixedly coupled, detachably coupled, or integrally formed; can be mechanically or electrically connected; they may be directly connected or indirectly connected through intervening media, or they may be connected internally or in any other suitable relationship. Therefore, unless the specification explicitly defines otherwise, those skilled in the art can understand the specific meaning of the above terms in the present invention according to specific situations.
From the above description of the present specification, those skilled in the art will also understand the terms used below, terms indicating orientation or positional relationship such as "upper", "lower", "front", "rear", "left", "right", "length", "width", "thickness", "vertical", "horizontal", "top", "bottom", "inner", "outer", "axial", "radial", "circumferential", "central", "longitudinal", "transverse", "clockwise" or "counterclockwise" and the like are based on the orientation or positional relationship shown in the drawings of the present specification, it is for the purpose of facilitating the explanation of the invention and simplifying the description, and it is not intended to state or imply that the devices or elements involved must be in the particular orientation described, constructed and operated, therefore, the above terms of orientation or positional relationship should not be construed or interpreted as limiting the present invention.
In addition, the terms "first" or "second", etc. used in this specification are used to refer to numbers or ordinal terms for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the feature. In the description of the present specification, "a plurality" means at least two, for example, two, three or more, and the like, unless specifically defined otherwise.
While various embodiments of the present invention have been shown and described herein, it will be obvious to those skilled in the art that such embodiments are provided by way of example only. Numerous modifications, changes, and substitutions will occur to those skilled in the art without departing from the spirit and scope of the present invention. It should be understood that various alternatives to the embodiments of the invention described herein may be employed in practicing the invention. It is intended that the following claims define the scope of the invention and that the module compositions, equivalents, or alternatives falling within the scope of these claims be covered thereby.

Claims (10)

1. A chip serial number burning device is characterized by comprising: the device comprises a serial number generator, a plurality of serial number generators, a chip driving module and a data processing module, wherein the chip driving module and the data processing module are arranged on the burning equipment;
when the chip driving module carries out chip burning action, sending serial number request information to the serial number generator;
the serial number generator receives the serial number request information and sends serial number record group generation information to a specified serial number generator; wherein the designated serial number generator is a serial number generator selected by a user;
the appointed serial number generator receives the serial number record group generation information, generates a serial number record group and returns the serial number record group to the serial number generator;
the serial number generator reads a current serial number from the serial number record group and sends the current serial number to the data processing module;
and the data processing module puts the current serial number into a burning data stream, so that the chip driving module writes the burning data stream into a chip.
2. The device for burning serial number of chip according to claim 1,
the chip driving module reads current data on the chip after receiving the information that the data fed back by the chip is successfully written, compares the current data with the burning data stream, and sends serial number completion information to the serial number generator if the current data is consistent with the burning data stream;
and/or the presence of a gas in the gas,
and after the serial number generator receives serial number completion information of all chips to be burned in the current batch, releasing the specified serial number generator.
3. The device for burning serial number of chip according to claim 1,
the chip driving module acquires a first data range of initial burning data and sends the first data range to the data processing module;
the data processing module obtains a second data range of the current serial number, identifies an intersection part between the first data range and the second data range, and merges serial number data of the intersection part into the initial burning data to obtain a burning data stream.
4. The chip serial number burning device according to any one of claims 1 to 3, wherein the serial number record group comprises a plurality of sets of arrays for recording serial numbers.
5. The device as claimed in any one of claims 1 to 3, wherein the serial number generator allocates and initializes the serial number generator after the chip driver module receives the burning request, so as to initialize the specified serial number generator.
6. The apparatus of claim 5, wherein the specified serial number generator initializes the generator to receive the configuration file; displaying a setting interface, and reading sequence parameters set by a user in an interactive interface mode; and reading the setting completion information input by the user through the interactive interface, recovering initialization, closing the interactive interface, and generating a sequence number group according to the configuration file and the sequence parameters.
7. The chip serial number burning device according to claim 5, wherein after the specified serial number generator obtains the burning information setting instruction, the SNCreateWindow interface, the SNShowWindow interface, the SNInitCtrlValue interface, the SNGetCtrlValue interface and the SNDestroWindow interface are called in sequence, and the SNPreload interface is called; the SNCreateWindow interface is used for requesting a sequence number generator to create a window for a client to set information, the SNShowWindow interface is used for requesting the sequence number generator to display the created window, the SNInitCtrlrsValue interface is used for requesting the sequence number generator to set an initial value of a control on the window, the SNGetCtrlrsValue interface is used for requesting the sequence number generator to return the final setting of the client, the SNDestroyWindow interface is used for requesting the sequence number generator to destroy the created window, the SNPreLoad interface is used for requesting the sequence number generator to preload, and the preload allowing generator can perform initialization preparation of a sequence number generation environment according to the setting;
the specified serial number generator also calls an SNQuery interface and an SNTellResult interface in sequence, and returns to execute the process of calling the SNQuery interface when the serial number is required to be acquired in the current burning cycle until the serial number is not required to be acquired in the current burning cycle; the SNQuery interface is used for requesting the serial number generator to return serial number data, wherein the serial number data comprises a plurality of serial number records, and one serial number record comprises a chip address input by a user, the number of bytes occupied by the serial number and content; the SNTellResult interface is used for informing the serial number generator of the burning result of the serial number.
8. The chip serial number burning device of claim 7, wherein the serial number generator calls the SNUnLoad interface after the serial number is not required to be acquired in the current burning cycle; and the SNUnLoad interface informs the generator of recovering resources, and other interfaces are not called any more.
9. A method for burning chip serial numbers is characterized by comprising the following steps:
when the burning equipment carries out chip burning action, serial number request information is sent to the serial number determining equipment;
the serial number generator receives the serial number request information and sends serial number record group generation information to a specified serial number generator; wherein the designated serial number generator is a serial number generator selected by a user;
the appointed serial number generator receives the serial number record group generation information, generates a serial number record group and returns the serial number record group to the serial number generator;
the serial number generator reads a current serial number from the serial number record group and sends the current serial number to the data processing module;
and the burning equipment puts the current serial number into a burning data stream, so that the chip driving module writes the burning data stream into a chip.
10. The method for burning the serial number of the chip as claimed in claim 9, further comprising:
after receiving the information that the data fed back by the chip is successfully written in, the burning equipment reads the current data on the chip, compares the current data with the burning data stream, and sends serial number completion information to the serial number generator if the current data is consistent with the burning data stream;
and/or the presence of a gas in the gas,
and after the serial number generator receives serial number completion information of all chips to be burned in the current batch, releasing the specified serial number generator.
CN202110628212.4A 2021-06-06 2021-06-06 Chip serial number burning device and method Active CN113326051B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110628212.4A CN113326051B (en) 2021-06-06 2021-06-06 Chip serial number burning device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110628212.4A CN113326051B (en) 2021-06-06 2021-06-06 Chip serial number burning device and method

Publications (2)

Publication Number Publication Date
CN113326051A true CN113326051A (en) 2021-08-31
CN113326051B CN113326051B (en) 2023-11-24

Family

ID=77419782

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110628212.4A Active CN113326051B (en) 2021-06-06 2021-06-06 Chip serial number burning device and method

Country Status (1)

Country Link
CN (1) CN113326051B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060123483A1 (en) * 2003-02-06 2006-06-08 Eyal Cohen Method and system for protecting against illegal copy and/or use of digital contents stored on optical or other media
US20080005329A1 (en) * 2006-06-30 2008-01-03 Bauman Ellen M Server-Based Acquisition and Usage of Dynamic MAC Addresses in a Virtualized Ethernet Environment
CN101667126A (en) * 2008-09-03 2010-03-10 神讯电脑(昆山)有限公司 Method for burning computer serial number
CN104916327A (en) * 2015-05-22 2015-09-16 深圳创维-Rgb电子有限公司 Method and system of simultaneously burning multiple television KEY codes on line
CN107341411A (en) * 2017-06-13 2017-11-10 广州视源电子科技股份有限公司 The product ID generation method and device of a kind of electronic equipment
CN109189402A (en) * 2018-07-11 2019-01-11 厦门华联电子股份有限公司 The automatic programming system of product software, method and burning server
CN109901851A (en) * 2019-02-28 2019-06-18 广州小鹏汽车科技有限公司 A kind of firmware burning system and method
CN110471676A (en) * 2019-08-22 2019-11-19 深圳市讯盾科技有限公司 MAC Address method for burn-recording and system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060123483A1 (en) * 2003-02-06 2006-06-08 Eyal Cohen Method and system for protecting against illegal copy and/or use of digital contents stored on optical or other media
US20080005329A1 (en) * 2006-06-30 2008-01-03 Bauman Ellen M Server-Based Acquisition and Usage of Dynamic MAC Addresses in a Virtualized Ethernet Environment
CN101667126A (en) * 2008-09-03 2010-03-10 神讯电脑(昆山)有限公司 Method for burning computer serial number
CN104916327A (en) * 2015-05-22 2015-09-16 深圳创维-Rgb电子有限公司 Method and system of simultaneously burning multiple television KEY codes on line
CN107341411A (en) * 2017-06-13 2017-11-10 广州视源电子科技股份有限公司 The product ID generation method and device of a kind of electronic equipment
CN109189402A (en) * 2018-07-11 2019-01-11 厦门华联电子股份有限公司 The automatic programming system of product software, method and burning server
CN109901851A (en) * 2019-02-28 2019-06-18 广州小鹏汽车科技有限公司 A kind of firmware burning system and method
CN110471676A (en) * 2019-08-22 2019-11-19 深圳市讯盾科技有限公司 MAC Address method for burn-recording and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
徐岳清: "TM32系列单片机脱机批量烧录器的设计与实现", 《长春工程学院学报(自然科学版)》, vol. 16, no. 1, pages 115 - 119 *

Also Published As

Publication number Publication date
CN113326051B (en) 2023-11-24

Similar Documents

Publication Publication Date Title
TWI323584B (en) Method and system for burning mac address
CN104317618A (en) Firmware partitioning method and device
CN110320378B (en) Method, apparatus, device and computer readable storage medium for applying for a quality control test
KR20200129509A (en) Method and apparatus for providing additional information of teeth
CN106569874A (en) Operation method of storage device and physical server
CN113407254B (en) Form generation method and device, electronic equipment and storage medium
CN115543282A (en) Page code generation method and device, storage medium and computer equipment
CN113326051A (en) Chip serial number burning device and method
CN113778878A (en) Interface testing method and device, electronic equipment and storage medium
CN103853688A (en) Device control apparatus, host device, and control method of the host device
CN111905372B (en) Game trigger creation method, game running method and device
US7458068B2 (en) Vertical requirements development system and method
CN114676067B (en) Parameterization processing method and device for test script
CN117312434B (en) Data exchange method and platform
CN110660463A (en) Report editing method, device and equipment based on ultrasonic system and storage medium
CN113704091B (en) Logic code debugging method, device, equipment and storage medium
CN1383508A (en) Automatic evaluation method and automatic evaluation system and storage medium storing automatic evaluation program
CN115952137A (en) Information processing method, information processing apparatus, electronic device, storage medium, and program product
CN111414335B (en) Data file searching method and device
CN116340125A (en) Behavior path series connection method and device based on clues and electronic equipment
US7305655B2 (en) Vertical requirements development system and method
CN117971571A (en) Method, device, electronic equipment and storage medium for managing multitasking command
CN116501562A (en) Hard disk testing method, device, equipment and storage medium
CN114489516A (en) Data storage device and method
EP0994429A1 (en) A modelling system for project control

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant