WO2013021423A1 - Reprogramming system and reprogramming method - Google Patents

Reprogramming system and reprogramming method Download PDF

Info

Publication number
WO2013021423A1
WO2013021423A1 PCT/JP2011/004530 JP2011004530W WO2013021423A1 WO 2013021423 A1 WO2013021423 A1 WO 2013021423A1 JP 2011004530 W JP2011004530 W JP 2011004530W WO 2013021423 A1 WO2013021423 A1 WO 2013021423A1
Authority
WO
WIPO (PCT)
Prior art keywords
reprogramming
data
control means
storage means
signal
Prior art date
Application number
PCT/JP2011/004530
Other languages
French (fr)
Japanese (ja)
Inventor
訓成 小堀
隆宏 戸田
浩司 尾藤
実 山内
佐和 奥野
滋 松田
Original Assignee
トヨタ自動車株式会社
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 トヨタ自動車株式会社 filed Critical トヨタ自動車株式会社
Priority to PCT/JP2011/004530 priority Critical patent/WO2013021423A1/en
Publication of WO2013021423A1 publication Critical patent/WO2013021423A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0706Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
    • G06F11/0736Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in functional embedded systems, i.e. in a data processing system designed as a combination of hardware and software dedicated to performing a certain function
    • G06F11/0739Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in functional embedded systems, i.e. in a data processing system designed as a combination of hardware and software dedicated to performing a certain function in a data processing system embedded in automotive or aircraft systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0751Error or fault detection not based on redundancy
    • G06F11/0754Error or fault detection not based on redundancy by exceeding limits
    • G06F11/0757Error or fault detection not based on redundancy by exceeding limits by exceeding a time limit, i.e. time-out, e.g. watchdogs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0793Remedial or corrective actions

Definitions

  • the present invention relates to a reprogramming system and a reprogramming method capable of rewriting predetermined data stored in a memory.
  • the reliability of the user application is sufficiently ensured, but the reliability of the reprogramming software that is not normally executed may be insufficient compared to the user application.
  • a reprogramming system is known in which reprogramming data is prevented from being changed at a portion where the change is not permitted and the adjustment of the portion at which the change is permitted is facilitated (see Patent Document 1). ).
  • the present invention has been made to solve such problems, and a main object of the present invention is to provide a reprogramming system and a reprogramming method capable of performing self-fault diagnosis while appropriately performing reprogramming. And
  • a first storage unit storing predetermined data, and reprogramming the predetermined data stored in the first storage unit based on reprogramming data.
  • a control unit that outputs a signal at a first predetermined period using a polling process, and a failure determination unit that determines a failure of the control unit based on the signal output from the control unit.
  • This is a reprogramming system characterized by that. According to this aspect, self-failure diagnosis can be performed while appropriately performing reprogramming.
  • the failure determination unit may determine the failure without interrupting the rewriting process of the control unit.
  • control means transfers reprogramming data to the first storage means at a second predetermined cycle, rewrites the data stored in the first storage means, and the control means rewrites the reprogramming data.
  • the amount of reprogramming data to be transferred may be adjusted so that the processing time per one time for transferring the data to the first storage means and performing the rewriting is equal to or shorter than the first predetermined period.
  • the apparatus further includes data transmission means for transmitting the reprogramming data to the control means, and the data transmission means transmits a request signal to the control means when transmitting the reprogramming data.
  • control unit In response to the request signal transmitted from the data transmission unit, the control unit returns a negative response signal while the application is running, and returns an affirmative response signal when the application ends. May be. As a result, even if the time for ending the application fluctuates, reprogramming can be executed at optimal timing.
  • the apparatus further comprises second storage means for storing an activation factor code indicating the factor for starting the reprogramming when the control means is activated, and the control means is stored in the second storage means.
  • the activation factor code may be read and the majority of the activation factor code may be determined to determine whether the activation factor code is true or false. Thereby, the reliability of the reprogramming activation factor can be easily improved.
  • it further comprises data transmission means for transmitting the reprogramming data to the control means, and the data transmission means transmits a request signal to the control means when transmitting the reprogramming data
  • the control means may include means for receiving the request signal from the data transmission means for a predetermined time after the reprogramming. As a result, the control means can be forcibly activated and correct reprogramming data can be written to the first storage means again.
  • control unit executes application software stored in the first storage unit, and the application software stores the unique information of the application software stored in the first storage unit.
  • Information indicating whether or not data is written in one storage means may be included.
  • control means performs a process of erasing the unique information stored in the first storage means, then performs a process of storing the application software in the first storage means, and then the first You may perform the process which memorize
  • the first predetermined cycle is performed using the polling process while reprogramming the predetermined data stored in the first storage means based on the reprogramming data.
  • a reprogramming method comprising: outputting a signal at step S1; and determining a failure of the device based on the output signal.
  • Another aspect of the present invention for achieving the above object is to perform a reprogramming by rewriting the predetermined data stored in the first storage means based on the reprogramming data, and using the polling process for the first predetermined period.
  • the program may cause the computer to execute a process of outputting a signal and a process of determining its own failure based on the output signal.
  • FIG. 1 is a block diagram showing a schematic configuration of a reprogramming system according to Embodiment 1 of the present invention.
  • the reprogramming system 1 includes an ECU (Electronic Control Unit) 10 and a host terminal 20 connected to the ECU 10, which is a specific example of a data transmission unit.
  • the ECU 10 is a specific example of the control means, and is a CPU (Central Processing Unit) 11 that performs arithmetic processing, control processing, and the like, and is a specific example of the first storage means, a flash memory 12 that stores data, and a failure
  • This is a specific example of the determination unit, and includes a WD (Watch Dog) monitoring unit 13 that monitors the CPU 11.
  • the host terminal (host PC) 20 includes a host tool unit 21 and a storage unit 22 that stores program data for rewriting flash memory.
  • the host tool unit 21 of the host terminal 20 reads program data from the storage unit 22 and transmits it to the CPU 11 of the ECU 10.
  • the CPU 11 performs reprogramming by rewriting data stored at a predetermined address in the flash memory 12 using program data transmitted from the host tool unit 21.
  • the flash memory 12 for example, an EEPROM (Electrically Erasable Programmable Read-Only Memory) or the like is used.
  • the CPU 11 reads the reprogramming software stored in advance in the flash memory 12 and executes the read reprogramming software to perform reprogramming.
  • the WD monitoring unit 13 is configured as a separate circuit from the CPU 11, but may be configured as software that is stored in advance in the flash memory 12 and executed by the CPU 11.
  • the CPU 11 periodically outputs a WD signal to the WD monitoring unit 13 via the external port (at a first predetermined period) in order to execute self-diagnosis diagnosis during the reprogramming operation. If the WD monitoring unit 13 cannot periodically receive the WD signal from the CPU 11, the WD monitoring unit 13 determines that the CPU 11 is out of order and transmits a reset signal to the CPU 11. As a result, the CPU 11 is forced to be in a reset state. As described above, the reprogramming system 1 according to the first embodiment can perform self-failure diagnosis while executing reprogramming without interruption.
  • FIG. 2 is a diagram showing an example of a reprogramming processing sequence according to the first embodiment.
  • the host tool unit 21 of the host terminal 20 transmits a reprogramming request signal to the application unit of the ECU 10, and the application unit notifies the user application unit of the request in response to the request signal. To do.
  • the user application unit receives the notification and returns a preparation completion signal to the application unit when preparation for reprogramming is completed. Note that the application unit, the user application unit, and a boot unit described later are realized by software read from the flash memory 12 and executed by the CPU 11.
  • failure diagnosis of the CPU 11 can be executed without interrupting the processing during reprogramming.
  • the WD signal is periodically output from the boot unit to the WD monitoring unit 13 by using polling processing without performing external interrupt processing that is normally performed.
  • reprogramming processing Requestdownload, TransferData, TransferData,..., RequestTransferExit, ECUReset
  • the WD signal By periodically outputting (PosRes,..., PosRes), a failure diagnosis of the CPU 11 can be performed.
  • processing based on ISO15765 is performed. More specifically, in RequestDownload, the address start position, memory size, and data erasure to be written to the flash memory 12 are performed, and in TransferData, reprogramming data is transferred and written in the flash memory 12 and the like. It is. In RequestTransferExit, the final reprogramming data is transferred, written to the flash memory 12, and finally verified. In ECUReset, the CPU 11 is reset.
  • the CPU 11 periodically transfers the reprogramming data to the flash memory 12 (at the second predetermined cycle) and rewrites the data stored in the flash memory 12.
  • the transfer amount of the program data transferred from the host tool unit 21 to the CPU 11 is adjusted so that the write time T1 to the flash memory 12 once becomes less than or equal to the output period T2 of the WD signal. Yes.
  • the boot unit restarts and resumes execution from boot 0 address.
  • the application unit activates the user application unit and starts failure diagnosis.
  • FIG. 3 is a diagram showing an example of a schematic configuration of reprogramming software stored in the CPU.
  • the CPU 11 periodically turns on the output port of the WD signal using a timer, a counter, or the like, and outputs the WD signal to the WD monitoring unit 13. Thereafter, the rewriting process of the flash memory 12 is performed. At this time, the rewriting process of the flash memory 12 is not interrupted by an external interrupt or the like. This is because, when an external interrupt is performed, the rewriting process of the flash memory 12 is interrupted, so that there is a possibility that the flash memory 12 cannot be normally written.
  • the write time T1 for one flash memory 12 is adjusted so as not to exceed the output period T2 of the WD signal.
  • the CPU 11 is in a reset state.
  • the CPU 11 performs the polling process while reprogramming the predetermined data in the flash memory 12 based on the reprogramming data transmitted from the host tool unit 21.
  • the WD signal is output to the WD monitoring unit 13 using the output cycle T2.
  • the WD monitoring unit 13 determines whether or not the CPU 11 has failed based on the WD signal from the CPU 11. Thereby, failure diagnosis of the CPU 11 can be performed without interrupting reprogramming.
  • Embodiment 2 In the reprogramming system 1 according to Embodiment 2 of the present invention, when the host tool unit 21 of the host terminal 20 transmits reprogramming data to the application unit of the ECU 10, a reprogramming request signal is sent to the application unit. Send. Then, in response to the reprogramming request signal transmitted from the host tool unit 21, the application unit returns a negative response signal while the user application unit is activated, and when the user application unit ends, the application unit returns positive. A response signal is returned.
  • the user application unit is terminated at the time of reprogramming, but the reprogramming can be appropriately executed even when the time until the user application unit is terminated fluctuates.
  • FIG. 4 is a diagram showing information stored in each address of the flash memory.
  • the flash memory 12 includes, for example, a boot unit (boot software, including reprogramming software) 121, unique information 122, a user application unit (user application software, an OS (Operation System) unit, and a control unit). ) 123, an application unit (interface of the user application unit 123) 124, a security unit 125, and the like are stored.
  • the unique information 122, the user application unit 123, the application unit 124, and the security unit 125 are data of the flash memory 12 that is rewritten during reprogramming. Further, the CPU 11 reads and executes the boot unit 121, the user application unit 123, the application unit 124, and the like stored in the flash memory 12.
  • reprogramming software is allocated to the address space of the flash memory 12, and the user application unit 123 to be rewritten exists in an address space different from the address space.
  • the CPU 11 Since the user application unit 123 is normally executed, when the reprogramming request signal is transmitted from the host tool unit 21 to the CPU 11, the CPU 11 normally ends the user application unit 123, and then It is necessary to read and execute the reprogramming software of the boot unit 121. On the other hand, the time for terminating the user application unit 123 is undecided because it depends on the characteristics of the user application unit 123.
  • the application unit 124 of the CPU 11 does not execute the host tool until the execution of the user application unit 123 is completed.
  • a negative response signal is returned to the host tool unit 21 (FIG. 5).
  • the host tool unit 21 retransmits the reprogramming request signal.
  • the host tool unit 21 transmits a reprogramming request signal to the user application unit 123, and the user application unit 123 sends a negative response signal to the host tool unit 21. Reply to it and repeat.
  • the application unit 124 instructs the user application unit 123 to end its execution.
  • the user application unit 123 notifies the application unit 124 of the end.
  • the application unit 124 determines that the execution of the user application unit 123 has ended in response to the notification, the application unit 124 returns a positive response (Positive Response) signal in response to the reprogramming request signal from the host tool unit 21.
  • the reprogramming system 1 even if the time when the user application unit 123 ends varies, the reprogramming can be executed at an optimal timing.
  • Embodiment 3 In the reprogramming system according to Embodiment 3 of the present invention, when a reprogramming request is made from the host tool unit 21 to the application unit 124, the fact that the reprogramming request has been made is stored in a RAM (Random Access Memory) 14. Record. Accordingly, the reprogramming software 1 to be executed needs to reliably notify the boot unit 121 that there has been a reprogramming request based on the record in the RAM 14.
  • RAM Random Access Memory
  • the activation factor code indicating the factor that activates the reprogramming software is stored in the RAM 14 in a triple manner (for example, FIG. 6), and the activation factor is determined by the majority of the activation factor codes stored in the RAM 14. To do. Thereby, for example, even when the normal operation diagnosis of the RAM 14 is not performed, the reliability of the activation factor code can be easily improved.
  • the RAM 14 is a specific example of the second storage unit and is built in the ECU 10.
  • the user application unit 123 sets each activation factor code (code [0], code [1], code [2]) in the RAM 14. Write a value (0x3569AC35, 0xCA9653CA, 0x6AD3586A) to each corresponding activation factor label.
  • the boot unit 121 determines whether the activation is a normal activation or an activation by a reprogramming request from the host tool unit 21 by comparing the values of activation factor labels written in the RAM 14.
  • the boot unit 121 determines that the activation factor is “true” when two or more activation factor labels match among the activation factor label values for the three activation factor codes. And the determination flag is turned on. Otherwise, it is determined that the activation factor is “false” and the determination flag is turned off.
  • the boot unit 121 since the boot unit 121 usually has a process to be executed before starting, it is desirable that the processing time is short. For this reason, the operation confirmation (writing, reading operation, etc.) of the flash memory (ROM) 12 or the RAM 14 may not be performed. Even in such a case, the reliability of the reprogramming activation factor can be easily improved by determining each activation factor code as described above.
  • the case where the activation factor codes are held in the RAM 14 in triplicate has been described.
  • the present invention is not limited to this, and the configuration may be such that the activation factor codes are held in the RAM 14 in quadruples or more.
  • Embodiment 4 If there is an error in the program data written in the flash memory 12, it needs to be corrected. In this case, for example, even if a reprogramming request signal is transmitted from the host tool unit 21 of the host terminal 20 to the application unit 124 of the ECU 10, the communication software is not installed or due to an error such as an abnormality in the communication software, It is assumed that the application unit 124 does not accept the request signal.
  • the boot unit 121 that is not a rewrite target performs processing for receiving a reprogramming request for a certain time (for example, about 30 msec). Do. Thereby, the reprogramming software can be forcibly started, and correct program data can be written to the flash memory 12 again.
  • FIG. 7 is a flowchart illustrating an example of a processing flow of the reprogramming system according to the third embodiment.
  • step S101 when the power is turned on, general initialization settings (for example, VBR setting, SR setting, SP setting, cache setting, FPU setting, section initialization) are executed (step S101).
  • general initialization settings for example, VBR setting, SR setting, SP setting, cache setting, FPU setting, section initialization
  • step S102 the CPU 11 determines whether or not a reset signal has been received from the WD monitoring unit 13 (step S102).
  • step S102 When the CPU 11 determines that the reset signal has not been received from the WD monitoring unit 13 (NO in step S102), the CPU 11 checks the validity of CAN (Controller (Area Network) hardware and initializes it (step S103). On the other hand, when the CPU 11 determines that a reset signal has been received from the WD monitoring unit 13 (YES in step S102), the CPU 11 proceeds to processing described later (step S111).
  • CAN Controller (Area Network) hardware
  • the CPU 11 determines the activation factor code of the RAM 14 (step S104).
  • the CPU 11 determines that it is a normal activation based on the activation factor code in the RAM 14 (YES in step S104)
  • it checks whether application software is stored in the flash memory 12 (step S105).
  • the CPU 11 determines that the activation is based on the reprogramming request based on the activation factor code in the RAM 14 (NO in step S104)
  • the CPU 11 proceeds to a process described later (step S108).
  • step S105 When the CPU 11 determines that the application software is stored in the flash memory 12 (YES in step S105), the CPU 11 confirms whether the matching data exists in the flash memory 12 (step S106). On the other hand, when the CPU 11 determines that the application software is not stored in the flash memory 12 (NO in step S105), the CPU 11 proceeds to a process described later (step S108).
  • step S106 determines whether a reprogramming request has been received within the predetermined time. On the other hand, when the CPU 11 determines that there is no matching data (NO in step S106), the CPU 11 proceeds to a process described later (step S108).
  • step S107 When the CPU 11 determines that the reprogramming request has been received within the predetermined time (YES in step S107), the CPU 11 proceeds to a process described later (step S108). On the other hand, when the CPU 11 determines that a reprogramming request has not been received within the predetermined time (NO in step S107), the CPU 11 performs timer determination (step S109).
  • step S109 When the CPU 11 exceeds the predetermined time and determines that the timer has expired (YES in step S109), the CPU 11 prepares to execute the application software (step S110) and causes the application software to be executed (step S111).
  • Step S108 the CPU 11 causes the reprogramming software to be executed.
  • Embodiment 5 In the reprogramming system 1 according to the fifth exemplary embodiment of the present invention, whether application software (user application unit) is written in the flash memory 12 in the last address area of the unique information 122 stored in the flash memory 12. “Write completion flag” is stored.
  • reprogramming is initialized.
  • the CPU 11 of the ECU 10 deletes the unique information 122 of the application software from the flash memory 12.
  • the CPU 11 writes application software in the flash memory 12 using reprogramming data transmitted from the host tool unit 21. Further, the CPU 11 performs a checksum calculation of the application software.
  • the CPU 11 writes application software specific information 122 in the flash memory 12.
  • the present invention is not limited to the above-described embodiment, and can be changed as appropriate without departing from the spirit of the present invention.
  • the present invention can be configured as hardware or software.
  • the present invention can also realize the above-described processing by causing a CPU (Central Processing Unit) to execute a computer program.
  • a CPU Central Processing Unit
  • Non-transitory computer readable media include various types of tangible storage media (tangible storage medium). Examples of non-transitory computer-readable media include magnetic recording media (eg flexible disks, magnetic tapes, hard disk drives), magneto-optical recording media (eg magneto-optical discs), CD-ROMs (Read Only Memory), CD-Rs, CD-R / W, semiconductor memory (for example, mask ROM, PROM (Programmable ROM), EPROM (Erasable ROM), flash ROM, RAM (random access memory)) are included.
  • the program may also be supplied to the computer by various types of temporary computer-readable media. Examples of transitory computer readable media include electrical signals, optical signals, and electromagnetic waves.
  • the temporary computer-readable medium can supply the program to the computer via a wired communication path such as an electric wire and an optical fiber, or a wireless communication path.
  • the present invention is applicable to a reprogramming system that can rewrite program data stored in a flash memory, for example.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

This reprogramming system is provided with first storage means in which predetermined data is stored, control means which outputs a signal at a first predetermined period using polling processing while performing reprogramming by rewriting predetermined data stored in the first storage means on the basis of reprogramming data, and failure assessment means which assesses a failure of the control means on the basis of the signal output by the control means. It is preferable that the failure assessment means assesses failure without interrupting rewriting processing of the control means.

Description

リプログラミングシステム及びリプログラミング方法Reprogramming system and reprogramming method
 本発明は、メモリに記憶された所定データを書き換えることができるリプログラミングシステム及びリプログラミング方法に関するものである。 The present invention relates to a reprogramming system and a reprogramming method capable of rewriting predetermined data stored in a memory.
 一般的に、ユーザアプリケーションに対する信頼性確保は、十分に図られているが、通常、実行されないリプログラミングソフトウェアに対する信頼性は、ユーザアプリケーションと比較して不十分となることがある。これに対し、例えば、リプログラミングデータを、変更が認められていない部分の変更を防止すると共に、変更が認められた部分の調整を容易にするリプログラミングシステムが知られている(特許文献1参照)。 Generally, the reliability of the user application is sufficiently ensured, but the reliability of the reprogramming software that is not normally executed may be insufficient compared to the user application. On the other hand, for example, a reprogramming system is known in which reprogramming data is prevented from being changed at a portion where the change is not permitted and the adjustment of the portion at which the change is permitted is facilitated (see Patent Document 1). ).
 一方で、人などが操作できない環境(例えば、宇宙や原発)に存在するロボットシステムにおいては、上記通常実行されないリプログラミングソフトウェアに対しても十分に信頼性を図り、さらに、自己故障診断が可能となる必要がある。 On the other hand, in a robot system that exists in an environment that cannot be operated by humans (for example, in space or nuclear power plants), it is possible to achieve sufficient reliability against reprogramming software that is not normally executed, and to perform self-failure diagnosis. Need to be.
特開2007-004499号公報JP 2007-004499 A
 ここで、リプログラミング時におけるフラッシュメモリの書換え動作に、その動作を中断すると、書換えエラーに繋がる虞がある。一方で、上述の如く、このリプログラミング時においても、自己故障診断を行う必要が生じる。 Here, if the flash memory rewrite operation at the time of reprogramming is interrupted, it may lead to a rewrite error. On the other hand, as described above, it is necessary to perform self-fault diagnosis even during this reprogramming.
 本発明は、このような問題点を解決するためになされたものであり、リプログラミングを適切に行いつつ、自己故障診断を行うことができるリプログラミングシステム及びリプログラミング方法を提供することを主たる目的とする。 The present invention has been made to solve such problems, and a main object of the present invention is to provide a reprogramming system and a reprogramming method capable of performing self-fault diagnosis while appropriately performing reprogramming. And
 上記目的を達成するための本発明の一態様は、所定データが記憶された第1記憶手段と、リプログラミングデータに基づいて前記第1記憶手段に記憶された前記所定データを書換えてリプログラミングを行いつつ、ポーリング処理を用いて第1所定周期で信号を出力する制御手段と、前記制御手段から出力される前記信号に基づいて、該制御手段の故障を判定する故障判定手段と、を備える、ことを特徴とするリプログラミングシステムである。この一態様によれば、リプログラミングを適切に行いつつ、自己故障診断を行うことができる。 To achieve the above object, according to one aspect of the present invention, there is provided a first storage unit storing predetermined data, and reprogramming the predetermined data stored in the first storage unit based on reprogramming data. A control unit that outputs a signal at a first predetermined period using a polling process, and a failure determination unit that determines a failure of the control unit based on the signal output from the control unit. This is a reprogramming system characterized by that. According to this aspect, self-failure diagnosis can be performed while appropriately performing reprogramming.
 この一態様において、前記故障判定手段は、前記制御手段の書換え処理を中断させることなく、前記故障を判定してもよい。 In this aspect, the failure determination unit may determine the failure without interrupting the rewriting process of the control unit.
 この一態様において、前記制御手段は、第2所定周期でリプログラミングデータを前記第1記憶手段に転送し、前記第1記憶手段に記憶されたデータを書き換えており、前記制御手段がリプログラミングデータを前記第1記憶手段に転送して書き換えを行なう1回当たりの処理時間は、前記第1所定周期以下となるように、前記転送されるリプログラミングデータ量が調整されてもよい。
 この一態様において、前記制御手段に対して前記リプログラミングデータを送信するデータ送信手段を更に備え、前記データ送信手段は、前記リプログラミングデータを送信する際に前記制御手段に対して要求信号を送信し、前記制御手段は、前記データ送信手段から送信される前記要求信号に応じて、アプリケーションが起動している間は、否定的応答信号を返信し、アプリケーションが終了すると、肯定的応答信号を返信してもよい。これにより、アプリケーションの終了する時間が変動しても、最適にタイミングでリプログラミングを実行することができる。
In this one aspect, the control means transfers reprogramming data to the first storage means at a second predetermined cycle, rewrites the data stored in the first storage means, and the control means rewrites the reprogramming data. The amount of reprogramming data to be transferred may be adjusted so that the processing time per one time for transferring the data to the first storage means and performing the rewriting is equal to or shorter than the first predetermined period.
In this aspect, the apparatus further includes data transmission means for transmitting the reprogramming data to the control means, and the data transmission means transmits a request signal to the control means when transmitting the reprogramming data. In response to the request signal transmitted from the data transmission unit, the control unit returns a negative response signal while the application is running, and returns an affirmative response signal when the application ends. May be. As a result, even if the time for ending the application fluctuates, reprogramming can be executed at optimal timing.
 この一態様において、前記制御手段が起動し前記リプログラミングを行う要因を示す起動要因コードを少なくとも3重で記憶する第2記憶手段を更に備え、前記制御手段は、前記第2記憶手段に記憶された前記起動要因コードを読込み、多数決を行うことで前記起動要因コードの真偽を判定してもよい。これにより、リプログラミングの起動要因の信頼性を簡易的に向上させることができる。 In this aspect, the apparatus further comprises second storage means for storing an activation factor code indicating the factor for starting the reprogramming when the control means is activated, and the control means is stored in the second storage means. The activation factor code may be read and the majority of the activation factor code may be determined to determine whether the activation factor code is true or false. Thereby, the reliability of the reprogramming activation factor can be easily improved.
 この一態様において、前記制御手段に前記リプログラミングデータを送信するデータ送信手段を更に備え、前記データ送信手段は、前記リプログラミングデータを送信する際に前記制御手段に対して要求信号を送信し、前記制御手段は、前記リプログラミング後に、所定時間、前記データ送信手段からの前記要求信号を受け付ける手段を有していてもよい。これにより、強制的に制御手段を起動でき、再度、第1記憶手段に正しいリプログラミングデータを書き込むことができる。 In this one aspect, it further comprises data transmission means for transmitting the reprogramming data to the control means, and the data transmission means transmits a request signal to the control means when transmitting the reprogramming data, The control means may include means for receiving the request signal from the data transmission means for a predetermined time after the reprogramming. As a result, the control means can be forcibly activated and correct reprogramming data can be written to the first storage means again.
 この一態様において、前記制御手段は、前記第1記憶手段に記憶されたアプリケーションソフトウェアを実行しており、前記第1記憶手段に記憶された前記アプリケーションソフトウェアの固有情報は、前記アプリケーションソフトウェアが前記第1記憶手段に書き込まれているか否かを示す情報を含んでいてもよい。これにより、リプログラミングが中断しても、固有情報に含まれる情報を確認することで、第1記憶手段にアプリケーションソフトウェアが書き込まれているか否かを簡易かつ正確に判断できる。 In this aspect, the control unit executes application software stored in the first storage unit, and the application software stores the unique information of the application software stored in the first storage unit. Information indicating whether or not data is written in one storage means may be included. Thereby, even if reprogramming is interrupted, it is possible to easily and accurately determine whether or not application software is written in the first storage unit by checking the information included in the unique information.
 この一態様において、前記制御手段は、前記第1記憶手段に記憶された固有情報を消去する処理を行い、次に前記第1記憶手段に前記アプリケーションソフトウェアを記憶させる処理を行い、その後前記第1記憶手段に固有情報を記憶させる処理を行なってもよい。 In this one aspect, the control means performs a process of erasing the unique information stored in the first storage means, then performs a process of storing the application software in the first storage means, and then the first You may perform the process which memorize | stores specific information in a memory | storage means.
 他方、上記目的を達成するための本発明の一態様は、リプログラミングデータに基づいて第1記憶手段に記憶された所定データを書換えてリプログラミングを行いつつ、ポーリング処理を用いて第1所定周期で信号を出力するステップと、前記出力される信号に基づいて、自己の故障を判定するステップと、を含む、ことを特徴とするリプログラミング方法であってもよい。 On the other hand, according to one aspect of the present invention for achieving the above object, the first predetermined cycle is performed using the polling process while reprogramming the predetermined data stored in the first storage means based on the reprogramming data. A reprogramming method comprising: outputting a signal at step S1; and determining a failure of the device based on the output signal.
 また、上記目的を達成するための本発明の一態様は、リプログラミングデータに基づいて第1記憶手段に記憶された所定データを書換えてリプログラミングを行いつつ、ポーリング処理を用いて第1所定周期で信号を出力する処理と、前記出力される信号に基づいて、自己の故障を判定する処理と、をコンピュータに実行させる、ことを特徴とするプログラムであってもよい。 Another aspect of the present invention for achieving the above object is to perform a reprogramming by rewriting the predetermined data stored in the first storage means based on the reprogramming data, and using the polling process for the first predetermined period. The program may cause the computer to execute a process of outputting a signal and a process of determining its own failure based on the output signal.
 本発明によれば、リプログラミングを適切に行いつつ、自己故障診断を行うことができるリプログラミングシステム及びリプログラミング方法を提供することができる。 According to the present invention, it is possible to provide a reprogramming system and a reprogramming method capable of performing self-fault diagnosis while appropriately performing reprogramming.
本発明の実施の形態1に係るリプログラミングシステムの概略的構成を示すブロック図である。It is a block diagram which shows schematic structure of the reprogramming system which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係るリプログラミング処理のシーケンスの一例を示す図である。It is a figure which shows an example of the sequence of the reprogramming process which concerns on Embodiment 1 of this invention. CPUに記憶されたリプログラミング用ソフトウェアの概略的構成の一例を示す図である。It is a figure which shows an example of schematic structure of the software for reprogramming memorize | stored in CPU. フラッシュメモリの各アドレスに記憶された情報と示す図である。It is a figure shown with the information memorize | stored in each address of flash memory. ホストツール部とアプリケーション部との間の信号の授受を示す図である。It is a figure which shows transfer of the signal between a host tool part and an application part. RAMに3重で保持された起動要因コードの一例を示す図である。It is a figure which shows an example of the activation factor code hold | maintained by triple in RAM. 本発明の実施の形態3に係るリプログラミングシステムの処理フローの一例を示すフローチャートである。It is a flowchart which shows an example of the processing flow of the reprogramming system which concerns on Embodiment 3 of this invention. フラッシュメモリへ固有情報を書き込む処理フローについて説明する為の図である。It is a figure for demonstrating the processing flow which writes intrinsic | native information to flash memory.
 実施の形態1.
 以下、図面を参照して本発明の実施の形態について説明する。図1は、本発明の実施の形態1に係るリプログラミングシステムの概略的構成を示すブロック図である。
Embodiment 1 FIG.
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a schematic configuration of a reprogramming system according to Embodiment 1 of the present invention.
 本発明の実施の形態1に係るリプログラミングシステム1は、ECU(Electronic Control Unit)10と、データ送信手段の一具体例でありECU10に接続されたホスト端末20と、を備えている。ECU10は、制御手段の一具体例であり、演算処理、制御処理などを行うCPU(Central Processing Unit)11と、第1記憶手段の一具体例であり、データを記憶するフラッシュメモリ12と、故障判定手段の一具体例であり、CPU11を監視するWD(Watch Dog)監視部13と、を有する。 The reprogramming system 1 according to the first exemplary embodiment of the present invention includes an ECU (Electronic Control Unit) 10 and a host terminal 20 connected to the ECU 10, which is a specific example of a data transmission unit. The ECU 10 is a specific example of the control means, and is a CPU (Central Processing Unit) 11 that performs arithmetic processing, control processing, and the like, and is a specific example of the first storage means, a flash memory 12 that stores data, and a failure This is a specific example of the determination unit, and includes a WD (Watch Dog) monitoring unit 13 that monitors the CPU 11.
 ホスト端末(ホストPC)20は、ホストツール部21と、フラッシュメモリ書換え用のプログラムデータを記憶する記憶部22と、を有する。ホスト端末20のホストツール部21は、記憶部22からプログラムデータを読み出し、ECU10のCPU11に対して送信する。CPU11は、ホストツール部21から送信されたプログラムデータを用いて、フラッシュメモリ12の所定アドレスに記憶されたデータを書き換えることでリプログラミングを行う。フラッシュメモリ12は、例えば、EEPROM(Electrically Erasable Programmable Read-Only Memory)などが用いられている。 The host terminal (host PC) 20 includes a host tool unit 21 and a storage unit 22 that stores program data for rewriting flash memory. The host tool unit 21 of the host terminal 20 reads program data from the storage unit 22 and transmits it to the CPU 11 of the ECU 10. The CPU 11 performs reprogramming by rewriting data stored at a predetermined address in the flash memory 12 using program data transmitted from the host tool unit 21. As the flash memory 12, for example, an EEPROM (Electrically Erasable Programmable Read-Only Memory) or the like is used.
 なお、CPU11は、フラッシュメモリ12に予め記憶されたリプログラミング用ソフトウェアを読み出し、読み出したリプログラミング用ソフトウェアを実行して、リプログラミングを行う。また、WD監視部13は、CPU11と別体の回路として構成されているが、フラッシュメモリ12に予め記憶され、CPU11によって実行されるソフトウェアとして構成されてもよい。 The CPU 11 reads the reprogramming software stored in advance in the flash memory 12 and executes the read reprogramming software to perform reprogramming. The WD monitoring unit 13 is configured as a separate circuit from the CPU 11, but may be configured as software that is stored in advance in the flash memory 12 and executed by the CPU 11.
 なお、CPU11は、このリプログラミング動作中に、自己故障診断を実行するために、WD監視部13に対してWD信号を、外部ポートを介して周期的に(第1所定周期で)出力する。WD監視部13は、CPU11からこのWD信号を周期的に受信できない場合、CPU11が故障していると判断し、リセット信号をCPU11に対して送信する。これにより、CPU11は強制的にリセット状態になる。このように、本実施の形態1に係るリプログラミングシステム1は、リプログタミングを中断することなく実行しつつ、自己故障診断を行うことができる。 Note that the CPU 11 periodically outputs a WD signal to the WD monitoring unit 13 via the external port (at a first predetermined period) in order to execute self-diagnosis diagnosis during the reprogramming operation. If the WD monitoring unit 13 cannot periodically receive the WD signal from the CPU 11, the WD monitoring unit 13 determines that the CPU 11 is out of order and transmits a reset signal to the CPU 11. As a result, the CPU 11 is forced to be in a reset state. As described above, the reprogramming system 1 according to the first embodiment can perform self-failure diagnosis while executing reprogramming without interruption.
 図2は、本実施の形態1に係るリプログラミング処理のシーケンスの一例を示す図である。 FIG. 2 is a diagram showing an example of a reprogramming processing sequence according to the first embodiment.
 ホスト端末20のホストツール部21は、ECU10のアプリケーション部に対してリプログラミング要求信号を送信し、アプリケーション部は、その要求信号に応じて、ユーザアプリケーション部に対してその要求があった旨を通知する。ユーザアプリケーション部は、その通知を受信し、リプログラミングの準備が完了すると、準備完了信号をアプリケーション部に対して返信する。なお、アプリケーション部、ユーザアプリケーション部、及び後述のブート部は、CPU11によりフラッシュメモリ12から読み込まれ実行されるソフトウェアによって実現されているものとする。 The host tool unit 21 of the host terminal 20 transmits a reprogramming request signal to the application unit of the ECU 10, and the application unit notifies the user application unit of the request in response to the request signal. To do. The user application unit receives the notification and returns a preparation completion signal to the application unit when preparation for reprogramming is completed. Note that the application unit, the user application unit, and a boot unit described later are realized by software read from the flash memory 12 and executed by the CPU 11.
 本実施の形態1において、リプログラミング中にその処理を中断せずに、CPU11の故障診断を実行することができる。このため、通常行われる外部割込み処理を行わずに、ポーリング処理を用いて、ブート部からWD監視部13に対してWD信号を周期的に出力する。これにより、ホストツール部21とブート部との間でリプログラミング処理(Requestdownload、TransferData、TransferData、・・・、RequestTransferExit、ECUReset)を行いつつ同時に、ブート部からWD監視部13に対してWD信号(PosRes、・・・、PosRes)を周期的に出力することで、CPU11の故障診断を行うことができる。 In the first embodiment, failure diagnosis of the CPU 11 can be executed without interrupting the processing during reprogramming. For this reason, the WD signal is periodically output from the boot unit to the WD monitoring unit 13 by using polling processing without performing external interrupt processing that is normally performed. As a result, reprogramming processing (Requestdownload, TransferData, TransferData,..., RequestTransferExit, ECUReset) is performed between the host tool unit 21 and the boot unit, and at the same time, the WD signal ( By periodically outputting (PosRes,..., PosRes), a failure diagnosis of the CPU 11 can be performed.
 ここで、本リプログラミングにおいては、例えば、ISO15765に基づいた処理が行なわれる。より具体的には、RequestDownloadでは、こらからフラッシュメモリ12に書き込まれるアドレス開始位置、メモリサイズ、データの消去などが行なわれ、TransferDataでは、リプログラミングデータの転送、フラッシュメモリ12への書込みなどが行なわれる。また、RequestTransferExitでは、最終のリプログラミングデータの転送、フラッシュメモリ12への書込み、最後にベリファイ(Verify)を実施し、ECUResetでは、CPU11をリセット状態にする。 Here, in this reprogramming, for example, processing based on ISO15765 is performed. More specifically, in RequestDownload, the address start position, memory size, and data erasure to be written to the flash memory 12 are performed, and in TransferData, reprogramming data is transferred and written in the flash memory 12 and the like. It is. In RequestTransferExit, the final reprogramming data is transferred, written to the flash memory 12, and finally verified. In ECUReset, the CPU 11 is reset.
 CPU11は、上述の如く、周期的に(第2所定周期で)リプログラミングデータをフラッシュメモリ12に転送し、フラッシュメモリ12に記憶されたデータを書き換えている。ここで、1回のフラッシュメモリ12への書き込み時間T1は、WD信号の出力周期T2以下となるように、ホストツール部21からCPU11に対して転送されるプログラムデータの転送量は、調整されている。 As described above, the CPU 11 periodically transfers the reprogramming data to the flash memory 12 (at the second predetermined cycle) and rewrites the data stored in the flash memory 12. Here, the transfer amount of the program data transferred from the host tool unit 21 to the CPU 11 is adjusted so that the write time T1 to the flash memory 12 once becomes less than or equal to the output period T2 of the WD signal. Yes.
 上記リプログラミング処理及び故障診断が完了すると、ブート部は再起動しブート0番地から実行再開する。アプリケーション部は、ユーザアプリケーション部を起動させ、故障診断を開始させる。 When the above reprogramming process and failure diagnosis are completed, the boot unit restarts and resumes execution from boot 0 address. The application unit activates the user application unit and starts failure diagnosis.
 図3は、CPUに記憶されたリプログラミング用ソフトウェアの概略的構成の一例を示す図である。まず、CPU11は、タイマやカウンタなどを用いて、周期的にWD信号の出力ポートをオン状態にし、WD信号をWD監視部13に対して出力させる。その後、フラッシュメモリ12の書換え処理を行うが、このとき、外部割込みなどでそのフラッシュメモリ12の書換え処理が中断しないようにする。これは、外部割込みが行われた場合、フラッシュメモリ12の書換え処理が中断するため、フラッシュメモリ12に正常に書き込まれない可能性があるためである。 FIG. 3 is a diagram showing an example of a schematic configuration of reprogramming software stored in the CPU. First, the CPU 11 periodically turns on the output port of the WD signal using a timer, a counter, or the like, and outputs the WD signal to the WD monitoring unit 13. Thereafter, the rewriting process of the flash memory 12 is performed. At this time, the rewriting process of the flash memory 12 is not interrupted by an external interrupt or the like. This is because, when an external interrupt is performed, the rewriting process of the flash memory 12 is interrupted, so that there is a possibility that the flash memory 12 cannot be normally written.
 さらに、1回のフラッシュメモリ12への書き込み時間T1が、WD信号の出力周期T2を超えないように調整する。なお、書き込み時間T1がWD信号の出力周期T2を超えた場合、CPU11はリセット状態となる。 Further, the write time T1 for one flash memory 12 is adjusted so as not to exceed the output period T2 of the WD signal. When the writing time T1 exceeds the output period T2 of the WD signal, the CPU 11 is in a reset state.
 以上、本実施の形態1に係るリプログラミングシステム1において、CPU11は、ホストツール部21から送信されるリプログラミングデータに基づいてフラッシュメモリ12の所定データを書換えてリプログラミングを行いつつ、ポーリング処理を用いて出力周期T2でWD信号をWD監視部13に対して出力する。WD監視部13は、CPU11からのWD信号に基づいて、CPU11が故障しているか否かを判定する。これにより、リプログラミングを中断することなく、CPU11の故障診断を行うことができる。 As described above, in the reprogramming system 1 according to the first embodiment, the CPU 11 performs the polling process while reprogramming the predetermined data in the flash memory 12 based on the reprogramming data transmitted from the host tool unit 21. The WD signal is output to the WD monitoring unit 13 using the output cycle T2. The WD monitoring unit 13 determines whether or not the CPU 11 has failed based on the WD signal from the CPU 11. Thereby, failure diagnosis of the CPU 11 can be performed without interrupting reprogramming.
 実施の形態2.
 本発明の実施の形態2に係るリプログラミングシステム1において、ホスト端末20のホストツール部21は、ECU10のアプリケーション部に対してリプログラミングデータを送信する際に、アプリケーション部に対してリプログラミング要求信号を送信する。そして、アプリケーション部は、ホストツール部21から送信されるリプログラミング要求信号に応じて、ユーザアプリケーション部が起動している間は、否定的応答信号を返信し、ユーザアプリケーション部が終了すると、肯定的応答信号を返信する。
Embodiment 2. FIG.
In the reprogramming system 1 according to Embodiment 2 of the present invention, when the host tool unit 21 of the host terminal 20 transmits reprogramming data to the application unit of the ECU 10, a reprogramming request signal is sent to the application unit. Send. Then, in response to the reprogramming request signal transmitted from the host tool unit 21, the application unit returns a negative response signal while the user application unit is activated, and when the user application unit ends, the application unit returns positive. A response signal is returned.
 これにより、リプログラミング時にユーザアプリケーション部を終了させることとなるが、そのユーザアプケーション部を終了させるまでの時間が変動した場合でも、適切にリプログラミングを実行することができる。 Thus, the user application unit is terminated at the time of reprogramming, but the reprogramming can be appropriately executed even when the time until the user application unit is terminated fluctuates.
 図4は、フラッシュメモリの各アドレスに記憶された情報と示す図である。フラッシュメモリ12には、例えば、ブート部(ブートソフトウェアであり、リプログラミング用ソフトウェアを含む)121、固有情報122、ユーザアプリケーション部(ユーザアプリケーションソフトウェアであり、OS(Operation System)部及び制御部を含む)123、アプリケーション部(ユーザアプリケーション部123のインターフェイス)124、セキュリティ部125、などが記憶されている。 FIG. 4 is a diagram showing information stored in each address of the flash memory. The flash memory 12 includes, for example, a boot unit (boot software, including reprogramming software) 121, unique information 122, a user application unit (user application software, an OS (Operation System) unit, and a control unit). ) 123, an application unit (interface of the user application unit 123) 124, a security unit 125, and the like are stored.
 例えば、これら、固有情報122、ユーザアプリケーション部123、アプリケーション部124、及びセキュリティ部125が、リプログラミング時に書き換えられるフラッシュメモリ12のデータとなる。また、CPU11は、フラッシュメモリ12に記憶されたブート部121、ユーザアプリケーション部123、アプリケーション部124などを読込み、実行させる。 For example, the unique information 122, the user application unit 123, the application unit 124, and the security unit 125 are data of the flash memory 12 that is rewritten during reprogramming. Further, the CPU 11 reads and executes the boot unit 121, the user application unit 123, the application unit 124, and the like stored in the flash memory 12.
 ここで、図4に示すように、フラッシュメモリ12のアドレス空間には、リプログラミング用ソフトウェアが割り付けられ、書き換え対象となるユーザアプリケーション部123は、そのアドレス空間とは別のアドレス空間に存在する。 Here, as shown in FIG. 4, reprogramming software is allocated to the address space of the flash memory 12, and the user application unit 123 to be rewritten exists in an address space different from the address space.
 また、通常、ユーザアプリケーション部123が実行されているため、ホストツール部21からCPU11に対してリプログラミング要求信号が送信されると、CPU11は、正常にユーザアプリケーション部123を終了させて、その後、ブート部121のリプログラミング用ソフトウェアを読込み実行する必要がある。一方、このユーザアプリケーション部123を終了させるための時間は、そのユーザアプリケーション部123の特性に依存するため未定となる。 Since the user application unit 123 is normally executed, when the reprogramming request signal is transmitted from the host tool unit 21 to the CPU 11, the CPU 11 normally ends the user application unit 123, and then It is necessary to read and execute the reprogramming software of the boot unit 121. On the other hand, the time for terminating the user application unit 123 is undecided because it depends on the characteristics of the user application unit 123.
 そこで、本実施の形態2に係るリプログラミングシステム1において、例えば、ホストツール部21側とCPU11側との通信シーケンスにおいて、ユーザアプリケーション部123の実行が終了するまで、CPU11のアプリケーション部124はホストツール部21からリプログラミング要求信号を受信する毎に、ホストツール部21に対して否定的応答(NegativeResponse)信号を返信する(図5)。一方、ホストツール部21はアプリケーション部124から否定的応答信号を受信すると、リプログラミング要求信号を再送信する。 Therefore, in the reprogramming system 1 according to the second embodiment, for example, in the communication sequence between the host tool unit 21 side and the CPU 11 side, the application unit 124 of the CPU 11 does not execute the host tool until the execution of the user application unit 123 is completed. Each time a reprogramming request signal is received from the unit 21, a negative response signal is returned to the host tool unit 21 (FIG. 5). On the other hand, when receiving a negative response signal from the application unit 124, the host tool unit 21 retransmits the reprogramming request signal.
 このように、ユーザアプリケーション部123の実行が終了するまで、ホストツール部21はリプログラミング要求信号をユーザアプリケーション部123に対して送信し、ユーザアプリケーション部123は否定的応答信号をホストツール部21に対して返信する、ことを繰り返す。 Thus, until the execution of the user application unit 123 is completed, the host tool unit 21 transmits a reprogramming request signal to the user application unit 123, and the user application unit 123 sends a negative response signal to the host tool unit 21. Reply to it and repeat.
 この間、アプリケーション部124は、ユーザアプリケーション部123に対して、その実行を終了させるための指示を行う。ユーザアプリケーション部123は、実行終了すると、その終了をアプリケーション部124に対して通知する。アプリケーション部124は、その通知に応じてユーザアプリケーション部123の実行が終了したと判断すると、ホストツール部21からリプログラミング要求信号に応じて、肯定的応答(PositiveResponse)信号を返信する。 During this time, the application unit 124 instructs the user application unit 123 to end its execution. When the execution ends, the user application unit 123 notifies the application unit 124 of the end. When the application unit 124 determines that the execution of the user application unit 123 has ended in response to the notification, the application unit 124 returns a positive response (Positive Response) signal in response to the reprogramming request signal from the host tool unit 21.
 従来、ホストツール部からフラッシュメモリに対してリプログラミングデータを転送しても、ユーザアプリケーション部が終了していない為、リプログラミングが実行できず、また、ユーザアプリケーション部が終了するのを待つ場合でも、どれだけの時間待つ必要があるのかが不明となっていた。 Conventionally, even if reprogramming data is transferred from the host tool unit to the flash memory, reprogramming cannot be executed because the user application unit is not terminated, and even when waiting for the user application unit to terminate It was unclear how long I had to wait.
 これに対し、本実施の形態2に係るリプログラミングシステム1によれば、ユーザアプリケーション部123が終了する時間が変動しても、最適にタイミングでリプログラミングを実行することができる。 On the other hand, according to the reprogramming system 1 according to the second embodiment, even if the time when the user application unit 123 ends varies, the reprogramming can be executed at an optimal timing.
 実施の形態3.
 本発明の実施の形態3に係るリプログラミングシステムにおいて、ホストツール部21からアプリケーション部124に対してリプログラミング要求が行われると、そのリプログラミング要求があったことをRAM(Random Access Memory)14に記録する。これにより、実行されるリプログラミング用ソフトウェア1は、RAM14の記録に基づいて、リプログラミング要求があったことをブート部121に確実に伝える必要がある。
Embodiment 3 FIG.
In the reprogramming system according to Embodiment 3 of the present invention, when a reprogramming request is made from the host tool unit 21 to the application unit 124, the fact that the reprogramming request has been made is stored in a RAM (Random Access Memory) 14. Record. Accordingly, the reprogramming software 1 to be executed needs to reliably notify the boot unit 121 that there has been a reprogramming request based on the record in the RAM 14.
 さらに、リプログラミング用ソフトウェアを起動する要因を示す起動要因コードを3重でRAM14に保持し(例えば、図6)、そのRAM14に保持された起動要因コードの多数決でその起動要因の真偽を判定する。これにより、例えば、RAM14の正常動作診断を行なわない場合でも、簡易的に起動要因コードの信頼性を向上させることができる。なお、RAM14は、第2記憶手段の一具体例であり、ECU10に内蔵されている。 Further, the activation factor code indicating the factor that activates the reprogramming software is stored in the RAM 14 in a triple manner (for example, FIG. 6), and the activation factor is determined by the majority of the activation factor codes stored in the RAM 14. To do. Thereby, for example, even when the normal operation diagnosis of the RAM 14 is not performed, the reliability of the activation factor code can be easily improved. The RAM 14 is a specific example of the second storage unit and is built in the ECU 10.
 例えば、ホストツール部21からアプリケーション部124に対してリプログラミング要求が行われると、ユーザアプリケーション部123は、RAM14の各起動要因コード(コード[0]、コード[1]、コード[2])に対応する各起動要因ラベルに値(0x3569AC35、0xCA9653CA、0x6AD3586A)を夫々書き込む。ブート部121は、RAM14に書き込まれた起動要因ラベルの値同士を比較することで、通常起動か、あるいは、ホストツール部21からのリプログラミング要求による起動か、を判定する。 For example, when a reprogramming request is made from the host tool unit 21 to the application unit 124, the user application unit 123 sets each activation factor code (code [0], code [1], code [2]) in the RAM 14. Write a value (0x3569AC35, 0xCA9653CA, 0x6AD3586A) to each corresponding activation factor label. The boot unit 121 determines whether the activation is a normal activation or an activation by a reprogramming request from the host tool unit 21 by comparing the values of activation factor labels written in the RAM 14.
 より具体的には、ブート部121は、3つの起動要因コードに対する起動要因ラベルの値のうち、2つ以上の起動要因ラベルの値が一致していた場合、その起動要因は「真」であると判定し判定フラグをオン状態にし、それ以外の場合、その起動要因は「偽」であると判定し判定フラグをオフ状態にする。 More specifically, the boot unit 121 determines that the activation factor is “true” when two or more activation factor labels match among the activation factor label values for the three activation factor codes. And the determination flag is turned on. Otherwise, it is determined that the activation factor is “false” and the determination flag is turned off.
 ここで、ブート部121は、通常、起動前に実行する処理があるため、処理時間が短いことが望ましい。そのため、フラッシュメモリ(ROM)12やRAM14の動作確認(書込み、読込み動作など)を実施しないことがある。このような場合でも、上記のように各起動要因コードを判定することで、リプログラミングの起動要因の信頼性を簡易的に向上させることができる。なお、上記実施の形態3において、起動要因コードを3重でRAM14に保持する場合について説明したが、これに限らず、起動要因コードを4重以上でRAM14に保持する構成であってもよい。 Here, since the boot unit 121 usually has a process to be executed before starting, it is desirable that the processing time is short. For this reason, the operation confirmation (writing, reading operation, etc.) of the flash memory (ROM) 12 or the RAM 14 may not be performed. Even in such a case, the reliability of the reprogramming activation factor can be easily improved by determining each activation factor code as described above. In the third embodiment, the case where the activation factor codes are held in the RAM 14 in triplicate has been described. However, the present invention is not limited to this, and the configuration may be such that the activation factor codes are held in the RAM 14 in quadruples or more.
 実施の形態4.
 フラッシュメモリ12に書き込まれたプログラムデータにエラーがある場合に、その修正が必要となる。この場合、例えば、ホスト端末20のホストツール部21からECU10のアプリケーション部124に対してリプログラミング要求信号を送信しても、通信ソフトウェアがインストールされていない、あるいは通信ソフトウェアの異常などのエラーによって、アプリケーション部124がその要求信号を受付けないことが想定される。
Embodiment 4 FIG.
If there is an error in the program data written in the flash memory 12, it needs to be corrected. In this case, for example, even if a reprogramming request signal is transmitted from the host tool unit 21 of the host terminal 20 to the application unit 124 of the ECU 10, the communication software is not installed or due to an error such as an abnormality in the communication software, It is assumed that the application unit 124 does not accept the request signal.
 そこで、本実施の形態4においては、フラッシュメモリ12に書き込まれたプログラムデータにエラーがある場合でも、書換え対象でないブート部121が、一定時間(例えば、30msec程度)、リプログラミング要求を受け付ける処理を行う。これにより、強制的に、リプログラミング用ソフトウェアが起動でき、再度、フラッシュメモリ12に正しいプログラムデータを書き込むことができる。 Therefore, in the fourth embodiment, even when there is an error in the program data written in the flash memory 12, the boot unit 121 that is not a rewrite target performs processing for receiving a reprogramming request for a certain time (for example, about 30 msec). Do. Thereby, the reprogramming software can be forcibly started, and correct program data can be written to the flash memory 12 again.
 次に、具体的な処理フローについて、説明する。図7は、本実施の形態3に係るリプログラミングシステムの処理フローの一例を示すフローチャートである。 Next, a specific processing flow will be described. FIG. 7 is a flowchart illustrating an example of a processing flow of the reprogramming system according to the third embodiment.
 リプログラミングシステム1において、電源がオン状態になると、一般的な初期化設定(例えば、VBR設定、SR設定、SP設定、キャッシュ設定、FPU設定、セクション初期化)が実行される(ステップS101)。次に、CPU11はWD監視部13からリセット信号を受信したか否かを判定する(ステップS102)。 In the reprogramming system 1, when the power is turned on, general initialization settings (for example, VBR setting, SR setting, SP setting, cache setting, FPU setting, section initialization) are executed (step S101). Next, the CPU 11 determines whether or not a reset signal has been received from the WD monitoring unit 13 (step S102).
 CPU11は、WD監視部13からリセット信号を受信していないと判定したとき(ステップS102のNO)、CAN(Controller Area Network)ハードウェアの有効性を確認しその初期化を行う(ステップS103)。一方、CPU11は、WD監視部13からリセット信号を受信していると判定したとき(ステップS102のYES)、後述の(ステップS111)の処理に移行する。 When the CPU 11 determines that the reset signal has not been received from the WD monitoring unit 13 (NO in step S102), the CPU 11 checks the validity of CAN (Controller (Area Network) hardware and initializes it (step S103). On the other hand, when the CPU 11 determines that a reset signal has been received from the WD monitoring unit 13 (YES in step S102), the CPU 11 proceeds to processing described later (step S111).
 その後、CPU11は、RAM14の起動要因コードを判定する(ステップS104)。CPU11は、RAM14の起動要因コードに基づいて、通常起動と判定したとき(ステップS104のYES)、フラッシュメモリ12にアプリケーションソフトウェアが記憶されているか否かを確認する(ステップS105)。一方、CPU11は、RAM14の起動要因コードに基づいて、リプログラミング要求による起動と判定したとき(ステップS104のNO)、後述の(ステップS108)の処理に移行する。 Thereafter, the CPU 11 determines the activation factor code of the RAM 14 (step S104). When the CPU 11 determines that it is a normal activation based on the activation factor code in the RAM 14 (YES in step S104), it checks whether application software is stored in the flash memory 12 (step S105). On the other hand, when the CPU 11 determines that the activation is based on the reprogramming request based on the activation factor code in the RAM 14 (NO in step S104), the CPU 11 proceeds to a process described later (step S108).
 CPU11は、フラッシュメモリ12にアプリケーションソフトウェアが記憶されていると判断したとき(ステップS105のYES)、フラッシュメモリ12にその適合データが存在するか否かを確認する(ステップS106)。一方、CPU11は、フラッシュメモリ12にアプリケーションソフトウェアが記憶されていないと判断したとき(ステップS105のNO)、後述の(ステップS108)の処理に移行する。 When the CPU 11 determines that the application software is stored in the flash memory 12 (YES in step S105), the CPU 11 confirms whether the matching data exists in the flash memory 12 (step S106). On the other hand, when the CPU 11 determines that the application software is not stored in the flash memory 12 (NO in step S105), the CPU 11 proceeds to a process described later (step S108).
 CPU11は、適合データが存在すると判断したとき(ステップS106のYES)、上記一定時間内にリプログラミング要求を受信したか否かを判断する(ステップS107)。一方、CPU11は、適合データが存在しないと判断したとき(ステップS106のNO)、後述の(ステップS108)の処理に移行する。 When the CPU 11 determines that matching data exists (YES in step S106), the CPU 11 determines whether a reprogramming request has been received within the predetermined time (step S107). On the other hand, when the CPU 11 determines that there is no matching data (NO in step S106), the CPU 11 proceeds to a process described later (step S108).
 CPU11は、上記一定時間内にリプログラミング要求を受信したと判断したとき(ステップS107のYES)、後述の(ステップS108)の処理に移行する。一方、CPU11は、上記一定時間内にリプログラミング要求を受信していないと判断したとき(ステップS107のNO)、タイマ判定を行う(ステップS109)。 When the CPU 11 determines that the reprogramming request has been received within the predetermined time (YES in step S107), the CPU 11 proceeds to a process described later (step S108). On the other hand, when the CPU 11 determines that a reprogramming request has not been received within the predetermined time (NO in step S107), the CPU 11 performs timer determination (step S109).
 CPU11は、上記一定時間を超えており、タイマアウトと判定したとき(ステップS109のYES)、アプリケーションソフトウェアの実行準備を行い(ステップS110)、アプリケーションソフトウェアを実行させる(ステップS111)。 When the CPU 11 exceeds the predetermined time and determines that the timer has expired (YES in step S109), the CPU 11 prepares to execute the application software (step S110) and causes the application software to be executed (step S111).
 (ステップS108)において、CPU11は、リプログラミング用ソフトウェアを実行させる。 (Step S108), the CPU 11 causes the reprogramming software to be executed.
 実施の形態5.
 本発明の実施の形態5に係るリプログラミングシステム1において、フラッシュメモリ12に記憶された固有情報122の最後のアドレス領域には、アプリケーションソフトウェア(ユーザアプリケーション部)がフラッシュメモリ12に書き込まれているか否かを示す「書込み完了フラグ」が記憶されている。
Embodiment 5. FIG.
In the reprogramming system 1 according to the fifth exemplary embodiment of the present invention, whether application software (user application unit) is written in the flash memory 12 in the last address area of the unique information 122 stored in the flash memory 12. “Write completion flag” is stored.
 これにより、例えば、断線などでリプログラミングが中断しても、上記固有情報122の書込み完了フラグを確認することで、フラッシュメモリ12にアプリケーションソフトウェアが書き込まれているか否かを簡易かつ正確に判断できる。 Thereby, for example, even if reprogramming is interrupted due to disconnection or the like, it is possible to easily and accurately determine whether or not application software has been written to the flash memory 12 by checking the write completion flag of the specific information 122. .
 次に、ホスト端末20とECU10との間で行われる、フラッシュメモリ12への固有情報122の書込み処理フローについて、詳細に説明する。 Next, the flow of processing for writing the unique information 122 to the flash memory 12 performed between the host terminal 20 and the ECU 10 will be described in detail.
 まず、図8に示す如く、リプログラミングの初期化が行われる。次に、ECU10のCPU11は、フラッシュメモリ12からアプリケーションソフトウェアの固有情報122を消去する。その後、CPU11は、ホストツール部21から送信されるリプログラミングデータを用いて、フラッシュメモリ12にアプリケーションソフトウェアを書き込む。さらに、CPU11はアプリケーションソフトウェアのチェックサム演算を行う。次に、CPU11は、フラッシュメモリ12にアプリケーションソフトウェアの固有情報122を書き込む。これら一連の処理により、固有情報122の消去、書込み時にリプログラミングの中断などが生じても、常時、リカバリすることができる。 First, as shown in FIG. 8, reprogramming is initialized. Next, the CPU 11 of the ECU 10 deletes the unique information 122 of the application software from the flash memory 12. Thereafter, the CPU 11 writes application software in the flash memory 12 using reprogramming data transmitted from the host tool unit 21. Further, the CPU 11 performs a checksum calculation of the application software. Next, the CPU 11 writes application software specific information 122 in the flash memory 12. Through a series of these processes, even if the unique information 122 is erased, reprogramming is interrupted at the time of writing, it is possible to always recover.
 なお、本発明は上記実施の形態に限られたものではなく、趣旨を逸脱しない範囲で適宜変更することが可能である。
 また、上述の実施の形態において、本発明は、ハードウェア又はソフトウェアとして構成することができる。また、本発明は、上述した処理を、CPU(Central Processing Unit)にコンピュータプログラムを実行させることにより実現することも可能である。
Note that the present invention is not limited to the above-described embodiment, and can be changed as appropriate without departing from the spirit of the present invention.
In the above-described embodiment, the present invention can be configured as hardware or software. The present invention can also realize the above-described processing by causing a CPU (Central Processing Unit) to execute a computer program.
 プログラムは、様々なタイプの非一時的なコンピュータ可読媒体(non-transitory computer readable medium)を用いて格納され、コンピュータに供給することができる。非一時的なコンピュータ可読媒体は、様々なタイプの実体のある記録媒体(tangible storage medium)を含む。非一時的なコンピュータ可読媒体の例は、磁気記録媒体(例えばフレキシブルディスク、磁気テープ、ハードディスクドライブ)、光磁気記録媒体(例えば光磁気ディスク)、CD-ROM(Read Only Memory)、CD-R、CD-R/W、半導体メモリ(例えば、マスクROM、PROM(Programmable ROM)、EPROM(Erasable PROM)、フラッシュROM、RAM(random access memory))を含む。また、プログラムは、様々なタイプの一時的なコンピュータ可読媒体(transitory computer readable medium)によってコンピュータに供給されてもよい。一時的なコンピュータ可読媒体の例は、電気信号、光信号、及び電磁波を含む。一時的なコンピュータ可読媒体は、電線及び光ファイバ等の有線通信路、又は無線通信路を介して、プログラムをコンピュータに供給できる。 The program can be stored and supplied to a computer using various types of non-transitory computer readable media. Non-transitory computer readable media include various types of tangible storage media (tangible storage medium). Examples of non-transitory computer-readable media include magnetic recording media (eg flexible disks, magnetic tapes, hard disk drives), magneto-optical recording media (eg magneto-optical discs), CD-ROMs (Read Only Memory), CD-Rs, CD-R / W, semiconductor memory (for example, mask ROM, PROM (Programmable ROM), EPROM (Erasable ROM), flash ROM, RAM (random access memory)) are included. The program may also be supplied to the computer by various types of temporary computer-readable media. Examples of transitory computer readable media include electrical signals, optical signals, and electromagnetic waves. The temporary computer-readable medium can supply the program to the computer via a wired communication path such as an electric wire and an optical fiber, or a wireless communication path.
 本発明は、例えば、フラッシュメモリに記憶されたプログラムデータを書き換えることができるリプログラミングシステムに利用可能である。 The present invention is applicable to a reprogramming system that can rewrite program data stored in a flash memory, for example.
  1  リプログラミングシステム
  10  ECU
  11  CPU
  12  フラッシュメモリ
  13  WD監視部
  20  ホスト端末
  21  ホストツール部
  22  記憶部
 121  ブート部
 122  固有情報
 123  ユーザアプリケーション部
 124  アプリケーション部
 125  セキュリティ部
1 Reprogramming system 10 ECU
11 CPU
12 Flash memory 13 WD monitoring unit 20 Host terminal 21 Host tool unit 22 Storage unit 121 Boot unit 122 Specific information 123 User application unit 124 Application unit 125 Security unit

Claims (10)

  1.  所定データが記憶された第1記憶手段と、
     リプログラミングデータに基づいて前記第1記憶手段に記憶された前記所定データを書換えてリプログラミングを行いつつ、ポーリング処理を用いて第1所定周期で信号を出力する制御手段と、
     前記制御手段から出力される前記信号に基づいて、該制御手段の故障を判定する故障判定手段と、を備える、ことを特徴とするリプログラミングシステム。
    First storage means for storing predetermined data;
    Control means for rewriting the predetermined data stored in the first storage means based on reprogramming data and performing reprogramming while outputting a signal at a first predetermined period using a polling process;
    A reprogramming system comprising: failure determination means for determining a failure of the control means based on the signal output from the control means.
  2.  請求項1記載のリプログラミングシステムであって、
     前記故障判定手段は、前記制御手段の書換え処理を中断させることなく、前記故障を判定する、ことを特徴とするリプログラミングシステム。
    The reprogramming system according to claim 1,
    The reprogramming system characterized in that the failure determination means determines the failure without interrupting the rewriting process of the control means.
  3.  請求項1又は2記載のリプログラミングシステムであって、
     前記制御手段は、第2所定周期でリプログラミングデータを前記第1記憶手段に転送し、前記第1記憶手段に記憶されたデータを書き換えており、
     前記制御手段がリプログラミングデータを前記第1記憶手段に転送して書き換えを行なう1回当たりの処理時間は、前記第1所定周期以下となるように、前記転送されるリプログラミングデータ量が調整される、ことを特徴とするリプログラミングシステム。
    The reprogramming system according to claim 1 or 2,
    The control means transfers reprogramming data to the first storage means at a second predetermined cycle, and rewrites the data stored in the first storage means,
    The amount of reprogramming data to be transferred is adjusted so that the processing time per one time when the control means transfers the reprogramming data to the first storage means for rewriting is equal to or shorter than the first predetermined period. Reprogramming system characterized by that.
  4.  請求項1乃至3のうちいずれか1項記載のリプログラミングシステムであって、
     前記制御手段に対して前記リプログラミングデータを送信するデータ送信手段を更に備え、
     前記データ送信手段は、前記リプログラミングデータを送信する際に前記制御手段に対して要求信号を送信し、
     前記制御手段は、前記データ送信手段から送信される前記要求信号に応じて、アプリケーションが起動している間は、否定的応答信号を返信し、アプリケーションが終了すると、肯定的応答信号を返信する、ことを特徴とするリプログラミングシステム。
    The reprogramming system according to any one of claims 1 to 3,
    Data transmission means for transmitting the reprogramming data to the control means;
    The data transmission means transmits a request signal to the control means when transmitting the reprogramming data,
    The control means returns a negative response signal while the application is activated in response to the request signal transmitted from the data transmission means, and returns a positive response signal when the application is terminated. Reprogramming system characterized by that.
  5.  請求項1乃至4のうちいずれか1項記載のリプログラミングシステムであって、
     前記制御手段が起動し前記リプログラミングを行う要因を示す起動要因コードを少なくとも3重で記憶する第2記憶手段を更に備え、
     前記制御手段は、前記第2記憶手段に記憶された前記起動要因コードを読込み、多数決を行うことで前記起動要因コードの真偽を判定する、ことを特徴とするリプログラミングシステム。
    The reprogramming system according to any one of claims 1 to 4,
    A second storage means for storing an activation factor code indicating a factor for starting the reprogramming when the control means is activated;
    The reprogramming system characterized in that the control means reads the activation factor code stored in the second storage means and determines the authenticity of the activation factor code by making a majority decision.
  6.  請求項1乃至5記載のうちいずれか1項記載のリプログラミングシステムであって、
     前記制御手段に前記リプログラミングデータを送信するデータ送信手段を更に備え、
     前記データ送信手段は、前記リプログラミングデータを送信する際に前記制御手段に対して要求信号を送信し、
     前記制御手段は、前記リプログラミング後に、所定時間、前記データ送信手段からの前記要求信号を受け付ける手段を有する、ことを特徴とするリプログラミングシステム。
    The reprogramming system according to any one of claims 1 to 5,
    Data transmission means for transmitting the reprogramming data to the control means;
    The data transmission means transmits a request signal to the control means when transmitting the reprogramming data,
    The reprogramming system according to claim 1, wherein the control means includes means for receiving the request signal from the data transmission means for a predetermined time after the reprogramming.
  7.  請求項1乃至6のうちいずれか1項記載のリプログラミングシステムであって、
     前記制御手段は、前記第1記憶手段に記憶されたアプリケーションソフトウェアを実行しており、
     前記第1記憶手段に記憶された前記アプリケーションソフトウェアの固有情報は、前記アプリケーションソフトウェアが前記第1記憶手段に書き込まれているか否かを示す情報を含む、ことを特徴とするリプログタミングシステム。
    The reprogramming system according to any one of claims 1 to 6,
    The control means is executing application software stored in the first storage means,
    The reprogramming system, wherein the unique information of the application software stored in the first storage means includes information indicating whether or not the application software is written in the first storage means.
  8.  請求項7記載のリプログラミングシステムであって、
     前記制御手段は、前記第1記憶手段に記憶された固有情報を消去する処理を行い、次に前記第1記憶手段に前記アプリケーションソフトウェアを記憶させる処理を行い、その後前記第1記憶手段に固有情報を記憶させる処理を行う、ことを特徴とするリプログラミングシステム。
    The reprogramming system according to claim 7, wherein
    The control means performs a process of deleting the unique information stored in the first storage means, and then performs a process of storing the application software in the first storage means, and then stores the unique information in the first storage means. A reprogramming system characterized by performing a process of storing the data.
  9.  リプログラミングデータに基づいて第1記憶手段に記憶された所定データを書換えてリプログラミングを行いつつ、ポーリング処理を用いて第1所定周期で信号を出力するステップと、
     前記出力される信号に基づいて、自己の故障を判定するステップと、を含む、
     ことを特徴とするリプログラミング方法。
    Rewriting the predetermined data stored in the first storage means based on the reprogramming data and performing reprogramming while outputting a signal at a first predetermined period using a polling process;
    Determining a self-failure based on the output signal.
    A reprogramming method characterized by the above.
  10.  リプログラミングデータに基づいて第1記憶手段に記憶された所定データを書換えてリプログラミングを行いつつ、ポーリング処理を用いて第1所定周期で信号を出力する処理と、
     前記出力される信号に基づいて、自己の故障を判定する処理と、
     をコンピュータに実行させる、ことを特徴とするプログラム。
    A process of outputting a signal at a first predetermined period using a polling process while reprogramming by rewriting the predetermined data stored in the first storage means based on the reprogramming data;
    A process of determining its own failure based on the output signal;
    A program characterized by causing a computer to execute.
PCT/JP2011/004530 2011-08-10 2011-08-10 Reprogramming system and reprogramming method WO2013021423A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/JP2011/004530 WO2013021423A1 (en) 2011-08-10 2011-08-10 Reprogramming system and reprogramming method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2011/004530 WO2013021423A1 (en) 2011-08-10 2011-08-10 Reprogramming system and reprogramming method

Publications (1)

Publication Number Publication Date
WO2013021423A1 true WO2013021423A1 (en) 2013-02-14

Family

ID=47667977

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2011/004530 WO2013021423A1 (en) 2011-08-10 2011-08-10 Reprogramming system and reprogramming method

Country Status (1)

Country Link
WO (1) WO2013021423A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018139296A1 (en) * 2017-01-25 2018-08-02 日立オートモティブシステムズ株式会社 Vehicle control device and program updating system
JP7420025B2 (en) 2020-09-07 2024-01-23 トヨタ自動車株式会社 Program update method and update system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0973335A (en) * 1995-09-05 1997-03-18 Toyo Commun Equip Co Ltd Data processor
JPH11225216A (en) * 1998-02-05 1999-08-17 Murata Mach Ltd Communication terminal equipment
JPH11272498A (en) * 1998-03-25 1999-10-08 Denso Corp Electronic controller
JP2003182191A (en) * 2001-08-27 2003-07-03 Ricoh Co Ltd Imaging apparatus, method for updating program, and recording medium
JP2008165729A (en) * 2006-12-07 2008-07-17 Denso Corp Microcomputer
JP2008242995A (en) * 2007-03-28 2008-10-09 Denso Corp Electronic control device
JP2009070303A (en) * 2007-09-14 2009-04-02 Fujitsu Microelectronics Ltd Program rewriting method in erasing reset vector

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0973335A (en) * 1995-09-05 1997-03-18 Toyo Commun Equip Co Ltd Data processor
JPH11225216A (en) * 1998-02-05 1999-08-17 Murata Mach Ltd Communication terminal equipment
JPH11272498A (en) * 1998-03-25 1999-10-08 Denso Corp Electronic controller
JP2003182191A (en) * 2001-08-27 2003-07-03 Ricoh Co Ltd Imaging apparatus, method for updating program, and recording medium
JP2008165729A (en) * 2006-12-07 2008-07-17 Denso Corp Microcomputer
JP2008242995A (en) * 2007-03-28 2008-10-09 Denso Corp Electronic control device
JP2009070303A (en) * 2007-09-14 2009-04-02 Fujitsu Microelectronics Ltd Program rewriting method in erasing reset vector

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018139296A1 (en) * 2017-01-25 2018-08-02 日立オートモティブシステムズ株式会社 Vehicle control device and program updating system
JPWO2018139296A1 (en) * 2017-01-25 2019-06-27 日立オートモティブシステムズ株式会社 Vehicle control device and program update system
CN110178114A (en) * 2017-01-25 2019-08-27 日立汽车系统株式会社 Controller of vehicle and program updating system
US10871959B2 (en) 2017-01-25 2020-12-22 Hitachi Automotive Systems, Ltd. Vehicle control device and program update system
CN110178114B (en) * 2017-01-25 2023-05-12 日立安斯泰莫株式会社 Vehicle control device and program update system
JP7420025B2 (en) 2020-09-07 2024-01-23 トヨタ自動車株式会社 Program update method and update system
US11941388B2 (en) 2020-09-07 2024-03-26 Toyota Jidosha Kabushiki Kaisha Program update method and update system

Similar Documents

Publication Publication Date Title
US9778970B2 (en) Memory check, abnormality threshold count, and reset in an onboard electronic control unit
US20200156422A1 (en) Upgrading method and apparatus for tire pressure monitoring module and tire pressure sensor
WO2023024895A1 (en) Charging stand, charging stand upgrading method and apparatus, device, and storage medium
US7490194B2 (en) System and method for updating firmware in a non-volatile memory without using a processor
CN115840579A (en) FPGA remote updating method, system, chip mounter and storage medium
WO2013021423A1 (en) Reprogramming system and reprogramming method
CN114489732A (en) Method and device for updating FPGA (field programmable Gate array) firmware of equipment and electronic equipment
JP4743182B2 (en) Microcomputer
US7934050B2 (en) Microcomputer for flash memory rewriting
JP5884663B2 (en) Electronic control device and data rewriting system
JP2015210669A (en) Program rewrite method
JP5286814B2 (en) Semiconductor device, portable electronic device, self-diagnosis method, self-diagnosis program
CN110865906B (en) Motor initial position angle storage method and device, vehicle and storage medium
JP2008310596A (en) Portable electronic equipment and control method for potable electronic equipment
US10120614B2 (en) Storage device, storage system, and method of controlling storage device
JP4965909B2 (en) IC card
JP6340291B2 (en) Information processing device
CN111596642A (en) Method, device and equipment for determining validity of electric control parameter and storage medium
CN113032199B (en) Error injection method and device for expansion bus of high-speed serial computer
CN114895746B (en) System time synchronization method and device, computing equipment and storage medium
CN111414272B (en) Electronic device and reset method thereof
JP2008204005A (en) Communication method for peripheral device, computer program, and peripheral device
CN112698782A (en) Device and method for realizing data loading based on memory
JP4144182B2 (en) Memory data management device and memory data management method
CN113467842A (en) Starting method of embedded equipment suitable for industrial application scene, embedded equipment and computer readable storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11870762

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11870762

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP