CN101344907A - Mass production method and device for memory card - Google Patents

Mass production method and device for memory card Download PDF

Info

Publication number
CN101344907A
CN101344907A CNA2007101284458A CN200710128445A CN101344907A CN 101344907 A CN101344907 A CN 101344907A CN A2007101284458 A CNA2007101284458 A CN A2007101284458A CN 200710128445 A CN200710128445 A CN 200710128445A CN 101344907 A CN101344907 A CN 101344907A
Authority
CN
China
Prior art keywords
storage card
privately owned
control chip
mode
configuration file
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
Application number
CNA2007101284458A
Other languages
Chinese (zh)
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.)
CHIPSBANK TECHNOLOGY (SHENZHEN) Co Ltd
Original Assignee
CHIPSBANK TECHNOLOGY (SHENZHEN) 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 CHIPSBANK TECHNOLOGY (SHENZHEN) Co Ltd filed Critical CHIPSBANK TECHNOLOGY (SHENZHEN) Co Ltd
Priority to CNA2007101284458A priority Critical patent/CN101344907A/en
Publication of CN101344907A publication Critical patent/CN101344907A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a mass production method of memory cards, which comprises the steps that: the memory card is read in a general command manner; the type of the memory card is judged by the read information package of a control chip of the memory card; a private command is sent and the private command writes a configuration document and an external code corresponding to a control chip which is in conformity with the type of the memory card into the control chip in a general command manner; according to the written configuration document and the external code, a private command scanning a broken block of the memory card is sent to a main control chip in a general command manner; the main control chip scans the broken block in a nonvolatile memory and writes the information of the scanned broken block and relevant information into the memory card. By utilizing the method, an ordinary card reader can be adopted for carrying out scanning to the broken block in the memory card and writing the information of the scanned broken block and the relevant information into a hidden region in the memory card, therefore, the method has strong universality and low cost.

Description

The mass production method of storage card and device
Technical field
The present invention relates to technical field of storage card, particularly a kind of mass production method of storage card and device.
Background technology
Storage card can provide the extension storage function for various mobile devices.For example, can pass through storage card extension storage space in the portable terminal, common storage card comprises SD, MMC, TF card etc.For example a lot of again cameras also can pass through storage card extension storage space.
Manufacturer needs that also storage card is carried out the volume production program and just can put goods on the market after storage card is finished hardware production and assembling.
The method flow that storage card is carried out volume production of the prior art comprises as shown in Figure 1:
Step 101: adopt special-purpose volume production machine, send the privately owned order that scans bad piece in the storage card to storage card;
Step 102: bad block message that will scan and relevant information are write the hidden area of Flash in the storage card by privately owned order by special-purpose volume production machine.
Relevant information in the step 102 comprises chip specification, physical parameter, configuration information, interface type information etc.
By top flow process as seen, in the mass production method of prior art, because the storage card chips type that different manufacturers produce, the differences such as command type of employing, therefore, send bad block command of scanning, write bad block message and correlation parameter in storage card, the privately owned order that must employing adapts with it.And the different needed volume production machine of privately owned order differences.For example, when the manufacturer that has carries out volume production to storage card, according to its distinctive privately owned order, need special programmable gate array (FPGA), or CPLD (Complex Programmable Logic Device, or custom-designed central processing unit (CPU) CPLD).The volume production machine of the equipment correspondence that these are special also is special-purpose.So, need to adopt the special-purpose volume production machine corresponding to carry out this method with privately owned order.Like this, not only do not have unified storage card mass production method, versatility is poor, and causes existing mass production method cost higher because special-purpose volume production machine price is high.
Summary of the invention
The mass production method and the device that the purpose of this invention is to provide a kind of storage card are with mass production method versatility difference and the high problem of cost that overcomes prior art.
For solving the problems of the technologies described above, the mass production method and the device that the invention provides a kind of storage card are achieved in that
A kind of mass production method of storage card comprises:
Mode by normal commands reads storage card, is judged the type of storage card by the storage card control chip packets of information that reads;
Send privately owned order, this privately owned order by the mode of normal commands will be corresponding with the control chip that card type memory adapts configuration file and external code write in the described control chip;
According to configuration file that writes and external code, the mode by normal commands sends the privately owned main control chip of ordering of the bad piece of scanning storage card, and main control chip carry out bad block scan to nonvolatile memory;
The bad block message that scans is write in the storage card with relevant information.
Described mode by normal commands reads storage card, is judged that by the storage card control chip packets of information that reads the type of storage card is realized by following mode:
When the number of times that the mode by normal commands reads storage card met or exceeded the preset times that reads continuously in the storage card, storage card returned the control chip packets of information, was judged the type of storage card by the storage card control chip packets of information that reads.
Described mode by normal commands sends privately owned order and is realized by following mode:
The packet that privately owned order is packaged into a sector storage amount of capacity in the storage card sends.
Described mode by normal commands sends privately owned order and is realized by following mode:
The packet that privately owned order is encapsulated as 512 byte-sized sends.
In the packet of described encapsulation, the information in the packet header indicates that this order is privately owned order.
The privately owned order of described transmission, this privately owned order by the mode of normal commands will be corresponding with the control chip that card type memory adapts configuration file and external code also comprise after writing in the described control chip:
Main control chip returns the sign and the connection mode of nonvolatile memory according to described configuration file and external code;
Sign and connection mode according to the nonvolatile memory that returns send privately owned order, and this privately owned order will write in the described control chip with the control chip that card type memory adapts strict corresponding configuration file and external code by the mode of normal commands.
The privately owned order of described transmission, the mode of this privately owned order by normal commands will configuration file and the external code corresponding with the control chip that card type memory adapts, or after strict corresponding configuration file and external code write in the described control chip, also comprise:
Operation to storage card is finished in privately owned order by the mode of normal commands after, adopt normal commands to read the address that described privately owned order is operated, if the result who returns is a control chip status information bag, and the privately owned order before comprising in this status information bag judges that then storage card is in privately owned state.
Described judgement storage card is in privately owned state to be realized by following mode:
When described privately owned order is the operation that writes data, then this privately owned order control chip of sending to storage card by normal commands is gone forward side by side behind the line operate, if adopt normal commands to read the address that described privately owned order is operated, the result who returns is a control chip status information bag, and the privately owned order before comprising in this status information bag writes the operation of data, judges that then storage card is in privately owned state;
When the described privately owned order operation that is reading of data, then this privately owned order control chip of sending to storage card by normal commands is gone forward side by side behind the line operate, if read the address that described privately owned order is operated with normal commands, the result who returns is a control chip status information bag, and the privately owned order before comprising in this status information bag writes the operation of data, judges that then storage card is in privately owned state.
The bad piece of configuration file that described basis writes and external code scanning storage card is realized by following mode:
In the address of storage card, write data according to the configuration file that writes, and from this address reading of data, when the data that read and the data that write not simultaneously, the data block of judging this address is a bad piece;
Or
According to the configuration file that writes storage card is carried out erase operation, judge that the DSB data store block that does not have successfully to wipe is a bad piece.
Described relevant information comprises chip specification, physical parameter, configuration information, interface type information.
A kind of mass production device of storage card comprises card type memory judging unit 41, configuration file and external code writing unit 42, and bad block scan unit 43, information writing unit 44, wherein,
Card type memory judging unit 41 is used for by the mode of normal commands storage card being read, and is judged the type of storage card by the storage card control chip packets of information that reads;
Configuration file and external code writing unit 42 are used to send privately owned order, this privately owned order by the mode of normal commands will be corresponding with the control chip that card type memory adapts configuration file and external code write in the described control chip;
Bad block scan unit 43 is used for according to the configuration file and the external code that write, sends the privately owned main control chip of ordering of the bad piece of scanning storage card by the mode of normal commands, and main control chip carry out bad block scan to nonvolatile memory;
Information writing unit 44, the bad block message that is used for scanning writes storage card with relevant information.
Described bad block scan unit 43 comprises writing unit 431, sensing element 432, and bad piece judging unit 434, wherein,
Writing unit 431 is used for writing data according to the configuration file that writes in the address of storage card;
Sensing element 432 is used for from described address reading of data;
Bad piece judging unit 434 is used for working as data that read and the data that write not simultaneously, and the data block of judging this address is a bad piece.
Described bad block scan unit 43 comprises erase unit 531, bad piece judging unit 532, wherein,
Erase unit 531 is used for according to the configuration file that writes storage card being carried out erase operation;
Bad piece judging unit 532 judges that the DSB data store block that does not have successfully to wipe is a bad piece.
By above technical scheme provided by the invention as seen, the present invention reads storage card by the mode of normal commands, judge the type of storage card by the storage card control chip packets of information that reads, and send privately owned order by the mode of normal commands, write in the described control chip with configuration file and external code that will be corresponding with the control chip that card type memory adapts, according to configuration file that writes and external code, send the privately owned main control chip of ordering of the bad piece of scanning storage card by the mode of normal commands, main control chip can carry out bad block scan to nonvolatile memory, and the bad block message that will scan and relevant information write in the storage card, thereby finish the volume production of storage card.Utilize common card reader can implement said process, therefore, highly versatile of the present invention, cost is low.
Description of drawings
Fig. 1 is the process flow diagram of storage card mass production method in the prior art;
Fig. 2 is the composition frame chart of storage card in the prior art;
Fig. 3 is the process flow diagram of the inventive method embodiment;
Fig. 4 is the block diagram of apparatus of the present invention first embodiment;
Fig. 5 is the block diagram of apparatus of the present invention second embodiment.
Embodiment
The invention provides a kind of mass production method of storage card, mode by normal commands reads storage card, judge the type of storage card by the storage card control chip packets of information that reads, and send privately owned order by the mode of normal commands, write in the described control chip with configuration file and external code that will be corresponding with the control chip that card type memory adapts, according to configuration file that writes and external code, send the privately owned main control chip of ordering of the bad piece of scanning storage card by the mode of normal commands, main control chip can carry out bad block scan to nonvolatile memory, and the bad block message that will scan and relevant information write in the storage card, thereby finish the volume production of storage card.
One skilled in the art will appreciate that storage card generally comprises control chip and nonvolatile memory, it forms structure as shown in Figure 2.Described nonvolatile memory can be flash memory (Flash) etc.Control chip is used for controlling the read-write to nonvolatile memory.Nonvolatile memory is used for canned data, comprising hidden area and normal areas.Described hidden area be the user the zone that can not read and write, it is used to store manufacturer's information and bad block message of mentioning before that manufacturer writes and the relevant information that comprises chip specification, physical parameter, configuration information, interface type information etc.Described control chip is read and write control according to the information in the hidden area to normal areas.
In the prior art, also there is multiple card reader, is used for being connected the back storage card is carried out read-write operation with computer.No matter the storage card of which kind of brand can be applicable to the card reader adaptive with its model, and this card reader also can be the product of the arbitrary brand of arbitrary producer.Like this, because the versatility of card reader in market, and cheap, if can adopt card reader that storage card is realized volume production, will overcome the problem of versatility difference in the prior art, and reduce the cost of volume production greatly.
In order to make those skilled in the art person understand the present invention program better, the present invention is described in further detail below in conjunction with drawings and embodiments.
Fig. 3 shows the process flow diagram of mass production method embodiment of the present invention, as shown in the figure, comprising:
Step 301: the mode by normal commands reads storage card, is judged the type of storage card by the storage card control chip packets of information that reads.
Different storing card type difference, the operation of adopting common card reader that storage card is carried out all is a normal commands.In this step, can commonly there be the mode of order that storage card is read by sending.
When the normal commands that sends and card type memory adapted, reading the result was storage card control chip packets of information, comprises the relevant information of storage card control chip in this packets of information.If the normal commands and the card type memory that send are incompatible, that then returns reads the relevant information that the result is not the storage card control chip, but the information in the address of being read.For example, when the mode by normal commands is carried out single or multiple when reading to storage card, and described repeatedly reading when not reaching in the storage card default continuous reading times, what storage card returned is to read the content of storing in the address.And the content that at every turn reads all is identical.
And the number of times that the mode by normal commands reads storage card is when meeting or exceeding the preset times that reads continuously in the storage card, what return then is the relevant information of control chip, be when not reaching preset times in the storage card with reading times to read the result different.
Therefore, if the normal commands and the storage card that send adapt, then can be by reading the type that the result obtains storage card.
For example, the normal commands of transmission is to be that read the address of 0x00000000 to storage card.As seen, this address is the first address of nonvolatile memory in the storage card.Usually, storage card is preset with reading times.When the reading times of the normal commands of sending did not reach the default number of times of storage card, it was constant reading the result, all is the content in this first address; And reading times is when reaching the storage card preset times, and reading the result is the relevant information of this storage card control chip.
Step 302: send privately owned order, this privately owned order writes configuration file and the external code corresponding with the control chip that card type memory adapts in the described control chip by the mode of normal commands.
Concrete, this step can be packaged into privately owned order the packet of a sector storage amount of capacity in the storage card, and the least unit that normal commands is operated storage card is a sector in the storage card, the feature that is to say the normal commands packet is that its size is a sector storage capacity, like this, after privately owned order being packaged into the packet of a sector storage amount of capacity in the storage card, this privately owned order just can be operated storage card as normal commands, and promptly privately owned order is operated storage card by the mode of normal commands.For example, the capacity of a sector of existing storage card is generally 512 bytes,, privately owned order can be encapsulated as the packet of 512 byte-sized here, and like this, privately owned order can be operated storage card by normal commands.
In the packet of this encapsulation, the information in the packet header indicates that this order is not the order of common reading non-volatile storage, and indicates it is special privately owned order, is the content of privately owned order in the packet inclusion.
One skilled in the art will appreciate that in the described configuration file, include the correlation parameter of drive controlling chip executable operations.And write the corresponding configuration file of control chip that adapts with card type memory, in subsequent step, during drive controlling chip executable operations, can carry out according to described configuration file.
Described external code is the order that the drive controlling chip can executable operations.According to above-mentioned configuration file, promptly according to the correlation parameter of drive controlling chip executable operations in the configuration file, described external code can be operated storage card by the drive controlling chip.Comprise in the described control chip that at random (Random Access Memory, RAM), described external code can be written among the RAM of control chip ROM (read-only memory).
Above-mentioned configuration file that writes and external code adapt with card type memory, still, are configuration file and the external codes at a series of the type.Like this, because described configuration file and external code be at the versatility of a series of card type memories, in the time of may be at specific this series main control chip type, it be very high driving the efficient that main control chip operates.Concrete, the sign (ID) of specific main control chip nonvolatile memory in the connection mode in when work and storage card is specific, correlation parameter in the configuration file and the command format in the external code are at general connection mode and general nonvolatile memory, so efficient is not very high.Therefore, operate and have higher efficient, can also comprise following step 401~402 after the step 302 in order to drive main control chip:
Step 401: main control chip returns the sign and the connection mode of nonvolatile memory according to described configuration file and external code.
In this step, concrete according to described configuration file according to parameter in the described common configuration file and general external code, return the sign and the connection mode of nonvolatile memory.
Step 402: sign and connection mode according to the nonvolatile memory that returns send privately owned order, and this privately owned order will write in the described control chip with the control chip that card type memory adapts strict corresponding configuration file and external code by the mode of normal commands.
Because preceding step has been returned the sign and the connection mode of nonvolatile memory, according to this sign and connection mode, can accurately know the particular type and the correlation parameter of nonvolatile memory, also just can know strict corresponding configuration file and external code.Therefore, in this step, will write in the described control chip with the control chip that card type memory adapts strict corresponding configuration file and external code.
The order that writes is still by sending privately owned order, and the mode by normal commands realizes.
Therefore correlation parameter in the configuration file that writes in this step and the command format in the external code all at this nonvolatile memory special use, can obtain higher efficient during fill order in subsequent step.
Step 303: according to configuration file that writes and external code, the mode by normal commands sends the privately owned main control chip of ordering of the bad piece of scanning storage card, and main control chip carry out bad block scan to nonvolatile memory.
Configuration file that in the preceding step storage card is adapted and external code are written in the main control chip, therefore, in this step, can send the privately owned main control chip of ordering of bad piece of scanning storage card, and then main control chip scans to the bad piece of storage card by the mode of normal commands.
Here, it is similar to send the mode and the front of privately owned order by normal commands.
Storage card is carried out the part that bad block scan is storage card volume production process necessity.Concrete, storage card is carried out bad block scan comprise following mode by sending privately owned order:
Mode one: storage card is carried out erase operation, judge that the DSB data store block that does not have successfully to wipe is a bad piece.
If the DSB data store block of a certain address is normal in the storage card, so, carry out the DSB data store block that erase operation can successfully be wiped this address; Otherwise when the DSB data store block of a certain address was bad piece in the storage card, erase operation can not successfully be wiped the DSB data store block of this address.Therefore, utilize this character also can judge bad piece in the storage card.
Mode two: in the address of storage card, write data, and from described address reading of data, when the data that read and the data that write not simultaneously, the DSB data store block of judging described address is a bad piece.
If the DSB data store block of a certain address is normal in the storage card, so, write data after, the data that read should be identical with the data that write.If the DSB data store block of a certain address is a bad piece in the storage card, what the data that write can not be correct is kept on this address, and when this address was read, the data that read were different with the data that write.Therefore, utilize this character can judge bad piece in the storage card.
Step 304: the bad block message that will scan writes in the storage card with relevant information.
Concrete, be the bad block message that will scan and relevant information writes hidden area in the storage card.
Described relevant information comprises chip specification, physical parameter, configuration information, interface type information etc., with class of operation of the prior art seemingly.
As seen from the above-described embodiment, this method embodiment is owing to send privately owned order, and the mode of privately owned order by normal commands read storage card, by reading the type that the result judges storage card, therefore the control chip that adapts with card type memory can be write in the storage card by corresponding configuration file, further, can finish scanning bad piece of storage card, and the bad block message that will scan and relevant information write the hidden area in the storage card, thereby finish the volume production of storage card.And utilize common card reader can implement said process, and therefore, this method highly versatile, cost is low.
This step can comprise:
The storage chip that storage card connected is scanned the back bad block table that is produced to be written in the hidden area of storage card.
Required data were written in the hidden area of storage card when the control chip that storage card connected was normally used.
If desired, comprise that also the data that the storage card safety certification is relevant are written in the safety certification data space of storage card.Described safety certification data space is positioned at storage card, promptly in the hidden area of nonvolatile memory.
Can also be included in the normal areas of storage card and write file system data or the like.
Writing mode by normal commands will the privately owned order corresponding with the control chip that card type memory adapts sends to the control chip of storage card, demand according to the volume production process, different privately owned order indication storage cards are done different feature operations, and these feature operations all are by the read-write access mode of normal commands storage card to be operated.After privately owned order sent to control chip, storage card had just entered privately owned feature operation state.And in the volume production process, storage card should remain on privately owned coomand mode.For whether the detection of stored card withdraws from privately owned state unexpectedly, in the following ways:
Operation to storage card is finished in privately owned order by the mode of normal commands after, adopt normal commands to read the address that described privately owned order is operated, if the result who returns is a control chip status information bag, and the privately owned order before comprising in this status information bag judges that then storage card is in privately owned state.This is because when storage card during in privately owned coomand mode, the content that its content that common read write command is returned is not just stored.Therefore, utilize this point, can whether be in privately owned coomand mode by the detection of stored card.
Concrete, can comprise following two kinds:
A, when described privately owned order be the operation that writes data, then this privately owned order control chip of sending to storage card by normal commands is gone forward side by side behind the line operate, if adopt normal commands to read the address that described privately owned order is operated, the result who returns is a control chip status information bag, and the privately owned order before comprising in this status information bag writes the operation of data, judges that then storage card is in privately owned state.
B, when the described privately owned order operation that is reading of data, then this privately owned order control chip of sending to storage card by normal commands is gone forward side by side behind the line operate, promptly read after the storage card control chip status information bag, if read the address that described privately owned order is operated with normal commands, the result who returns is a control chip status information bag, and the privately owned order before comprising in this status information bag writes the operation of data, judges that then storage card is in privately owned state.
Whether control chip that like this, can the detection of stored card is in privately owned state.When the control chip that detects storage card is not in privately owned state, can carries out corresponding operation, thereby make the control chip of storage card recover privately owned coomand mode.
By above method embodiment as seen, mode by normal commands reads storage card, judge the type of storage card by the storage card control chip packets of information that reads, and send privately owned order by the mode of normal commands, write in the described control chip with configuration file and external code that will be corresponding with the control chip that card type memory adapts, according to configuration file that writes and external code, send the privately owned main control chip of ordering of the bad piece of scanning storage card by the mode of normal commands, main control chip can carry out bad block scan to nonvolatile memory, and the bad block message that will scan and relevant information write in the storage card, thereby finish the volume production of storage card.Utilize common card reader can implement said process, therefore, highly versatile of the present invention, cost is low.
Below introduce first embodiment of apparatus of the present invention.
Fig. 4 shows the block diagram of apparatus of the present invention embodiment, as shown in the figure:
A kind of mass production device of storage card comprises card type memory judging unit 41, configuration file and external code writing unit 42, and bad block scan unit 43, information writing unit 44, wherein,
Card type memory judging unit 41 is used for by the mode of normal commands storage card being read, and is judged the type of storage card by the storage card control chip packets of information that reads;
Configuration file and external code writing unit 42 are used to send privately owned order, this privately owned order by the mode of normal commands will be corresponding with the control chip that card type memory adapts configuration file and external code write in the described control chip;
Bad block scan unit 43 is used for according to the configuration file and the external code that write, sends the privately owned main control chip of ordering of the bad piece of scanning storage card by the mode of normal commands, and main control chip carry out bad block scan to nonvolatile memory;
Information writing unit 44, the bad block message that is used for scanning writes storage card with relevant information.
Described bad block scan unit 43 comprises writing unit 431, sensing element 432, and bad piece judging unit 434, wherein,
Writing unit 431 is used for writing data according to the configuration file that writes in the address of storage card;
Sensing element 432 is used for from described address reading of data;
Bad piece judging unit 434 is used for working as data that read and the data that write not simultaneously, and the data block of judging this address is a bad piece.
Below introduce second embodiment of apparatus of the present invention.
Fig. 5 shows the block diagram of apparatus of the present invention second embodiment, as shown in the figure:
Identical in the card type memory judging unit 41 among this embodiment, configuration file and external code writing unit 42 and information writing unit 44 and first embodiment, and bad block scan unit 43 comprises erase unit 531, bad piece judging unit 532, wherein,
Erase unit 531 is used for according to the configuration file that writes storage card being carried out erase operation;
Bad piece judging unit 532 judges that the DSB data store block that does not have successfully to wipe is a bad piece.
Realize that by above device embodiment the method for storage card volume production and preceding method are similar, do not repeat them here.
By above method embodiment as seen, mode by normal commands reads storage card, judge the type of storage card by the storage card control chip packets of information that reads, and send privately owned order by the mode of normal commands, write in the described control chip with configuration file and external code that will be corresponding with the control chip that card type memory adapts, according to configuration file that writes and external code, send the privately owned main control chip of ordering of the bad piece of scanning storage card by the mode of normal commands, main control chip can carry out bad block scan to nonvolatile memory, and the bad block message that will scan and relevant information write in the storage card, thereby finish the volume production of storage card.Utilize common card reader can implement said process, therefore, highly versatile of the present invention, cost is low.
Though described the present invention by embodiment, those of ordinary skills know, the present invention has many distortion and variation and do not break away from spirit of the present invention, wish that appended claim comprises these distortion and variation and do not break away from spirit of the present invention.

Claims (13)

1, a kind of mass production method of storage card is characterized in that, comprising:
Mode by normal commands reads storage card, is judged the type of storage card by the storage card control chip packets of information that reads;
Send privately owned order, this privately owned order by the mode of normal commands will be corresponding with the control chip that card type memory adapts configuration file and external code write in the described control chip;
According to configuration file that writes and external code, the mode by normal commands sends the privately owned main control chip of ordering of the bad piece of scanning storage card, and main control chip carry out bad block scan to nonvolatile memory;
The bad block message that scans is write in the storage card with relevant information.
2, the method for claim 1 is characterized in that, described mode by normal commands reads storage card, is judged that by the storage card control chip packets of information that reads the type of storage card is realized by following mode:
When the number of times that the mode by normal commands reads storage card met or exceeded the preset times that reads continuously in the storage card, storage card returned the control chip packets of information, was judged the type of storage card by the storage card control chip packets of information that reads.
3, the method for claim 1 is characterized in that, described mode by normal commands sends privately owned order and realized by following mode:
The packet that privately owned order is packaged into a sector storage amount of capacity in the storage card sends.
4, the method for claim 1 is characterized in that, described mode by normal commands sends privately owned order and realized by following mode:
The packet that privately owned order is encapsulated as 512 byte-sized sends.
5, the method for claim 1 is characterized in that, in the packet of described encapsulation, the information in the packet header indicates that this order is privately owned order.
6, the method for claim 1, it is characterized in that, the privately owned order of described transmission, this privately owned order by the mode of normal commands will be corresponding with the control chip that card type memory adapts configuration file and external code also comprise after writing in the described control chip:
Main control chip returns the sign and the connection mode of nonvolatile memory according to described configuration file and external code;
Sign and connection mode according to the nonvolatile memory that returns send privately owned order, and this privately owned order will write in the described control chip with the control chip that card type memory adapts strict corresponding configuration file and external code by the mode of normal commands.
7, as claim 1 or 6 described methods, it is characterized in that, the privately owned order of described transmission, the mode of this privately owned order by normal commands will configuration file and the external code corresponding with the control chip that card type memory adapts, or after strict corresponding configuration file and external code write in the described control chip, also comprise:
Operation to storage card is finished in privately owned order by the mode of normal commands after, adopt normal commands to read the address that described privately owned order is operated, if the result who returns is a control chip status information bag, and the privately owned order before comprising in this status information bag judges that then storage card is in privately owned state.
8, method as claimed in claim 7 is characterized in that, described judgement storage card is in privately owned state to be realized by following mode:
When described privately owned order is the operation that writes data, then this privately owned order control chip of sending to storage card by normal commands is gone forward side by side behind the line operate, if adopt normal commands to read the address that described privately owned order is operated, the result who returns is a control chip status information bag, and the privately owned order before comprising in this status information bag writes the operation of data, judges that then storage card is in privately owned state;
When the described privately owned order operation that is reading of data, then this privately owned order control chip of sending to storage card by normal commands is gone forward side by side behind the line operate, if read the address that described privately owned order is operated with normal commands, the result who returns is a control chip status information bag, and the privately owned order before comprising in this status information bag writes the operation of data, judges that then storage card is in privately owned state.
9, the method for claim 1 is characterized in that, the bad piece of configuration file that described basis writes and external code scanning storage card is realized by following mode:
In the address of storage card, write data according to the configuration file that writes, and from this address reading of data, when the data that read and the data that write not simultaneously, the data block of judging this address is a bad piece;
Or
According to the configuration file that writes storage card is carried out erase operation, judge that the DSB data store block that does not have successfully to wipe is a bad piece.
10, the method for claim 1 is characterized in that, described relevant information comprises chip specification, physical parameter, configuration information, interface type information.
11, a kind of mass production device of storage card is characterized in that, comprises card type memory judging unit (41), configuration file and external code writing unit (42), and bad block scan unit (43), information writing unit (44), wherein,
Card type memory judging unit (41) is used for by the mode of normal commands storage card being read, and is judged the type of storage card by the storage card control chip packets of information that reads;
Configuration file and external code writing unit (42) are used to send privately owned order, this privately owned order by the mode of normal commands will be corresponding with the control chip that card type memory adapts configuration file and external code write in the described control chip;
Bad block scan unit (43) is used for according to the configuration file and the external code that write, sends the privately owned main control chip of ordering of the bad piece of scanning storage card by the mode of normal commands, and main control chip carry out bad block scan to nonvolatile memory;
Information writing unit (44), the bad block message that is used for scanning writes storage card with relevant information.
12, device as claimed in claim 11 is characterized in that, described bad block scan unit (43) comprises writing unit (431), sensing element (432), and bad piece judging unit (434), wherein,
Writing unit (431) is used for writing data according to the configuration file that writes in the address of storage card;
Sensing element (432) is used for from described address reading of data;
Bad piece judging unit (434) is used for working as data that read and the data that write not simultaneously, and the data block of judging this address is a bad piece.
13, device as claimed in claim 11 is characterized in that, described bad block scan unit (43) comprises erase unit (531), bad piece judging unit (532), wherein,
Erase unit (531) is used for according to the configuration file that writes storage card being carried out erase operation;
Bad piece judging unit (532) judges that the DSB data store block that does not have successfully to wipe is a bad piece.
CNA2007101284458A 2007-07-12 2007-07-12 Mass production method and device for memory card Pending CN101344907A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2007101284458A CN101344907A (en) 2007-07-12 2007-07-12 Mass production method and device for memory card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2007101284458A CN101344907A (en) 2007-07-12 2007-07-12 Mass production method and device for memory card

Publications (1)

Publication Number Publication Date
CN101344907A true CN101344907A (en) 2009-01-14

Family

ID=40246909

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2007101284458A Pending CN101344907A (en) 2007-07-12 2007-07-12 Mass production method and device for memory card

Country Status (1)

Country Link
CN (1) CN101344907A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101840379A (en) * 2010-04-26 2010-09-22 苏州国芯科技有限公司 Data transmission method of SD card controller
CN102201049A (en) * 2010-03-25 2011-09-28 佳能株式会社 Information processing apparatus and data processing method thereof
CN102214108A (en) * 2010-04-12 2011-10-12 深圳市江波龙电子有限公司 Device and method for mass production of flash memory equipment
CN102236618A (en) * 2011-06-15 2011-11-09 深圳市江波龙电子有限公司 Mass production method and system thereof for USB (universal serial bus) devices
WO2011157040A1 (en) * 2010-06-13 2011-12-22 中兴通讯股份有限公司 Method and reader for screening and repairing high-frequency card
CN102542214A (en) * 2010-12-16 2012-07-04 深圳市硅格半导体有限公司 Memory card and mass production method thereof
CN105760266A (en) * 2016-02-24 2016-07-13 深圳芯邦科技股份有限公司 Mobile device capacity detecting method based on Nand Flash
CN107632866A (en) * 2017-08-11 2018-01-26 记忆科技(深圳)有限公司 A kind of prolongable flash memory mass production device
CN111930395A (en) * 2020-08-20 2020-11-13 展讯通信(上海)有限公司 Program downloading method of intelligent terminal and intelligent terminal

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102201049A (en) * 2010-03-25 2011-09-28 佳能株式会社 Information processing apparatus and data processing method thereof
US9111101B2 (en) 2010-03-25 2015-08-18 Canon Kabushiki Kaisha Information processing apparatus capable of enabling selection of user data erase method, data processing method, and storage medium
CN102201049B (en) * 2010-03-25 2014-10-22 佳能株式会社 Information processing apparatus and data processing method thereof
CN102214108A (en) * 2010-04-12 2011-10-12 深圳市江波龙电子有限公司 Device and method for mass production of flash memory equipment
CN101840379B (en) * 2010-04-26 2012-07-25 苏州国芯科技有限公司 Data transmission method of SD card controller
CN101840379A (en) * 2010-04-26 2010-09-22 苏州国芯科技有限公司 Data transmission method of SD card controller
WO2011157040A1 (en) * 2010-06-13 2011-12-22 中兴通讯股份有限公司 Method and reader for screening and repairing high-frequency card
CN102542214A (en) * 2010-12-16 2012-07-04 深圳市硅格半导体有限公司 Memory card and mass production method thereof
CN102236618B (en) * 2011-06-15 2013-08-14 深圳市江波龙电子有限公司 Mass production method and system thereof for USB (universal serial bus) devices
CN102236618A (en) * 2011-06-15 2011-11-09 深圳市江波龙电子有限公司 Mass production method and system thereof for USB (universal serial bus) devices
CN105760266A (en) * 2016-02-24 2016-07-13 深圳芯邦科技股份有限公司 Mobile device capacity detecting method based on Nand Flash
CN105760266B (en) * 2016-02-24 2019-09-03 深圳芯邦科技股份有限公司 A kind of mobile device capacity check method based on Nand Flash memory
CN107632866A (en) * 2017-08-11 2018-01-26 记忆科技(深圳)有限公司 A kind of prolongable flash memory mass production device
CN107632866B (en) * 2017-08-11 2020-06-16 记忆科技(深圳)有限公司 Expandable flash memory mass production device
CN111930395A (en) * 2020-08-20 2020-11-13 展讯通信(上海)有限公司 Program downloading method of intelligent terminal and intelligent terminal
CN111930395B (en) * 2020-08-20 2023-03-07 展讯通信(上海)有限公司 Program downloading method of intelligent terminal and intelligent terminal

Similar Documents

Publication Publication Date Title
CN101344907A (en) Mass production method and device for memory card
CN105824573B (en) USB-C molded line cable and the method for reading and writing its chip
CN100530068C (en) Multi-mode integrated circuit devices including mode detection and methods of operating the same
US9004349B2 (en) IC card and IC card system having suspend/resume functions
JP2006139556A (en) Memory card and card controller for same
EP1457901A2 (en) System and method for simulating USB smart cards connected to USB host
JP2004005699A (en) Nand flash memory interface device
CN102354299A (en) Memory card and semiconductor device
US8266713B2 (en) Method, system and controller for transmitting and dispatching data stream
WO2004031935A3 (en) Method and system for using a memory card protocol inside a bus protocol
US20090240885A1 (en) Memory card complying with a plurality of standards
TW202314512A (en) Flash memory controller, sd card device, method used in flash memory controller, and host for accessing sd card device
US20080209092A1 (en) Method and system for interfacing a plurality of memory devices using an mmc/sd protocol
CN101187912A (en) Memory card system and method transmitting host identification information thereof
CN100373404C (en) Process for initializing memory card
CN101401113B (en) Ic chip of supporting large size memory and method thereof
CN102262600A (en) Method and system for recognizing USB (Universal Serial Bus) equipment
CN103761135A (en) Firmware write-in method of embedded device
KR101265574B1 (en) Rf card apparatus with tag function and control method thereof
CN101510187B (en) Method for implementing smart card control instruction communication on standard data interface
JP4915231B2 (en) Device having a function of outputting a monitored state, and computer equipment
EP1026626A1 (en) Mobile electronic information apparatus
US20080162479A1 (en) Memory card system and method for transmitting background information thereof
CN100349141C (en) Method for dynamically adjusting redundant zone of nonvolatile memory and relevant apparatus thereof
JP3718564B2 (en) IC card

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Open date: 20090114