JP6030485B2 - 電子制御装置 - Google Patents
電子制御装置 Download PDFInfo
- Publication number
- JP6030485B2 JP6030485B2 JP2013058175A JP2013058175A JP6030485B2 JP 6030485 B2 JP6030485 B2 JP 6030485B2 JP 2013058175 A JP2013058175 A JP 2013058175A JP 2013058175 A JP2013058175 A JP 2013058175A JP 6030485 B2 JP6030485 B2 JP 6030485B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- tool
- ecu
- processor
- block
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0638—Organizing or formatting or addressing of data
- G06F3/064—Management of blocks
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B15/00—Systems controlled by a computer
- G05B15/02—Systems controlled by a computer electric
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/0223—User address space allocation, e.g. contiguous or non contiguous base addressing
- G06F12/023—Free address space management
- G06F12/0238—Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory
- G06F12/0246—Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory in block erasable memory, e.g. flash memory
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/061—Improving I/O performance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/0671—In-line storage system
- G06F3/0673—Single storage device
- G06F3/0679—Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C16/00—Erasable programmable read-only memories
- G11C16/02—Erasable programmable read-only memories electrically programmable
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C16/00—Erasable programmable read-only memories
- G11C16/02—Erasable programmable read-only memories electrically programmable
- G11C16/06—Auxiliary circuits, e.g. for writing into memory
- G11C16/10—Programming or data input circuits
- G11C16/14—Circuits for erasing electrically, e.g. erase voltage switching circuits
- G11C16/16—Circuits for erasing electrically, e.g. erase voltage switching circuits for erasing blocks, e.g. arrays, words, groups
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2212/00—Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
- G06F2212/10—Providing a specific technical effect
- G06F2212/1016—Performance improvement
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2212/00—Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
- G06F2212/72—Details relating to flash memory management
- G06F2212/7201—Logical to physical mapping or translation of blocks or pages
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2212/00—Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
- G06F2212/72—Details relating to flash memory management
- G06F2212/7202—Allocation control and policies
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Automation & Control Theory (AREA)
- Stored Programmes (AREA)
- Read Only Memory (AREA)
- Memory System (AREA)
Description
図1は、自動車に搭載される電子制御装置(ECU:Electronic Control Unit)のデータを書き換える、データ書換えシステムの一例を示す。
ステップ204では、ECU100のプロセッサ110が、ツール300に対して、フラッシュROM130の書込ブロックWByへのデータ書き込みが終了したことを通知する。
ステップ400では、ECU100のプロセッサ110が、ツール300からの消去要求に応答して、図8に示すように、フラッシュROM130の消去ブロックEBxに書き込まれている書込ブロックWByのデータをRAM140に退避(コピー)する。
ステップ402では、ECU100のプロセッサ110が、ツール300に対して、フラッシュROM130における消去ブロックEBxのデータ消去が終了したことを通知する。
ステップ404では、ECU100のプロセッサ110が、ツール300から受信したデータをフラッシュROM130の書込ブロックWByに書き込む。その後、プロセッサ110は、処理をステップ406へと進める。
ステップ306では、ツール300のプロセッサ310が、ECU100からの通知に応答して、例えば、書込ブロックWBmまで処理したか否かを介して、消去ブロックEBxへのデータ書込みが終了したか否かを判定する。そして、プロセッサ310は、データ書込みが終了したと判定すれば消去ブロックEBxの処理を終了させる一方(Yes)、データ書込みが終了していないと判定すれば処理をステップ301へと戻す(No)。
ステップ600では、ECU100のプロセッサ110が、例えば、フラッシュROM130に書き込まれている被書換えデータからデータ識別情報を読み出し、これをツール300へと返送する。
ステップ602では、ECU100のプロセッサ110が、ツール300に対して、フラッシュROM130の消去ブロックEBxのデータ消去が終了したことを通知する。
ステップ604では、ECU100のプロセッサ110が、ツール300に対して、フラッシュROM130の書込ブロックWByへのデータ書き込みが終了したことを通知する。
ステップ701では、ツール300のプロセッサ310が、ECU100に対して、被書換えデータにおける消去ブロックEBxのデータのハッシュ値を要求する。
ステップ801では、ECU100のプロセッサ110が、ツール300からの消去要求に応答して、フラッシュROM130の消去ブロックEBxに書き込まれているデータをRAM140に退避する。
ステップ803では、ECU100のプロセッサ110が、ツール300に対して、フラッシュROM130における消去ブロックEBxのデータ消去が終了したことを通知する。
ステップ804では、ECU100のプロセッサ110が、ツール300からのハッシュ値の要求に応答して、被書換えデータにおける書込ブロックWByのデータのハッシュ値を算出する。そして、プロセッサ110は、書込ブロックWByから算出したハッシュ値をツール300に返送する。
ステップ805では、ECU100のプロセッサ110が、ツール300から受信したデータをフラッシュROM130の書込ブロックWByに書き込む。その後、プロセッサ110は、処理をステップ807へと進める。
ステップ709では、ツール300のプロセッサ310が、ECU100からの通知に応答して、消去ブロックEBxへのデータ書込みが終了したか否かを判定する。そして、プロセッサ310は、データ書込みが終了したと判定すれば消去ブロックEBxの処理を終了させる一方(Yes)、データ書込みが終了していないと判定すれば処理をステップ704へと戻す(No)。
ステップ901では、ツール300のプロセッサ310が、ECU100に対して、被書換えデータにおける消去ブロックEBxのデータ消去を要求すると共に、ステップ900で算出したハッシュ値を送信する。
ステップ1003では、ECU100のプロセッサ110が、フラッシュROM130における消去ブロックEBxのデータを消去する。
ステップ1005では、ECU100のプロセッサ110が、ツール300に対して、書換えデータの消去ブロックEBxに属する書込ブロックWByのデータのハッシュ値を要求する。
ステップ903では、ツール300のプロセッサ310が、ECU100からの要求に応答して、書換えデータから書込ブロックWByのデータを順次抽出し、これをECU100に対して送信する。
かかる技術的思想によれば、2つのデータの同一性を容易に判定することができる。
かかる技術的思想によれば、2つのデータ間で同一性がある消去ブロック単位のデータは、データの消去及び書き込みが実行されないため、データ転送量の削減を通して、不揮発性メモリのデータ書換えに要する時間を更に短縮することができる。
かかる技術的思想によれば、不揮発性メモリに書き込まれているデータに基づいて、不揮発性メモリに書き込むデータと不揮発性メモリに書き込まれているデータとの差分情報を求めることができる。
110 プロセッサ
120 通信回路
130 フラッシュROM(不揮発性メモリ)
140 RAM(揮発性メモリ)
200 ネットワークケーブル
300 ツール
310 プロセッサ
320 通信回路
Claims (4)
- 消去ブロック単位でデータを消去可能であると共に、前記消去ブロックよりも小さい書込ブロック単位でデータを書込み可能な不揮発性メモリを有する電子制御装置であって、
外部からのデータ書換え要求に応答して、前記消去ブロック単位で、前記不揮発性メモリに書き込むデータの識別情報と、前記不揮発性メモリに書き込まれているデータの識別情報と、の同一性を判定し、前記同一性がないと判定された消去ブロックについて、前記不揮発性メモリのデータを消去ブロック単位で消去し、前記不揮発性メモリに書込ブロック単位でデータを書き込む、
ことを特徴とする電子制御装置。 - 前記消去ブロック単位で、前記不揮発性メモリに書き込まれているデータを揮発性メモリに退避してから消去し、
前記書込ブロック単位で、前記不揮発性メモリに書き込むデータの識別情報と、前記揮発性メモリに退避されたデータの識別情報と、の同一性を判定し、前記同一性がある場合、前記揮発性メモリに退避されたデータを前記不揮発性メモリに書き込む一方、前記同一性がない場合、外部からのデータを不揮発性メモリに書き込む、
ことを特徴とする請求項1に記載の電子制御装置。 - 前記電子制御装置に対して接続されるツールを更に含み、
前記ツールは、前記不揮発性メモリに書き込むデータと前記不揮発性メモリに書き込まれているデータとの差分情報に基づいて、前記電子制御装置にデータ書換え要求を送信する、
ことを特徴とする請求項1又は請求項2に記載の電子制御装置。 - 前記データの識別情報は、ハッシュ値である、
ことを特徴とする請求項1〜請求項3のいずれか1つに記載の電子制御装置。
Priority Applications (6)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013058175A JP6030485B2 (ja) | 2013-03-21 | 2013-03-21 | 電子制御装置 |
CN201480016490.2A CN105144299B (zh) | 2013-03-21 | 2014-02-25 | 电子控制装置以及数据改写方法 |
GB1516785.1A GB2526992B (en) | 2013-03-21 | 2014-02-25 | Electronic control unit and method for rewriting data |
PCT/JP2014/054484 WO2014148208A1 (ja) | 2013-03-21 | 2014-02-25 | 電子制御装置及びデータ書換え方法 |
US14/778,896 US9996296B2 (en) | 2013-03-21 | 2014-02-25 | Electronic control unit and method for rewriting data |
MX2015012412A MX361290B (es) | 2013-03-21 | 2014-02-25 | Unidad de control electrónico y método para reescribir datos. |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013058175A JP6030485B2 (ja) | 2013-03-21 | 2013-03-21 | 電子制御装置 |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2014182859A JP2014182859A (ja) | 2014-09-29 |
JP6030485B2 true JP6030485B2 (ja) | 2016-11-24 |
Family
ID=51579900
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013058175A Active JP6030485B2 (ja) | 2013-03-21 | 2013-03-21 | 電子制御装置 |
Country Status (6)
Country | Link |
---|---|
US (1) | US9996296B2 (ja) |
JP (1) | JP6030485B2 (ja) |
CN (1) | CN105144299B (ja) |
GB (1) | GB2526992B (ja) |
MX (1) | MX361290B (ja) |
WO (1) | WO2014148208A1 (ja) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6308074B2 (ja) * | 2014-08-27 | 2018-04-11 | 株式会社デンソー | マイクロコンピュータ |
JP6699324B2 (ja) | 2016-04-26 | 2020-05-27 | 株式会社デンソー | 電子制御装置及びデータ書換えシステム |
JP6913621B2 (ja) * | 2017-12-19 | 2021-08-04 | 日立Astemo株式会社 | 自動車用電子制御装置 |
JP2021043843A (ja) * | 2019-09-13 | 2021-03-18 | 日立オートモティブシステムズ株式会社 | 転送装置、電子制御装置及びこれを製造する方法 |
Family Cites Families (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06162786A (ja) * | 1992-11-18 | 1994-06-10 | Hitachi Ltd | フラッシュメモリを用いた情報処理装置 |
JPH08202626A (ja) * | 1995-01-31 | 1996-08-09 | Isuzu Motors Ltd | メモリ制御装置 |
JPH08315596A (ja) * | 1995-05-12 | 1996-11-29 | Nec Corp | 半導体記憶装置 |
JPH09128229A (ja) | 1995-11-06 | 1997-05-16 | Denso Corp | 電子制御装置 |
JPH11141391A (ja) * | 1997-11-06 | 1999-05-25 | Hitachi Ltd | 自動車用制御装置 |
JP2000192844A (ja) * | 1998-12-25 | 2000-07-11 | Hitachi Ltd | エンジン制御装置 |
JP2002014833A (ja) * | 2000-06-30 | 2002-01-18 | Konica Corp | フラッシュメモリの書き換え方式、制御装置、画像形成装置及びプログラム更新方式 |
JP2003131898A (ja) * | 2001-10-24 | 2003-05-09 | Sharp Corp | 電子機器、及びフラッシュメモリの書き換えシステム |
JP2003272389A (ja) * | 2002-03-20 | 2003-09-26 | Sony Corp | データ記憶回路及び同データ記憶回路におけるデータ書込み方法及びデータ記憶装置 |
US20080132204A1 (en) * | 2006-12-04 | 2008-06-05 | Motorola, Inc. | System and method for updating at least one attribute stored at a mobile station |
JP5107776B2 (ja) * | 2008-04-07 | 2012-12-26 | スパンション エルエルシー | メモリコントローラ、メモリシステム、及びメモリデバイスへのデータの書込方法 |
JP2010009164A (ja) * | 2008-06-25 | 2010-01-14 | Kyocera Mita Corp | 記録装置、画像形成装置、及びオプション装置 |
US8285970B2 (en) * | 2008-11-06 | 2012-10-09 | Silicon Motion Inc. | Method for managing a memory apparatus, and associated memory apparatus thereof |
US8769188B2 (en) * | 2009-11-18 | 2014-07-01 | Mediatek Inc. | Nonvolatile memory controller and method for writing data to nonvolatile memory |
US8406059B2 (en) * | 2009-12-24 | 2013-03-26 | Samsung Electronics Co., Ltd. | Nonvolatile semiconductor memory devices, data updating methods thereof, and nonvolatile semiconductor memory systems |
WO2012081099A1 (ja) | 2010-12-15 | 2012-06-21 | 富士通株式会社 | データ移行プログラム、計算機およびデータ移行方法 |
US9032137B2 (en) * | 2012-11-21 | 2015-05-12 | Intel Corporation | Flexible wear management for non-volatile memory |
-
2013
- 2013-03-21 JP JP2013058175A patent/JP6030485B2/ja active Active
-
2014
- 2014-02-25 WO PCT/JP2014/054484 patent/WO2014148208A1/ja active Application Filing
- 2014-02-25 MX MX2015012412A patent/MX361290B/es active IP Right Grant
- 2014-02-25 US US14/778,896 patent/US9996296B2/en active Active
- 2014-02-25 CN CN201480016490.2A patent/CN105144299B/zh active Active
- 2014-02-25 GB GB1516785.1A patent/GB2526992B/en active Active
Also Published As
Publication number | Publication date |
---|---|
WO2014148208A1 (ja) | 2014-09-25 |
GB2526992B (en) | 2020-05-06 |
CN105144299B (zh) | 2021-01-12 |
CN105144299A (zh) | 2015-12-09 |
MX2015012412A (es) | 2016-07-15 |
JP2014182859A (ja) | 2014-09-29 |
US20160048336A1 (en) | 2016-02-18 |
US9996296B2 (en) | 2018-06-12 |
GB201516785D0 (en) | 2015-11-04 |
GB2526992A (en) | 2015-12-09 |
MX361290B (es) | 2018-12-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9858008B2 (en) | Method to reduce flash memory IOs with host maintained address mapping table | |
CN104423894B (zh) | 数据储存装置以及快闪存储器控制方法 | |
US10481837B2 (en) | Data storage device and method for operating data storage device with efficient trimming operations | |
KR102567097B1 (ko) | 임베디드 시스템의 부트 롬 업데이트 방법 및 부팅 방법 | |
JP6030485B2 (ja) | 電子制御装置 | |
US11042323B2 (en) | Offload defrag operation for host-managed storage | |
US9081658B2 (en) | Storage device and data management method thereof | |
JP4745465B1 (ja) | 半導体記憶装置及び半導体記憶装置の制御方法 | |
WO2019090493A1 (zh) | 内存块回收方法和装置 | |
US11775188B2 (en) | Communications to reclaim storage space occupied by proof of space plots in solid state drives | |
US12008235B2 (en) | Data storage device and method for rewriting parameters thereof | |
US20140219041A1 (en) | Storage device and data processing method thereof | |
US9524236B1 (en) | Systems and methods for performing memory management based on data access properties | |
KR101465460B1 (ko) | 트림 방법 및 데이터 관리 장치 | |
JP2016170471A (ja) | 電子制御装置 | |
US20140075094A1 (en) | Method to implement a binary flag in flash memory | |
KR20170139730A (ko) | 데이터 저장 장치 및 그것의 동작 방법 | |
CN107257281B (zh) | Nor flash存储密钥记录的方法、装置及计算机可读存储介质 | |
JP5204265B2 (ja) | 半導体記憶装置及び半導体記憶装置の制御方法 | |
KR101691091B1 (ko) | 컴퓨팅 시스템 및 그것의 하이버네이션 방법 | |
JP2016504695A (ja) | 不揮発性半導体マスメモリを安全に消去するための方法、コンピュータシステム、及びコンピュータプログラム | |
JP2009223435A (ja) | データ記憶方法及び装置、並びにプログラム | |
JP5180726B2 (ja) | 記憶装置およびデータ書き込み制御方法 | |
JP2012027806A (ja) | メモリ管理装置およびメモリ管理方法 | |
JP4973844B2 (ja) | オブジェクト指向型車両用制御装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20150810 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20160712 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20160909 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20161004 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20161020 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6030485 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |