TW200912758A - Method of manufacturing memory card and apparatus thereof - Google Patents

Method of manufacturing memory card and apparatus thereof Download PDF

Info

Publication number
TW200912758A
TW200912758A TW96133135A TW96133135A TW200912758A TW 200912758 A TW200912758 A TW 200912758A TW 96133135 A TW96133135 A TW 96133135A TW 96133135 A TW96133135 A TW 96133135A TW 200912758 A TW200912758 A TW 200912758A
Authority
TW
Taiwan
Prior art keywords
memory card
private
instruction
unit
data
Prior art date
Application number
TW96133135A
Other languages
Chinese (zh)
Other versions
TWI475492B (en
Inventor
Lei Bi
Ten-Zai Yu
Sho-Chiang Ma
Zu-Nang Chen
Original Assignee
Chipsbank Technologies Shenzheng 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 Technologies Shenzheng Co Ltd filed Critical Chipsbank Technologies Shenzheng Co Ltd
Priority to TW096133135A priority Critical patent/TWI475492B/en
Publication of TW200912758A publication Critical patent/TW200912758A/en
Application granted granted Critical
Publication of TWI475492B publication Critical patent/TWI475492B/en

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

Method of manufacturing memory card includes reading data from a control chip of a memory card, determining type of the memory card based on the data, issuing instructions to write configuration of the memory card and associated codes thereof into the control chip, sending the data to a master chip based on the configuration and the codes, causing the master chip to scan non-volatile memory of defective blocks of the memory card, writing scanned data about the defective blocks into the memory card. In one application, a typical card reader can be employed to scan the defective blocks of the memory card and also, the scanned data is written into a predetermined area of the memory card. Further, an apparatus of manufacturing the memory card is disclosed. The invention is adaptable and can be implemented in low cost.

Description

200912758 九、發明說明: 【發明所屬之技術領域】 可生;高關===和裝置,尤指—種 【先前技術】 動終存儲功能。例如,移 儲空間。 侧如❼相機也可以通過存儲卡擴展存 =商在存儲卡完成硬體生產和組 進订量產程式才能投入市場。 傻還而要對存儲卡 示,g技射的對存儲卡進行量產的方法流程如第-圖所 壞塊的私有指令^料用里產機’向存儲卡發出掃描存儲卡中 步驟102 .將掃描到的壞塊資訊 通過:=入存健卡"Iash的隱 =域 訊、介面類型資=關#訊_片規格、物理參數' 配置資 葙可見,現有技術的量產方法中,由於不同製造 ,生產的存儲卡中晶片_、採用的指令 ,广 寫入壞塊資訊和相關參數到存儲卡中,必 產機不^。私有指令所需要的量 右的私古扣八$商對存儲卡進行量產時,根據其特 是複雜可:me,車列⑽a)’或者 =的者是專門設計的中央處理器_。這些 指令對應的專用於是,需要採用與私有 屋機來執仃34—方法。這樣,不僅沒有統一 200912758 ίί^ίί差’而且由於專用量產機價格高昂 κΐ是狀騎耻述射针讀从及製造上的諸 2^究=精神與料求精之目的,積極不: 明。 ^ 功之努力與试驗’終於開發設計出本發 【發明内容】 服現逆裝置-克 主要係树明提供-種_柏量產方法 卡控====行·姻取到的存儲 儲 入該控 掃描碼’通過普通齡的方式發送 性記憶趙進行壞塊^ =到主控晶片’主控晶肢非易失 ΖίίΐΞί資訊與相關資訊寫入存儲卡中。 的方ί對存技術f案可見’本發縣過普通指令 判斷存儲卡訊包 -ί^Γ4Τφ]Β3Β;^ 控晶片可崎非Uff卡的喊的私有指令縣控晶片,主 塊資訊與蝴資H j隨進行壞麟描’並將掃描到的壞 用普通讀卡器即卡中,從而完成存儲卡的量產。利 只%上述過程,因此,本發明通用性強,成 200912758 本低。 【實施方式】 對存s isn,:的量產方法,通過普通指令的方式 儲卡的_,二、=5=1的存儲卡控制晶片資訊包判斷存 儲卡類型普通指令的方式發送私有指令,以將與存 控制晶片中^^片對應的配置檔和外部代碼寫入該 與:行並將掃描到的壞塊;訊 為快閃_ 可以 片規格、物理參數、紀罟眘邙入 環尾貝訊及包括曰曰 該控=;r藏區域中的資靖 儲卡作還存 其型號適配的讀卡器,而該讀卡^適用於與 的產品。這樣,由於讀卡写在市/由从、3疋< 廠豕任一品牌 如果能顧針輯存儲卡實‘產,廉, 用性差的朗,並大大降低量產軸本將θ克服财技術中通 為了使本技術領_人員更好地轉本發 δ附圖和實施方式對本發明作進_步的詳細^方案下面, 示,s圖示出了本發明量產方法實施例的流程圖,如圖所 步驟謝:通過普通指令的方式對存儲卡進行讀取,由讀 200912758 作都是普通指令。該步驟中,器ΐ,卡進行的操 存儲卡進行讀取。 r 了以通過發达普通指令的方式對 儲卡Si:令ίί:中類包=,結果是存 ,結果不是存針㈣目=則返回的 多次讀取時,而該多次讀取並 卡進行單次或 =數時,存儲卡返回的是讀 次讀取的内容都是相同的。 作储的内谷。而且,每 超過進行讀取的次數達到或 是與讀取次數未達到存儲卡中預設 讀取、=得===令與射_舰,可以通過 式將的方 碼寫入該控制⑼中。 aa㈣應的配錄和外部代 區在i=r該步料赠料指令封«祕儲卡中一個磁 -存儲谷1大顿㈣包’㈣令對存儲切行操作4的最 200912758 磁區,也就是說普通指令資料包的特 儲卡中二容量:這樣:將私有指恤成存 像普通指令-樣對在傲^大小,料包後’该私有指令就可以 的方式對存错卡進;ί-;^進行操作’即私有指令通過普通指令 量一般為512>(立元ϋ直例如,現有的存儲卡一個磁區的容 組大小的資料包_ 乂裏’可以將私有指令封裝為512位元 進行操作。 私有齡可叫過普通齡對存儲卡 是普通該資料包開頭中的資ικ標明該指令不 執行,包含有鷄控制晶片 對應的配置檔,在㈣存^卡類型相適應的控制晶片 以根據該配置稽進行广、中,驅動控制晶片執行操作時,可 面提至ΐ的卜』3疋制晶片可以執行操作的指令。根據前 關參據配置槽中驅動控制晶片執行操作的相 控制晶片°中包卡進行操作。該 的,但是tut外部代碼是與存財類型相適應 能針對its—系列存儲卡類型的通用性,可 的效率 r、J控θθ片類型時,驅動主控晶片進行操作 =ίί摔 是很高:動ϊ 订細作具有#父局的效率’步驟302之後還可以包括下 200912758 面步驟401〜4〇2 : 性記該配置檔和外部代瑪返回非易失 參數的置;,3的根據該通用配置檔中的 模式。 馬返回非易失性記憶體的標識和連接 發送接模式 片嚴袼對應二 式,根據該標識^的標識和連接模 格對應的配置檔和相適應的控制晶片嚴 現。寫入的指令仍是由發送私有;;心 令格:步中的指 中執灯指令時可以得顺高的效率。、目此在後續步驟 的方,_普通指令 片對非易失性 4子體進==有指令到主控晶二“ 主控二步驟::存:步卡驟相中 200912758 的’通過發送私有指令對存儲卡進行壞塊掃描包括以 料存儲^為壞塊。卡進订擦除細作’判斷沒有成功擦除的資 如果存儲卡中某一位址的資料在 行擦除操作可以成功擦除該位址的資常f ’那麼’執 :的資料存儲塊。因此,利用該 資料方七取=::以==址中讀取 料存儲塊為壞塊。 ㈣不_ ’ _該位址的資 -資 s存 某一位址的資料存儲塊是壞塊,寫人的資料2= 位=進行讀取時,讀取到的資料與寫入= 疋不^的。因此’利用該性質可以判斷存儲卡中 =0 乂將掃描到的壞塊資訊與相關資訊寫入存儲卡中。 的隱i 口’疋到的壞髓訊與相職訊寫人存儲卡中 别次^關ΐ訊包括晶片規格、物理參數、配置資訊、介面類 义負机專’與現有技術中的操作類似。 ^上述實施例可見,該方法實施例由於發送私有指令,並 Ϊ料齡时賴存針進行讀取,通過讀取 制曰曰^對應的配置檔寫入存儲卡中,進一步的,可以完成對疒 2壞塊,掃描,並將掃描到的壞塊資訊與相關資訊寫人存‘ 中的隱藏區域,從而完成存儲卡的量產。而利用普接 即可實施上述過程,因此,該方法通用性強,成本低。喝° 200912758 該步驟可以包括: 寫人生的壞塊表 到存ίΐ=ί?ίΓ制晶片正常使用時所需的資料寫入 存儲ΐί 包括將存儲卡安全認證相關的資料寫入到 -&女王涊證貧料空間中。該安全認證資& 卡,即非易失性記憶體的隱藏區域中。 門位於存儲 等。還可以將包括在存儲卡料龍域巾“檔系統資料等 叙古社ί操作狀態。並且,在量產過程中,存儲卡料娜/ ::以態。為了檢測存儲卡是否意外的退出持ί 後,採的方式完成對存儲卡的操作 的結果是片3 指令進行操作的位址,如果返回 =指因令=對:通,令二 狀態。 用^一點’可以檢測存儲卡是否處於私有指令 具體而言,可以包括以下兩種: 普通^令㈣的操作’則該私有指令通過 通指令讀取^有#八^控f晶片並進行操作後’如果採用普 貝取該私有▲令進行操作的位址,返回的結果是控制晶 12 200912758 片狀態資訊包,且該狀態資訊包中包括 _ 料的操作’删斷存儲卡處於私有㈣μ的私有彳"寫入資 儲卡控制晶片狀態資訊包之後,如果二丁呆乍^即5貝取凡存 令進行操作雜址,返_結果是以私有指 =私包=之前的私有指令寫 "由=;::二 行讀取,由讀取到的存儲卡控制曰%通&$方式對存儲卡進 型’ ^通過普通指令的方式發送;指^,的類 :产寫入的配置檔和外部代碼,通巧片 掃描存儲卡的壞塊的私有指令社的方式發送 3入存儲卡中,從而完成存儲 It 資 可實施上述過程,因此,本發騎m日通讀卡器即 以下介紹本發明裝置的第一實施例。本低。 第四圖示出了本發明裝置實施例的方 二種存儲卡的量產裝置,包括存針類;:_圖所示: 槽和外部代碼耷入罝开49 +奋丨斷早疋41,配置 44,其中代碼寫人早兀42壞塊掃描單以3,資訊寫入單^ f儲卡類型判斷單元41,用於 讀取,取到的存健卡控制晶片 配置槽和外部代碼寫人單以2,用於發送私有指令,該 13 200912758 笏 p:::二的 控曰曰1主控'a片對非易失性記憶體進行壞塊掃描; 寫入=^單元44,用於將掃描到的壞塊資訊與相關資訊 该壞塊掃描單元43包括寫入單元431,讀出單元432,瓌 塊判斷單元433,其中, 貝田早兀4以,壞 寫入Ϊί單元431,用於根據寫入的配置槽在存儲卡的位址中 5賣出單元432,用於從該位址中讀取資料; 壞^斷單it 433 ’用於當讀取到的資料與寫人的資料不 同時’判斷該位址的資料塊為壞塊。 以下介紹本發明裝置的第二實施例。 _第五®示出了本發明裝置第二實施例的方塊圖,如圖所 示: 該實施例中的存儲卡類型判斷單元4卜配置楷 碼寫入單το 42和資訊寫人單^ 44與第—實施例中的相同 塊掃描單^ 43包括擦除單元531,壞塊判斷單元犯2,其中 擦除單元531,用於根據寫入的配置槽對存儲卡進行捧除 操作; * 〃 壞塊判斷單元532,判斷沒有成功擦除的資料存儲塊為壞 法類 由以上裝置實施例實現存儲卡量產的方法與前述方 似,在此不再贅述。 由以上方法實施例可見,通過普通指令的方式對存儲卡進 行讀取,由讀取到的存儲卡控制晶片資訊包判斷存儲卡 型,並通過普通指令的方式發送私有指令,以將與存儲卡類型 200912758 才目適應的控制晶片對應的配置檔和外部代碼寫 中,根據寫入的配置檀和外部代碼,通過普通指令, 卡的壞塊的私有指令到主控晶片,主控;日片的=: t 行壞麟描,並將掃描到的壞塊f訊與相“ 儲卡中,從而完成存儲卡的量產。利用普通讀卡器即 可實靶上述過程,因此,本發明通用性強,成本低。 、曾,Γΐ通過實施例描繪了本發明,本領域普通技術人員知 二趨許多變形和變化而不脫離本發明的精#,希望所 【圖式dti這些變形和變化而不脫離本發明的精神。 第一圖為現有技術巾存儲卡量產方法的流程圖; 第一圖為現有技術巾存儲卡的組成方塊圖; 第三圖為本發明方法實施例的流程圖; 第四圖為本發明裝置第-實施例的方塊圖; 第五圖為本發明裝置第二實施例的方塊圖。 【主要元件符號說明】 101向存儲卡發出私有指令 1 0 2w^ttfLSA#n+t 3◦1判斷存儲卡類型 3 〇 2發送私有指令 進行壞塊掃描 41館卡類型判斷單元 4 2配置檔和外部代 4 3壞塊掃描單‘代馬寫入早二 432讀出單元 431寫入單元 4 3 3壞塊判斷單元 5 3 2壞塊判斷單元 5 31擦除單兀200912758 IX. Description of the invention: [Technical field to which the invention pertains] Can be born; high-off === and devices, especially ones. [Prior Art] End-of-life storage function. For example, move the space. The side camera can also be expanded by the memory card to complete the hardware production and group order production program on the memory card before it can be put on the market. Stupid also wants to show the memory card, the method of mass production of the memory card is as follows. The private instruction of the bad block of the first picture is used to send the scan memory card to the memory card. The scanned bad block information is passed through: =Into the deposit card"Iash's hidden=domain information, interface type resource=off# message_slice specification, physical parameter' configuration information is visible, in the prior art mass production method, Due to different manufacturing, the memory card produced in the memory card, the instructions used, the bad block information and related parameters are widely written into the memory card, and the production machine does not. The amount of private instruction required The right private deduction of the memory card for mass production, according to its special complex: me, train (10) a) ' or = is a specially designed central processing unit _. These instructions are specific to the need to use the private house to enforce the 34-method. In this way, not only is there no uniform 200912758 ίί^ίί' and because the price of the special mass production machine is high, it is the purpose of the singularity of the needle and the manufacturing. . ^ Efforts and trials of 'Efforts to finally develop and design this hair [invention content] Service now reverse device - gram main line tree provides - type _ cypress mass production method card control ==== line · marriage to the storage Into the control scan code 'transfer memory through the ordinary age of Zhao to carry out bad blocks ^ = to the main control chip 'master control crystal non-volatile Ζ ίίίίίίίίίίίίίίίίίίίίίίίίίίίίίίίίίίίί Fang ί 对 存 存 存 存 存 存 存 存 存 存 存 存 存 存 存 存 存 存 存 存 存 存 存 存 存 存 存 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本 本The capital H j is carried out with the bad narration and will scan the bad card reader, that is, the card, thereby completing the mass production of the memory card. The benefit is only the above process, therefore, the invention is highly versatile and is low in 200912758. [Embodiment] For the mass production method of storing s isn, :, the private instruction is sent by the memory card of the _, 2, = 5 = 1 memory card of the general instruction mode to control the chip information packet to determine the normal instruction of the memory card type, The configuration file and the external code corresponding to the slice in the memory control chip are written into the line: and the scanned bad block is sent; the message is flashed _ the slice specification, the physical parameter, and the 罟 罟 邙 邙 环Beixun and including the control =; in the Tibetan area of the Zijing storage card for its model-compatible card reader, and the card is suitable for the product. In this way, because the card is written in the city / from the 3 疋 豕 豕 豕 豕 豕 豕 豕 豕 豕 豕 豕 豕 豕 豕 豕 豕 豕 豕 豕 豕 豕 豕 豕 豕 豕 豕 豕 豕 豕 豕 豕 豕 豕 豕 豕 豕 豕 豕 豕 豕 豕 豕In order to make the technology better to transfer the present invention, the drawings and the embodiments of the present invention are described in detail below. s is a flow chart showing the embodiment of the mass production method of the present invention. Figure, as shown in the figure, Xie: The memory card is read by ordinary instructions, and all commands are read by 200912758. In this step, the memory card is read by the card. r to pass the developed common instructions to the memory card Si: order ίί: medium package =, the result is stored, the result is not the needle (four) mesh = then return multiple readings, and the multiple reads and When the card is single or = number, the memory card returns the same content read by the read. The inner valley of the reservoir. Moreover, each time the number of readings is exceeded or the number of readings does not reach the preset reading in the memory card, ================================================================ . Aa (four) should be the record and the external sub-area in the i=r step feed instruction seal «secret card in a magnetic-storage valley 1 big (four) package '(four) order to store the cut operation 4 of the most 200912758 magnetic area, That is to say, the two-capacity of the special instruction package of the general instruction package: this way: the private fingerprint is stored as a normal instruction - the pair is in the size of the proud, after the package, the private instruction can be used to deposit the error card. ; ί-; ^ operation - that is, the private instruction through the normal instruction amount is generally 512 > (in the case of the existing memory card, the magnetic packet size of the packet _ 乂 ' can encapsulate the private instruction as The 512-bit operation is performed. The private age can be called the normal age. The memory card is normal. The ι κ in the beginning of the data packet indicates that the instruction is not executed, and the configuration file corresponding to the chicken control chip is included, and the (4) memory card type is adapted. The control chip is exemplified according to the configuration, and when the drive control chip performs the operation, the instruction can be performed to the operation of the wafer. The control chip is executed according to the configuration of the front gate. Operating phase control wafer ° The card is operated. The butt external code is compatible with the type of deposit and can be used for the versatility of its-series memory card type. When the efficiency is r, J is controlled by the θθ slice type, the master control chip is driven to operate. Ίί falls very high: ϊ 细 具有 具有 # 父 父 父 父 父 ' ' ' ' 302 302 302 302 302 302 302 302 302 302 2009 2009 2009 2009 2009 2009 2009 2009 2009 2009 2009 2009 2009 2009 2009 2009 2009 2009 2009 2009 2009 2009 2009 2009 2009 2009 According to the mode in the general configuration file, the returning of the non-volatile memory of the horse and the connection of the transmission mode are strictly corresponding to the two types, according to the identification of the identification ^ and the configuration file and phase corresponding to the connection mode. The adaptive control chip is strictly implemented. The written command is still sent by the private;; the heart order: the finger in the step can achieve a high efficiency when the light command is executed. For the next step, the _ ordinary command piece For the non-volatile 4 sub-body == there is an instruction to the master crystal 2 "master two steps:: save: step card phase in 200912758" by sending a private instruction to the memory card for bad block scanning including material storage ^ is a bad block. Card binding erases 'Judge the data that has not been successfully erased. If the data of a certain address in the memory card can be erased in the row erase operation, the data storage block of the address can be successfully erased. Therefore, the data is used. Seven take =:: The material storage block is read as a bad block in the == address. (4) Not _ ' _ The resource of the address is stored in the data storage block of a certain address is a bad block, the data of the writer 2 = bit = when reading, the data read and write = 疋 not ^. So 'this property can be used to judge the memory card = 0 乂 will scan the bad block information and related information into the memory card The hidden i-mouth's bad news and the other words in the memory card, including the chip specifications, physical parameters, configuration information, interface type negative machine special 'with the operation in the prior art similar. The above embodiment can be seen that the method embodiment is configured to send a private instruction, and when the age of the data is read, the configuration file corresponding to the reading system is written into the memory card, and further, the method can be completed.疒 2 bad blocks, scan, and the scanned bad block information and related information are written in the hidden area of the ', to complete the mass production of the memory card. The above process can be implemented by using the general connection, and therefore, the method is versatile and low in cost. Drink ° 200912758 This step can include: writing a bad block of life to the memory ί ΐ ί Γ 晶片 晶片 晶片 晶片 晶片 晶片 晶片 晶片 晶片In the space of poor materials. The security certificate & card, which is in the hidden area of the non-volatile memory. The door is located in storage, etc. It can also be included in the storage card material, the file system information, etc., and the operating status of the shanghai community ί. And, in the mass production process, the memory card material Na / :: to state. In order to detect whether the memory card is unexpectedly exited ί After that, the result of the operation of the memory card is the address of the operation of the slice 3 instruction. If the return=refers to the command = pair: pass, the second state. Use ^ point to detect whether the memory card is private. Specifically, the instruction may include the following two types: "Operation of the normal ^ (4)", then the private instruction is read by the through command ^ There is #八^ control f chip and after the operation 'If the Pube takes the private ▲ order to operate The address returned, the result is to control the crystal 12 200912758 slice status information packet, and the status information package includes the operation of the material 'cut the memory card is private (four) μ private 彳" write the memory card to control the wafer status information After the package, if the two stagnation 即 ^ ie 5 取 凡 凡 凡 凡 凡 凡 凡 进行 , , , , _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Memory card control %通&$ method for memory card type '^ is sent by ordinary instruction; refers to ^, class: production file and external code, and the private code of the bad block scanning the memory card The method of transmitting the data into the memory card to complete the storage of the It can implement the above process. Therefore, the present embodiment of the present invention is described below. The present embodiment is low. The fourth figure shows the present. The mass production device of the two types of memory cards of the device embodiment of the invention includes a needle storage type;: _ picture shows: the slot and the external code are intrusive open 49 + 丨 丨 疋 , 41, configuration 44, where the code is written The early block 42 bad block scan is 3, the information is written into the single f f card type judging unit 41, for reading, the fetched card control chip configuration slot and the external code writer list are 2, for sending Private instruction, the 13 200912758 笏p:::2 control 1 master 'a chip for bad block scanning of non-volatile memory; write = ^ unit 44 for scanning bad block information And the related information, the bad block scanning unit 43 includes a writing unit 431, a reading unit 432, and a block determination. In the element 433, wherein the data is written to the unit 432 in the address of the memory card according to the written configuration slot, for reading data from the address; The bad one is 433' is used to judge that the data block of the address is a bad block when the read data is different from the written data. The second embodiment of the device of the present invention is described below. A block diagram of a second embodiment of the apparatus of the present invention is shown, as shown in the figure: the memory card type judging unit 4 in this embodiment is configured to write a code write unit τ 42 and an information writer unit 44 and the first embodiment. The same block scan unit 43 includes an erase unit 531, and the bad block judgment unit commits 2, wherein the erase unit 531 is configured to perform a pull operation on the memory card according to the written configuration slot; * 〃 bad block determination unit 532 The method for determining that the data storage block is not successfully erased is a bad method. The method for mass production of the memory card by the above device embodiment is similar to the foregoing, and will not be described herein. It can be seen from the above method embodiment that the memory card is read by a common instruction, the memory card is controlled by the read memory card to determine the memory card type, and the private instruction is sent by the ordinary instruction to be used with the memory card. Type 200912758 only adapts the control chip corresponding configuration file and external code write, according to the written configuration of the Tan and external code, through the ordinary instruction, the card's bad block of the private instruction to the master chip, the master; the film =: t bad line drawing, and scan the bad block f signal and phase "in the memory card, thus completing the mass production of the memory card. The ordinary process can be used to achieve the target process, therefore, the versatility of the present invention Strong, low cost. The present invention has been described by way of example, and those skilled in the art will appreciate that many variations and modifications are possible without departing from the essence of the present invention. The first figure is a flow chart of the mass production method of the prior art towel storage card; the first figure is a block diagram of the composition of the prior art towel memory card; The fourth embodiment is a block diagram of a second embodiment of the apparatus of the present invention; the fifth diagram is a block diagram of a second embodiment of the apparatus of the present invention. 0 2w^ttfLSA#n+t 3◦1 judgment memory card type 3 〇2 send private instruction for bad block scan 41 library card type judgment unit 4 2 configuration file and external generation 4 3 bad block scan single 'generation horse write early Two 432 readout unit 431 write unit 4 3 3 bad block judgment unit 5 3 2 bad block judgment unit 5 31 erase unit

Claims (1)

200912758 、申請專利範圍: 種其主要係包括下列步驟: 存儲發卡 存儲卡齡㈣料齡狀式將與 寫入所述控制晶片y ;工制晶片對應的配置檔和外部代碼 令的方式 進^塊掃描;以及主控晶片 2.如權利要求〗所述的訊寫入存儲卡中。 對存儲卡進行讀取,由、·=過_令的方式 斷存儲卡的類型由以下::=卡控物 存儲卡進__錢^ 贴令的方式對 3 設次數時,存儲卡返⑽或超過存錯卡中連續讀取預 •卡控㈣資訊包_=:包’由讀取到的存儲 射,料過編令的方式 令個磁區存儲容量大小的資 穿成存储卡 •如權利要求!所述的 進订發达。 發送私有齡由町…〃领過#獅令的方式 元組大小的資料包進行^現··將私有指令封裝物位 •如權利要求^所述的方法心,該封裝的資料包中,播 4 200912758 頭的資訊標明該指令為私有指令。 6如權利要求上所述的方法,其中,該私有指令通過普通指 令的方式將與存儲卡類型相適應的控制晶片對應的配置 “和外部代碼寫入所述控制晶片中之後進一步包括下述 步驟: '丨丨八棒”丨·^i置榴邗汁邯代碼返回非易失性 記憶體的標識和連接模式;以及 根據返回的非^紐記憶體的標識和連接模式發送 ,有心v 私有指令通過普通齡的方式將與存儲卡類 型相適應的控制晶片嚴格對應的配置檔和外部代碼寫入 所述控制晶片中。 7、=]縣丨或6所術法,其巾’該_令通過普 == 式將與存儲卡類型相適應的控制晶片對應的 * 錢碼1嚴格對應的配置檔和 所述控制晶片中之德,I代碼寫入 ^ . 並在私有指令通過普通指令的方式 疋成對存儲卡的操作銘 飞 進杆;r朴λα 、《’採用普通指令讀取所述私有指令 進仃4呆作的位址, 力相7 ^ __ 果返回的結果是控制晶片狀能資$ 包,且該狀態資訊狀心貝訊 卡處於私有狀態。u舌之刚的私有指令, •如權利要求7所述的 狀態由以下方式執:法’其中’該判斷存儲卡處於私有 8 200912758 當所述私有指令是寫入資料的操作,則該私有指令通 過普at指令發送給存儲卡的控制晶片並進行操作後,如果 採用普通指令讀取所述私有指令進行操作的位址,返回的 結果是控制晶片狀態資訊包,且該狀態資訊包中包括之前 的私有指令寫人資料的操作’關斷存儲卡處於私有狀 態;以及 當所述私有指令是讀取資料的操作,則該私有指令通 過普通指令發送給存儲卡的控制晶片並進行操作後,如果 用普通指令讀取所述私有齡進行操作的倾,返回的結 果是控制晶片狀態資訊包,且該狀態資訊包中包括之前的 私有指令寫入資料的操作,則判斷存儲卡處於私有狀能。 9 ·如權利要求1所述的方法,其中,該根據寫入的配置槽和 外部代碼掃描存儲卡的壞塊由以下方式執行: 』根據寫入的配置播在存儲卡的位址中寫入資料,並從 該位址中讀取資料,當讀取到的資料與寫人的資料不同 時,判斷該位址的資料塊為壞塊;或 、根據寫入的配置檔對存儲卡進行擦除操作,判斷沒有 成功擦除的資料存儲塊為壞塊。 』如權利要求1所述的方法,其中,該相關資訊包括晶片 規格、物理參數、配置資訊以及介面類型資訊。 .1 ·—種射奸的4絲置,其主要係包括—存儲卡類型判 18 200912758 一壞塊掃描單元 斷單元、-配置齡7外部代碼‘f入單元、 以及一資訊寫入單元,其中: 對卡麵觸單⑽砂糾料齡的方式 對存儲卡進行讀取,由!I取到 斷存儲卡_型;]的存儲卡㈣⑼資訊包判 人,該配置檔和外部代瑪寫入單元係用於發送私有指 私有指令通過f贴令財式將與存儲卡類型相適 片 1控制W對應的配置撕嗜部代韻人所述控制晶 該壞塊掃描單於根據寫人的配置檔和外部代 =,通過普触令的方式魏掃描存針的壞塊的私有指 ^到主控W,主控晶片對料失性記憶體進行壞塊掃 描, 〜該資訊寫人單元係用於將掃描到的壞塊資訊與相關 負訊1寫入存館卡中。 2 ·如_要求U所蘭裝置,其巾,該壞崎描翠元包 含有-寫入單元、一讀出單元以及一壞塊判斷單元,其中: 該寫入早7L仙於轉寫人的配置檔在存儲卡的位 址中寫入資料; 韻出單元_於從所述位址巾讀取資料;以及 额塊判斷單π仙於當讀闕的資料與寫入的資 200912758 料不同時,判斷該位址的資料塊為壞塊。 3 .如權利要求11所述的裝置,其中,該壞塊掃描單元係 匕3有擦除單元以及一壞塊判斷單元,其中: 該擦除單元係用於根據寫入的配置檔對存儲卡進扞 擦除操作; 壤塊辑單元_於判斷沒有成功擦除的資料 塊為壞塊。 租 20200912758, the scope of application for patents: The main steps include the following steps: storing the age of the card issuance card (4) the age type will be written into the control chip y; the configuration file corresponding to the production wafer and the external code order Scanning; and master wafer 2. The message written in the memory card as claimed in the claims. When the memory card is read, the type of the memory card is broken by the following, and the type of the memory card is as follows: := card control memory card into the __money ^ paste order way to 3 sets the number of times, the memory card returns (10) Or more than the continuous reading of the pre-card control (four) information package _=: package 'by the read storage shot, the material has been programmed to make the volume of the magnetic storage capacity into a memory card. Rights request! The order is developed. Sending the private age from the town...〃######################################################################################## 4 200912758 The header information indicates that the instruction is a private instruction. The method according to claim 1, wherein the private instruction further comprises the following steps after the configuration of the control chip corresponding to the memory card type by means of a normal instruction "and the external code is written in the control wafer" : '丨丨八棒' 丨·^i sets the durian juice 邯 code to return the non-volatile memory identification and connection mode; and according to the returned non-key memory identification and connection mode, the heart v private command A strictly corresponding configuration file and external code of the control chip adapted to the type of the memory card are written into the control chip by an ordinary age. 7, =] county 丨 or 6 methods, the towel 'this _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ The German code, I code is written to ^. And in the private instruction through the ordinary instruction, the operation of the memory card is entered into the pole; r λ λα, "using ordinary instructions to read the private instruction into the 4 The address of the force, 7 ^ __ results in the result of the control of the wafer-like energy package, and the status information is in a private state. The private instruction of the tongue, the state according to claim 7 is performed by the following method: where the judgment memory card is in the private 8 200912758, when the private instruction is an operation of writing data, the private instruction After the control chip is sent to the control card of the memory card by the normal instruction, if the address of the operation of the private instruction is read by the normal instruction, the returned result is the control of the wafer status information packet, and the status information packet includes The operation of the private instruction writer data is 'turning off the memory card in a private state; and when the private instruction is an operation of reading data, the private instruction is sent to the control chip of the memory card by an ordinary instruction and is operated if The private instruction is used to read the tilt of the private age, and the returned result is to control the wafer status information packet, and the status information packet includes the operation of writing the data by the previous private instruction, and then the memory card is determined to be in a private state. 9. The method of claim 1, wherein the scanning of the bad block of the memory card according to the written configuration slot and the external code is performed in the following manner: ”writing in the address of the memory card according to the written configuration broadcast Data, and reading data from the address, when the read data is different from the written data, the data block of the address is determined to be a bad block; or the memory card is wiped according to the written configuration file. In addition to the operation, it is judged that the data storage block that has not been successfully erased is a bad block. The method of claim 1 wherein the related information includes wafer specifications, physical parameters, configuration information, and interface type information. .1 ·- 4 kinds of shooting, mainly including - memory card type judgment 18 200912758 a bad block scanning unit broken unit, - configuration age 7 external code 'f into the unit, and a information writing unit, : The memory card is read by the way of touching the card surface (10) sand, and the memory card is read by !I to the memory card (4); (9) information packet judgment person, the configuration file and the external generation write The unit is used to send the private refers to the private instruction. The f-paste method will be compatible with the type of the memory card. The configuration of the control unit 1 is controlled by the wand. The control unit is controlled by the bad block. The scan is based on the configuration of the writer. The file and the external generation =, through the way of the general touch, the private finger of the bad block of the scan pin is transferred to the master control W, and the master control chip performs the bad block scan on the lost memory of the material, and the information is written by the unit. The scanned bad block information and related negative message 1 are written into the deposit card. 2 · If _ requires U lan device, its towel, the bad 描 描 翠 包含 contains a write unit, a read unit and a bad block judgment unit, where: the write is 7L early in the transfer of the person The configuration file writes data in the address of the memory card; the rhyme unit _ reads the data from the address towel; and the amount of the judgment block π 于 于 当 当 当 当 当 2009 2009 2009 , to determine that the data block of the address is a bad block. The apparatus according to claim 11, wherein the bad block scanning unit system 3 has an erasing unit and a bad block judging unit, wherein: the erasing unit is for pairing the memory card according to the written profile The 捍 捍 erase operation; the plex block unit _ is used to judge that the data block that has not been successfully erased is a bad block. Rent 20
TW096133135A 2007-09-05 2007-09-05 Method of manufacturing memory card and apparatus thereof TWI475492B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW096133135A TWI475492B (en) 2007-09-05 2007-09-05 Method of manufacturing memory card and apparatus thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW096133135A TWI475492B (en) 2007-09-05 2007-09-05 Method of manufacturing memory card and apparatus thereof

Publications (2)

Publication Number Publication Date
TW200912758A true TW200912758A (en) 2009-03-16
TWI475492B TWI475492B (en) 2015-03-01

Family

ID=44724998

Family Applications (1)

Application Number Title Priority Date Filing Date
TW096133135A TWI475492B (en) 2007-09-05 2007-09-05 Method of manufacturing memory card and apparatus thereof

Country Status (1)

Country Link
TW (1) TWI475492B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI798536B (en) * 2020-03-03 2023-04-11 慧榮科技股份有限公司 Method and computer program product for analyzing failures on flash data

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3749107B2 (en) * 1999-11-05 2006-02-22 ファブソリューション株式会社 Semiconductor device inspection equipment
WO2003003033A2 (en) * 2001-06-26 2003-01-09 Morgan And Finnegan, L.L.P., Trustee Semiconductor programming and testing method and apparatus
US8321686B2 (en) * 2005-02-07 2012-11-27 Sandisk Technologies Inc. Secure memory card with life cycle phases

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI798536B (en) * 2020-03-03 2023-04-11 慧榮科技股份有限公司 Method and computer program product for analyzing failures on flash data

Also Published As

Publication number Publication date
TWI475492B (en) 2015-03-01

Similar Documents

Publication Publication Date Title
TWI375151B (en) A controller for one type of nand flash memory for emulating another type of nand flash memory and methods for the same
TW200839773A (en) Wear-leveling management and file distribution management of hybrid density memory
TWI333213B (en)
TWI437397B (en) Apparatus and method for automatically providing information to a new computer
TWI375227B (en) Device and method for prioritized erasure of flash memory
JP2004222298A5 (en)
TWI273604B (en) Memory card and semiconductor device
TW201025468A (en) Method of preventing data loss during a solder reflow process and memory device using the same
US6424581B1 (en) Write-once memory array controller, system, and method
US20120060054A1 (en) Method for using bad blocks of flash memory
JP2004164633A5 (en)
JP2014182832A5 (en) Storage device, nonvolatile storage device, and operating system image program method thereof
JP2007520801A5 (en)
TW201015310A (en) Hybrid density memory system and control method thereof
JP2005092879A5 (en)
TW200935423A (en) System, controller and method for data storage
TW201005526A (en) Memory system
JP2006012126A5 (en)
JP2011530731A5 (en)
JP2002108720A5 (en) MEMORY CARD, NONVOLATILE MEMORY, AND NONVOLATILE MEMORY DATA WRITE METHOD
TW201931366A (en) Data storage device and control method for non-volatile memory
TW200847170A (en) MLC selected multi-program for system management
CN101479806A (en) Method and apparatus for improving storage performance using a background erase
TWI361353B (en) Data writing method for non-volatile memory, storage system and controller thereof
US20120072660A1 (en) Optical disc recorder and buffer management method thereof

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees