TWI691895B - Data-programming methods, programming systems, data update methods, and storage devices - Google Patents
Data-programming methods, programming systems, data update methods, and storage devices Download PDFInfo
- Publication number
- TWI691895B TWI691895B TW107147578A TW107147578A TWI691895B TW I691895 B TWI691895 B TW I691895B TW 107147578 A TW107147578 A TW 107147578A TW 107147578 A TW107147578 A TW 107147578A TW I691895 B TWI691895 B TW I691895B
- Authority
- TW
- Taiwan
- Prior art keywords
- data
- storage device
- bit
- written
- signal edge
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
- G06F8/63—Image based installation; Cloning; Build to order
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2273—Test methods
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/602—Providing cryptographic facilities or services
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/70—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
- G06F21/78—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure storage of data
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Abstract
Description
本發明係有關於一種資料寫入方法以及資料更新方法,特別係有關於一種利用單一資料針腳進行韌體更新之寫入以及更新方法。The invention relates to a data writing method and a data updating method, in particular to a writing and updating method using a single data pin to perform firmware update.
在生產線上往往會遇到產品已經裝機卻需要拆卸機殼重新燒錄資料,例如更新電子裝置的韌體等等。由於大量的拆卸與組裝機殼需要耗費可觀的人力與資源,為了降低生產成本,因此有必要針對如何有效率的寫入與更新資料進行最佳化。On the production line, it is often encountered that the product has been installed but needs to be disassembled to re-burn the data, such as updating the firmware of the electronic device. Since a large amount of disassembly and assembly requires a considerable amount of manpower and resources, in order to reduce production costs, it is necessary to optimize how to efficiently write and update data.
本發明之複數實施例提供了資料寫入方法以及資料更新方法,使得燒錄系統得以透過資料針腳而不需拆卸機殼,即可將資料寫入至電子裝置之儲存單元,已減少大量拆卸與組裝機殼所需耗費的人力與資源。根據本發明之一實施例,由於電子裝置利用信號緣通知燒錄系統操作是否正確,燒錄系統無法存取電子裝置內部的資料,以提升電子裝置之資料安全性。根據本發明之另一實施例,燒錄系統更可使用加密資料寫入電子裝置,而電子裝置再將加密資料解密,更可大幅增加電子裝置之資料安全性。The multiple embodiments of the present invention provide a data writing method and a data updating method, so that the programming system can write data to the storage unit of the electronic device without disassembling the case through the data pins, which has reduced a lot of disassembly and The manpower and resources required to assemble the cabinet. According to an embodiment of the present invention, since the electronic device uses the signal edge to inform the programming system whether the operation is correct, the programming system cannot access the data inside the electronic device to improve the data security of the electronic device. According to another embodiment of the present invention, the programming system can use encrypted data to write to the electronic device, and the electronic device can decrypt the encrypted data, which can greatly increase the data security of the electronic device.
有鑑於此,本發明提出一種資料寫入方法,適用於一燒錄系統透過一資料存取介面之一資料針腳將一寫入資料寫入一儲存裝置,上述資料寫入方法包括:將一操作指令輸入至上述資料針腳,使得上述儲存裝置根據上述操作指令進入一測試模式;輸入一寫入位址範圍,使得上述儲存裝置抹除上述寫入位址範圍之資料,其中當上述儲存裝置完成抹除上述寫入位址範圍之資料時,上述儲存裝置於上述資料針腳產生一信號緣;當自上述資料針腳接收到一信號緣時,利用一位元框架發送上述寫入資料之一第一位元;當自上述資料針腳接收到上述信號緣時,利用上述位元框架發送上述寫入資料之一第二位元;當上述寫入資料發送完成時,輸出一傳輸確認碼;以及當自上述資料針腳接收到上述信號緣時,判斷上述寫入資料已正確寫入上述儲存裝置。In view of this, the present invention proposes a data writing method suitable for a programming system to write a written data to a storage device through a data pin of a data access interface. The above data writing method includes: writing an operation The command is input to the data pin, so that the storage device enters a test mode according to the operation command; input a write address range, so that the storage device erases the data of the write address range, wherein when the storage device completes erasing In addition to the data written to the address range, the storage device generates a signal edge at the data pin; when a signal edge is received from the data pin, the first bit of the written data is sent using a one-bit frame When receiving the signal edge from the data pin, use the bit frame to send a second bit of the written data; when the written data is sent, output a transmission confirmation code; and when from the above When the data pin receives the signal edge, it determines that the written data has been correctly written into the storage device.
根據本發明之一實施例,上述資料存取介面更包括一時脈針腳,其中當上述儲存裝置進入上述測試模式時,上述時脈針腳係耦接至一第一邏輯位準。According to an embodiment of the invention, the data access interface further includes a clock pin, wherein when the storage device enters the test mode, the clock pin is coupled to a first logic level.
根據本發明之一實施例,資料寫入方法更包括:輸出一結束指標。上述儲存裝置根據上述結束指標,抹除上述寫入位址範圍之資料。According to an embodiment of the present invention, the data writing method further includes: outputting an end indicator. The storage device erases the data in the write address range according to the end index.
根據本發明之一實施例,上述位元框架包括一回應時間、一閂鎖時間以及一資料處理時間,其中上述資料寫入方法更包括:於上述回應時間,判斷是否自上述資料針腳接收到上述信號緣;當接收到上述信號緣時,於上述閂鎖時間發送上述第一位元;於上述資料處理時間判斷是否自上述資料針腳接收到上述信號緣,其中上述寫入資料於上述資料處理時間中寫入上述儲存裝置;當接收到上述信號緣時,判斷上述第一位元寫入完成;於下一閂鎖時間中,發送上述第二位元;以及當一既定時間內並未接收到上述信號緣時,發出一警示。According to an embodiment of the invention, the bit frame includes a response time, a latch time, and a data processing time. The data writing method further includes: at the response time, determining whether the data pin is received from the data pin Signal edge; when the signal edge is received, the first bit is sent at the latch time; at the data processing time, it is determined whether the signal edge is received from the data pin, wherein the written data is at the data processing time Write to the storage device in the middle; when the signal edge is received, judge the writing of the first bit is completed; send the second bit in the next latch time; and when not received within a predetermined time When the above signal edge occurs, a warning is issued.
根據本發明之一實施例,資料寫入方法更包括:當發送上述寫入資料之一第一既定數量之位元後,發出一區段確認碼;判斷是否自上述資料針腳接收到上述信號緣;當自上述資料針腳接收到上述信號緣時,判斷上述第一既定數量之位元寫入正確,並利用上述位元框架繼續發送上述寫入資料之下一位元;以及當一既定時間內並未接收到上述信號緣超過時,發出上述警示。According to an embodiment of the present invention, the data writing method further includes: after sending a first predetermined number of bits of the written data, sending out a sector confirmation code; determining whether the signal edge is received from the data pin ; When the signal edge is received from the data pin, determine that the first predetermined number of bits are written correctly, and continue to send the next bit of the written data using the bit frame; and when a predetermined time When the above signal edge is not received, the above warning is issued.
根據本發明之一實施例,上述將上述操作指令輸入至上述資料針腳之步驟之前,上述資料寫入方法更包括:於上述資料針腳上產生一第二既定數量之上述信號緣,用以致能上述儲存裝置。According to an embodiment of the invention, before the step of inputting the operation instruction to the data pin, the data writing method further includes: generating a second predetermined number of the signal edges on the data pin to enable the above Storage device.
根據本發明之一實施例,上述寫入資料係經過一加密處理,上述儲存裝置接收到上述寫入資料時,會將接收到之上述寫入資料解密為一解密資料,再將上述解密資料寫入上述寫入位址範圍。According to an embodiment of the present invention, the written data is subjected to an encryption process, and when the storage device receives the written data, it decrypts the received written data into a decrypted data, and then writes the decrypted data Enter the above address range.
本發明更提出一種燒錄系統,用以透過一資料存取介面之一資料針腳將一寫入資料寫入一儲存裝置,上述燒錄系統包括:一內部儲存裝置以及一燒錄裝置。上述內部儲存裝置用以儲存一指令程式。上述燒錄裝置執行上述指令程式而執行一資料寫入方法,其中上述資料寫入方法包括:將一操作指令輸入至上述資料針腳,使得上述儲存裝置根據上述操作指令進入一測試模式;輸入一寫入位址範圍,使得上述儲存裝置抹除上述寫入位址範圍之資料,其中當上述儲存裝置完成抹除上述寫入位址範圍之資料時,上述儲存裝置於上述資料針腳產生一信號緣;當自上述資料針腳接收到上述信號緣時,利用一位元框架發送上述寫入資料之一第一位元;當自上述資料針腳接收到上述信號緣時,利用上述位元框架發送上述寫入資料之一第二位元;當上述寫入資料發送完成時,輸出一傳輸確認碼;以及當自上述資料針腳接收到上述信號緣時,判斷上述寫入資料已正確寫入上述儲存裝置。The present invention further proposes a programming system for writing a written data into a storage device through a data pin of a data access interface. The foregoing programming system includes: an internal storage device and a programming device. The internal storage device is used to store a command program. The programming device executes the instruction program to execute a data writing method, wherein the data writing method includes: inputting an operation command to the data pin, so that the storage device enters a test mode according to the operation command; inputting a write Entering the address range, so that the storage device erases the data in the write address range, wherein when the storage device finishes erasing the data in the write address range, the storage device generates a signal edge at the data pin; When the signal edge is received from the data pin, a first bit of the written data is sent using a bit frame; when the signal edge is received from the data pin, the write is sent using the bit frame One second bit of data; when the writing of the written data is completed, a transmission confirmation code is output; and when the signal edge is received from the data pin, it is judged that the written data has been correctly written into the storage device.
本發明更提出一種資料更新方法,適用於一儲存裝置,其中一燒錄系統透過一資料存取介面之一資料針腳將一寫入資料寫入上述儲存裝置,上述資料更新方法包括:自上述資料針腳接收一操作指令;自上述資料針腳接收一寫入位址範圍;根據上述操作指令進入一測試模式;抹除上述寫入位址範圍之資料;當上述寫入位址範圍之資料抹除後,發出一信號緣;利用一位元框架接收上述寫入資料之一第一位元;根據上述第一位元,更新上述寫入位址範圍之一第一位址;當上述第一位址更新完成時,發出上述信號緣;自上述資料針腳接收一傳輸確認碼;根據上述寫入位址範圍之資料,產生一接收碼;判斷上述接收碼與上述傳輸確認碼是否相符;當上述接收碼與上述傳輸確認碼相符時,發出上述信號緣;以及當上述接收碼與上述傳輸確認碼不相符時,不發出上述信號緣。The present invention further proposes a data update method suitable for a storage device, in which a programming system writes a written data to the storage device through a data pin of a data access interface, the data update method includes: Pin receives an operation command; receives a write address range from the data pin; enters a test mode according to the operation command; erases the data in the write address range; after erasing the data in the write address range , Send out a signal edge; use a bit frame to receive the first bit of the written data; update the first address of the written address range according to the first bit; when the first address When the update is completed, the signal edge is sent out; a transmission confirmation code is received from the data pin; a reception code is generated based on the data written in the address range; whether the reception code matches the transmission confirmation code is determined; when the reception code When the transmission confirmation code matches, the signal edge is sent out; and when the reception code does not match the transmission confirmation code, the signal edge is not sent out.
根據本發明之一實施例,上述資料存取介面更包括一時脈針腳,其中當上述儲存裝置進入上述測試模式時,上述時脈針腳係耦接至一第一邏輯位準。According to an embodiment of the invention, the data access interface further includes a clock pin, wherein when the storage device enters the test mode, the clock pin is coupled to a first logic level.
根據本發明之一實施例,資料更新方法更包括:自上述資料針腳接收一結束指標;以及根據上述結束指標,抹除上述寫入位址範圍之資料。According to an embodiment of the present invention, the data update method further includes: receiving an end indicator from the data pin; and erasing the data in the write address range according to the end indicator.
根據本發明之一實施例,上述位元框架包括一回應時間、一閂鎖時間以及一資料處理時間,其中上述資料更新方法更包括:於上述回應時間,透過上述資料針腳發送上述信號緣;於上述閂鎖時間中接收上述第一位元;於上述資料處理時間中,利用上述第一位元更新上述第一位址,並判斷上述第一位元是否更新成功;當上述第一位址更新完成時,於下一回應時間發出上述信號緣;以及當上述第一位址更新失敗時,不發出上述信號緣。According to an embodiment of the invention, the bit frame includes a response time, a latch time, and a data processing time, wherein the data update method further includes: sending the signal edge through the data pin at the response time; Receiving the first bit during the latch time; during the data processing time, using the first bit to update the first address, and determining whether the first bit is successfully updated; when the first address is updated Upon completion, the signal edge is sent at the next response time; and when the update of the first address fails, the signal edge is not sent.
根據本發明之一實施例,資料更新方法更包括:當接收到上述寫入資料之一第一既定數量之位元後,接收一區段確認碼;對接收之上述第一既定數量之位元進行一邏輯運算而產生一接收確認碼;判斷上述接收確認碼是否與上述區段確認碼相符;當上述接收確認碼與上述區段確認碼相符時,發出上述信號緣;以及當上述接收確認碼與上述區段確認碼不相符時,停止動作。According to an embodiment of the invention, the data updating method further includes: after receiving a first predetermined number of bits of the written data, receiving a sector confirmation code; and receiving the first predetermined number of bits received Perform a logical operation to generate a reception confirmation code; determine whether the reception confirmation code matches the sector confirmation code; when the reception confirmation code matches the sector confirmation code, issue the signal edge; and when the reception confirmation code When it does not match the above sector confirmation code, the operation is stopped.
根據本發明之一實施例,上述自上述資料針腳接收上述操作指令之步驟之前,上述資料更新方法更包括:根據上述資料針腳之一第二既定數量之上述信號緣而啟動。According to an embodiment of the invention, before the step of receiving the operation command from the data pin, the data updating method further includes: starting according to a second predetermined number of the signal edges of one of the data pins.
根據本發明之一實施例,上述寫入資料係經過一加密處理,上述資料更新方法更包括:將接收之上述寫入資料解密而產生一解密資料;以及將上述解密資料寫入上述寫入位址範圍。According to an embodiment of the present invention, the write data is subjected to an encryption process, and the data update method further includes: decrypting the received write data to generate a decrypted data; and writing the decrypted data into the write bit Address range.
一種儲存裝置,其中一燒錄系統將一寫入資料寫入上述儲存裝置,上述儲存裝置包括:一儲存單元、一資料存取介面以及一控制器。上述資料存取介面包括一資料針腳,其中上述資料針腳接收上述燒錄系統之一操作指令、一寫入位置範圍以及上述寫入資料,且發出一信號緣,其中上述資料存取介面更利用一位元框架,依序接收上述寫入資料之每一位元。上述控制器根據上述操作指令,進入一測試模式且抹除上述儲存單元之上述寫入位址範圍之資料,其中當上述寫入位址範圍之資料抹除後,上述控制器透過上述資料存取界面發出上述信號緣至上述燒錄系統,其中當上述資料存取介面接收上述寫入資料之一第一位元時,上述控制器根據上述第一位元,更新上述儲存單元之上述寫入位址範圍之一第一位址,當上述第一位址更新完成時,上述控制器發出上述信號緣,其中上述控制器自上述資料針腳接收一傳輸確認碼,其中上述控制器根據上述寫入位址範圍之資料產生一接收碼,並判斷上述接收碼是否與上述傳輸確認碼相符,其中當上述接收碼與上述傳輸確認碼相符時,上述控制器發出上述信號緣,其中當上述接收碼與上述傳輸確認碼不相符時,上述控制器不發出上述信號緣。A storage device, wherein a programming system writes a written data to the storage device, the storage device includes: a storage unit, a data access interface and a controller. The data access interface includes a data pin, wherein the data pin receives an operation command of the programming system, a write position range, and the write data, and sends out a signal edge, wherein the data access interface further uses a The bit frame receives each bit of the written data in sequence. The controller enters a test mode according to the operation instruction and erases the data of the write address range of the storage unit, wherein when the data of the write address range is erased, the controller accesses through the data The interface sends the signal edge to the programming system, wherein when the data access interface receives a first bit of the written data, the controller updates the written bit of the storage unit according to the first bit The first address in the address range. When the update of the first address is completed, the controller sends out the signal edge, wherein the controller receives a transmission confirmation code from the data pin, and the controller according to the write bit The data in the address range generates a receiving code, and judges whether the receiving code matches the transmission confirmation code. When the receiving code matches the transmission confirmation code, the controller sends out the signal edge. When the receiving code matches the transmission code When the transmission confirmation code does not match, the above controller does not send out the above signal edge.
以下說明為本發明的實施例。其目的是要舉例說明本發明一般性的原則,不應視為本發明之限制,本發明之範圍當以申請專利範圍所界定者為準。The following description is an embodiment of the present invention. Its purpose is to exemplify the general principles of the present invention, and should not be regarded as a limitation of the present invention.
值得注意的是,以下所揭露的內容可提供多個用以實踐本發明之不同特點的實施例或範例。以下所述之特殊的元件範例與安排僅用以簡單扼要地闡述本發明之精神,並非用以限定本發明之範圍。此外,以下說明書可能在多個範例中重複使用相同的元件符號或文字。然而,重複使用的目的僅為了提供簡化並清楚的說明,並非用以限定多個以下所討論之實施例以及/或配置之間的關係。此外,以下說明書所述之一個特徵連接至、耦接至以及/或形成於另一特徵之上等的描述,實際可包含多個不同的實施例,包括該等特徵直接接觸,或者包含其它額外的特徵形成於該等特徵之間等等,使得該等特徵並非直接接觸。It is worth noting that the content disclosed below can provide multiple embodiments or examples for practicing different features of the present invention. The specific element examples and arrangements described below are only used to briefly explain the spirit of the present invention and are not intended to limit the scope of the present invention. In addition, the following specification may reuse the same symbol or text in multiple examples. However, the purpose of repeated use is merely to provide a simplified and clear description, and is not intended to limit the relationship between multiple embodiments and/or configurations discussed below. In addition, the description that one feature described in the following specification is connected to, coupled to, and/or formed on another feature, etc., may actually include a plurality of different embodiments, including direct contact of such features, or other additional features The features are formed between the features, etc., so that the features are not in direct contact.
第1圖係顯示根據本發明之一實施例所述之電子裝置之示意圖。如第1圖所示,電子裝置100包括資料存取介面110、儲存單元120以及控制器130,並且燒錄系統10透過資料存取介面110將寫入資料DT寫入儲存單元120。FIG. 1 is a schematic diagram of an electronic device according to an embodiment of the invention. As shown in FIG. 1, the
控制器130根據燒錄系統10之動作請求RT而將寫入資料DT寫入儲存單元120,並且當燒錄系統10之動作請求RT執行成功時,控制器130會透過資料存取介面110傳送信號緣SE,用以通知燒錄系統10動作請求RT已完成。根據本發明之一實施例,資料存取介面110包括時脈針腳CLK以及資料針腳DAT。The
根據本發明之一實施例,信號緣SE係為上升緣。根據本發明之另一實施例,信號緣SE亦可為下降緣。以下信號緣SE將以上升緣為例,以利進行說明解釋,本發明並非以任何形式限定於此。According to an embodiment of the invention, the signal edge SE is a rising edge. According to another embodiment of the present invention, the signal edge SE may also be a falling edge. The following signal edge SE will take the rising edge as an example to facilitate explanation and explanation, and the present invention is not limited thereto in any form.
第2圖係顯示根據本發明之一實施例所述之資料寫入方法之流程圖,其中資料寫入方法200適用於第1圖之燒錄系統10。以下針對資料寫入方法200之敘述,將搭配第1圖,以利詳細說明解釋。FIG. 2 is a flowchart showing a data writing method according to an embodiment of the present invention, wherein the
當燒錄系統10欲將寫入資料DT寫入至電子裝置100之儲存單元120時,燒錄系統10首先透過資料存取介面110之資料針腳DAT輸入第一既定數量之信號緣(步驟S201),用以啟動電子裝置100。When the
第3圖係顯示根據本發明之一實施例所述之存取介面之時脈針腳以及資料針腳之波形圖。如第3圖所示,當燒錄系統10欲將寫入資料DT寫入至電子裝置100之儲存單元120時,時脈針腳CLK係為第一邏輯位準。根據本發明之一實施例,第一邏輯位準係為高邏輯位準。根據本發明之另一實施例,第一邏輯位準係為低邏輯位準。換句話說,當燒錄系統10欲將寫入資料DT寫入至電子裝置100之儲存單元120時,時脈針腳CLK可為高邏輯位準或低邏輯位準,係依據電子裝置100之設計而定。FIG. 3 is a waveform diagram showing clock pins and data pins of the access interface according to an embodiment of the invention. As shown in FIG. 3, when the
如第3圖所示,燒錄系統10首先透過資料針腳DAT輸入致能信號EN,用以啟動電子裝置100,其中致能信號EN係為既定數量之信號緣。根據本發明之一實施例,既定數量之信號緣係為既定數量之上升緣,控制器130計數上升緣之數量而啟動。根據本發明之另一實施例,既定數量之信號緣係為既定數量之下降緣,控制器130計數下降緣之數量而啟動。根據本發明之其他實施例,設計者可決定既定數量為任意正整數。As shown in FIG. 3, the
如第2圖以及第3圖所示,燒錄系統10接著透過資料針腳DAT,輸入操作指令EC(步驟S202)、寫入位址範圍(步驟S203)以及結束指標EOF(步驟S204)。根據本發明之一實施例,如第3圖所示,燒錄系統10輸入之寫入位址範圍係由起始位址STR以及寫入位址大小SZ所定義。As shown in FIGS. 2 and 3, the
根據本發明之一實施例,第1圖之燒錄系統10更包括內部儲存裝置(第1圖並未顯示)以及燒錄裝置(第1圖並未顯示)。燒錄系統10之內部儲存裝置用以儲存指令程式,燒錄系統10之燒錄裝置用以存取內部儲存裝置所儲存之指令程式,而執行第2圖所示之資料寫入方法200。According to an embodiment of the present invention, the
第4圖係顯示根據本發明之一實施例所述之資料更新方法之流程圖,其中資料更新方法400適用於第1圖之電子裝置100之控制器130。以下針對資料寫入方法400之敘述,將搭配第1圖之方塊圖以及第2圖之資料寫入方法200,以利詳細說明解釋。FIG. 4 is a flowchart showing a data updating method according to an embodiment of the invention, wherein the
當控制器130自資料針腳DAT接收到第3圖之致能信號EN時,控制器130啟動(步驟S401)。當控制器130接收到操作指令EC時,控制器130進入操作模式(步驟S402)。當控制器130接收到結束指標EOF時,控制器130根據燒錄系統10輸入之寫入位址範圍(即,第3圖所示之起始位址STR以及寫入位址大小SZ),對寫入位址範圍進行抹除操作(步驟S403),並判斷抹除操作是否完成(步驟S404)。當抹除操作完成時,控制器130透過資料針腳DAT發出信號緣SE(步驟S405)。When the
根據本發明之另一實施例,控制器130可於接收到結束指標EOF時,才開始進入操作模式(步驟S402)以及對寫入位址範圍進行抹除操作(步驟S403),並且於抹除操作完成時發出信號緣SE(步驟S405)。According to another embodiment of the present invention, the
回到第2圖,燒錄系統10輸入結束指標EOF後,燒錄系統10等待控制器130進行操作,並判斷是否接收到信號緣SE(步驟S205)。當燒錄系統10接收到信號緣SE時,代表抹除操作已完成,因此開始發送寫入資料DT(步驟S206),並且於發藂寫入資料後,再次判斷是否接收到信號緣SE(步驟S207)。Returning to FIG. 2, after the burning
當燒錄系統10接收到信號緣SE時,代表成功將寫入資料DT寫入第1圖之儲存單元120。根據本發明之一實施例,燒錄系統10係利用位元框架(bit frame)的方式,發送寫入資料DT。When the
回到步驟S205以及步驟S207,根據本發明之一實施例,當燒錄系統10於既定時間內並未接收到信號緣SE時,燒錄系統10判斷資料寫入方法200發生錯誤,並且發出警示(步驟S211),用以通知測試者資料寫入方法200執行失敗。Returning to step S205 and step S207, according to an embodiment of the present invention, when the
回到第4圖之步驟S405,控制器130透過資料針腳DAT接收寫入資料DT(步驟S406),並且將接收之寫入資料DT更新寫入位址範圍(步驟S407)。接著,控制器130判斷寫入位址範圍之更新是否完成(步驟S408)。當判斷更新完成時,控制器130發出信號緣SE(步驟S409);當步驟S408判斷更新失敗時,控制器130結束資料更新方法400。Returning to step S405 of FIG. 4, the
根據本發明之一實施例,當資料寫入方法200執行到步驟S211時,燒錄系統10可對電子裝置100斷電後重新上電,再次重新執行資料寫入方法200之步驟S201,而控制器130亦對應執行資料更新方法400。According to an embodiment of the present invention, when the
第5圖係顯示根據本發明之一實施例所述之燒錄系統發送寫入資料之示意圖。根據本發明之一實施例,當燒錄系統10執行步驟S204而發送結束指標EOF時,控制器130執行步驟S403而對寫入位址範圍進行抹除操作。如第5圖所示,控制器130係於等待時間TW中,對儲存單元120之寫入位址範圍進行抹除操作。FIG. 5 is a schematic diagram showing the writing data sent by the burning system according to an embodiment of the invention. According to an embodiment of the present invention, when the
當抹除操作完成時,控制器130發出信號緣SE(步驟S405),以通知燒錄系統10該抹除操作已完成,其中該信號緣SE係對應至第5圖之第一上升緣E1。當燒錄系統10接收到第一上升緣E1時,隨即利用第一位元框架BF1傳輸寫入資料DT之第一位元BT1。When the erasing operation is completed, the
當第一位元BT1傳輸完成後,燒錄系統10接著利用第二位元框架BF2傳輸寫入資料DT之第二位元BT2,並依此類推,直到寫入資料DT全部傳輸完成為止。根據本發明之一實施例,燒錄系統10係依序發送寫入資料DT之每一位元。After the transfer of the first bit BT1 is completed, the
如第5圖所示,第一位元框架BF1以及第二位元框架BF2皆可劃分為回應時間TAN、閂鎖時間TL以及資料處理時間TP,其中燒錄系統10係分別於第一位元框架BF1以及第二位元框架BF2之閂鎖時間TL,發出第一位元BT1以及第二位元BT2。As shown in FIG. 5, the first bit frame BF1 and the second bit frame BF2 can be divided into response time TAN, latch time TL, and data processing time TP, in which the
第6圖係顯示根據本發明之一實施例所述之位元框架之示意圖。如第6圖所示,當燒錄系統10於步驟S205判斷接收到信號緣SE(即,對應至第6圖之上升緣ER)時,燒錄系統10隨即開啟位元框架BF以傳輸寫入資料DT。FIG. 6 is a schematic diagram showing a bit frame according to an embodiment of the invention. As shown in FIG. 6, when the
如第6圖所示,位元框架BF包括回應時間TAN、閂鎖時間TL以及資料處理時間TP。燒錄系統10係於回應時間TAN內執行步驟S205,用以判斷是否接收到信號緣SE(即,對應至第6圖之上升緣ER)。一旦燒錄系統10判斷接收到信號緣SE(即,對應至第6圖之上升緣ER),隨即進入閂鎖時間TL,並發出寫入資料DT之位元BT,其中發送之位元BT係為高邏輯位準H或低邏輯位準L。As shown in FIG. 6, the bit frame BF includes a response time TAN, a latch time TL, and a data processing time TP. The
根據本發明之一實施例,當控制器130於閂鎖時間TL中接收到燒錄系統10所發送之位元BT後,控制器130於資料處理時間TP中將接收之位元BT更新寫入位址範圍之對應的位址。當控制器130更新完成時則立即發送信號緣SE(即,對應至第6圖之上升緣ER),使得燒錄系統10根據信號緣SE(即,對應至第6圖之上升緣ER),再次利用位元框架BF傳送寫入資料DT之下一位元。According to an embodiment of the present invention, after the
回到第5圖,根據本發明之一實施例,控制器130係於第一位元框架BF1之資料處理時間TP,將第一位元BT1更新寫入位址範圍之第一位址。當第一位元BT1更新完成時控制器130發出第二上升緣E2,燒錄系統10在第二位元框架BT2之回應時間TAN中,根據第二上升緣E2判斷第一位元BT1已寫入完成,便於第二位元框架BT2之閂鎖時間TL再次發送寫入資料DT之第二位元BT2。Returning to FIG. 5, according to an embodiment of the present invention, the
當控制器130於第二位元框架BF2之資料處理時間TP中完成將第二位元BT2更新寫入位址範圍之第二位址時,控制器130會再次發出第三上升緣E3,以此類推。燒錄系統10藉此依序傳送寫入資料DT之每一位元。When the
根據本發明之一實施例,當控制器130於資料處理時間TP更新寫入位址範圍不成功時,控制器130不會發出信號緣SE(即,對應至第5圖之第一上升緣E1、第二上升緣E2或第三上升緣E3),燒錄系統10於既定時間內並未接收到信號緣SE時,則執行步驟S211而發出警示。根據本發明之一實施例,既定時間係等於第5圖以及第6圖之回應時間TAN。According to an embodiment of the present invention, when the
回到步驟S207,當燒錄系統10判斷接收到信號緣SE時,燒錄系統10更判斷寫入資料DT是否全部發送完畢(步驟S208)。若是判斷寫入資料DT並未發送完畢,燒錄系統10回到步驟S206,繼續利用第6圖所示之位元框架BF,發送寫入資料DT之其他位元。Returning to step S207, when the
回到步驟S208,若是判斷寫入資料DT係以發送完畢,燒錄系統10發送傳輸確認碼(步驟S209),並且燒錄系統10判斷是否接收到信號緣SE(步驟S210)。根據本發明之一實施例,傳輸確認碼係用以確認燒錄系統10所發送之寫入資料DT與控制器130更新寫入位址範圍之資料是否相符。Returning to step S208, if it is judged that the writing of the data DT is completed, the
根據本發明之一實施例,傳輸確認碼係為寫入資料DT之每一位元之和。根據本發明之其他實施例,燒錄系統10對寫入資料DT之每一位元進行邏輯運算,而產生傳輸確認碼,在此並非以任何形式限定於此。According to an embodiment of the invention, the transmission confirmation code is the sum of each bit of the written data DT. According to other embodiments of the present invention, the
參考第4圖,當燒錄系統10發出傳輸確認碼時,控制器130透過資料針腳DAT接收傳輸確認碼(步驟S410),並計算寫入位址範圍之資料的接收碼(步驟S411)。根據本發明之一實施例,控制器130係透過與產生傳輸確認碼之相同的邏輯運算,計算寫入位址範圍之資料的接收碼。Referring to FIG. 4, when the
當產生接收碼後,控制器130判斷接收之傳輸確認碼與接收碼是否相符(步驟S412)。若是傳輸確認碼與接收碼相符,控制器130則發出信號緣SE(步驟S413),通知燒錄系統10寫入位址範圍係以寫入資料DT更新成功。回到步驟S210,當燒錄系統10判斷接收到信號緣SE時,代表寫入資料DT係已成功更新寫入位址範圍,因此終止資料寫入方法200。After the reception code is generated, the
回到步驟S412,若是判斷傳輸確認碼與接收碼不相符,控制器130則不發出信號緣SE,並直接終止資料更新方法400。根據本發明之一實施例,回到步驟S210,當燒錄系統10於既定時間內並未接收到信號緣SE時,燒錄系統210執行步驟S211而發出警示,通知測試者資料寫入方法200執行失敗。Returning to step S412, if it is determined that the transmission confirmation code does not match the received code, the
第7圖係顯示根據本發明之另一實施例所述之資料寫入方法之示意圖。如第7圖所示,燒錄系統10依序發送寫入資料DT之第一位元BT1、第二位元BT2、…以及第N位元BTN,並於發送完第N位元BTN後發出區段確認碼CK。根據本發明之一實施例,區段確認碼CK係為第一位元BT1、第二位元BT2、…以及第N位元BTN經邏輯運算之結果,用以確認控制器130更新之資料是否與第一位元BT1、第二位元BT2、…以及第N位元BTN相符。FIG. 7 is a schematic diagram showing a data writing method according to another embodiment of the invention. As shown in FIG. 7, the burning
根據本發明之一實施例,區段確認碼CK係為第一位元BT1、第二位元BT2、…以及第N位元BTN經互斥或邏輯運算之結果,在此僅用以說明解釋,並非以任何形式限定於此。根據本發明之一實施例,燒錄系統10可選定發送任意既定數量之位元後即發送區段確認碼CK,在此並非以任何形式限定於此。According to an embodiment of the present invention, the section confirmation code CK is the result of the mutual exclusion or logical operation of the first bit BT1, the second bit BT2,... And the Nth bit BTN, which are used for explanation only , Is not limited to this in any form. According to an embodiment of the present invention, the
根據本發明之一實施例,當控制器130接收到區段確認碼CK時,控制器130同樣將接收之資料進行邏輯運算而產生接收確認碼,並判斷接收確認碼是否與區段確認碼CK相符。當接收確認碼與區段確認碼CK相符時,控制器130再次發出信號緣SE,通知燒錄系統10繼續發送寫入資料DT。當控制器130接著發出寫入資料DT之其他N個位元後,控制器130再次發出區段確認碼CK,直到寫入資料DT發送完畢。According to an embodiment of the present invention, when the
當接收確認碼與區段確認碼CK不相符時,控制器130則不發出信號緣SE並直接終止資料更新方法400。此外,當燒錄系統10超過既定時間並未接收到信號緣SE時,執行第2圖之步驟S211而發出警示。When the received confirmation code does not match the section confirmation code CK, the
第8圖係顯示根據本發明之另一實施例所述之資料寫入方法之示意圖。如第8圖所示,燒錄系統10係透過資料針腳DAT同時耦接至第一電子裝置800_1、第二電子裝置800_2、…以及第N電子裝置800_N,並且同時針對第一電子裝置800_1、第二電子裝置800_2、…以及第N電子裝置800_N執行第2圖之資料寫入方法200,第一電子裝置800_1、第二電子裝置800_2、…以及第N電子裝置800_N之每一者,也可分別執行第4圖之資料更新方法400。FIG. 8 is a schematic diagram showing a data writing method according to another embodiment of the invention. As shown in FIG. 8, the
第9圖係顯示根據本發明之另一實施例所述之電子裝置之方塊圖。如第9圖所示,電子裝置900包括資料存取介面910、儲存單元920、控制器930以及解密單元940。根據本發明之一實施例,為了增加電子裝置900之資料安全性,第1圖之寫入資料DT係透過加密裝置20加密後而產生加密資料DT_E,並將加密資料DT_E提供給燒錄系統10。FIG. 9 is a block diagram of an electronic device according to another embodiment of the invention. As shown in FIG. 9, the
根據本發明之一實施例,燒錄系統10同樣透過資料存取介面910之資料腳位DAT,將加密資料DT_E寫入儲存單元920。當電子裝置900接收到加密資料DT_E時,解密單元940將接收之加密資料DT_E進行解密而產生解密資料DT_D,控制器930在將解密資料DT_D更新儲存單元920之寫入位址範圍。根據本發明之一實施例,解密單元940之解密邏輯係相對於加密裝置20,使得解密資料DT_D係與寫入資料DT相符。
According to an embodiment of the present invention, the
本發明之複數實施例提供了資料寫入方法以及資料更新方法,使得燒錄系統得以透過資料針腳而不需拆卸機殼,即可將資料寫入至電子裝置之儲存單元,已減少大量拆卸與組裝機殼所需耗費的人力與資源。根據本發明之一實施例,由於電子裝置利用信號緣通知燒錄系統操作是否正確,燒錄系統無法存取電子裝置內部的資料,以提升電子裝置之資料安全性。根據本發明之另一實施例,燒錄系統更可使用加密資料寫入電子裝置,而電子裝置再將加密資料解密,更可大幅增加電子裝置之資料安全性。 The multiple embodiments of the present invention provide a data writing method and a data updating method, so that the programming system can write data to the storage unit of the electronic device without disassembling the case through the data pins, which has reduced a lot of disassembly and The manpower and resources required to assemble the cabinet. According to an embodiment of the present invention, since the electronic device uses the signal edge to inform the programming system whether the operation is correct, the programming system cannot access the data inside the electronic device to improve the data security of the electronic device. According to another embodiment of the present invention, the programming system can use encrypted data to write to the electronic device, and the electronic device can decrypt the encrypted data, which can greatly increase the data security of the electronic device.
以上所述為實施例的概述特徵。所屬技術領域中具有通常知識者應可以輕而易舉地利用本發明為基礎設計或調整以實行相同的目的和/或達成此處介紹的實施例的相同優點。所屬技術領域中具有通常知識者也應了解相同的配置不應背離本創作的精神與範圍,在不背離本創作的精神與範圍下他們可做出各種改變、取代和交替。說明性的方法僅表示示範性的步驟,但這些步驟並不一定要以所表示的順序執行。可另外加入、取代、改變順序和/或消除步驟以視情況而作調整,並與所揭露的實施例精神和範圍一致。The above is an overview of the embodiment. Those of ordinary skill in the art should be able to easily design or adjust based on the present invention to perform the same purpose and/or achieve the same advantages of the embodiments described herein. Those with ordinary knowledge in the technical field should also understand that the same configuration should not deviate from the spirit and scope of this creation, and they can make various changes, substitutions, and alterations without departing from the spirit and scope of this creation. The illustrative method represents only exemplary steps, but these steps are not necessarily performed in the order shown. Additional steps may be added, substituted, changed in order, and/or eliminated to adjust as appropriate and consistent with the spirit and scope of the disclosed embodiments.
10:燒錄系統10: Burning system
20:加密裝置20: encryption device
100、900:電子裝置100, 900: electronic device
110、910:資料存取介面110, 910: data access interface
120、920:儲存單元120, 920: storage unit
130、930:控制器130, 930: controller
200:資料寫入方法200: Data writing method
400:資料更新方法400: data update method
800_1:第一電子裝置800_1: the first electronic device
800_2:第二電子裝置800_2: Second electronic device
800_N:第N電子裝置800_N: Nth electronic device
940:解密單元940: Decryption unit
EN:致能信號EN: enable signal
RT:動作請求RT: Action request
DT:寫入資料DT: Write data
SE:信號緣SE: signal edge
CLK:時脈針腳CLK: clock pin
DAT:資料針腳DAT: data pin
EC:操作指令EC: Operation instruction
STR:起始位址STR: start address
SZ:寫入位址大小SZ: write address size
EOF:結束指標EOF: End indicator
TW:等待時間TW: waiting time
E1:第一上升緣E1: First rising edge
E2:第二上升緣E2: second rising edge
E3:第三上升緣E3: third rising edge
BT1:第一位元BT1: the first digit
BT2:第二位元BT2: second digit
BTN:第N位元BTN: Nth bit
BF1:第一位元框架BF1: the first bit frame
BF2:第二位元框架BF2: the second bit frame
BF:位元框架BF: bit frame
TAN:回應時間TAN: response time
TL:閂鎖時間TL: Latch time
TP:資料處理時間TP: data processing time
ER:上升緣ER: rising edge
H:高邏輯位準H: High logic level
L:低邏輯位準L: Low logic level
DT_E:加密資料DT_E: Encrypted data
DT_D:解密資料DT_D: decrypt data
S201~S211、S401~S413:步驟流程S201~S211, S401~S413: Step flow
第1圖係顯示根據本發明之一實施例所述之電子裝置之示意圖; 第2圖係顯示根據本發明之一實施例所述之資料寫入方法之流程圖; 第3圖係顯示根據本發明之一實施例所述之存取介面之時脈針腳以及資料針腳之波形圖; 第4圖係顯示根據本發明之一實施例所述之資料更新方法之流程圖; 第5圖係顯示根據本發明之一實施例所述之燒錄系統發送寫入資料之示意圖; 第6圖係顯示根據本發明之一實施例所述之位元框架之示意圖; 第7圖係顯示根據本發明之另一實施例所述之資料寫入方法之示意圖; 第8圖係顯示根據本發明之另一實施例所述之資料寫入方法之示意圖;以及 第9圖係顯示根據本發明之另一實施例所述之電子裝置之方塊圖。FIG. 1 is a schematic diagram showing an electronic device according to an embodiment of the invention; FIG. 2 is a flowchart showing a data writing method according to an embodiment of the invention; FIG. 3 is a display according to the present invention. The waveform diagram of the clock pin and the data pin of the access interface according to an embodiment of the invention; FIG. 4 is a flowchart showing a data update method according to an embodiment of the invention; FIG. 5 is a display based on A schematic diagram of writing data sent by a burning system according to an embodiment of the present invention; FIG. 6 is a schematic diagram showing a bit frame according to an embodiment of the present invention; FIG. 7 is a schematic diagram showing another according to the present invention FIG. 8 is a schematic diagram of a data writing method according to another embodiment; FIG. 8 is a schematic diagram of a data writing method according to another embodiment of the invention; and FIG. 9 is another embodiment of the invention. The block diagram of the electronic device.
200:資料寫入方法 200: Data writing method
S201~S211:步驟流程 S201~S211: Step flow
Claims (10)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW107147578A TWI691895B (en) | 2018-12-28 | 2018-12-28 | Data-programming methods, programming systems, data update methods, and storage devices |
CN201911353709.9A CN111381838B (en) | 2018-12-28 | 2019-12-25 | Data writing method, burning system, data updating method and storage device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW107147578A TWI691895B (en) | 2018-12-28 | 2018-12-28 | Data-programming methods, programming systems, data update methods, and storage devices |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI691895B true TWI691895B (en) | 2020-04-21 |
TW202026863A TW202026863A (en) | 2020-07-16 |
Family
ID=71132727
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW107147578A TWI691895B (en) | 2018-12-28 | 2018-12-28 | Data-programming methods, programming systems, data update methods, and storage devices |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN111381838B (en) |
TW (1) | TWI691895B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI775260B (en) * | 2020-12-30 | 2022-08-21 | 新唐科技股份有限公司 | Programming system and programming method thereof, and porgrammer |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102033807A (en) * | 2010-12-17 | 2011-04-27 | 青岛海信信芯科技有限公司 | SOC (System On Chip) chip debugging equipment, method and device |
CN102265549A (en) * | 2008-09-22 | 2011-11-30 | 柯扎特·拉多·拉多莱斯库 | Network timing synchronization systems |
US20130262744A1 (en) * | 2012-03-30 | 2013-10-03 | Venkatesh Ramachandra | NAND Flash Memory Interface |
TW201510736A (en) * | 2013-03-14 | 2015-03-16 | Microchip Tech Inc | Single wire programming and debugging interface |
TW201622351A (en) * | 2014-09-11 | 2016-06-16 | 英特爾股份有限公司 | Apparatus and method for adaptive common mode noise decomposition and tuning |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS56164646A (en) * | 1980-05-23 | 1981-12-17 | Hitachi Ltd | Monitor signal transmitting device |
CN102314396B (en) * | 2010-07-06 | 2014-01-29 | 旺宏电子股份有限公司 | Method and device for accessing bytes by taking a block as base flash |
CN104346103B (en) * | 2013-08-09 | 2018-02-02 | 群联电子股份有限公司 | Instruction executing method, Memory Controller and memorizer memory devices |
CN104536789A (en) * | 2014-12-28 | 2015-04-22 | 珠海全志科技股份有限公司 | Data burning method and data burning device |
CN105607925B (en) * | 2015-12-16 | 2019-06-18 | 深圳市科陆电子科技股份有限公司 | Processor in-chip FLASH burning program method and programming system |
-
2018
- 2018-12-28 TW TW107147578A patent/TWI691895B/en active
-
2019
- 2019-12-25 CN CN201911353709.9A patent/CN111381838B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102265549A (en) * | 2008-09-22 | 2011-11-30 | 柯扎特·拉多·拉多莱斯库 | Network timing synchronization systems |
CN102033807A (en) * | 2010-12-17 | 2011-04-27 | 青岛海信信芯科技有限公司 | SOC (System On Chip) chip debugging equipment, method and device |
US20130262744A1 (en) * | 2012-03-30 | 2013-10-03 | Venkatesh Ramachandra | NAND Flash Memory Interface |
TW201510736A (en) * | 2013-03-14 | 2015-03-16 | Microchip Tech Inc | Single wire programming and debugging interface |
TW201622351A (en) * | 2014-09-11 | 2016-06-16 | 英特爾股份有限公司 | Apparatus and method for adaptive common mode noise decomposition and tuning |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI775260B (en) * | 2020-12-30 | 2022-08-21 | 新唐科技股份有限公司 | Programming system and programming method thereof, and porgrammer |
Also Published As
Publication number | Publication date |
---|---|
CN111381838B (en) | 2023-09-01 |
TW202026863A (en) | 2020-07-16 |
CN111381838A (en) | 2020-07-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11366767B2 (en) | Storage system and method for performing and authenticating write-protection thereof | |
US10324864B2 (en) | Storage system and method for performing and authenticating write-protection thereof | |
US9971647B2 (en) | Apparatus and method for programming ECC-enabled NAND flash memory | |
TWI516921B (en) | Data processing method, memory storage device and memory controlling circuit unit | |
US11194486B2 (en) | Storage data sanitization | |
US10199108B2 (en) | Methods for read retries and apparatuses using the same | |
US10061927B2 (en) | Storage medium having stored therein boot program, information processing apparatus, information processing system, information processing method, semiconductor apparatus, and storage medium having stored therein program | |
KR20150047821A (en) | Semiconductor memory device, memory system including the same and operating method thereof | |
TWI641966B (en) | Memory storage system, host system authentication method and memory storage device | |
KR100778459B1 (en) | Apparatus and method for programming, erasing and verificating a pluality of electronic devices | |
US9582217B2 (en) | Electronic device and communication method | |
US9778880B2 (en) | Memory control circuit unit, data transmitting method and memory storage device | |
US9858366B2 (en) | Simulator and simulating method for flash memory background | |
US20220075549A1 (en) | Data erasure in memory sub-systems | |
TWI691895B (en) | Data-programming methods, programming systems, data update methods, and storage devices | |
CN111199023A (en) | Key system and decryption method of MCU program | |
TW202008355A (en) | Memory system, memory controller, and operating method thereof | |
WO2020211070A1 (en) | Multi-mode protected memory | |
JP2008090995A (en) | Flash memory device and its erasing method | |
US9620237B2 (en) | Semiconductor device and search circuit for and method of searching for erasure count in semiconductor memory | |
TWI585769B (en) | Data storage device and detection method for flash memory | |
US11080020B2 (en) | Information processing device and random number generating method | |
JP2013196195A (en) | Multiprocessor system |