JP2011150383A5 - Firmware writing method and magnetic resonance imaging apparatus - Google Patents

Firmware writing method and magnetic resonance imaging apparatus Download PDF

Info

Publication number
JP2011150383A5
JP2011150383A5 JP2010008691A JP2010008691A JP2011150383A5 JP 2011150383 A5 JP2011150383 A5 JP 2011150383A5 JP 2010008691 A JP2010008691 A JP 2010008691A JP 2010008691 A JP2010008691 A JP 2010008691A JP 2011150383 A5 JP2011150383 A5 JP 2011150383A5
Authority
JP
Japan
Prior art keywords
firmware
end flag
flash rom
write
cpu
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.)
Pending
Application number
JP2010008691A
Other languages
Japanese (ja)
Other versions
JP2011150383A (en
Filing date
Publication date
Application filed filed Critical
Priority to JP2010008691A priority Critical patent/JP2011150383A/en
Priority claimed from JP2010008691A external-priority patent/JP2011150383A/en
Publication of JP2011150383A publication Critical patent/JP2011150383A/en
Publication of JP2011150383A5 publication Critical patent/JP2011150383A5/en
Pending legal-status Critical Current

Links

Description

上記の課題を解決するために、本発明によれば、ファームウェアの書き替えを行うためのコマンドを受信するステップと、
Flash ROM1のファームウェア実行領域に格納されているファームウェアと書き込み終了フラグとファームウェアサイズをそれぞれFlash ROM2のファームウェア退避領域と書き込み終了フラグとファームウェアサイズにコピーするステップと、
新ファームウェアを受信するステップと、
Flash ROM1のファームウェア実行領域に新ファームウェアを書き込むステップと、
受信した新ファームウェアとファームウェア実行領域に書き込んだファームウェアを比較しエラーがないことを確認するステップと、
エラーがなければ、書き込み終了フラグと書き込んだファームウェアサイズをFlash ROM1に書き込み、
エラーがあった場合は、書き込み終了フラグの書き込みを行わないステップと、
Flash ROM1の書き込み終了フラグを確認するステップと、
書き込み終了フラグが確認できればファームウェア実行領域のファームウェアを実行し、
書き込み終了フラグが確認できなかった場合は、Flash ROM2のファーム退避領域のファームウェアをFlash ROM1のファームウェア実行領域にコピーし、Flash ROM2の書き込み終了フラグとファームウェアサイズをそれぞれFlash ROM1の書き込み終了フラグとファームウェアサイズにコピーしてファームウェアの書き換え作業を行う前のファームウェアを実行するステップとを備えたファームウェア書き込み方法が提供される。
In order to solve the above problem, according to the present invention, a step of receiving a command for rewriting firmware;
Copying the firmware, write end flag, and firmware size stored in the firmware execution area of Flash ROM 1 to the firmware save area, write end flag, and firmware size of Flash ROM 2, respectively;
Receiving the new firmware;
Writing new firmware into the firmware execution area of Flash ROM1,
Comparing the received new firmware with the firmware written in the firmware execution area to confirm that there are no errors,
If there is no error, write the write end flag and the written firmware size to Flash ROM1,
If there is an error, the step that does not write the write end flag,
A step to check the Flash ROM1 write end flag;
If the write end flag can be confirmed, execute the firmware in the firmware execution area.
If the write completion flag is not confirmed, the firmware farm save area Flash ROM 2 is copied to the firmware execution regions Flash ROM 1, a write end flag and firmware Flash ROM 2 of the writing end flag and the firmware size, respectively Flash ROM 1 A firmware writing method is provided that includes a step of executing firmware before copying to size and performing firmware rewriting work.

Claims (2)

ファームウェアの書き替えを行うためのコマンドを受信するステップと、
Flash ROM1のファームウェア実行領域に格納されているファームウェアと書き込み終了フラグとファームウェアサイズをそれぞれFlash ROM2のファームウェア退避領域と書き込み終了フラグとファームウェアサイズにコピーするステップと、
新ファームウェアを受信するステップと、
Flash ROM1のファームウェア実行領域に新ファームウェアを書き込むステップと、
受信した新ファームウェアとファームウェア実行領域に書き込んだファームウェアを比較しエラーがないことを確認するステップと、
エラーがなければ、書き込み終了フラグと書き込んだファームウェアサイズをFlash ROM1に書き込み、
エラーがあった場合は、書き込み終了フラグの書き込みを行わないステップと、
Flash ROM1の書き込み終了フラグを確認するステップと、
書き込み終了フラグが確認できればファームウェア実行領域のファームウェアを実行し、
書き込み終了フラグが確認できなかった場合は、Flash ROM2のファーム退避領域のファームウェアをFlash ROM1のファームウェア実行領域にコピーし、Flash ROM2の書き込み終了フラグとファームウェアサイズをそれぞれFlash ROM1の書き込み終了フラグとファームウェアサイズにコピーしてファームウェアの書き換え作業を行う前のファームウェアを実行するステップとを備えたファームウェア書き込み方法。
Receiving a command for rewriting the firmware;
Copying the firmware, write end flag, and firmware size stored in the firmware execution area of Flash ROM 1 to the firmware save area, write end flag, and firmware size of Flash ROM 2, respectively;
Receiving the new firmware;
Writing new firmware into the firmware execution area of Flash ROM 1;
Comparing the received new firmware with the firmware written in the firmware execution area to confirm that there are no errors,
If there is no error, write the write end flag and the written firmware size to Flash ROM1,
If there is an error, the step that does not write the write end flag,
A step of confirming a write end flag of the flash ROM 1;
If the write end flag can be confirmed, execute the firmware in the firmware execution area.
If the write completion flag is not confirmed, the firmware farm save area Flash ROM 2 is copied to the firmware execution regions Flash ROM 1, a write end flag and firmware Flash ROM 2 of the writing end flag and the firmware size, respectively Flash ROM 1 A firmware writing method comprising: executing firmware before copying to a size and performing firmware rewriting work.
ファームウェアやコマンドを送信するPCと、  A PC that sends firmware and commands,
該PCに接続され、前記ファームウェアの実行、書き換えを行うCPUと、  A CPU connected to the PC for executing and rewriting the firmware;
該CPUに接続され、古いファームウェアのコピーを置く第1の不揮発性メモリと、  A first non-volatile memory connected to the CPU for placing a copy of the old firmware;
前記CPUと前記第1の不揮発性メモリに接続され、前記CPUで実行される前記ファームウェアが格納される第2の不揮発性メモリと、A second non-volatile memory connected to the CPU and the first non-volatile memory and storing the firmware executed by the CPU;
該第2の不揮発性メモリへの新しいファームウェアの書き換えが成功するか判断する判断手段とを備え、  Determining means for determining whether rewriting of new firmware to the second non-volatile memory is successful;
前記CPUには、ブートプログラムとファームウェア書き替えプログラムが入っているCPU内蔵ROMが備えられ、  The CPU includes a CPU built-in ROM containing a boot program and a firmware rewriting program,
前記第1の不揮発性メモリには、前記第2の不揮発性メモリに記憶されていた古いファームウェアがコピーされ、  Old firmware stored in the second nonvolatile memory is copied to the first nonvolatile memory,
該判断手段による判断に応じて、前記第1の不揮発性メモリにコピーされている前記古いファームウェアを前記第2の不揮発性メモリへコピーすることを特徴とする磁気共鳴イメージング装置。  The magnetic resonance imaging apparatus, wherein the old firmware copied to the first non-volatile memory is copied to the second non-volatile memory according to the determination by the determining means.
JP2010008691A 2010-01-19 2010-01-19 Firmware writing method Pending JP2011150383A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010008691A JP2011150383A (en) 2010-01-19 2010-01-19 Firmware writing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010008691A JP2011150383A (en) 2010-01-19 2010-01-19 Firmware writing method

Publications (2)

Publication Number Publication Date
JP2011150383A JP2011150383A (en) 2011-08-04
JP2011150383A5 true JP2011150383A5 (en) 2013-03-07

Family

ID=44537329

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010008691A Pending JP2011150383A (en) 2010-01-19 2010-01-19 Firmware writing method

Country Status (1)

Country Link
JP (1) JP2011150383A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5683518B2 (en) * 2012-03-27 2015-03-11 三菱電機株式会社 Firmware update apparatus and method
JP7408593B2 (en) 2021-03-23 2024-01-05 株式会社東芝 Control devices, information processing devices, and information processing systems

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3904099B2 (en) * 1996-04-24 2007-04-11 ソニー株式会社 Information processing apparatus, program update method, and information processing system
JP2003122590A (en) * 2001-10-16 2003-04-25 Pfu Ltd Program rewriting method, and electronic equipment device
JP2004054421A (en) * 2002-07-17 2004-02-19 Sharp Corp Memory, information processor, storage method and information processing method
JP2005085039A (en) * 2003-09-09 2005-03-31 Ricoh Co Ltd Recording and reproducing device, firmware rewriting method for recording and reproducing device, and program and computer-readable recording medium
JP2006053848A (en) * 2004-08-16 2006-02-23 Nec Infrontia Corp Information processor and program updating method
JP2006164030A (en) * 2004-12-09 2006-06-22 Canon Inc Firmware update method of multi-function device
JP4891605B2 (en) * 2005-12-12 2012-03-07 株式会社東芝 Software management system and software distribution server
JP2009230399A (en) * 2008-03-21 2009-10-08 Fuji Xerox Co Ltd Firmware update system and firmware update program
JP2009265877A (en) * 2008-04-24 2009-11-12 Kyocera Mita Corp Electronic apparatus
JP5167936B2 (en) * 2008-05-08 2013-03-21 日本電気株式会社 Information processing device

Similar Documents

Publication Publication Date Title
US9229806B2 (en) Block closure techniques for a data storage device
TWI591631B (en) Systems and methods of updating read voltages in a memory
US9165670B2 (en) Data retention detection techniques for a data storage device
US8595716B2 (en) Failsafe firmware updates
JP2012155430A5 (en)
JP2013229019A5 (en) Processor
US9442840B2 (en) Virtual boundary codes in a data image of a read-write memory device
WO2013016397A3 (en) Post-write read in non-volatile memories using comparison of data as written in binary and multi-state formats
JP2015525916A5 (en)
JP2011210037A5 (en)
TWI460586B (en) Data storage device and operating method for flash memory
TWI486957B (en) Method, device and operating system for processing, using a nand flash memory burn data
US20140043910A1 (en) Semiconductor memory device and operating method thereof
US20150154112A1 (en) Batch command techniques for a data storage device
US20140149643A1 (en) Patch mechanism in embedded controller for memory access
CN107451494A (en) A kind of chip rewrites data guard method, electronic equipment and the storage medium of equipment
JP2011150383A5 (en) Firmware writing method and magnetic resonance imaging apparatus
JP2015095001A5 (en)
US20140173187A1 (en) Virtual boundary codes in a data image of a read-write memory device
JP2014030977A5 (en)
TWI676933B (en) Firmware updating method
JP2017528831A5 (en)
JP5683911B2 (en) Program processing device
JP2016103261A (en) Firmware downloading method and firmware built-in device
JP2011150383A (en) Firmware writing method