[go: up one dir, main page]

TWI417888B - An embedded chip system, a method for burning a wafer, and a computer program product - Google Patents

An embedded chip system, a method for burning a wafer, and a computer program product Download PDF

Info

Publication number
TWI417888B
TWI417888B TW98129671A TW98129671A TWI417888B TW I417888 B TWI417888 B TW I417888B TW 98129671 A TW98129671 A TW 98129671A TW 98129671 A TW98129671 A TW 98129671A TW I417888 B TWI417888 B TW I417888B
Authority
TW
Taiwan
Prior art keywords
software
burning
processing unit
wafer
flash memory
Prior art date
Application number
TW98129671A
Other languages
Chinese (zh)
Other versions
TW201110127A (en
Inventor
Wen Chien Chou
Sheng Chi Chang
Chih Hsien Wen
Original Assignee
Macpower & Tytech 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 Macpower & Tytech Technology Co Ltd filed Critical Macpower & Tytech Technology Co Ltd
Priority to TW98129671A priority Critical patent/TWI417888B/en
Publication of TW201110127A publication Critical patent/TW201110127A/en
Application granted granted Critical
Publication of TWI417888B publication Critical patent/TWI417888B/en

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Read Only Memory (AREA)

Description

嵌入式燒錄晶片系統、燒錄晶片的方法及電腦程式產品Embedded burning chip system, method for burning wafers and computer program product

本發明是有關於一種燒錄晶片的方法,特別是指一種燒錄非及閘快閃記憶體的方法。The present invention relates to a method of burning a wafer, and more particularly to a method of burning a non-gate flash memory.

現今的電腦架構中,一般主機板上都是以表面黏著技術(Surface Mount Technology,SMT)布設有多個晶片,這些晶片中是分別載有不同程式或資訊的快閃記憶體(Flash Memory),而這些程式與資訊皆是可讓電腦順利執行各種工作的重要軟體,例如基本輸入輸出系統(Basic Input Output System,BIOS)、媒體存取控制位址(Media Access Control address,MAC address)等等。In today's computer architecture, the general motherboard is equipped with a plurality of wafers with Surface Mount Technology (SMT), which are flash memories with different programs or information. These programs and information are important software for the computer to perform various tasks, such as Basic Input Output System (BIOS), Media Access Control address (MAC address) and so on.

在主機板製作過程中,通常是先將這些快閃記憶體晶片燒錄好,然後再布設到主機板上,但此方式只適用於快閃記憶體中的非或閘快閃記憶體(以下簡稱Nor Flash),用於另一種非及閘快閃記憶體(以下簡稱Nand Flash)時,則因為容易有壞區的問題,導致如果不先得知壞區的位置,就直接把程式燒錄進Nand Flash,就可能會燒錄成一個有缺損的程式,中央處理單元(CPU)日後要執行此缺損的程式時,便很有機會發生嚴重錯誤(fatal error)而當機。During the motherboard manufacturing process, these flash memory chips are usually burned and then laid out on the motherboard, but this method is only applicable to non-gate flash memory in flash memory (below) Referring to Nor Flash), when used in another non-gate flash memory (hereinafter referred to as Nand Flash), it is easy to have a bad area problem, so if you don't know the location of the bad area first, you can directly program the program. Into Nand Flash, it may burn into a defective program. When the central processing unit (CPU) executes the missing program in the future, it will have a chance of a fatal error and crash.

現今解決這個問題的其中一種方法,是先將執行部分開機動作的程式與燒錄動作的程式燒錄進Nor Flash中,然後跟著許多空白的Nand Flash一起布設於主機板上,主機板利用這個Nor Flash進行部分的開機初始化作業,接著再執行燒錄程式,檢查Nand Flash的壞區,並把對應這些Nand Flash的軟體都燒錄進去。One of the ways to solve this problem is to first burn the program that executes part of the boot action and the program of the burn action into Nor Flash, and then deploy it on the motherboard along with many blank Nand Flash. The motherboard uses this Nor. Flash performs part of the boot initialization operation, then executes the burning program, checks the bad area of Nand Flash, and burns the software corresponding to these Nand Flash.

前述方法雖然可以解決燒錄進Nand Flash的程式可能會缺損的問題,但如此一來,載有部分開機動作的程式與燒錄動作的程式的Nor Flash,將在Nand Flash都燒錄完成後,就失去了作用,等於是多裝了一顆沒有功能的晶片,徒增成本。Although the above method can solve the problem that the program burned into the Nand Flash may be deficient, the Nor Flash of the program containing the partial boot action and the programming action will be burned after the Nand Flash is burned. Losing the effect is equivalent to installing a non-functional chip to increase costs.

為了避免燒錄出有缺損的程式,目前還有另一種方式來燒錄Nand Flash,就是直接用一台已接上可供待燒錄之Nand Flash插設的插座(socket)的電腦,對Nand Flash進行燒錄動作,然後再把Nand Flash布設於主機板上,但這種方式相對產生另一個問題,若燒錄Nand Flash的電腦與布設的目標主機板,其軟體環境或硬體環境不相同或是不相容,則生產出來的主機板,會因為其所需求的特定格式化的磁區或特定的檔案管理系統(file management system),而無法讀取Nand Flash中所存的資訊。In order to avoid burning out the defective program, there is another way to burn Nand Flash, which is to directly use a computer that has been connected to the socket for plugging in the Nand Flash to be burned. Flash performs the burning action, and then the Nand Flash is laid on the motherboard. However, this method has another problem. If the Nand Flash computer is programmed with the target motherboard, the software environment or hardware environment is different. Or incompatible, the motherboard produced will not be able to read the information stored in Nand Flash because of the specific formatted magnetic area or file management system required.

因此,本發明之目的,即在提供一種燒錄晶片的方法,其可避免燒錄出載有缺損程式的非及閘快閃記憶體。Accordingly, it is an object of the present invention to provide a method of programming a wafer that avoids burning out a non-gate flash memory carrying a defect program.

於是,本發明燒錄晶片的方法,適用於將一軟體燒錄於要被貼設於一目標主機板上的一非及閘快閃記憶體,該非及閘快閃記憶體具有複數個壞區塊及複數個正常區塊,該方法是包含下述步驟:首先檢查該非及閘快閃記憶體的該等壞區塊的實體位址;接著將該非及閘快閃記憶體的該等正常區塊分割成複數個分割區域;接著依該目標主機板的規格需求來規劃該等分割區域;接著再將該軟體依該目標主機板的規格需求,載入該等分割區域中對應的一分割區域中。Therefore, the method for burning a wafer of the present invention is suitable for burning a software onto a non-gate flash memory to be attached to a target motherboard, the non-gate flash memory having a plurality of bad regions Block and a plurality of normal blocks, the method comprising the steps of: first checking physical addresses of the bad blocks of the non-gate flash memory; and then performing the normal areas of the non-gate flash memory The block is divided into a plurality of divided regions; then the divided regions are planned according to the specification requirements of the target motherboard; and then the software is loaded into the corresponding divided regions in the divided regions according to the specification requirements of the target motherboard in.

本發明之另一目的,在於提供一種嵌入式燒錄晶片系統,其可避免燒錄出載有缺損程式的非及閘快閃記憶體。Another object of the present invention is to provide an embedded programming wafer system that avoids burning out the non-gate flash memory carrying the defect program.

於是,本發明嵌入式燒錄晶片系統適用於將一軟體燒錄於一要被貼設於一目標主機板上的非及閘快閃記憶體,該非及閘快閃記憶體具有複數個壞區塊及複數個正常區塊,該系統包含一記憶單元、一輸入輸出介面單元,及分別電連接該記憶單元與該輸入輸出介面單元的一處理單元;該記憶單元載有該軟體;該輸入輸出介面單元用以供該非及閘快閃記憶體電連接;該處理單元用以先檢查該非及閘快閃記憶體的該等壞區塊的實體位址,並將該非及閘快閃記憶體的該等正常區塊分割成複數個分割區域,接著依該目標主機板的規格需求來規劃該等分割區域,接著再將該軟體依該目標主機板的規格需求,載入於該等分割區域中對應的一分割區域中。Therefore, the embedded flash wafer system of the present invention is suitable for burning a software onto a non-gate flash memory to be attached to a target motherboard, the non-gate flash memory having a plurality of bad sectors And a plurality of normal blocks, the system comprising a memory unit, an input/output interface unit, and a processing unit electrically connecting the memory unit and the input/output interface unit respectively; the memory unit carries the software; the input and output The interface unit is configured to electrically connect the non-gate flash memory; the processing unit is configured to first check a physical address of the bad block of the non-gate flash memory, and the flash memory of the non-gate flash memory The normal blocks are divided into a plurality of divided regions, and then the divided regions are planned according to the specification requirements of the target motherboard, and then the software is loaded into the divided regions according to the specification requirements of the target motherboard. Corresponding to a divided area.

本發明之功效在於,將軟體燒錄於非及閘快閃記憶體前,就已經先做好非及閘快閃記憶體的壞區塊管理,檢查出哪些是壞區塊,哪些是正常區塊,在燒錄軟體時即能避免燒錄在壞區塊中,造成以後從非及閘快閃記憶體裡讀出的資訊或程式是有缺損的。The effect of the invention is that before the software is burned in the flash memory of the non-gate flash memory, the bad block management of the non-gate flash memory is first performed, and it is checked which are the bad blocks and which are the normal areas. Blocks, when burning software, can avoid burning in bad blocks, resulting in the loss of information or programs read from non-gate flash memory.

有關本發明之前述及其他技術內容、特點與功效,在以下配合參考圖式之一個較佳實施例的詳細說明中,將可清楚的呈現。The above and other technical contents, features and advantages of the present invention will be apparent from the following detailed description of the preferred embodiments.

參閱圖1,圖1為本發明嵌入式燒錄晶片系統10之較佳實施例的系統方塊圖。本實施例是一個專用於將電腦運作所須之軟體燒錄於非及閘快閃記憶體(以下簡稱Nand Flash)中的嵌入式系統(embedded system),Nand Flash雖然相較於非或閘快閃記憶體(以下簡稱Nor Flash)有許多優點,如成本低、寫入速度快等等,但由於其製程關係,會約有1%的壞區塊(bad block),所以過去用於燒錄不會有壞區塊問題的Nor Flash之燒錄裝置或燒錄方法,都不再適用於燒錄Nand Flash。Referring to FIG. 1, FIG. 1 is a block diagram of a system of a preferred embodiment of an embedded flash wafer system 10 of the present invention. This embodiment is an embedded system dedicated to burning the software required for the operation of the computer in the non-gate flash memory (hereinafter referred to as Nand Flash), although the Nand Flash is faster than the non-gate or the gate. Flash memory (hereafter referred to as Nor Flash) has many advantages, such as low cost, fast writing speed, etc., but due to its process relationship, there will be about 1% of bad blocks, so it used to be burned in the past. Nor Flash burning device or burning method that does not have bad block problems is no longer suitable for burning Nand Flash.

嵌入式燒錄晶片系統10包含一記憶單元13、一輸入輸出介面單元12(I/O interface)、一網路通訊單元11、一使用者介面單元15(user interface,簡稱UI),及分別電連接記憶單元13、輸入輸出介面單元12、網路通訊單元11與使用者介面單元15的一處理單元14。在本實施例中,輸入輸出介面單元12是用以供一待貼設於目標主機板(圖未示)上的Nand Flash 91可拔除地插接,其可將軟體(程式、資訊等等)傳輸至Nand Flash 91中,或者也可將Nand Flash 91中燒錄好的軟體讀取出來。值得一提的是,本實施例的記憶單元13是儲存有用以供處理單元14讀取出並進行開機動作的開機程式133,以及供處理單元14讀取出並進行後續燒錄動作的燒錄程式134,其可以選用硬式磁碟機(HDD)、固態硬碟(SSD)或唯讀型記憶體(ROM)等非揮發性記憶體或是多種非揮發性記憶體的組合,除了前述的程式外還有儲存要燒錄至Nand Flash 91中的軟體131,端看其成本及存放軟體131及燒錄相關的紀錄檔132所需的空間大小來選用合適且低成本的記憶體款式。The embedded programming chip system 10 includes a memory unit 13, an I/O interface unit, a network communication unit 11, a user interface unit (UI), and a separate power unit. A processing unit 14 is connected to the memory unit 13, the input/output interface unit 12, the network communication unit 11, and the user interface unit 15. In this embodiment, the input/output interface unit 12 is for unplugging and unplugging a Nand Flash 91 to be attached to a target motherboard (not shown), which can be software (program, information, etc.) Transfer to Nand Flash 91, or read the software burned in Nand Flash 91. It should be noted that the memory unit 13 of the present embodiment stores a booting program 133 that is useful for the processing unit 14 to read out and perform a booting operation, and a burning program for the processing unit 14 to read out and perform subsequent burning operations. The program 134 can be a non-volatile memory such as a hard disk drive (HDD), a solid state drive (SSD) or a read only memory (ROM) or a combination of a plurality of non-volatile memories, except the aforementioned program. In addition, the software 131 to be burned to the Nand Flash 91 is stored, and the cost and the space required for storing the software 131 and the associated record file 132 are selected to select a suitable and low-cost memory model.

在本實施例中,該使用者介面單元15包括了一指示燈151及一按鍵152,該處理單元14可透過控制該指示燈的明滅,來表示該非及閘快閃記憶體91的燒錄狀態,而按鍵組152在本實施例中,則是用以供使用者(或作業機器)在將Nand Flash 91插接上輸入輸出介面單元12後選按,讓處理單元14接收到一用以指示對該非及閘快閃記憶體91進行對應的燒錄動作的指令,此指令的意義為,告知處理單元14 Nand Flash 91已插接好輸入輸出介面單元12,要繼續後面對應的燒錄程序。需要注意的是,在嵌入式燒錄晶片系統10中的使用者介面單元15的應用樣態有許多種,其主要功用在於讓使用者(或作業機器)能得知該非及閘快閃記憶體91的燒錄狀態,並且也可以指示對該非及閘快閃記憶體91進行燒錄動作,此應用樣態不應以本實施例及其對應圖式為限。In the embodiment, the user interface unit 15 includes an indicator light 151 and a button 152. The processing unit 14 can indicate the burning status of the non-gate flash memory 91 by controlling the blinking of the indicator light. In the embodiment, the button group 152 is used by the user (or the work machine) to select the button after the Nand Flash 91 is plugged into the input/output interface unit 12, so that the processing unit 14 receives an indication. The instruction of the corresponding flashing operation is performed on the non-gate flash memory 91. The meaning of the instruction is that the processing unit 14 is informed that the Nand Flash 91 has been plugged into the input/output interface unit 12, and the subsequent corresponding burning program is to be continued. It should be noted that there are many application modes of the user interface unit 15 in the embedded burning wafer system 10, and the main function thereof is to enable the user (or the working machine) to know the non-gate flash memory. The burning state of 91, and may also indicate the burning operation of the non-gate flash memory 91, the application state should not be limited to the embodiment and its corresponding drawings.

該網路通訊單元11可接收由遠端7傳來的指令及對應此指令的軟體,該處理單元14接收到此指令後,便會將此軟體來儲存於記憶單元13中,以供日後燒錄用,因此,使用者可以透過遠端7來對應不同作用的Nand Flash 91,控制嵌入式燒錄晶片系統10所要燒錄的軟體131類別。該網路通訊單元11還可將,嵌入式燒錄晶片系統10於燒錄過程中的相關資訊的紀錄檔132回傳給遠端7,用以供確認或除錯用。The network communication unit 11 can receive the instruction sent by the remote end 7 and the software corresponding to the instruction. After receiving the instruction, the processing unit 14 stores the software in the memory unit 13 for later burning. Therefore, the user can control the type of the software 131 to be burned by the embedded burning wafer system 10 through the remote end 7 corresponding to the different functions of the Nand Flash 91. The network communication unit 11 can also transmit the record 132 of the information about the embedded programming chip system 10 during the burning process to the remote end 7 for confirmation or debugging.

配合圖1參閱圖2。在本實施例中,嵌入式燒錄晶片系統10要燒錄一個與之插接好的Nand Flash 91時,會進行以下步驟:該處理單元14接收到由使用者介面單元15的按鍵組151傳遞過來的指令後,該處理單元14會首先執行步驟201,讀取記憶單元13中所儲存的開機程式133,並進行開機動作;執行完開機動作之後,接著處理單元14讀取記憶單元13中,對應按鍵組151傳遞過來的指令的燒錄程式134,以執行燒錄程式134中所記載的後續燒錄動作。Refer to Figure 2 in conjunction with Figure 1. In the present embodiment, when the embedded programming die system 10 is to burn a Nand Flash 91 that is plugged in, the following steps are performed: the processing unit 14 receives the key set 151 transmitted by the user interface unit 15 After the incoming command, the processing unit 14 first performs step 201, reads the booting program 133 stored in the memory unit 13, and performs a booting operation; after the booting operation is performed, the processing unit 14 reads the memory unit 13, The programming program 134 corresponding to the command transmitted from the button group 151 is executed to execute the subsequent burning operation described in the programming program 134.

處理單元14接著依燒錄程式134來執行步驟21,透過輸入輸出介面單元12掃描插接好的Nand Flash 91,並找出且讀取存在Nand Flash 91中的重要資訊區911(Information area)內的損壞區塊表81(Bad Block Table,以下簡稱BBT),此BBT81紀錄有Nand Flash 91中所有的壞區塊及其實體位址,用以供外界要儲存資訊於儲存區912時參照,避免將任何程式或資訊存到壞區塊中。The processing unit 14 then executes step 21 according to the programming program 134, scans the inserted Nand Flash 91 through the input/output interface unit 12, and finds and reads the information area 911 (Information area) in the Nand Flash 91. The Bad Block Table (BBT), which has all the bad blocks and their physical addresses in the Nand Flash 91, is used for external reference information when storing information in the storage area 912. Any program or information is stored in a bad block.

接著該處理單元14會執行步驟22,該處理單元14依據BBT 81將Nand Flash 91的儲存區912中的每個正常區塊選出,也就是將壞區塊剔除。Then, the processing unit 14 performs step 22, and the processing unit 14 selects each normal block in the storage area 912 of the Nand Flash 91 according to the BBT 81, that is, rejects the bad block.

接著該處理單元14會執行步驟23,依據目標主機板的規格需求,將Nand Flash 91的儲存區912分割成複數個分割區域(partition),需要注意的是,在本實施例中分割區域的數量為三個,分別是分割區域A、分割區域B及分割區域C,但實際上分割區域的數量及個別之大小,皆需依所要出產的目標主機板的規格需求來作分割,並不以本實施例及其對應圖式為限制。Then, the processing unit 14 performs step 23, and divides the storage area 912 of the Nand Flash 91 into a plurality of partitions according to the specification requirements of the target motherboard. It should be noted that the number of divided regions in this embodiment is required. There are three, which are divided area A, divided area B, and divided area C. However, the number of divided areas and the size of individual parts are divided according to the specification requirements of the target motherboard to be produced. The embodiments and their corresponding figures are limiting.

接著該處理單元14會執行步驟24,依據目標主機板的規格需求,對Nand Flash 91的儲存區912分割好的每個分割區域A、B、C作對應的規劃,詳細地說,處理單元14是對各該分割區域A、B、C作對應的格式化,並建立起一對應的檔案管理系統(file management system),除此之外,還依目標主機板的規格需求來對各該分割區域A、B、C建立一套對應的錯誤檢查修正(Error Checking and Correction,簡稱ECC)機制。Then, the processing unit 14 performs step 24 to perform corresponding planning on each of the divided areas A, B, and C divided by the storage area 912 of the Nand Flash 91 according to the specification requirements of the target motherboard. In detail, the processing unit 14 The corresponding partitioning areas A, B, and C are formatted correspondingly, and a corresponding file management system is established. In addition, the partitioning is performed according to the specification requirements of the target motherboard. Areas A, B, and C establish a corresponding set of Error Checking and Correction (ECC) mechanisms.

接著該處理單元14會執行步驟25,該處理單元14將該軟體131自該記憶單元13中讀取出,並依據目標主機板的規格需求,指定該軟體載入分割區域B,以將該軟體131透過該輸入輸出介面單元12載入於所選取的分割區域B上,成為燒錄於Nand Flash 91中的軟體131’。需要注意的是,軟體131要載入哪一個分割區域也是需要看目標主機板的規格需求,並不以本實施例為限。Then, the processing unit 14 performs step 25, the processing unit 14 reads the software 131 from the memory unit 13, and specifies that the software loads the divided area B according to the specification requirements of the target motherboard to use the software. The input/output interface unit 12 is loaded into the selected divided area B through the input/output interface unit 12, and becomes the software 131' burned in the Nand Flash 91. It should be noted that which partition area is to be loaded by the software 131 also needs to look at the specification requirements of the target motherboard, and is not limited to this embodiment.

在本實施例中,該處理單元14還執行一步驟28,將該軟體131的類別、所指定的邏輯位址組,以及載有該栓體131’的該等區塊的實體位址等等燒錄相關的資訊,皆編寫成一紀錄檔(Log)132並儲存於該記憶單元13中,供遠端7透過網路通訊單元11隨時來抓取,用以作確認或進一步除錯。In this embodiment, the processing unit 14 further performs a step 28, the category of the software 131, the specified logical address group, and the physical address of the blocks carrying the plug 131', and the like. The information related to the burning is written into a log 132 and stored in the memory unit 13 for the remote terminal 7 to fetch at any time through the network communication unit 11 for confirmation or further debugging.

另外,為了更進一步校驗燒錄於Nand Flash 91中的軟體131’正確性,本實施例的處理單元14在執行完步驟25後,還執行步驟26及步驟27。在步驟26中,處理單元14是透過該輸入輸出介面單元12讀取出分割區域B中的軟體131’,並且也自該分割區域B中,載有此軟體131’的複數個資料頁的帶外區913(out of band,簡稱OOB)中內,讀取出相對應此軟體131’的複數個錯誤檢查修正碼,(Error Checking and Correction Code,簡稱ECC碼)。而在步驟27中,處理單元14則根據此錯誤檢查修正碼82,來檢驗由分割區域B中讀取出的軟體131’,與載於記憶單元13的軟體131是否相符,若相符,則判斷出校驗結果正確,若不相符,則判斷出校驗結果不正確,並接著做後續的補救動作或是銷毀動作,此應為熟悉該項技藝者所熟知,在此就不予贅述。In addition, in order to further verify the correctness of the software 131' burned in the Nand Flash 91, the processing unit 14 of the present embodiment performs steps 26 and 27 after performing step 25. In step 26, the processing unit 14 reads the software 131' in the divided area B through the input/output interface unit 12, and also from the divided area B, the strip carrying the plurality of data pages of the software 131'. In the outer area 913 (out of band, OOB for short), a plurality of error check and correction codes (ECC codes) corresponding to the software 131' are read. In step 27, the processing unit 14 checks whether the software 131' read by the divided area B matches the software 131 carried in the memory unit 13 according to the error check correction code 82, and if it matches, it judges If the verification result is correct, if it does not match, it is judged that the verification result is incorrect, and then the subsequent remedial action or destruction action is performed, which should be familiar to those skilled in the art, and will not be described here.

值得一提的是,檢驗由該等區塊上讀取出的軟體131’,與載於記憶單元的軟體131是否相符的方法有很多種,除了可以利用本實施例提到的錯誤修正檢查(ECC)機制外,還有同位元檢查(parity check)等方式,端看目標主機板的規格需求,或是嵌入式燒錄晶片系統10與Nand Flash 91之間的協定,並不以本實施立即其對應圖式為限。It is worth mentioning that there are many ways to check whether the software 131' read by the blocks conforms to the software 131 carried in the memory unit, except that the error correction check mentioned in this embodiment can be utilized ( In addition to the ECC) mechanism, there is also a parity check, etc., depending on the specification requirements of the target motherboard, or the agreement between the embedded programming die system 10 and the Nand Flash 91, which is not immediately implemented in this implementation. Its corresponding figure is limited.

綜合以上所述,本發明之功效在於,在將軟體131燒錄於Nand Flash 91前,就已經先做好Nand Flash 91的壞區塊管理,檢查出哪些是壞區塊,哪些是正常區塊,在燒錄軟體131時即能避免燒錄在壞區塊中,造成以後從Nand Flash 91裡讀出的資訊或程式是有缺損的,另外,嵌入式燒錄晶片系統10還於燒錄完軟體131後,還將燒錄在Nand Flash 91內的軟體131’,與載於記憶單元13的軟體131檢驗看是否相符,以更進一步確認Nand Flash 91內的軟體131’的正確性,除此之外,嵌入式燒錄晶片系統10還可以依照目標主機板的不同規格需求,來將Nand Flash 91作適當的分隔以及後續的格式化。In summary, the effect of the present invention is that before the software 131 is burned to the Nand Flash 91, the bad block management of the Nand Flash 91 is performed first, and it is checked which are bad blocks and which are normal blocks. When the software 131 is burned, it can be avoided in the bad block, so that the information or program read from the Nand Flash 91 is defective. In addition, the embedded burning chip system 10 is also burned. After the software 131, the software 131' burned in the Nand Flash 91 is checked against the software 131 of the memory unit 13 to check whether the software 131' in the Nand Flash 91 is correct. In addition, the embedded programming die system 10 can also properly separate and subsequently format the Nand Flash 91 according to different specifications of the target motherboard.

惟以上所述者,僅為本發明之較佳實施例而已,當不能以此限定本發明實施之範圍,即大凡依本發明申請專利範圍及發明說明內容所作之簡單的等效變化與修飾,皆仍屬本發明專利涵蓋之範圍內。The above is only the preferred embodiment of the present invention, and the scope of the invention is not limited thereto, that is, the simple equivalent changes and modifications made by the scope of the invention and the description of the invention are All remain within the scope of the invention patent.

10...嵌入式燒錄晶片系統10. . . Embedded programming chip system

11...網路通訊單元11. . . Network communication unit

12...輸入輸出介面單元12. . . Input and output interface unit

13...記憶單元13. . . Memory unit

131...軟體131. . . software

131’...軟體131’. . . software

132...紀錄檔(Log)132. . . Log file (Log)

133...開機程式133. . . Boot program

134...燒錄程式134. . . Burning program

14...處理單元14. . . Processing unit

15...使用者介面單元(UI)15. . . User interface unit (UI)

151...按鍵組151. . . Button set

152...指示燈152. . . Indicator light

81...損壞區塊表(BBT)81. . . Damaged Block Table (BBT)

82...錯誤檢查修正碼(ECC碼)82. . . Error check correction code (ECC code)

91...非及閘快閃記憶體91. . . Non-gate flash memory

911...重要資訊區(Information area)911. . . Information area

912...儲存區912. . . Storage area

913...帶外區(OOB)913. . . Out-of-band area (OOB)

7...遠端7. . . remote

201、202...步驟201, 202. . . step

21~28...步驟21~28. . . step

圖1為本發明嵌入式燒錄晶片系統之較佳實施例的系統方塊圖;及1 is a system block diagram of a preferred embodiment of an embedded burn-in wafer system of the present invention;

圖2是嵌入式燒錄晶片系統燒錄一非及閘快閃記憶體(Nand Flash)的步驟流程。2 is a flow chart of the steps of the embedded programming wafer system for burning a non-gate flash memory (Nand Flash).

201、202...步驟201, 202. . . step

21~28...步驟21~28. . . step

Claims (20)

一種燒錄晶片的方法,適用於將一軟體燒錄於要被貼設於一目標主機板上的一非及閘快閃記憶體,該非及閘快閃記憶體具有複數個壞區塊及複數個正常區塊,該方法包含:(A)檢查該非及閘快閃記憶體的該等壞區塊的實體位址;(B)將該非及閘快閃記憶體的該等正常區塊分割成複數個分割區域;(C)依該目標主機板的規格需求來規劃該等分割區域;及(D)將該軟體依該目標主機板的規格需求,載入該等分割區域中對應的一分割區域中。 A method for burning a wafer is suitable for burning a software to a non-gate flash memory to be attached to a target motherboard, the non-gate flash memory having a plurality of bad blocks and a plurality of a normal block, the method comprising: (A) checking a physical address of the bad block of the non-gate flash memory; (B) dividing the normal block of the non-gate flash memory into a plurality of divided regions; (C) planning the divided regions according to the specification requirements of the target motherboard; and (D) loading the software into a corresponding segment of the divided regions according to the specification requirements of the target motherboard In the area. 依據申請專利範圍第1項所述之燒錄晶片的方法,該步驟(C)中,是依該目標主機板的規格需求來對各該分割區域作對應的格式化,並建立一對應的檔案管理系統。 According to the method for burning a wafer according to claim 1, in the step (C), each of the divided regions is formatted according to the specification requirements of the target motherboard, and a corresponding file is created. Management system. 依據申請專利範圍第2項所述之燒錄晶片的方法,還包含一步驟(E):校驗載入於該分割區域中的該軟體。 The method of burning a wafer according to claim 2, further comprising a step (E) of verifying the software loaded in the divided region. 依據申請專利範圍第3項所述之燒錄晶片的方法,其中,該步驟(E)是包括:(E-1)讀取該分割區域中的軟體;及(E-2)檢驗該步驟(E-1)中讀取出的軟體,與該步驟(D)中載入的軟體是否相符,若相符,則校驗結 果正確。 The method of burning a wafer according to claim 3, wherein the step (E) comprises: (E-1) reading the software in the divided region; and (E-2) verifying the step ( The software read out in E-1) matches the software loaded in step (D). If it matches, the checksum is checked. It is correct. 依據申請專利範圍第4項所述之燒錄晶片的方法,該步驟(C)中,還依該目標主機板的規格需求來對各該分割區域建立一對應的錯誤檢查修正機制,而該步驟(E-2)中,是讀取該分割區域中,與載有該軟體的複數個資料頁相對應的複數個錯誤檢查修正碼,並根據該等錯誤檢查修正碼,來檢驗該步驟(E-1)中讀取出的軟體,與該步驟(D)中寫入的軟體是否相符。 According to the method for burning a wafer according to claim 4, in the step (C), a corresponding error checking and correcting mechanism is established for each of the divided regions according to the specification requirement of the target motherboard, and the step is performed. (E-2), in which a plurality of error check correction codes corresponding to a plurality of data pages carrying the software are read in the divided area, and the correction code is checked based on the error check, and the step (E) is checked. The software read out in -1) matches the software written in step (D). 依據申請專利範圍第1或2項所述之燒錄晶片的方法,還包含一步驟(F):紀錄步驟(D)中的相關資訊。 The method for burning a wafer according to claim 1 or 2 further comprises a step (F) of recording the relevant information in the step (D). 依據申請專利範圍第1~5項中任一項所述之燒錄晶片的方法,其中,該軟體為一程式的片段或一資訊的片段。 The method of burning a wafer according to any one of claims 1 to 5, wherein the software is a program segment or a piece of information. 一種載有用於燒錄晶片的一電腦程式之電腦程式產品,當一嵌入式燒錄晶片系統載入該電腦程式並執行後,可完成請求項第1至第7所述之方法。 A computer program product carrying a computer program for programming a wafer, the method of claims 1 to 7 can be completed after an embedded programming wafer system is loaded into the computer program and executed. 一種嵌入式燒錄晶片系統,適用於將一軟體燒錄於要被貼設於一目標主機板上的一非及閘快閃記憶體,該非及閘快閃記憶體具有複數個壞區塊及複數個正常區塊,該系統包含:一記憶單元,載有該軟體;一輸入輸出介面單元,用以供該非及閘快閃記憶體電連接;及一處理單元,分別電連接該記憶單元及該輸入輸出介面單元,用以先檢查該非及閘快閃記憶體的該等壞區塊的實體位址,並將該非及閘快閃記憶體的該等正常區塊分割成複數個分割區域,接著依該目標主機板的規格需求來規劃該等分割區域,接著再將該軟體依該目標主機板的規格需求,載入於該等分割區域中對應的一分割區域中。An embedded burning chip system, which is suitable for burning a software to a non-gate flash memory to be attached to a target motherboard, the non-gate flash memory having a plurality of bad blocks and a plurality of normal blocks, the system comprising: a memory unit carrying the software; an input/output interface unit for electrically connecting the non-gate flash memory; and a processing unit electrically connecting the memory unit and The input/output interface unit is configured to first check physical addresses of the bad blocks of the non-gate flash memory, and divide the normal blocks of the non-gate flash memory into a plurality of divided regions. Then, the divided areas are planned according to the specification requirements of the target motherboard, and then the software is loaded into a corresponding divided area in the divided areas according to the specification requirements of the target motherboard. 依據申請專利範圍第9項所述之嵌入式燒錄晶片系統,其中,處理單元在規劃該等分割區域時,是依該目標主機板的規格需求來對各該分割區域作對應的格式化,並建立一對應的檔案管理系統。The embedded programming wafer system according to claim 9, wherein the processing unit formats the respective divided regions according to the specification requirements of the target motherboard when planning the divided regions. And establish a corresponding file management system. 依據申請專利範圍第10項所述之嵌入式燒錄晶片系統,其中,該處理單元還將該軟體及載有該軟體的該分割區域的相關資訊,於該記憶單元中儲存成一紀錄檔。The embedded burning wafer system according to claim 10, wherein the processing unit further stores the software and the related information of the divided area carrying the software in the memory unit as a record file. 依據申請專利範圍第11項所述之嵌入式燒錄晶片系統,還包含一與該處理單元電連接的網路通訊單元,而該處理單元還將該紀錄檔透過該網路通訊單元傳輸予一遠端。The embedded programming chip system according to claim 11, further comprising a network communication unit electrically connected to the processing unit, and the processing unit further transmits the record file to the network communication unit remote. 依據申請專利範圍第9~11項中任一項所述之嵌入式燒錄晶片系統,還包含一與該處理單元電連接的網路通訊單元,該處理單元可透過該網路通訊單元由一遠端接收該軟體,並將該軟體儲存於該記憶單元。The embedded programming chip system according to any one of claims 9 to 11, further comprising a network communication unit electrically connected to the processing unit, the processing unit being permeable to the network communication unit The remote end receives the software and stores the software in the memory unit. 依據申請專利範圍第10項所述之嵌入式燒錄晶片系統,其中,該處理單元將該軟體燒錄於該分割區域後,還校驗載入於該分割區域上的該軟體是否正確。The embedded programming wafer system according to claim 10, wherein the processing unit verifies whether the software loaded on the divided area is correct after the software is burned in the divided area. 依據申請專利範圍第14項所述之嵌入式燒錄晶片系統,其中,該處理單元將該軟體載入該分割區域後,是透過該輸入輸出介面單元讀取出該分割區域中的軟體,並檢驗該分割區域中的軟體,與載於該記憶單元的軟體是否相符,若相符,則校驗結果正確。The embedded programming wafer system of claim 14, wherein the processing unit reads the software in the divided area through the input/output interface unit after loading the software into the divided area, and Check whether the software in the divided area matches the software contained in the memory unit. If they match, the verification result is correct. 依據申請專利範圍第15項所述之嵌入式燒錄晶片系統,其中,該處理單元在規劃該等分割區域時,還依該目標主機板的規格需求來對各該分割區域建立一對應的錯誤檢查修正機制,並且在將該軟體載入該分割區域後,是讀取該分割區域中,與載有該軟體的複數個資料頁相對應的複數個錯誤檢查修正碼,並根據該等錯誤檢查修正碼,來檢驗由該區塊上讀取出的軟體,與載於記憶單元的軟體是否相符。According to the embedded programming wafer system of claim 15, wherein the processing unit establishes a corresponding error for each of the divided regions according to the specification requirements of the target motherboard when planning the divided regions. Checking the correction mechanism, and after loading the software into the divided area, reading a plurality of error check correction codes corresponding to the plurality of data pages carrying the software in the divided area, and checking according to the errors Correct the code to check whether the software read from the block matches the software loaded in the memory unit. 依據申請專利範圍第9項所述之嵌入式燒錄晶片系統,還包含一與該處理單元電連接的使用者介面單元,該處理單元可透過該使用者介面單元輸出一表示該非及閘快閃記憶體的燒錄狀態的訊息。The embedded programming chip system of claim 9, further comprising a user interface unit electrically connected to the processing unit, wherein the processing unit can output a flash through the user interface unit to indicate that the non-gate flashes The message of the burning status of the memory. 依據申請專利範圍第17項所述之嵌入式燒錄晶片系統,其中,該使用者介面單元是一指示燈,該處理單元可透過控制該指示燈的明滅,來表示該非及閘快閃記憶體的燒錄狀態。The embedded programming chip system of claim 17, wherein the user interface unit is an indicator light, and the processing unit can indicate the non-gate flash memory by controlling the indicator light to be extinguished. Burning status. 依據申請專利範圍第9項所述之嵌入式燒錄晶片系統,還包含一與該處理單元電連接的使用者介面單元,該處理單元可透過該使用者介面單元接收到一用以指示對該非及閘快閃記憶體進行燒錄的指令。The embedded programming chip system of claim 9, further comprising a user interface unit electrically connected to the processing unit, the processing unit receiving the user interface unit to indicate the non- And the flash flash memory is programmed to burn. 依據申請專利範圍第9~12項中任一項所述之嵌入式燒錄晶片系統,其中,該軟體為一程式的片段或一資訊的片段。The embedded burning wafer system according to any one of claims 9 to 12, wherein the software is a fragment of a program or a segment of information.
TW98129671A 2009-09-03 2009-09-03 An embedded chip system, a method for burning a wafer, and a computer program product TWI417888B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW98129671A TWI417888B (en) 2009-09-03 2009-09-03 An embedded chip system, a method for burning a wafer, and a computer program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW98129671A TWI417888B (en) 2009-09-03 2009-09-03 An embedded chip system, a method for burning a wafer, and a computer program product

Publications (2)

Publication Number Publication Date
TW201110127A TW201110127A (en) 2011-03-16
TWI417888B true TWI417888B (en) 2013-12-01

Family

ID=44836207

Family Applications (1)

Application Number Title Priority Date Filing Date
TW98129671A TWI417888B (en) 2009-09-03 2009-09-03 An embedded chip system, a method for burning a wafer, and a computer program product

Country Status (1)

Country Link
TW (1) TWI417888B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102914981A (en) * 2011-08-05 2013-02-06 鸿富锦精密工业(深圳)有限公司 Chip burning detection system
CN106453365B (en) * 2016-10-27 2019-08-30 深圳市中兴移动软件有限公司 A kind of method and terminal of the communication protocol of dynamic queries chip

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030236940A1 (en) * 2002-06-25 2003-12-25 Gvc Corporation Method for repeatedly recording program in flash memory
TWI227497B (en) * 2003-09-19 2005-02-01 Supreme Electronics Co Ltd A four functions in one tool for testing, repairing, recording and analyzing
US20060174098A1 (en) * 2005-02-02 2006-08-03 Chin-Liang Chen Read/write card for flash memory
TWI275030B (en) * 2005-05-27 2007-03-01 Hon Hai Prec Ind Co Ltd Method for updating factory default settings and boot loaders in an embedded system
TWM326180U (en) * 2007-01-31 2008-01-21 Inventec Appliances Corp Flash memory recording apparatus
TWM334962U (en) * 2007-12-14 2008-06-21 Inventec Besta Co Ltd Flash memory burning device
CN201078791Y (en) * 2007-09-29 2008-06-25 英华达(上海)科技有限公司 Flash memory burning program apparatus
TW200849017A (en) * 2007-06-13 2008-12-16 Ene Technology Inc Method and system for programming SPI flash memory of notebook computer via keyboard controller thereof
JP2009151426A (en) * 2007-12-19 2009-07-09 Sony Ericsson Mobilecommunications Japan Inc Software program update processing device, software program update processing method, software program update processing program, and portable terminal device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030236940A1 (en) * 2002-06-25 2003-12-25 Gvc Corporation Method for repeatedly recording program in flash memory
TWI241481B (en) * 2002-06-25 2005-10-11 Lite On Technology Corp Repeated burning method of flash memory program
TWI227497B (en) * 2003-09-19 2005-02-01 Supreme Electronics Co Ltd A four functions in one tool for testing, repairing, recording and analyzing
US20060174098A1 (en) * 2005-02-02 2006-08-03 Chin-Liang Chen Read/write card for flash memory
TWI275030B (en) * 2005-05-27 2007-03-01 Hon Hai Prec Ind Co Ltd Method for updating factory default settings and boot loaders in an embedded system
TWM326180U (en) * 2007-01-31 2008-01-21 Inventec Appliances Corp Flash memory recording apparatus
TW200849017A (en) * 2007-06-13 2008-12-16 Ene Technology Inc Method and system for programming SPI flash memory of notebook computer via keyboard controller thereof
CN201078791Y (en) * 2007-09-29 2008-06-25 英华达(上海)科技有限公司 Flash memory burning program apparatus
TWM334962U (en) * 2007-12-14 2008-06-21 Inventec Besta Co Ltd Flash memory burning device
JP2009151426A (en) * 2007-12-19 2009-07-09 Sony Ericsson Mobilecommunications Japan Inc Software program update processing device, software program update processing method, software program update processing program, and portable terminal device

Also Published As

Publication number Publication date
TW201110127A (en) 2011-03-16

Similar Documents

Publication Publication Date Title
TWI401691B (en) Controller having flash memory testing functions, storage system and testing method thereof
US8341337B1 (en) Data storage device booting from system data loaded by host
TWI396202B (en) Error correcting controller and flash memory chip system and error correcting method thereof
CN101853692B (en) Controller with flash memory testing function, its storage system and testing method
TWI470420B (en) Dubugging method and computer system using the smae
TW202008171A (en) Data writing method and storage controller
CN103077100B (en) Fro backing-up non-volatile data and restoration methods
TWI421686B (en) Data access method and system, storage medium controller and storage system
US9836417B2 (en) Bridge configuration in computing devices
TW201508472A (en) System and method of performing firmware update test
CN111897685A (en) Method and device for checking data in power failure, storage medium and electronic equipment
CN105760191A (en) Embedded system equipment programming mass production method
TWI710906B (en) Method and apparatus for performing access control between host device and memory device
EP2936295A1 (en) Virtual boundary codes in a data image of a read-write memory device
US20110231621A1 (en) System recovery method, and storage medium controller and storage system using the same
CN102023910A (en) Detection method for firmware switching
WO2016187801A1 (en) Data management method for storage medium, solid state hard disk and control chip
TWI493341B (en) Memory storage device and repairing method thereof
CN113885899B (en) Solid state disk firmware burning method, device, equipment and storage medium
TWI417888B (en) An embedded chip system, a method for burning a wafer, and a computer program product
TWI528375B (en) Controller of a flash memory adaptor and the flash memory storage device using the same
CN117311755A (en) Linux operating system upgrading method and device
JPH11265283A (en) Method of correcting firmware in storage device and storage device
CN112052031B (en) Method and device for automatically matching and upgrading CPLD (complex programmable logic device) by service board card
CN104751881B (en) flash memory burning method

Legal Events

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