Methods, equipment, and media for obtaining flash memory chip datasheets
By reading the flash memory serial number and matching it with manufacturer information and instruction set, the system automatically generates flash memory chip datasheets, solving the problem of low development efficiency caused by manual analysis and achieving the effect of quickly obtaining datasheets.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-30
- Publication Date
- 2026-03-10
AI Technical Summary
In existing technologies, relying on manual experience to analyze flash memory chips leads to low development efficiency and makes it impossible to quickly identify and correctly operate flash memory chips that do not provide datasheets.
The flash memory serial number is read and matched with the serial number set associated with the pre-stored datasheet. If the match fails, the datasheet is generated by adapting the instructions using the manufacturer information and instruction set.
In the absence of a datasheet, the system can automatically and quickly retrieve the datasheet for flash memory chips, improving development efficiency and reducing the time spent on manual analysis.
Smart Images

Figure CN119943122B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of storage technology, and in particular to a method, device and medium for obtaining datasheets of flash memory chips. Background Technology
[0002] When developers receive a flash memory chip but not its datasheet, they face a challenge: how to ensure their devices or systems can recognize and operate the flash chip correctly. Typically, developers refer to datasheets of other chips similar to the current one (e.g., brand, model, or series) to understand the basic characteristics of the flash memory chip.
[0003] However, due to the wide variety of flash memory chips and frequent model updates, relying on manual experience for matching and analysis requires a lot of time, resulting in low efficiency in the overall development process (including flash memory chip adaptation, system integration, etc.).
[0004] The above content is only used to help understand the technical solution of this application and does not represent an admission that the above content is prior art. Summary of the Invention
[0005] The main objective of this application is to provide a method, device, and medium for obtaining datasheets for flash memory chips, aiming to solve the technical problem of low efficiency in the development and use of flash memory chips due to reliance on manual experience in analyzing them.
[0006] To achieve the above objectives, this application proposes a method for obtaining the datasheet of a flash memory chip, the method comprising:
[0007] If the flash memory number of the flash memory chip to be processed is read, the flash memory number is matched and compared with the number set associated with the pre-stored datasheet to obtain the matching result;
[0008] If the matching result is a failure, the manufacturer information of the flash memory number is matched based on the number definition information of the flash memory number to obtain the manufacturer information matching result;
[0009] If the manufacturer information matching result is a successful match, obtain the manufacturer instruction set corresponding to the manufacturer information;
[0010] Instruction adaptation is performed based on the manufacturer's instruction set and the flash memory chip to be processed, and a datasheet for the flash memory chip to be processed is generated based on the adaptation results.
[0011] In one embodiment, after the step of matching the flash memory serial number with the manufacturer information based on the serial number definition information to obtain the manufacturer information matching result, if the matching result is a failure, the method further includes:
[0012] If the manufacturer information matching result is a failure, the flash memory chip to be processed is subjected to instruction adaptation processing based on the pre-stored first instruction set to obtain the instruction adaptation result. When the manufacturer information matching result is a failure, the predefined instruction set associated with the manufacturer information is the first instruction set.
[0013] If the instruction adaptation result is a successful match, the manufacturer information is determined based on the successfully matched target operation instruction, and the step of obtaining the manufacturer instruction set corresponding to the manufacturer information is executed.
[0014] In one embodiment, if the manufacturer information matching result is a failure, after the step of performing instruction adaptation processing on the flash memory chip to be processed based on the pre-stored first instruction set to obtain the instruction adaptation result, the method further includes:
[0015] If the instruction adaptation result is a matching failure, the operation instructions of the pre-stored second instruction set are determined, and the operation instructions of the second instruction sets of all manufacturers are adapted according to a preset order. The second instruction set is all instruction sets corresponding to the manufacturer.
[0016] After all the operation instructions in the second instruction set have been adapted, the instruction matching degree and instruction matching test report for the instruction sets of all manufacturers are obtained.
[0017] In response to the operation commands from the control interface, determine the command matching degree and the corresponding datasheet of the flash memory chip to be processed in the command matching experiment report.
[0018] In one embodiment, the method further includes:
[0019] If the flash memory number of the flash memory chip to be processed fails to be read, the step of performing instruction adaptation processing on the flash memory chip to be processed based on the pre-stored first instruction set to obtain the instruction adaptation result is executed.
[0020] In one embodiment, if the matching result is successful, the datasheet corresponding to the successfully matched number is used as the datasheet of the flash memory chip to be processed.
[0021] In one embodiment, before the step of matching and comparing the flash memory number of the flash memory chip to be processed with the number set associated with the pre-stored datasheet to obtain the matching result, the method further includes:
[0022] When a flash memory chip to be processed is obtained, its flash memory number is read based on the pre-stored operation command line.
[0023] In one embodiment, before the step of reading the flash memory number of the flash memory chip to be processed based on a pre-stored operation command line when the flash memory chip to be processed is obtained, the method further includes:
[0024] Receive and store all instruction sets for each manufacturer corresponding to existing datasheets, as well as predefined instruction sets corresponding to manufacturer information; or
[0025] Retrieve all instruction sets for each manufacturer corresponding to the pre-stored datasheets, and retrieve the predefined instruction sets corresponding to the manufacturer information.
[0026] In one embodiment, after the step of using the datasheet corresponding to the successfully matched number as the datasheet of the flash memory chip to be processed, if the matching result is successful, the method further includes:
[0027] Output the datasheet for the flash memory chip to be processed.
[0028] In addition, to achieve the above objectives, this application also proposes a flash memory chip datasheet acquisition device, the device comprising: a memory, a processor, and a computer program stored on the memory and executable on the processor, the computer program being configured to implement the steps of the flash memory chip datasheet acquisition method as described above.
[0029] In addition, to achieve the above objectives, this application also proposes a storage medium, which is a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it implements the steps of the flash memory chip datasheet acquisition method described above.
[0030] One or more technical solutions proposed in this application have at least the following technical effects:
[0031] First, the flash memory chip's serial number is read. After obtaining the serial number, it is compared against the known serial number set in its datasheet. If the matching fails, the manufacturer information is matched against the serial number's definition information. If the manufacturer information matching succeeds, the corresponding manufacturer instruction set is obtained, and instruction adaptation is performed on the flash memory chip. Finally, the datasheet for the flash memory chip is generated based on the instruction adaptation results. This method allows for the rapid acquisition of the flash memory chip's datasheet even without its physical datasheet, reducing the overall development efficiency caused by manual queries. This improves the overall development efficiency when dealing with a large number of unidentified flash memory chips. Attached Figure Description
[0032] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0033] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0034] Figure 1 A flowchart illustrating the first embodiment of the method for obtaining the datasheet of the flash memory chip in this application;
[0035] Figure 2 A flowchart illustrating the second embodiment of the method for obtaining the datasheet of the flash memory chip in this application;
[0036] Figure 3 A flowchart illustrating the third embodiment of the method for obtaining the datasheet of flash memory chips in this application;
[0037] Figure 4 A flowchart illustrating the method for obtaining the datasheet of a flash memory chip provided in an embodiment of this application;
[0038] Figure 5 This is a schematic diagram of the device structure of the hardware operating environment involved in the method for obtaining the datasheet of the flash memory chip in this embodiment of the application.
[0039] The purpose, features, and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0040] It should be understood that the specific embodiments described herein are merely illustrative of the technical solutions of this application and are not intended to limit this application.
[0041] Flash memory, also known as flash memory chips or flash storage, is a type of non-volatile memory (NVM). A datasheet is a document that details the technical specifications and performance of an electronic device or component. Datasheets are typically provided by manufacturers to guide users on how to correctly use and select the device or component. A datasheet usually contains the following information: basic parameters and specifications of the device or component, such as size, weight, and power consumption; electrical characteristics, such as input / output voltage, current, and impedance; performance indicators, such as read / write speed, storage capacity, and reliability; usage methods and precautions, such as connection methods, operating environment, and operating temperature; and package and pin information, such as pin arrangement and pin functions.
[0042] Specifically, the datasheet is an important reference for Flash memory. It provides detailed technical specifications and performance information, helping users understand the characteristics and usage conditions of Flash memory, thus enabling them to correctly select and use it. The datasheet includes technical support information such as pin functions and electrical characteristics. This information is crucial for users when designing circuits and writing drivers.
[0043] When developers receive a flash memory chip but not its datasheet, they face a challenge: how to ensure their devices or systems can recognize and correctly operate that flash chip. Typically, developers refer to datasheets of other chips similar to their current one (such as brand, model, or series) to understand the basic characteristics of the flash memory chip.
[0044] However, due to the wide variety of flash memory chips and frequent model updates, relying on manual experience for matching and analysis requires a lot of time, resulting in low efficiency in the overall development process (including flash memory chip adaptation, system integration, etc.).
[0045] Therefore, without the datasheet, it is necessary to quickly develop a basic user manual for the flash memory to improve the overall development efficiency of the flash memory.
[0046] The main solution of this application embodiment is: if the flash memory number of the flash memory chip to be processed is read, the flash memory number is matched and compared with the number set associated with the pre-stored data manual to obtain the matching result;
[0047] If the matching result is successful, the datasheet corresponding to the successfully matched number will be used as the datasheet for the flash memory chip to be processed.
[0048] Specifically, the flash memory number of the flash memory chip to be processed is read and matched with the number set of the existing datasheet. If the matching result is successful, it means that the flash memory number of the flash memory chip to be processed matches a certain number applicable to the datasheet, that is, the datasheet is applicable to the flash memory chip to be processed. Then, the datasheet of the flash memory chip to be processed is determined based on the matching number, so that the developers can accurately process the flash memory chip to be processed based on the datasheet, thereby improving the overall development process of flash memory chips.
[0049] It should be noted that the executing entity in this embodiment can be a computing service device with data processing, network communication, and program execution functions, such as a tablet computer, personal computer, or mobile phone, or an electronic device capable of performing the above functions, a flash memory chip datasheet acquisition device, etc. The following description uses a flash memory chip datasheet acquisition device as an example to illustrate this embodiment and the subsequent embodiments.
[0050] To better understand the technical solution of this application, a detailed description will be provided below in conjunction with the accompanying drawings and specific implementation methods.
[0051] This application provides a method for obtaining the datasheet of a flash memory chip, referring to... Figure 1 , Figure 1 This is a flowchart illustrating the first embodiment of the method for obtaining the datasheet of the flash memory chip in this application.
[0052] In this embodiment, the method for obtaining the datasheet of the flash memory chip includes steps S10 to S40:
[0053] Step S10: If the flash memory number of the flash memory chip to be processed is read, the flash memory number is matched and compared with the number set associated with the pre-stored datasheet to obtain the matching result.
[0054] It should be noted that the datasheet information of the flash memory chip to be processed refers to the datasheet of the flash memory chip to be processed. The flash memory chip to be processed refers to an unknown flash chip, that is, a flash chip without a datasheet. The flash number refers to the flash ID of the flash memory chip to be processed.
[0055] In this embodiment, in actual development scenarios, without a datasheet for the flash memory chip, developers typically need to spend a significant amount of time analyzing and matching the chip, resulting in a lengthy processing cycle and impacting overall development efficiency. Therefore, it's necessary to first read the flash memory chip's serial number to match the corresponding datasheet, or to obtain the manufacturer information for the flash memory chip, and then perform datasheet matching based on that information. This allows processing of the flash memory chip based on the obtained datasheet that matches its specifications. During this process, manual data analysis and matching by operators is unnecessary, thus improving processing efficiency. The flash memory chip's serial number can be obtained through command codes or detection tools.
[0056] Furthermore, after reading the flash memory serial number, it needs to be matched and compared with a set of serial numbers associated with a pre-stored datasheet. The pre-stored datasheet refers to a currently known datasheet, which specifies which flash memory it applies to; one datasheet may correspond to multiple different flash memory modules. A flash memory serial number, however, corresponds to a unique datasheet. Therefore, after reading the flash memory serial number, it is matched with a serial number in a known datasheet. If the flash memory serial number matches a serial number in a known datasheet, the match is successful, meaning the datasheet for the flash memory chip to be processed is a successfully matched datasheet. Otherwise, the match is considered to have failed.
[0057] Step S20: If the matching result is a failure, match the manufacturer information of the flash memory number based on the number definition information of the flash memory number to obtain the manufacturer information matching result.
[0058] It should be noted that a matching failure indicates that the existing datasheet information is incompatible with the flash memory chip to be processed. Therefore, other processing methods are needed to determine the datasheet for the flash memory chip to be processed. Specifically, this can be achieved by automatically parsing the manufacturer information of the flash memory chip and adapting the instructions based on the obtained manufacturer information, thereby generating a datasheet that matches the flash memory chip to be processed.
[0059] The ID Dedinition information refers to the identity information of the flash memory chip to be processed, which is obtained by querying the ID Dedinition command. This identity information includes, but is not limited to, manufacturer information, storage model, storage capacity, sector / block information, feature support, version information, and temperature range.
[0060] Therefore, in this embodiment, after executing the ID Dedinition instruction, the manufacturer information of the flash memory chip to be processed can be viewed based on the queried information, so as to further determine its datasheet through the manufacturer information. The process of matching manufacturer information can involve reading relevant information through the ID Dedinition instruction, matching the code identifying the manufacturer information with known manufacturer codes, and thus obtaining a successful or unsuccessful match result. It is understood that if the match fails, it indicates that the manufacturer information of the flash memory chip to be processed was hidden, damaged, or modified in some way at the time of manufacture. In this case, it is necessary to adapt it through other methods, such as instructions based on known manufacturers, to determine its manufacturer information.
[0061] Step S30: If the manufacturer information matching result is a successful match, obtain the manufacturer instruction set corresponding to the manufacturer information.
[0062] It should be noted that the manufacturer's instruction set is usually based on the existing flash memory chip datasheets and past work experience, and is obtained by sorting out the operation instructions of various flash memory manufacturers. It is information that is pre-stored locally or in the cloud.
[0063] In this embodiment, if the manufacturer information is successfully matched, the manufacturer instruction set of the flash memory chip corresponding to that manufacturer can be directly obtained from the local machine or the cloud so as to perform instruction adaptation verification processing based on the manufacturer instruction set.
[0064] Step S40: Perform instruction adaptation processing based on the manufacturer's instruction set and the flash memory chip to be processed, and generate the datasheet of the flash memory chip to be processed based on the adaptation result.
[0065] It is understandable that if the flash memory chip to be processed is a certain flash memory chip 'a' from manufacturer A, the manufacturer's instruction set usually contains instructions that are compatible with it. Therefore, it is necessary to first obtain the manufacturer's instruction set, and then determine the compatibility of each instruction in the instruction set with the flash memory chip, that is, determine whether the flash memory chip to be processed can execute or respond to a certain instruction in the manufacturer's instruction set. Each processed instruction will generate an adaptation result, and each adaptation result will be stored and recorded locally. Finally, the adaptation result of the instruction compatibility of the manufacturer's instruction set is obtained.
[0066] In this embodiment, after obtaining the adaptation result, it is necessary to analyze the adaptation result to form a datasheet for the flash memory chip to be processed. For example, when certain instructions pass the verification, the read / write type and other information retrieved by the instruction are determined, and then the datasheet for the flash memory chip to be processed is generated based on this information.
[0067] This embodiment provides a method for obtaining datasheets for flash memory chips. After a matching failure occurs between the flash memory number and the number set associated with the pre-stored datasheet, the definition information of the flash memory number is read. After matching the manufacturer information through the definition information, instruction adaptation processing is performed based on the manufacturer instruction set corresponding to the manufacturer information. Thus, a datasheet is generated based on the adaptation result, which improves the flexibility of obtaining datasheets through flash memory numbers. At the same time, the automated adaptation processing reduces human interference and improves the development and use efficiency of the flash memory chips to be processed.
[0068] Based on the first embodiment of this application, in the second embodiment of this application, the content that is the same as or similar to the first embodiment described above can be referred to the above description, and will not be repeated hereafter. Based on this, please refer to... Figure 2 After step S20, the method for obtaining the datasheet of the flash memory chip also includes steps S50 to S60:
[0069] Step S50: If the manufacturer information matching result is a failure, perform instruction adaptation processing on the flash memory chip to be processed based on the pre-stored first instruction set to obtain the instruction adaptation result.
[0070] It should be noted that when the manufacturer information matching result fails, the predefined instruction set associated with the manufacturer information is the first instruction set. Specifically, a manufacturer information matching failure indicates that the manufacturer information of the flash memory chip has been hidden, corrupted, or modified. Such flash memory chips are typically custom-generated by the manufacturer and are not common types. Therefore, the predefined instruction set is a pre-stored special instruction set based on the controller manufacturer's accumulated development experience, or a customized special instruction set obtained through commercial communication. The specific content of the special instruction set is not limited here. Instruction adaptation results include successful matching and failed matching. A successful matching indicates that the flash memory chip to be processed belongs to a special flash memory chip produced by a specific manufacturer.
[0071] Therefore, in this embodiment, if the manufacturer information matching result fails, the flash memory chip to be processed is first adapted using the pre-stored first instruction set to obtain the corresponding instruction adaptation result. This allows the manufacturer information of the flash memory chip to be processed to be determined based on the instruction adaptation result, while avoiding direct adaptation based on all known instruction sets of all manufacturers, thus reducing computational complexity.
[0072] It is understandable that different manufacturers have different first instruction sets. Usually, the first instruction set is selected and adapted in turn until all instructions do not match or the manufacturer information that matches successfully is found.
[0073] Step S60: If the instruction adaptation result is a successful match, determine the manufacturer information based on the successfully matched target operation instruction, and execute the step of obtaining the manufacturer instruction set corresponding to the manufacturer information.
[0074] In this embodiment, when the instruction adaptation result is a successful match, the manufacturer information corresponding to the successfully matched target operation instruction can be determined, and then the manufacturer information can be used as the manufacturer information of the flash memory chip to be processed. Then, the processing action of step S40 is executed. In this way, when the manufacturer information fails to match, the manufacturer information can be determined based on other processing methods, thereby improving the flexibility of determining the datasheet.
[0075] This embodiment provides a method for obtaining datasheets for flash memory chips. Based on the known manufacturer's special instruction set, the method performs instruction adaptation on the flash memory chip to be processed. The successful matching result determines that the flash memory chip to be processed is a chip with special signals produced by a certain manufacturer. This allows the generation of datasheets for the flash memory chip to be processed based on the manufacturer information, improving the flexibility of obtaining datasheets through flash memory serial numbers. At the same time, the automated adaptation process reduces human interference and improves the development and use efficiency of the flash memory chip to be processed.
[0076] Based on the second embodiment of this application, in the third embodiment of this application, the content that is the same as or similar to the second embodiment described above can be referred to the above description, and will not be repeated hereafter. Based on this, please refer to... Figure 3 After step S50, the method for obtaining the datasheet of the flash memory chip also includes steps S70 to S90:
[0077] Step S70: If the instruction adaptation result is a matching failure, determine the operation instructions of the pre-stored second instruction set, and perform instruction adaptation processing on the operation instructions of the second instruction sets of all manufacturers based on a preset order.
[0078] It should be noted that the second instruction set refers to all instruction sets corresponding to the manufacturer. If there are ten manufacturers, there will be ten corresponding second instruction sets. If the instruction adaptation process fails to match, it indicates that the flash memory chip being processed is not a specific model manufactured by the manufacturer. Therefore, all instruction sets corresponding to the manufacturer can be determined, and then adaptation processing can be performed using all instruction sets to generate the corresponding datasheet.
[0079] Specifically, this process requires iterating through all the manufacturer's operation commands to obtain the command matching degree and command matching experiment report for each command. For example, a data manual is generated based on the manufacturer information corresponding to the command with the highest matching degree and the experiment reports for all operation commands.
[0080] Furthermore, in this embodiment, to reduce computational complexity, when adapting the operation instructions of the second instruction set, the entire instruction set of manufacturer A is not directly traversed. Instead, for a specific operation instruction 'a' (which is included by all manufacturers), the process starts traversing from manufacturer A to manufacturer Z to determine which manufacturers' operation instructions are adapted. This narrows down the matching range of manufacturer data. For example, operation instructions 'a' from manufacturers C to H can all be adapted to the flash memory chip to be processed, thus reducing the adaptation range of operation instructions to manufacturers C to H. Therefore, if the instruction adaptation result is a match failure, the operation instructions in the second instruction set are first determined, and then the operation instructions in the second instruction set included by the manufacturer are adapted according to a preset order, such as manufacturer number order or alphabetical order.
[0081] In this embodiment, when both manufacturer information and special instruction information do not match, the manufacturer's entire instruction set is traversed, and the manufacturer information is filtered through a subset of the entire instruction set in turn. This reduces computational complexity and improves the efficiency of generating data manuals.
[0082] Step S80: After all the operation instructions in the second instruction set have completed instruction adaptation processing, the instruction matching degree and instruction matching experiment report corresponding to the instruction sets of all manufacturers are obtained.
[0083] In this embodiment, all manufacturers' instruction sets will output instruction matching scores and corresponding instruction matching experiment reports. The more matching instructions there are, the higher the instruction matching score, and the more accurate the data in the instruction matching experiment report.
[0084] Step S90: In response to the operation command of the control interface, determine the command matching degree and the datasheet of the flash memory chip to be processed corresponding to the command matching experiment report.
[0085] In this embodiment, after the matching process, the user needs to participate in the evaluation to obtain the datasheet of the flash memory chip. Therefore, the datasheet acquisition device can obtain the datasheet of the flash memory chip by responding to the user's confirmation control command output in the control interface, such as the confirmation command to generate the datasheet of the flash memory chip to be processed.
[0086] Based on the second embodiment of this application, in the fourth embodiment of this application, the method for obtaining the datasheet of a flash memory chip further includes step S100:
[0087] Step S100: If the flash memory number of the flash memory chip to be processed fails to be read, execute the step of performing instruction adaptation processing on the flash memory chip to be processed based on the pre-stored first instruction set to obtain the instruction adaptation result.
[0088] In this embodiment, if the flash memory number reading fails, it indicates that the flash memory number of the flash memory chip to be processed is hidden and cannot be read effectively. It is understood that if the flash memory number of a flash memory chip is hidden, it is generally assumed that the flash memory chip to be processed is a special model chip produced by the manufacturer, meaning it can respond to special operation commands. Therefore, step S60, which involves performing instruction adaptation processing on the flash memory chip to be processed based on the pre-stored first instruction set to obtain the instruction adaptation result, is required. This allows for the acquisition of the datasheet of the flash memory chip to be processed using other processing methods when the flash memory number reading fails, improving the flexibility of datasheet generation. Furthermore, the automatic instruction matching and adaptation processing eliminates the need for manual processing by the user, improving the development and usage efficiency of the flash memory chip to be processed.
[0089] Based on the first embodiment of this application, in the fifth embodiment of this application, after step S10, step S110 is further included:
[0090] Step S100: If the matching result is successful, the datasheet corresponding to the successfully matched number is used as the datasheet for the flash memory chip to be processed.
[0091] In this embodiment, the matching process can be understood as querying and matching within the number set to confirm whether there exists a number identical to the flash memory number of the flash memory chip to be processed. When the flash memory number of the flash memory chip to be processed matches a number in the number set, it indicates that the flash memory chips corresponding to these two numbers are the same or compatible. Therefore, the datasheet associated with that number is also applicable. Based on this, the obtained flash memory number is matched and compared with the pre-stored number set to obtain the matching result. Once a match is successful, the datasheet corresponding to the flash memory chip can be obtained immediately, thereby avoiding the time spent searching and reading a large number of documents, thus optimizing resource utilization and improving the development and use efficiency of flash memory chips.
[0092] After obtaining the datasheet of the flash memory chip to be processed, the user can perform adaptation and support processing based on the datasheet. This application does not limit the specific adaptation and support processing methods.
[0093] This embodiment provides a method for obtaining the datasheet of a flash memory chip. The method involves matching the flash memory number of the flash memory chip to be processed with an existing set of datasheet numbers. If the matching is successful, it indicates that the flash memory number of the flash memory chip to be processed matches a specific number applicable to the datasheet, meaning that the datasheet is suitable for the flash memory chip to be processed. Based on this, the datasheet of a flash memory chip to be processed can be quickly obtained even when its datasheet is currently unknown, improving the efficiency of developing and using the flash memory chip.
[0094] Based on the first embodiment of this application, in the sixth embodiment of this application, before step S10, step S01 is further included:
[0095] Step S01: When the flash memory chip to be processed is obtained, the flash memory number of the flash memory chip to be processed is read based on the pre-stored operation command line.
[0096] For example, if the developer has configured a pre-stored command line `read flash ID`, the device can directly read the memory number of the flash memory chip to be processed through this command line. Optionally, the flash memory number of the flash memory chip to be processed can also be read through other command lines; this application does not limit the content of the command lines.
[0097] In another optional implementation, the flash memory serial number can be obtained through a third-party testing tool. This involves sending the flash memory chip to be processed to the testing tool and determining the flash memory serial number based on the tool's feedback. The flash memory chip datasheet acquisition device can be connected to third-party processing software, which then detects the flash memory serial number; alternatively, a testing plugin can be used for detection.
[0098] The flash memory number of the flash memory chip to be processed is obtained by pre-stored command line, thereby obtaining the accurate flash memory number, and then processing is performed based on the flash memory number.
[0099] Furthermore, prior to step S01, all instruction sets of each manufacturer corresponding to the existing datasheets can be received and stored, as well as predefined instruction sets corresponding to the manufacturer information.
[0100] Understandably, before receiving an unknown flash memory chip to be processed, users typically need to create an initial instruction set for each flash memory model based on existing datasheets. Subsequently, based on the instruction sets of each flash model and historical usage experience, they need to create a complete instruction set for each manufacturer, as well as a predefined special operation instruction set. Finally, these instruction information are input into the cloud or the datasheet acquisition device. This allows for instruction adaptation processing based on these instruction sets when the flash memory chip's serial number or manufacturer information is not available, improving the flexibility when obtaining datasheets.
[0101] Optionally, it can also obtain all instruction sets of each manufacturer corresponding to the pre-stored datasheet, as well as the predefined instruction sets corresponding to the manufacturer, so as to automatically generate the corresponding instruction sets based on the existing datasheet information.
[0102] Furthermore, based on any of the above embodiments, after obtaining the datasheet of the flash memory chip to be processed, it is necessary to output the datasheet of the flash memory chip to be processed. Therefore, if the matching result between the flash memory number and the number set associated with the pre-stored datasheet is successful, the datasheet corresponding to the successfully matched number is used as the datasheet of the flash memory chip to be processed, and then the datasheet is output to facilitate user instruction adaptation and support processing. In addition, other processing methods can also output the datasheet after obtaining it.
[0103] For example, to help understand the implementation flow of the flash memory chip datasheet acquisition method obtained by combining all the above embodiments, please refer to... Figure 4 , Figure 4 A flowchart illustrating a method for obtaining the datasheet of a flash memory chip by combining all processing methods is provided, specifically:
[0104] During processing, the user first creates instruction sets for each flash memory model based on existing datasheets. Then, based on these instruction sets and past experience, they create the original manufacturer's instruction sets and special operation instruction sets for each flash memory model—the pre-stored first and second instruction sets. These instruction sets are then stored in the flash memory chip datasheet retrieval device. Further, after receiving a flash memory chip without a configured datasheet, the device can read the flash memory ID using the pre-stored or developer-input command line `90h read flash ID`. After reading the flash memory ID, it matches it against the existing datasheet ID set. If the flash memory ID matches successfully, the device retrieves and outputs the datasheet for the flash memory chip to be processed, enabling the user to perform adaptation and support processing.
[0105] Furthermore, when no flash memory number is matched, the ID definition information of the flash memory number is queried through the ID Definition method. Based on the ID definition information, the manufacturer information of the flash memory chip to be processed is queried. After the manufacturer information is found, the manufacturer information is determined and the instruction set of the manufacturer information is obtained. Then, the compatibility between each instruction in the instruction set and the instruction of the flash memory chip is determined one by one. Finally, the experimental results are analyzed based on the compatibility to obtain the datasheet of the flash memory chip to be processed. After obtaining the datasheet, it can be output so that users can perform adaptation support processing for the flash memory chip to be processed.
[0106] Furthermore, if the manufacturer information of the flash memory chip to be processed is not found, it is necessary to poll and traverse the manufacturer's special operation instructions to determine the manufacturer information based on the compatibility of the special operation instructions. If the instruction is successfully adapted, the manufacturer information can be determined and instruction adaptation processing can be performed. If the instruction is not adapted, it is necessary to traverse and poll the instruction sets of all manufacturers to generate an instruction matching score and instruction matching experiment report for each manufacturer's instruction set. Finally, senior engineers participate in the evaluation to obtain the datasheet of the flash memory chip to be processed. The processing device can directly obtain the datasheet determined by the senior engineer.
[0107] Furthermore, if the flash memory number is not found during the process of reading the flash memory number, it is necessary to poll and traverse the manufacturer's special operation instructions to determine the manufacturer information based on the compatibility of the special operation instructions.
[0108] Based on this, the corresponding datasheet of the flash memory chip to be processed can be quickly obtained even when there is no datasheet available. This allows the flash memory chip to be processed based on the datasheet that is compatible with the flash memory chip, thereby improving the development and usage process of the flash memory chip.
[0109] It should be noted that the above examples are only for understanding this application and do not constitute a limitation on the method of obtaining the datasheet of the flash memory chip in this application. Any simple modifications based on this technical concept are within the protection scope of this application.
[0110] This application provides a flash memory chip datasheet acquisition device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the flash memory chip datasheet acquisition method in the first embodiment described above.
[0111] The following is for reference. Figure 5 It shows a schematic diagram of a datasheet acquisition device suitable for implementing the embodiments of the present application. Figure 5 The datasheet acquisition device for the flash memory chip shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of this application.
[0112] like Figure 5 As shown, the flash memory datasheet acquisition device may include a processing unit 1001 (e.g., a central processing unit, a graphics processing unit, etc.) that can perform various appropriate actions and processes according to a program stored in read-only memory (ROM) 1002 or a program loaded from storage device 1003 into random access memory (RAM) 1004. The RAM 1004 also stores various programs and data required for the operation of the flash memory datasheet acquisition device. The processing unit 1001, ROM 1002, and RAM 1004 are interconnected via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to I / O interface 1006: input devices 1007 including, for example, touchscreens, touchpads, keyboards, mice, image sensors, microphones, accelerometers, gyroscopes, etc.; output devices 1008 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 1003 including, for example, magnetic tapes, hard disks, etc.; and communication devices 1009. Communication device 1009 allows the flash memory chip datasheet acquisition device to communicate wirelessly or wiredly with other devices to exchange data. Although flash memory chip datasheet acquisition devices with various systems are shown in the figures, it should be understood that it is not required to implement or possess all of the systems shown. More or fewer systems may be implemented alternatively.
[0113] Specifically, according to the embodiments disclosed in this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed in this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from storage device 1003, or installed from ROM 1002. When the computer program is executed by processing device 1001, it performs the functions defined in the methods of the embodiments disclosed in this application.
[0114] The flash memory chip datasheet acquisition device provided in this application, employing the flash memory chip datasheet acquisition method described in the above embodiments, can solve the technical problem of low efficiency in flash memory chip development and use due to reliance on manual experience for flash memory chip analysis. Compared with the prior art, the beneficial effects of the flash memory chip datasheet acquisition device provided in this application are the same as those of the flash memory chip datasheet acquisition method provided in the above embodiments, and other technical features in this flash memory chip datasheet acquisition device are the same as those disclosed in the previous embodiment method, and will not be repeated here.
[0115] It should be understood that the various parts disclosed in this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any suitable manner in one or more embodiments or examples.
[0116] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
[0117] This application provides a computer-readable storage medium having computer-readable program instructions (i.e., a computer program) stored thereon, the computer-readable program instructions being used to execute the flash memory chip datasheet acquisition method in the above embodiments.
[0118] The computer-readable storage medium provided in this application may be, for example, a USB flash drive, an SD card (Secure Digital Memory Card), an eMMC (embedded MultiMediaCard), a UFS (Universal Flash Storage), or an SSD (Solid State Drive), but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, system, or device. Program code contained on a computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (Radio Frequency), etc., or any suitable combination thereof.
[0119] The aforementioned computer-readable storage medium may be included in a datasheet acquisition device for flash memory chips; or it may exist independently and not be assembled into a datasheet acquisition device for flash memory chips.
[0120] The aforementioned computer-readable storage medium carries one or more programs. When the aforementioned one or more programs are executed by the flash memory chip datasheet acquisition device, the flash memory chip datasheet acquisition device: if it reads the flash memory number of the flash memory chip to be processed, it performs a matching comparison based on the flash memory number and the number set associated with the pre-stored datasheet to obtain a matching result.
[0121] If the matching result is a failure, the manufacturer information of the flash memory number is matched based on the number definition information of the flash memory number to obtain the manufacturer information matching result;
[0122] If the manufacturer information matching result is a successful match, obtain the manufacturer instruction set corresponding to the manufacturer information;
[0123] Instruction adaptation is performed based on the manufacturer's instruction set and the flash memory chip to be processed, and a datasheet for the flash memory chip to be processed is generated based on the adaptation results.
[0124] Computer program code for performing the operations of this application can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, and conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a Local Area Network (LAN) or a Wide Area Network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0125] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0126] The modules described in the embodiments of this application can be implemented in software or hardware. The names of the modules do not necessarily limit the functionality of the unit itself.
[0127] The readable storage medium provided in this application is a computer-readable storage medium that stores computer-readable program instructions (i.e., a computer program) for executing the above-described method for obtaining the datasheet of flash memory chips. This solves the technical problem of low efficiency in the development and use of flash memory chips due to reliance on manual experience for analysis. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as those of the flash memory chip datasheet acquisition method provided in the above embodiments, and will not be repeated here.
Claims
1. A data sheet acquisition method of a flash memory device, characterized by, The method comprises: If the flash memory number of the to-be-processed flash memory particle is read, a matching comparison is performed based on the flash memory number and a number set associated with a pre-stored data manual, and a matching result is obtained; If the matching result is a matching failure, manufacturer information of the flash memory number is matched based on number definition information of the flash memory number, and a manufacturer information matching result is obtained; If the manufacturer information matching result is a matching success, a manufacturer instruction set corresponding to the manufacturer information is acquired; Based on the manufacturer instruction set and the to-be-processed flash memory particle, an instruction adaptation process is performed, and a data manual of the to-be-processed flash memory particle is generated according to an adaptation result; If the manufacturer information matching result is a matching failure, an instruction adaptation process is performed on the to-be-processed flash memory particle based on a pre-stored first instruction set, and an instruction adaptation result is obtained, wherein, when the manufacturer information matching result is a matching failure, a pre-defined instruction set associated with the manufacturer information is the first instruction set; If the instruction adaptation result is a matching success, the manufacturer information is determined based on a target operation instruction of the matching success, and the step of acquiring the manufacturer instruction set corresponding to the manufacturer information is performed.
2. The data sheet acquisition method of a flash memory device as claimed in claim 1, wherein, After the step of, if the manufacturer information matching result is a matching failure, an instruction adaptation process is performed on the to-be-processed flash memory particle based on a pre-stored first instruction set, and an instruction adaptation result is obtained, the method further comprises: If the instruction adaptation result is a matching failure, operation instructions of a second instruction set of all manufacturers are determined, and an instruction adaptation process is performed on the operation instructions of the second instruction set of all manufacturers based on a preset order, wherein the second instruction set is a complete instruction set corresponding to a manufacturer; After the operation instructions of the second instruction set are all completed, an instruction matching degree corresponding to an instruction set of all manufacturers and an instruction matching experiment report are obtained; In response to an operation instruction of a control interface, a data manual of the to-be-processed flash memory particle corresponding to the instruction matching degree and the instruction matching experiment report is determined.
3. The data sheet acquisition method of a flash memory device as claimed in claim 1, wherein, The method further comprises: If the flash memory number reading of the to-be-processed flash memory particle fails, the step of performing an instruction adaptation process on the to-be-processed flash memory particle based on a pre-stored first instruction set to obtain an instruction adaptation result is performed.
4. The data sheet acquisition method of a flash memory device as claimed in claim 1, wherein, After the step of, if the flash memory number of the to-be-processed flash memory particle is read, a matching comparison is performed based on the flash memory number and a number set associated with a pre-stored data manual, and a matching result is obtained, the method further comprises: If the matching result is a matching success, a data manual corresponding to a matching successful number is taken as a data manual of the to-be-processed flash memory particle.
5. The data sheet acquisition method of a flash memory device as claimed in claim 1, wherein, Before the step of, if the flash memory number of the to-be-processed flash memory particle is read, a matching comparison is performed based on the flash memory number and a number set associated with a pre-stored data manual, and a matching result is obtained, the method further comprises: When the to-be-processed flash memory particle is acquired, the flash memory number of the to-be-processed flash memory particle is read based on a pre-stored operation command line.
6. The data sheet acquisition method of a flash memory device as claimed in claim 5, wherein, Before the step of, when the to-be-processed flash memory particle is acquired, the flash memory number of the to-be-processed flash memory particle is read based on a pre-stored operation command line, the method further comprises: receiving and storing all instruction sets of each manufacturer corresponding to the existing data manual, and pre-defined instruction sets corresponding to the manufacturer information; or receiving and storing all instruction sets of each manufacturer corresponding to the existing data manual, and pre-defined instruction sets corresponding to the manufacturer information.
7. The data sheet acquisition method of the flash memory chip according to any one of claims 1 to 6, wherein, After the step of taking the data manual of the to-be-processed flash memory particle as the data manual of the to-be-processed flash memory particle when the matching result is a matching success, the method further comprises: outputting the data manual of the to-be-processed flash memory particle.
8. A data sheet acquisition apparatus of a flash memory device, characterized by comprising: The data manual obtaining device of the flash memory particle comprises a memory, a processor and a computer program stored in the memory and executable on the processor, and the computer program is configured to implement the steps of the data manual obtaining method of the flash memory particle according to any one of claims 1 to 7.
9. A storage medium, characterized by The storage medium is a computer readable storage medium, and the storage medium stores a computer program. When the computer program is executed by a processor, the steps of the data manual obtaining method of the flash memory particle according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Manual generation method and device, electronic equipment and storage medium
CN116303999A
Method and apparatus for booting from a flash memory
US20100005282A1