To provide a technique which holds information showing the progress of data rewrite in a non-volatile memory.SOLUTION: An electronic controller has a ROM being a rewritable memory. A rewrite is performed on the ROM by, in block units, setting a block to an erased state and then writing object data to be rewritten with into the block. The electronic controller comprises an information acquisition unit (S85) and a storage execution unit (S95, S105 and S110). Each time progress information is acquired, the storage execution unit stores the progress information in at least one of a plurality of management blocks, wherein the at least one of the plurality of management blocks is different from a management block where previous progress information was stored.SELECTED DRAWING: Figure 10
【課題】不揮発性メモリにおけるデータの書き換えの進捗を表す情報を保持する技術を提供する。【解決手段】電子制御装置は、書き換え可能なメモリであるROMを有する。ROMは、ロック単位で、該ブロックが消去状態にされた後に該ブロックに書き換えの対象となるデータである対象データが書き込まれることによって、書き換えが行われる。電子制御装置は、情報取得部(S85)と、記憶実行部(S95、S105、S110)と、を備える。記憶実行部は、進捗情報が取得される毎に、複数の管理ブロックのうち少なくとも1つに、進捗情報を記憶させる。そして、記憶実行部は、複数の管理ブロックのうち、進捗情報が前回記憶された管理ブロックとは異なる管理ブロックに、進捗情報を記憶させる。【選択図】図10
ELECTRONIC CONTROLLER
電子制御装置
2019-02-07
Patent
Electronic Resource
Japanese