CN116382717A - Memory bank configuration information burning method, device, system and storage medium - Google Patents
Memory bank configuration information burning method, device, system and storage medium Download PDFInfo
- Publication number
- CN116382717A CN116382717A CN202310359295.0A CN202310359295A CN116382717A CN 116382717 A CN116382717 A CN 116382717A CN 202310359295 A CN202310359295 A CN 202310359295A CN 116382717 A CN116382717 A CN 116382717A
- Authority
- CN
- China
- Prior art keywords
- burning
- bit
- memory bank
- configuration file
- mark
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 50
- 238000003860 storage Methods 0.000 title claims abstract description 23
- 238000004519 manufacturing process Methods 0.000 claims abstract description 21
- 238000004590 computer program Methods 0.000 claims description 17
- 239000003550 marker Substances 0.000 claims description 11
- 238000004891 communication Methods 0.000 claims description 4
- 230000009471 action Effects 0.000 description 16
- 230000000875 corresponding effect Effects 0.000 description 13
- 238000010586 diagram Methods 0.000 description 10
- 230000006870 function Effects 0.000 description 6
- 238000003825 pressing Methods 0.000 description 5
- 238000012545 processing Methods 0.000 description 5
- 230000008569 process Effects 0.000 description 4
- 230000001960 triggered effect Effects 0.000 description 4
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000003993 interaction Effects 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000011282 treatment Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
- G06F8/63—Image based installation; Cloning; Build to order
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
The invention discloses a memory bank configuration information burning method, device and system and a storage medium. The method comprises the following steps: scanning a graphic code on a memory bank to trigger and check a flag bit of the memory bank, wherein the graphic code is attached with work order information; when the flag bit is a first flag bit, extracting work order information of the graphic code, downloading a configuration file from an execution manufacturing system according to the work order information, and sending the configuration file and a first control instruction to the burning jig so that the configuration file is stored in a cache module of the burning jig; and when the flag bit is a second flag bit, sending a second control instruction to the burning jig so that the burning jig reads the configuration file from the cache module and burns the configuration file into the electrified erasable programmable read-only memory of the memory bank. The invention can realize automatic burning of SPD files, avoid manual burning errors and improve burning efficiency.
Description
Technical Field
The present invention relates to the field of memory technologies, and in particular, to a method, an apparatus, a system, and a storage medium for burning configuration information of a memory bank.
Background
SPD (serial presence detect), which is a set of configuration information about a memory module, such as memory frequency, voltage, number of row/column addresses, bit width, etc., is burned into an EEPROM (electrically erasable programmable read only memory) so that the processor can directly read the memory related data information. At present, an operator operates on a burning jig and an upper computer, a signal is triggered to the upper computer by operating a key on the burning jig, the upper computer prompts an operator to manually select an SPD path and a name, then an SPD file is downloaded into the burning jig, and the key is operated again to burn the memory. However, the current burning mode is easy to make mistakes when the SPD is manually selected, and has complex operation and low burning efficiency.
Disclosure of Invention
The embodiment of the invention provides a memory bank configuration information burning method, device and system and a storage medium, aiming at solving the problems that the memory bank configuration information burning is easy to make mistakes and has low efficiency.
In a first aspect, an embodiment of the present invention provides a memory bank configuration information recording system, including an upper computer and a recording tool, where the upper computer is in communication connection with the recording tool, the upper computer is provided with a scanning device, and the recording tool is used for inserting a memory bank; the upper computer scans a graphic code on the memory bank through the scanning equipment to trigger and check a flag bit of the memory bank so as to determine an acquisition path of a configuration file according to the flag bit, wherein the acquisition path comprises a first path and a second path, and the graphic code is attached with work order information; when the acquisition path of the configuration file is a first path, the upper computer extracts the work order information of the graphic code and downloads the configuration file from a manufacturing execution system according to the work order information; the upper computer sends the configuration file and a first control instruction to the burning jig, and modifies the zone bit to switch the acquisition path from the first path to a second path; the burning jig receives the configuration file and the first control instruction, and stores the configuration file into a cache module according to the first control instruction; the upper computer scans the graphic code on the memory bank again through the scanning equipment to trigger and check the marker bit of the memory bank; when the acquisition path of the configuration file is a second path, the upper computer sends a second control instruction to the burning jig; the burning jig receives the second control instruction, reads the configuration file in the cache module according to the second control instruction and burns the configuration file into the electrified erasable programmable read-only memory of the memory bank.
In a second aspect, an embodiment of the present invention further provides a method for burning configuration information of a memory bank, where the method is applied to an upper computer, and the method includes: scanning a graphic code on a memory bank to trigger and check a flag bit of the memory bank so as to determine an acquisition path of a configuration file according to the flag bit; when the acquisition path of the configuration file is a first path, extracting the work order information of the graphic code, and downloading the configuration file from an execution manufacturing system according to the work order information; the configuration file and a first control instruction are sent to a burning jig, so that the burning jig stores the configuration file into a cache module according to the first control instruction, and the flag bit is modified to switch the acquisition path from the first path to a second path; scanning the graphic code on the memory bank again to trigger and check the flag bit of the memory bank; when the acquisition path of the configuration file is a second path, a second control instruction is sent to the burning jig so that the burning jig reads the configuration file from the cache module according to the second control instruction and burns the configuration file into the charged erasable programmable read-only memory of the memory bank.
In a third aspect, an embodiment of the present invention further provides a memory bank configuration information burning method, which is applied to a burning tool, where the method includes: receiving a configuration file and a first control instruction from an upper computer, and storing the configuration file into a cache module according to the first control instruction; and receiving a second control instruction from the upper computer, reading the configuration file from the cache module according to the second control instruction, and burning the configuration file into the electrified erasable programmable read-only memory of the memory bank.
In a fourth aspect, an embodiment of the present invention further provides a computer device, where the computer device includes a memory and a processor, where the memory stores a computer program, and the processor implements the method when executing the computer program.
In a fifth aspect, embodiments of the present invention also provide a computer readable storage medium storing a computer program comprising program instructions which, when executed by a processor, implement the above-described method.
The embodiment of the invention provides a memory bank configuration information burning method, device and system and a storage medium. The method comprises the following steps: scanning a graphic code on a memory bank to trigger and check a flag bit of the memory bank, wherein the graphic code is attached with work order information; when the flag bit is a first flag bit, extracting work order information of the graphic code, downloading a configuration file from an execution manufacturing system according to the work order information, and sending the configuration file and a first control instruction to the burning jig so that the configuration file is stored in a cache module of the burning jig; and when the flag bit is a second flag bit, sending a second control instruction to the burning jig so that the burning jig reads the configuration file from the cache module and burns the configuration file into the electrified erasable programmable read-only memory of the memory bank. According to the embodiment of the invention, the configuration file is acquired from the manufacturing execution system through the work order information and stored in the cache module of the burning jig when the first flag bit is located, so that the configuration information is automatically acquired, manual operation of an operator is not needed, and operation errors are avoided; and when the second flag bit is set, the configuration file is directly obtained from the cache module of the programming jig for programming, and the configuration file is not required to be obtained from the manufacturing execution system every time, so that the steps are simplified, and the programming efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of an application scenario for burning configuration information of a memory bank according to an embodiment of the present invention;
FIG. 2 is an interactive schematic diagram of a memory bank configuration information burning system according to an embodiment of the present invention;
FIG. 3 is a flowchart of a method for burning configuration information of a memory bank according to an embodiment of the present invention;
FIG. 4 is a schematic sub-flowchart of a memory bank configuration information burning method according to an embodiment of the present invention;
FIG. 5 is a flowchart illustrating a memory bank configuration information burning method according to another embodiment of the present invention;
FIG. 6 is a schematic block diagram of a memory bank configuration information recording device according to an embodiment of the present invention;
FIG. 7 is a schematic block diagram of a memory bank configuration information recording device according to an embodiment of the present invention;
fig. 8 is a schematic block diagram of a computer device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be understood that the terms "comprises" and "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
The embodiment of the invention solves the problem that the conventional SPD manual burning is easy to make mistakes by providing the method, the device, the system and the storage medium for burning the configuration information of the memory bank, obtains the configuration file from the execution manufacturing system through the work order information, stores the configuration file into the cache module, reads the configuration file from the cache module for burning, realizes the automatic obtaining of the configuration information, and improves the burning efficiency.
The embodiment of the invention solves the problem that the manual burning of the SPD is easy to make mistakes, and the technical scheme is as follows:
the specific invention concept is that a scanning device is utilized to scan a bar code on a memory bar to trigger and detect a zone bit, the traditional key operation is replaced, the bar code is attached with work order information, when the condition that the zone bit is 0 is checked, the memory bar is not acquired to a configuration file, so that the work order information of the bar code is extracted, the configuration file is downloaded from an execution manufacturing system through the work order information, automatic acquisition of the configuration file is completed, an operator is not required to manually select an SPD path and a name in a display interface of an upper computer, manual operation errors are avoided, the upper computer controls a burning jig to store the configuration file into a Flash chip of the burning jig through a first control instruction, and meanwhile, the zone bit is modified from 0 to 1 to indicate that the configuration file is acquired, and the configuration file is not required to be acquired from the execution manufacturing system. The bar code on the memory bar is scanned again to trigger the detection of the flag bit, the flag bit is modified to be 1 at the moment, and the memory bar is indicated to acquire the configuration file, so that the upper computer controls the burning tool to directly read the configuration file from the Flash chip through the second control instruction, the configuration file is burnt into the EEPROM of the memory bar, the key operation is replaced by the instruction mode, the action of the operation key is omitted, the automation of SPD selection is realized, the operation error is avoided, the manual operation key is not needed, the automatic burning is realized, and the burning efficiency is improved.
The memory bank configuration information recording system is described in detail below. As shown in fig. 1, the system includes an upper computer 10 and a writing tool 20, the upper computer 10 is in communication connection with the writing tool 20, the upper computer 10 is provided with a scanning device 11, the writing tool 20 is used for inserting a memory bank, specifically, a singlechip, a cache module and a slot are arranged on the writing tool 20, the memory bank is inserted on the slot, the cache module can be a Flash (FlashMemory) chip, and the singlechip is used for executing corresponding instructions. The upper computer 10 is usually a computer terminal, the upper computer 10 communicates with the burning tool 20 through a serial port protocol, the upper computer 10 communicates with the execution manufacturing system 30 through a network, the upper computer 10 is configured with burning software, the burning software displays various information of the memory bar in the burning process in a display interface, such as serial port setting, and the scanning device 11 can be a code scanning robbery capable of identifying and extracting the bar code.
Fig. 2 is an interaction schematic diagram of a memory bank configuration information recording system according to an embodiment of the present invention, as shown in fig. 2. The interaction process of the memory bank configuration information burning system comprises the following steps: S1-S5.
S1, the upper computer is used for triggering and checking the marker bit of the memory bank by scanning the graphic code on the memory bank through the scanning equipment, wherein the graphic code is attached with work order information.
In this embodiment, a label with a graphic code is generally attached to the memory bank, where the graphic code may be a bar code or a two-dimensional code, and the graphic code in this embodiment is a bar code. The flag bit is a flag bit of the SPD of the memory bank, and is a flag bit rule which is prepared by manually selecting a specific bit of the SPD, and is stored in the EEPROM of the memory bank. Different flag bits correspond to different processing actions, and different operation processing is realized by checking the flag bits. Specifically, an operator firstly scans the code by aiming at a label on the memory bar through a code scanning gun, reads the bar code and uploads the bar code to the upper computer, and the scanning action triggers the upper computer to check the flag bit of the memory bar, so that the upper computer can check the flag bit and execute different processing actions according to different flag bits.
And S2, when the zone bit is a first zone bit, the upper computer is used for extracting the work order information of the graphic code, downloading a configuration file from a manufacturing execution system according to the work order information, and sending the configuration file and a first control instruction to the burning jig.
In this embodiment, when the upper computer checks the flag bit, specifically, it determines that the flag bit has a flag value that is a first flag value or a second flag value; if the mark value of the mark bit is the first mark value, determining the mark bit as a first mark bit; and if the mark value of the mark bit is the second mark value, determining that the mark bit is the second mark bit. For example, the first flag value is 0, and the second flag value is 1, that is, the flag bit is judged to be 0 or 1, if 0, the first flag bit is judged to be the first flag bit, and if 1, the second flag bit is judged to be the second flag bit. It will be understood that other values are possible and are not limited herein. In other embodiments, the tag value may also be embodied as a combination of several bits.
Further, when the upper computer checks that the flag bit is 0, it indicates that the memory bank has not acquired the configuration file, that is, the SPD file, the work order information of the bar code is extracted first, the work order information includes work order numbers, each work order number has the SPD file corresponding to the work order number, then the SPD file corresponding to the work order information is acquired from the manufacturing execution system, the manufacturing execution system refers to MES (ManufacturingExecutionSystem) system, which is a set of production informatization management system facing the workshop execution layer of the manufacturing enterprise. The SPD file is stored in the MES system, the upper computer queries from the MES system through the work order number, and the MES system returns the SPD file corresponding to the work order number to the upper computer according to the work order number, so that the automatic acquisition of the SPD file is realized, the manual selection of the SPD path and the name on an operation interface of the upper computer is not needed, the error caused by manual operation errors is avoided, and the burning efficiency is improved. And finally, the upper computer sends the downloaded SPD file to the burning jig, and sends a first control instruction to the burning jig, and a singlechip in the burning jig executes corresponding control according to the first control instruction, wherein the first control instruction is used for instructing the burning jig to store the SPD file in a cache module, and the cache module can be a Flash chip, for example. The SPD files are stored in the Flash chip, and for the memory strips of the same batch of work order numbers, the SPD files can be directly obtained from the Flash chip without being obtained from an MES system every time, so that the obtaining efficiency of the SPD files is improved.
After the upper computer sends the configuration file to the burning jig, the upper computer is also used for modifying the mark value of the marker bit from the first mark value to the second mark value. Specifically, the upper computer modifies the flag bit from 0 to 1, and the flag bit modified from 0 to 1 indicates that the SPD file has been acquired, and the flag bit is not acquired from the MES system any more. It should be noted that, the foregoing has described that the flag bit is a flag bit of the SPD of the memory bank, each work order number has the SPD file corresponding to the flag bit, and for the modification of the flag bit, the flag bit acts on the memory banks of the same batch of work order numbers. Therefore, for the memory strips of the same batch of work order numbers, the flag bits are modified from the first flag bits to the second flag bits, so that the memory strips of the batch of work order numbers can directly acquire the SPD files from the cache module, the step of downloading the SPD files from the MES system is omitted, and the acquisition efficiency of the SPD files is improved.
And S3, the burning jig is used for receiving the configuration file and the first control instruction and responding to the first control instruction to store the configuration file into the cache module.
In this embodiment, the burning tool receives a first control instruction sent by the upper computer, the first control instruction is given to the singlechip on the burning tool, and the singlechip stores the received configuration file in the cache module, specifically in the Flash chip according to the first control instruction. Compared with the traditional mode of adopting key operation to trigger the burning action of the burning jig, the embodiment utilizes the mode of the control instruction of the upper computer software to replace key operation, avoids complicated operation steps and improves the burning efficiency.
And S4, the upper computer is used for sending a second control instruction to the burning jig when the zone bit is a second zone bit.
In this embodiment, the operator scans the bar code again, and for the memory banks of the same batch of work order numbers, since the flag bit of the memory banks has been modified from the first flag bit to the second flag bit, that is, the SPD file of the memory bank is indicated to be acquired, the upper computer sends a second control instruction to the burning tool, where the second control instruction is used to instruct the burning tool to execute the burning of the SPD file. Compared with the traditional mode of adopting key operation to trigger the burning action of the burning jig, the embodiment utilizes the mode of the control instruction of the upper computer software to replace key operation, avoids complicated operation steps and improves the burning efficiency.
S5, the burning jig is used for receiving the second control instruction, responding to the second control instruction, reading the configuration file in the cache module and burning the configuration file into the charged erasable programmable read-only memory of the memory bank
In this embodiment, the burning tool receives a second control instruction sent by the upper computer, the second control instruction is sent to the singlechip on the burning tool, and the singlechip reads the SPD file from the Flash chip according to the second control instruction, and then burns the SPD file into the charged erasable programmable read-only memory of the memory bank, that is, the EEPROM. The configuration file includes configuration information, and the writing of the configuration information may be to write new configuration information or update configuration information, for example, write SN code.
By means of the memory bank configuration information burning system, for a first memory bank of the same batch of work order numbers, a check flag bit is triggered by scanning a bar code, the flag bit is 0 at the moment, work order information of the bar code is extracted, an SPD file is downloaded from an MES system according to the work order information, the configuration file is stored in a cache module of a burning jig, and meanwhile the flag bit is modified to be 1. And scanning the bar code again to trigger and check the flag bit, wherein the flag bit is 1, reading the SPD file from the cache module, and burning the SPD file into the EEPROM of the memory bank to finish burning. For the rest memory banks of the same batch of work order numbers, because the flag bit is modified to be 1, the SPD file can be read from the cache module to be burnt, the SPD file is not required to be downloaded from an MES system, the automatic acquisition of configuration information is realized, manual operation of an operator is not required, operation errors are avoided, steps are simplified, and the burning efficiency is improved.
The memory bank configuration information burning method executed by the upper computer in the memory bank configuration information burning system is described in detail below. As shown in fig. 3, the control method includes the following steps S110 to S130.
S110, scanning a graphic code on a memory bank to trigger and check a flag bit of the memory bank, wherein the graphic code is attached with work order information.
In this embodiment, the graphic code is a bar code attached to the memory stick label. The traditional operation mode is that a trigger signal is sent to an upper computer by a manual operation button, and then an operator manually selects the SPD file. In the embodiment, the upper computer is directly triggered to check the memory bar flag bit in a mode of scanning the bar code by the scanning equipment, and the manual operation button triggering is replaced in a mode of scanning triggering, so that the action of pressing a key is omitted.
In one embodiment, as shown in fig. 4, the step S110 includes: S111-S113.
S111, judging that the mark value of the marker bit is a first mark value or a second mark value;
s112, if the mark value of the mark bit is the first mark value, determining the mark bit as a first mark bit;
s113, if the flag bit flag value is the second flag value, determining that the flag bit is the second flag bit.
In this embodiment, different actions are executed by checking the flag bit, and when the flag bit is the first flag bit, it is indicated that the SPD file is not acquired and needs to be downloaded; when the flag bit is the second flag bit, the SPD file is acquired, and the SPD file is directly acquired from the cache module for burning without downloading the SPD file. The principle of the checking of the flag bit is that the flag bit is checked to obtain a flag value, wherein the flag value comprises 0 and 1, the default is 0, and when the flag value is 0, the flag bit is judged to be positioned at the first flag bit; when the flag value is 1, the flag bit is determined to be in the second flag bit.
And S120, when the zone bit is a first zone bit, extracting the work order information of the graphic code, downloading a configuration file from an execution manufacturing system according to the work order information, and sending the configuration file and a first control instruction to the burning jig so that the burning jig stores the configuration file in a cache module of the burning jig.
In this embodiment, if the flag bit is detected to be the first flag bit, it is indicated that the SPD file is not acquired, so that the work order information of the barcode is extracted, the manufacturing system is executed by querying the work order information, and the manufacturing system returns the SPD file corresponding to the work order information. The first control instruction is a series of codes executed by the upper computer programming software, and the codes are used for instructing the programming jig to store the SPD file into the cache module. And the upper computer sends the SPD file and the first control instruction to the burning jig. In the conventional operation mode, the SPD file is burned by manually operating the button touch, and the embodiment instructs the burning tool to store the SPD file by sending the first control instruction to the burning tool, so that the same function is realized in a software mode, the action of pressing the key is omitted, the complicated operation steps are avoided, and the burning efficiency is improved.
Further, after the configuration file and the first control instruction are sent to the burning jig, the method for burning the configuration information of the memory bank further includes: and modifying the mark value of the mark bit from the first mark value to the second mark value. Specifically, the flag value is modified from a default 0 to 1, i.e., indicating that an SPD file has been acquired. Therefore, the flag bit is 1 when scanning next time, and the burning action is directly executed to complete the burning of the SPD file. For the first memory bank of the same batch of work order numbers, the SPD file is generally required to be downloaded, and the mark position 1 is located, and for the rest memory banks of the same batch of work order numbers, the SPD file is not required to be downloaded again because the mark position 1 is located, and the SPD file is directly acquired from the cache module for burning. It will be appreciated that it is also typically necessary to download SPD files for the first memory stripe of a different lot work order number. By modifying the flag bit, the memory bank of the same batch of work order numbers does not need to repeatedly download the SPD file, the step of downloading the SPD file is omitted, and the burning efficiency is improved.
And S130, when the flag bit is a second flag bit, sending a second control instruction to the burning jig so that the burning jig reads the configuration file from the cache module and burns the configuration file into the electrified erasable programmable read-only memory of the memory bank.
In this embodiment, after the flag bit is modified from the first flag bit to the second flag bit, the operator scans the barcode again through the scanning device to trigger checking the flag bit, and at this time, the flag bit becomes the second flag bit, which indicates that the SPD file has been acquired. The second control instruction is a string of codes executed by the upper computer programming software, and the codes are used for indicating the programming jig to read the SPD file in the cache module and program the SPD file into the EEPROM of the memory bank. The upper computer sends a second control instruction to the burning jig. In the conventional operation mode, the SPD file is burned by manually operating the button touch, and the second control instruction is sent to the burning tool to instruct the burning tool to burn the SPD file, so that the same function is realized in a software mode, the action of pressing a key is omitted, complicated operation steps are avoided, and the burning efficiency is improved.
According to the embodiment, based on the scanning equipment and the upper computer, the SPD file is downloaded from the MES system through the work order information, so that automatic selection of the SPD is realized, selection errors are avoided, the upper computer is triggered to check the zone bit in a bar code scanning mode, the burning jig is instructed to execute corresponding actions through the first control instruction and the second control instruction, the same functions are realized in a software mode, the action of pressing a key is omitted, complicated operation steps are avoided, and the burning efficiency is improved.
The following describes in detail a memory bank configuration information writing method executed by the writing jig in the memory bank configuration information writing system. As shown in fig. 5, the control method includes the following steps S210 to S220.
S210, receiving a configuration file from an upper computer, and responding to a first control instruction of the upper computer to store the configuration file into a cache module.
And S220, responding to a second control instruction of the upper computer, reading the configuration file from the cache module and burning the configuration file into the electrified erasable programmable read-only memory of the memory bank.
In this embodiment, compared with the conventional burning tool, the burning tool of this embodiment can execute corresponding operation actions by means of the control instruction given by the host computer without setting a key, thereby reducing the cost of the burning tool. Specifically, the burning jig executes corresponding control through the singlechip, and for different control instructions, the singlechip correspondingly executes different treatments, the burning jig receives the SPD file downloaded by the upper computer, and the singlechip executes the action of storing the SPD file into the Flash chip based on the first control instruction. Based on the second control instruction, the singlechip executes the actions of reading the SPD file from the Flash chip and burning the SPD file into the EEPROM of the memory bank.
According to the embodiment, the burning jig receives the first control instruction and the second control instruction given by the upper computer to replace the traditional key operation, the same function is realized in a software mode, the action of pressing the key is omitted, complicated operation steps are avoided, and the burning efficiency is improved.
In order to further illustrate the burning process of the embodiments of the present invention, the following is schematically performed with simple operation steps.
1. An operator scans a bar code with work order information on a memory bar through a code scanning gun;
2. the upper computer software firstly checks a flag bit, if the flag bit is 0 (default is 0), the work order information in the bar code is extracted, and the MES system is inquired through the work order number;
returning the SPD file of the current work order by the MES system;
4. after the upper computer software receives the SPD file, a first control instruction is sent to the singlechip of the burning tool (the first control instruction indicates that the SPD file needs to be stored in a FLASH chip);
5. the upper computer sends the SPD file to the singlechip, and after the sending is completed, sends a completed message;
6. the upper computer software changes the flag bit into 1, and when an operator scans again, SPD is not returned from the MES system again;
7. after receiving the SPD file, the singlechip burns the SPD file to a FLASH chip of the jig;
8. an operator scans a bar code with work order information on a memory bar through a code scanning gun;
9. the upper computer software checks the flag bit, and if the flag bit is 1, a second control instruction is sent to the singlechip (the second control instruction indicates that the singlechip is instructed to read the SPD file in the FLASH chip by the SPD file, and the read SPD file is written into the EEPROM of the memory bank).
As can be seen from the above, by the method for burning configuration information of the memory bank according to the present embodiment, automatic acquisition of configuration information is achieved, manual operation by an operator is not required, operation errors are avoided, steps are simplified, and burning efficiency is improved.
Fig. 6 is a schematic block diagram of a memory bank configuration information recording apparatus 300 according to an embodiment of the present invention. As shown in fig. 6, the present invention further provides a memory bank configuration information recording device 300 corresponding to the above memory bank configuration information recording method. The memory bank configuration information writing apparatus 300 includes a unit for performing the above memory bank configuration information writing method, and the apparatus may be configured in a terminal. Specifically, referring to fig. 6, the memory bank configuration information recording apparatus 300 includes a checking unit 301, a first control unit 302, and a second control unit 303.
The checking unit 301 is configured to scan a graphic code on a memory bank to trigger and check a flag bit of the memory bank, where the graphic code is attached with work order information; the first control unit 302 is configured to extract work order information of the graphic code when the flag bit is a first flag bit, download a configuration file from an execution manufacturing system according to the work order information, and send the configuration file and a first control instruction to the burning tool so that the burning tool stores the configuration file in a cache module of the burning tool; and the second control unit 303 is configured to send a second control instruction to the burning tool when the flag bit is a second flag bit, so that the burning tool reads the configuration file from the cache module and burns the configuration file into the charged erasable programmable read-only memory of the memory bank.
In an embodiment, the checking unit 301: the device comprises a judging unit, a first judging unit and a second judging unit.
The judging unit is used for judging whether the mark value of the marker bit is a first mark value or a second mark value; the first judging unit is used for determining the marker bit as a first marker bit if the marker value of the marker bit is the first marker value; and the second judging unit is used for determining the flag bit as a second flag bit if the flag bit flag value is the second flag value.
In one embodiment, the memory bank configuration information burning apparatus 300 further includes: and modifying the unit.
Wherein the modifying unit is used for modifying the mark value of the mark bit from a first mark value to a second mark value
Fig. 7 is a schematic block diagram of a memory bank configuration information recording apparatus 400 according to an embodiment of the present invention. As shown in fig. 7, the present invention further provides a memory bank configuration information recording device 400 corresponding to the above memory bank configuration information recording method. The memory bank configuration information writing device 400 includes a unit for executing the above memory bank configuration information writing method, and the device can be configured in a writing tool. Specifically, referring to fig. 7, the memory bank configuration information writing device 400 includes a memory unit 401 and a writing unit 402.
A storage unit 401, configured to receive a configuration file from an upper computer, and store the configuration file in a cache module in response to a first control instruction of the upper computer;
and the burning unit 402 is configured to read the configuration file from the cache module in response to a second control instruction of the upper computer and burn the configuration file into the charged erasable programmable read-only memory of the memory bank.
It should be noted that, as those skilled in the art can clearly understand, the specific implementation process of the memory bank configuration information writing device 300, 400 and each unit may refer to the corresponding description in the foregoing method embodiment, and for convenience and brevity of description, the description is omitted here.
The memory bank configuration information burning apparatus described above may be implemented in the form of a computer program that can be run on a computer device as shown in fig. 8.
Referring to fig. 8, fig. 8 is a schematic block diagram of a computer device according to an embodiment of the present application.
With reference to FIG. 8, the computer device 500 includes a processor 502, memory, and a network interface 505 connected by a system bus 501, where the memory may include a non-volatile storage medium 503 and an internal memory 504.
The non-volatile storage medium 503 may store an operating system 5031 and a computer program 5032. The computer program 5032 includes program instructions that, when executed, cause the processor 502 to perform a memory bank configuration information burning method.
The processor 502 is used to provide computing and control capabilities to support the operation of the overall computer device 500.
The memory 504 provides an environment for the execution of a computer program 5032 in the non-volatile storage medium 503, which computer program 5032, when executed by the processor 502, causes the processor 502 to perform a memory bank configuration information burning method.
The network interface 505 is used for network communication with other devices. Those skilled in the art will appreciate that the architecture shown in fig. 8 is merely a block diagram of a portion of the architecture in connection with the present application and is not intended to limit the computer device 500 to which the present application is applied, and that a particular computer device 500 may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
The processor 502 is configured to execute a computer program 5032 stored in a memory, so as to implement any embodiment of the memory bank configuration information burning method.
It should be appreciated that in embodiments of the present application, the processor 502 may be a Central processing unit (Central ProcessingUnit, CPU), and the processor 502 may also be other general purpose processors, digital signal processors (DigitalSignalProcessor, DSP), application specific integrated circuits (ApplicationSpecificIntegrated Circuit, ASIC), off-the-shelf programmable gate arrays (Field-ProgrammableGateArray, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. Wherein the general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Those skilled in the art will appreciate that all or part of the flow in a method embodying the above described embodiments may be accomplished by computer programs instructing the relevant hardware. The computer program comprises program instructions, and the computer program can be stored in a storage medium, which is a computer readable storage medium. The program instructions are executed by at least one processor in the computer system to implement the flow steps of the embodiments of the method described above.
Accordingly, the present invention also provides a storage medium. The storage medium may be a computer readable storage medium. The storage medium stores a computer program, wherein the computer program includes program instructions. The program instructions, when executed by the processor, cause the processor to perform any embodiment of a memory bank configuration information burning method as described above.
The storage medium may be a U-disk, a removable hard disk, a Read-only memory (ROM), a magnetic disk, or an optical disk, or other various computer-readable storage media that may store program codes.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps described in connection with the embodiments disclosed herein may be embodied in electronic hardware, in computer software, or in a combination of the two, and that the elements and steps of the examples have been generally described in terms of function in the foregoing description to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the several embodiments provided by the present invention, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of each unit is only one logic function division, and there may be another division manner in actual implementation. For example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs. The units in the device of the embodiment of the invention can be combined, divided and deleted according to actual needs. In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The integrated unit may be stored in a storage medium if implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present invention is essentially or partly contributing to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device to perform all or part of the steps of the method according to the embodiments of the present invention.
In the foregoing embodiments, the descriptions of the embodiments are focused on, and for those portions of one embodiment that are not described in detail, reference may be made to the related descriptions of other embodiments.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.
While the invention has been described with reference to certain preferred embodiments, it will be understood by those skilled in the art that various changes and substitutions of equivalents may be made and equivalents will be apparent to those skilled in the art without departing from the scope of the invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.
Claims (10)
1. The method for burning the configuration information of the memory bank is applied to an upper computer and is characterized by comprising the following steps:
scanning a graphic code on a memory bank to trigger and check a flag bit of the memory bank, wherein the graphic code is attached with work order information;
when the flag bit is a first flag bit, extracting work order information of the graphic code, downloading a configuration file from an execution manufacturing system according to the work order information, and sending the configuration file and a first control instruction to the burning jig so that the configuration file is stored in a cache module of the burning jig;
and when the flag bit is a second flag bit, sending a second control instruction to the burning jig so that the burning jig reads the configuration file from the cache module and burns the configuration file into the electrified erasable programmable read-only memory of the memory bank.
2. The method of claim 1, wherein the step of checking the flag bit of the memory bank comprises:
judging the mark value of the mark bit as a first mark value or a second mark value;
if the mark value of the mark bit is the first mark value, determining the mark bit as a first mark bit;
and if the mark value of the mark bit is the second mark value, determining that the mark bit is the second mark bit.
3. The method of claim 2, further comprising, after the step of sending the configuration file and the first control command to the burning tool:
and modifying the mark value of the mark bit from the first mark value to the second mark value.
4. The method for burning the configuration information of the memory bank is applied to a burning jig and is characterized by comprising the following steps:
receiving a configuration file from an upper computer, and responding to a first control instruction of the upper computer to store the configuration file into a cache module;
and responding to a second control instruction of the upper computer, reading the configuration file from the cache module and burning the configuration file into the electrified erasable programmable read-only memory of the memory bank.
5. The memory bank configuration information burning system comprises an upper computer and a burning jig, wherein the upper computer is in communication connection with the burning jig, the upper computer is provided with scanning equipment, the burning jig is used for inserting a memory bank,
the upper computer is used for triggering and checking the marker bit of the memory bank by scanning the graphic code on the memory bank through the scanning equipment, wherein the graphic code is attached with work order information;
the upper computer is used for extracting the work order information of the graphic code when the zone bit is a first zone bit, downloading a configuration file from a manufacturing execution system according to the work order information, and sending the configuration file and a first control instruction to the burning jig;
the burning jig is used for receiving the configuration file and the first control instruction and responding to the first control instruction to store the configuration file into the cache module;
the upper computer is used for sending a second control instruction to the burning jig when the flag bit is a second flag bit;
the burning jig is used for receiving the second control instruction, responding to the second control instruction, reading the configuration file in the cache module and burning the configuration file into the electrified erasable programmable read-only memory of the memory bank.
6. The system of claim 5, wherein the upper computer is configured to determine that a flag value of the flag bit is a first flag value or a second flag value; if the mark value of the mark bit is the first mark value, determining the mark bit as a first mark bit; and if the mark value of the mark bit is the second mark value, determining that the mark bit is the second mark bit.
7. The system of claim 6, wherein the host computer is configured to modify a flag value of the flag bit from a first flag value to a second flag value.
8. A memory bank configuration information burning apparatus comprising means for performing the method of any of claims 1-4.
9. A computer device, characterized in that it comprises a memory on which a computer program is stored and a processor which, when executing the computer program, implements the method according to any of claims 1-4.
10. A storage medium storing a computer program comprising program instructions which, when executed by a processor, implement the method of any one of claims 1-4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310359295.0A CN116382717A (en) | 2023-04-06 | 2023-04-06 | Memory bank configuration information burning method, device, system and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310359295.0A CN116382717A (en) | 2023-04-06 | 2023-04-06 | Memory bank configuration information burning method, device, system and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116382717A true CN116382717A (en) | 2023-07-04 |
Family
ID=86962999
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310359295.0A Pending CN116382717A (en) | 2023-04-06 | 2023-04-06 | Memory bank configuration information burning method, device, system and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116382717A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN120179264A (en) * | 2025-05-22 | 2025-06-20 | 浙江力积存储科技股份有限公司 | Automatic burning system and method for serial presence detection information |
-
2023
- 2023-04-06 CN CN202310359295.0A patent/CN116382717A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN120179264A (en) * | 2025-05-22 | 2025-06-20 | 浙江力积存储科技股份有限公司 | Automatic burning system and method for serial presence detection information |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5965863A (en) | Optical reader system comprising local host processor and optical reader | |
CN111522562B (en) | Dishwasher software burning method, device and equipment thereof | |
US6560703B1 (en) | Redundant updatable self-booting firmware | |
CN116382717A (en) | Memory bank configuration information burning method, device, system and storage medium | |
CN112015447B (en) | System updating method and device of electronic equipment, electronic equipment and storage medium | |
CN109614118B (en) | SPI Flash firmware burning method and device | |
CN112764785B (en) | Method for automatically upgrading multi-stage controller | |
KR20150096782A (en) | Virtual boundary codes in a data image of a read-write memory device | |
US5768499A (en) | Method and apparatus for dynamically displaying and causing the execution of software diagnostic/test programs for the silicon validation of microprocessors | |
CN108733517A (en) | SSD firmware upgrades guard method and device | |
JP2002342718A (en) | Ic card issuing system | |
US20060026415A1 (en) | Method of updating a portion BIOS | |
US20060047994A1 (en) | Method for burning BIOS | |
CN104869274A (en) | Image forming system, information processing device and tally information transmission method | |
CN112114823B (en) | Burning reading system based on modified MAC address | |
CN114253578A (en) | Method and device for designing flash environment | |
JP2012141722A (en) | Setting device | |
CN113176883A (en) | FPGA (field programmable Gate array) programming method and system capable of automatically generating programming record | |
CN112947991A (en) | Method and device for acquiring version difference code file, computer equipment and medium | |
EP0435139B1 (en) | A programmable controller for executing SFC language programs | |
CN112765041B (en) | Game automation testing method and device and electronic equipment | |
KR19990028574A (en) | Method and apparatus for changing fixed programs | |
JP5569594B2 (en) | Information processing device | |
CN116259352A (en) | Nonvolatile storage self-adaptive control system | |
CN113836881B (en) | Report field configuration dynamic acquisition method and device, storage medium and terminal |
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 |