CN100501683C - Automatic identification method for flash memory type of product - Google Patents

Automatic identification method for flash memory type of product Download PDF

Info

Publication number
CN100501683C
CN100501683C CNB2006100287539A CN200610028753A CN100501683C CN 100501683 C CN100501683 C CN 100501683C CN B2006100287539 A CNB2006100287539 A CN B2006100287539A CN 200610028753 A CN200610028753 A CN 200610028753A CN 100501683 C CN100501683 C CN 100501683C
Authority
CN
China
Prior art keywords
flash memory
sign indicating
indicating number
model
die
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.)
Expired - Fee Related
Application number
CNB2006100287539A
Other languages
Chinese (zh)
Other versions
CN101101564A (en
Inventor
刘家良
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Sunrise Simcom Electronic Technology Co Ltd
Original Assignee
Shanghai Chenxing Electronics Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Chenxing Electronics Science and Technology Co Ltd filed Critical Shanghai Chenxing Electronics Science and Technology Co Ltd
Priority to CNB2006100287539A priority Critical patent/CN100501683C/en
Publication of CN101101564A publication Critical patent/CN101101564A/en
Application granted granted Critical
Publication of CN100501683C publication Critical patent/CN100501683C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Read Only Memory (AREA)

Abstract

The method includes steps: first, establishing an information table interrelated to flash memory (FM); each record in the table contains model of FM device, hardware information of FM device in the model, and function set of detection device ID for FM device in the model; based on specification of FM to complete specific implementation functions for reading, erasing, programming and detection device ID etc operations for FM in the model; based on function of FM detection device ID in the said information table to compare device ID read with ID provided in the table. Advantages are: only one piece of software is needed to make flash memories in multiple models compatible by identifying flash memories automatically if flash memories in multiple models are utilized at same time so that the invention quickens schedule for developing products and makes convenience for maintaining projects.

Description

Automatic identifying method to employed flash memory type in the product
Technical field
The present invention relates to a kind of automatic identifying method to a plurality of model flash memories, particularly a kind of number identical and use the recognition methods of the flash memory of different two kinds of models to flash memory device.
Background technology
Current when the various product of research and development; be subjected to the restriction of material supply of material aspect through regular meeting; particularly the flash memory supply of material of portable terminal product use exists bigger problem; the flash memory that in a kind of product of being everlasting, needs to use multiple model; and use the flash memory of a plurality of models all can bring a lot of troubles for exploitation and later maintenance with a kind of product; therefore, the automatic identification that realizes flash memory is a job highly significant, can reduce product development and safeguard a lot of work of aspect.
For this reason, U.S. AMD (Advanced Micro Devices) company releases passes through in each storage unit of flash memory 2 information of storage, recording density is improved 1 times MirrorBit flash memory has height reliability, has cost benefit, and the MirrorBit flash memory of AMD can with existing Floating Gate (floating gate) flash memory pin compatibility, but the device number of two kinds of dissimilar same capability flash memories but is identical, and its read-write operation aspect then needs to adopt diverse ways according to different model flash memories.
Summary of the invention
Purpose of the present invention is exactly to solve the problems referred to above of running in the actual product, proposes the method for the different flash memories identifications under the method, particularly device number same case of employed flash memory type in a kind of automatic identification product.
For achieving the above object, the present invention proposes a kind of method of automatic identification flash memory, its technical scheme is:
At first create a flash memory relevant information table in the internal memory of system, each record in this form all comprises: the flash memory device model; The hardware information of this model flash memory device; The checkout equipment ID function of this model flash memory: wherein, the hardware information of flash memory device comprises: the information of the die of this model flash memory (wafer); The number of die; The ID of manufacturer of flash memory; The flash memory device sign indicating number; Flash memory expansion equipment sign indicating number 1; Expansion equipment sign indicating number 2;
Improve the read (reading) of this model flash memory again according to the instructions of flash memory, erase (wiping), program (programming), the specific implementation function of operation such as checkout equipment ID;
Carry out the ID of manufacturer, flash memory device sign indicating number, flash memory expansion equipment sign indicating number 1, expansion equipment sign indicating number 2 that flash memory checkout equipment ID function in the information table removes to read flash memory then, again respectively with this record in the ID of manufacturer, flash memory device sign indicating number, flash memory expansion equipment sign indicating number 1, the expansion equipment sign indicating number 2 of flash memory compare and then identification respectively.
Positive progressive effect of the present invention is: when the multiple flash memory type of needs uses simultaneously, discern automatically by flash memory, only software of need gets final product the flash memory of compatible multiple model, can accelerate the development progress of project, makes things convenient for project maintenance.
Description of drawings
Fig. 1 is the synoptic diagram of one embodiment of the invention.
Embodiment
At first, in the internal memory of system, set up a flash information table, joined in this table as a corresponding record with each information of flash memory that may use that use in the past, that will use, each record all comprises the flash memory device model, the checkout equipment ID function address of the hardware information of this model flash memory device and this model flash memory.Wherein the hardware information of flash memory device comprises information, the number of die, the ID of manufacturer of flash memory, flash memory device sign indicating number, flash memory expansion equipment sign indicating number 1, the expansion equipment sign indicating number 2 of the die (wafer) of this model flash memory;
Flash memory is divided into AMD and two series of Intel at present, corresponding its operational order also is divided into two series, therefore, must improve read, the erase of this model flash memory, the corresponding realization function of various operations such as program, checkout equipment ID according to the instructions of flash memory again.
Then, the operation flash memory automatic identification procedure, be exactly execution in step 1000, start-up routine 100, execution in step 1001 is from first flash memory type of flash information table, the address that execution in step 1002,1003,1004 is obtained die according to the information of die earlier, if this flash memory has two die, the address of reading second die again; Execution in step 1005 then, the checkout equipment ID function of this model flash memory goes fetch equipment ID number in the call list: this function is that first die with flash memory is changed to reading mode, read the ID of manufacturer of this model flash memory then according to the address of die, the flash memory device sign indicating number, flash memory expansion equipment sign indicating number 1, flash memory expansion equipment sign indicating number 2, obtain the number of die, die with flash memory is changed to reading mode again, execution in step 1006,1007,1008, if the ID of manufacturer of the flash memory that reads, the flash memory device sign indicating number, flash memory expansion equipment sign indicating number 1, the number of flash memory expansion equipment sign indicating number 2 and die all conforms to the hardware device information of this record in the information table, shows that then used flash memory is exactly this model.Otherwise,, the next model of flash information table is read comparison, up to the model that finds flash memory or till searching for complete flash information table again according to above step with regard to rebound execution in step 1002.In execution in step 1003,, just adopt the processing function of this model corresponding flash memory handling function as current flash disk operation if find the model of flash memory; If do not find, show that then the flash memory of this model does not join in the flash information table, execution in step 1008 need be added this flash memory relevant information, and perhaps the problem that is welded with of this flash memory causes reading and writing mistake.
Because the Mirrorbit in the AMD series is identical with its pin of Floating gate flash memory, and it is high that its cost performance is wanted, so most of product all will switch to the Mirrorbit flash memory from floating gate flash memory, but both read-write operations have adopted diverse ways, therefore need discern automatically these two kinds of flash memories, and the Mirrorbit of same capability and the Floating gate flash memory ID of its manufacturer, the flash memory device sign indicating number, flash memory expansion equipment sign indicating number 1, the number of flash memory expansion equipment sign indicating number 2 and die is all identical, therefore, employing is read certain different mode bit that automatic selection address obtains and is distinguished two kinds of flash memories, just can adopt corresponding operating method that flash is operated after distinguishing.
After having adopted automatic identifying method,, reduced the difficulty of product maintenance, also accelerated the research and development process of project for using the flash memory of different model will bring very big benefit in the same development project.

Claims (2)

1, a kind of automatic identifying method to employed flash memory type in the product, its step comprises:
S 1. at first create a flash memory relevant information table in the internal memory of system, each record in this form all comprises: the flash memory device model; The hardware information of this model flash memory device; The checkout equipment ID function of this model flash memory; Wherein, the hardware information of flash memory device comprises: the die information of this model flash memory; The number of die; The ID of manufacturer of flash memory; The flash memory device sign indicating number; Flash memory expansion equipment sign indicating number 1; Expansion equipment sign indicating number 2;
S 2. the realization of improving this model flash memory according to the instructions of flash memory is read/the flash disk operation function and the checkout equipment ID function of erasing-programming function again;
S 3. the flash memory checkout equipment ID function in the execution list removes to read the ID of manufacturer, flash memory device sign indicating number, flash memory expansion equipment sign indicating number 1, the expansion equipment sign indicating number 2 of flash memory then, again respectively with record in the ID of manufacturer, flash memory device sign indicating number, flash memory expansion equipment sign indicating number 1, the expansion equipment sign indicating number 2 of flash memory compare respectively, and then identification: from first flash memory type of flash information table, the address that elder generation obtains die according to the information of die, if this flash memory has two die, the address of reading second die again; The checkout equipment ID function of this model flash memory removes to read this flash memory device ID number in the call list then, this function is that first die with flash memory is changed to reading mode, read the ID of manufacturer, flash memory device sign indicating number, flash memory expansion equipment sign indicating number 1, the flash memory expansion equipment sign indicating number 2 of this model flash memory then according to the address of die, obtain the number of die, the die with flash memory is changed to reading mode again; If the number of the ID of manufacturer of the flash memory that reads, flash memory device sign indicating number, flash memory expansion equipment sign indicating number 1, flash memory expansion equipment sign indicating number 2 and die all conforms to the hardware device information of this record in the table, show that then used flash memory is exactly this model; Otherwise, the next model of flash tables is read comparison, up to the model that finds flash memory or till searching for complete table just again according to above step; If find flash memory type, just adopt the processing function of this model corresponding flash memory handling function as current flash disk operation; If do not find, show that then this model flash memory does not join in the flash memory, need add this flash memory relevant information, perhaps the problem that is welded with of this flash memory causes reading and writing mistake.
2, the automatic identifying method to employed flash memory type in the product according to claim 1, it is characterized in that, the Mirrorbit of same capability and Floating gate flash memory, the number of the ID of its manufacturer, flash memory device sign indicating number, flash memory expansion equipment sign indicating number 1, flash memory expansion equipment 2 and die is identical, also should take to read certain different mode bit that automatic selection address obtains and distinguish two kinds of flash memories, adopt corresponding operating method that flash memory is operated after distinguishing.
CNB2006100287539A 2006-07-07 2006-07-07 Automatic identification method for flash memory type of product Expired - Fee Related CN100501683C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100287539A CN100501683C (en) 2006-07-07 2006-07-07 Automatic identification method for flash memory type of product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100287539A CN100501683C (en) 2006-07-07 2006-07-07 Automatic identification method for flash memory type of product

Publications (2)

Publication Number Publication Date
CN101101564A CN101101564A (en) 2008-01-09
CN100501683C true CN100501683C (en) 2009-06-17

Family

ID=39035844

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100287539A Expired - Fee Related CN100501683C (en) 2006-07-07 2006-07-07 Automatic identification method for flash memory type of product

Country Status (1)

Country Link
CN (1) CN100501683C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662878A (en) * 2012-02-27 2012-09-12 深圳市硅格半导体有限公司 Identifying-driving method and device for software layer of storage device

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101533663B (en) * 2008-03-11 2014-07-16 深圳市朗科科技股份有限公司 Method for improving flash memory medium data access speed
CN101430936B (en) * 2008-10-23 2011-09-07 深圳市硅格半导体有限公司 Method for acquiring physical parameters of flash memory
CN103902461A (en) * 2012-12-27 2014-07-02 中兴通讯股份有限公司 Method and device for compatibility of different Nand flash memories
CN110415756B (en) * 2019-07-31 2021-06-08 东莞记忆存储科技有限公司 Method and device for testing SSD label information
CN111857588A (en) * 2020-07-15 2020-10-30 江门市俐通环保科技有限公司 Data erasing method, system, equipment and storage medium
CN112818693A (en) * 2021-02-07 2021-05-18 深圳市世强元件网络有限公司 Automatic extraction method and system for electronic component model words

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662878A (en) * 2012-02-27 2012-09-12 深圳市硅格半导体有限公司 Identifying-driving method and device for software layer of storage device
CN102662878B (en) * 2012-02-27 2015-01-21 深圳市硅格半导体有限公司 Identifying-driving method and device for software layer of storage device

Also Published As

Publication number Publication date
CN101101564A (en) 2008-01-09

Similar Documents

Publication Publication Date Title
CN100501683C (en) Automatic identification method for flash memory type of product
CN101368991B (en) Electronic device test device and method thereof
CN101419843A (en) Flash memory recognition method, recognition device and chip controller
CN103049405B (en) Android device file management method and system
CN101369463B (en) Flash memory detection classification method
CN100382049C (en) Data processing apparatus and method for flash memory
EP1701358B1 (en) Data write-in method for flash memory
CN102609741A (en) Mobile device and method for exchange data between internal and external storage cards
CN106297843A (en) A kind of record labels display packing and device
CN102243884B (en) Method for storing streaming media data and apparatus thereof
CN102135877B (en) Automated construction method and device
CN103186561A (en) Data test method, test library generating method and related device
US10768852B2 (en) Batch automatic test method for solid state disks and batch automatic test device for solid state disks
CN105446856A (en) Electronic device interface detection method and apparatus
CN100485637C (en) Method for realizing hardware register based on built-in applied system
CN103345413A (en) Method and device for updating codes and electronic equipment
US20050132361A1 (en) Application display apparatus and application display system
CN100334569C (en) Memory card identification method and marking equipment
TW591538B (en) Process for loading operating system
JP2012252636A (en) Trace information management device, trace information management method, and trace information management program
CN102543215A (en) Nand FLASH intelligent detection method based on ARM controller
JP2009514073A (en) Storage device having control chip for incorporating device functions and manufacturing method thereof
CN104765626A (en) Firmware program writing method and device
CN101349982B (en) Method for testing network card automatic switchover velocity mode under Windows
CN101355368A (en) Mobile equipment and use method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee

Owner name: SHANGHAI CHENXING SIMCOM ELECTRONIC TECHNOLOGY CO.

Free format text: FORMER NAME: SHANGHAI CHENXING ELECTRONIC TECHNOLOGY CO., LTD.

CP01 Change in the name or title of a patent holder

Address after: 201700 Shengli Road, Qingpu District, Shanghai, No. 888

Patentee after: Shanghai Sunrise Simcom Electronic Technology Co., Ltd.

Address before: 201700 Shengli Road, Qingpu District, Shanghai, No. 888

Patentee before: Shanghai Chenxing Electronics Science & Technology Co., Ltd.

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

Granted publication date: 20090617

Termination date: 20180707

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