PROBLEM TO BE SOLVED: To provide an onboard electronic control device which determines validity of a control program and executes it.SOLUTION: An onboard electronic control device includes a memory 25 having a plurality of rewritable programming regions SA and SB where a control program is written at timing different with each other, and a control selection unit which is configured to select a control program to be executed from among the plurality of control programs PA and PB respectively stored in the plurality of programming regions SA and SB. The memory 25 stores completion flags FlgA and FlgB respectively indicating whether the control programs PA and PB are completed, and writing counters CntA and CntB indicating the written order of the control programs stored in the program regions. The control selection unit selects a control program to be executed by using the completion flags FlgA and FlgB and the writing counters CntA and CntB.SELECTED DRAWING: Figure 2
【課題】制御プログラムの有効性を判定して実行する車載電子制御装置を提供する。【解決手段】制御プログラムが異なるタイミングで書き込まれる書換え可能な複数のプログラム領域SA,SBを有するメモリ25と、複数のプログラム領域SA,SBに記憶されている複数の制御プログラムPA,PBの中から実行する制御プログラムを選択するように構成された制御選択部と、を備える。メモリ25には、プログラム領域SA,SBのそれぞれに対して、制御プログラムPA,PBの書き込みが完了しているか否かの状態を示す完了フラグFlgA,FlgB、及び、当該プログラム領域に記憶されている制御プログラムが何番目に書き込まれたものであるかを示す書込みカウンタCntA,CntB、が記憶されている。制御選択部は、完了フラグFlgA,FlgB及び書込みカウンタCntA,CntBを用いて、実行する制御プログラムを選択する。【選択図】図2
ONBOARD ELECTRONIC CONTROL DEVICE
車載電子制御装置
14.06.2018
Patent
Elektronische Ressource
Japanisch
ONBOARD CONTROL DEVICE AND ONBOARD POWER SUPPLY DEVICE
Europäisches Patentamt | 2019
|