JP2010130316A - Optical transmitter and update method of firmware - Google Patents

Optical transmitter and update method of firmware Download PDF

Info

Publication number
JP2010130316A
JP2010130316A JP2008302533A JP2008302533A JP2010130316A JP 2010130316 A JP2010130316 A JP 2010130316A JP 2008302533 A JP2008302533 A JP 2008302533A JP 2008302533 A JP2008302533 A JP 2008302533A JP 2010130316 A JP2010130316 A JP 2010130316A
Authority
JP
Japan
Prior art keywords
firmware
control
output value
host device
controller
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
JP2008302533A
Other languages
Japanese (ja)
Inventor
Hideaki Kamisugi
秀昭 神杉
Hiroto Ishibashi
博人 石橋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sumitomo Electric Industries Ltd
Original Assignee
Sumitomo Electric Industries Ltd
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 Sumitomo Electric Industries Ltd filed Critical Sumitomo Electric Industries Ltd
Priority to JP2008302533A priority Critical patent/JP2010130316A/en
Publication of JP2010130316A publication Critical patent/JP2010130316A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Optical Communication System (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an optical transmitter capable of updating firmware in a state that optical communication is maintained without being removed from a host device. <P>SOLUTION: The optical transmitter 1 is attached to the host device 2, and is provided with: an LD 11a; and a controller 13 which executes control by the firmware to control at least light emission intensity of the LD 11a to a predetermined value. The controller 13 has: an output value storage means 23 for storing an output value regarding control by the firmware in reception when a firmware rewrite signal is received from the host device 2; a fixed value control means 24 for stopping control by the firmware to control the output value to the stored output value while the recorded firmware is rewritten to new firmware to be transmitted from the host device 2; and a firmware control restart means 25 for starting control by the new firmware after the end of rewrite to the new firmware. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、光トランシーバ等に適用される光送信装置及び当該光送信装置のファームウェアの更新方法に関する。   The present invention relates to an optical transmission device applied to an optical transceiver and the like, and a method for updating firmware of the optical transmission device.

光通信のために信号光を送出する光送信装置は、例えば、図4に示すように、半導体発光素子(LD:Laser Diode)101と、LD駆動回路102と、を備え、LD駆動回路102は、LD101から所定の発光パワーが得られるように直流バイアス電流を生成すると共に、ホスト装置Xから受け取る送信信号に基づいて変調電流を生成する。光送信装置100は、LD101に直流バイアス電流に変調電流を重畳した電流を供給することにより、LD101の発光強度を遷移させて、LDの信号光を変調する。   An optical transmission device that transmits signal light for optical communication includes, for example, a semiconductor light emitting element (LD) 101 and an LD drive circuit 102 as shown in FIG. A DC bias current is generated so that a predetermined light emission power can be obtained from the LD 101, and a modulation current is generated based on a transmission signal received from the host device X. The optical transmission device 100 supplies the LD 101 with a current obtained by superimposing the modulation current on the DC bias current, thereby transitioning the light emission intensity of the LD 101 and modulating the LD signal light.

また、光送信装置100は、デジタル・アナログ変換部(D/A)103を通じてLD駆動回路102にバイアス電流値、変調電流値を与えるデジタル方式のコントローラ104を用いて、LD101のオートパワーコントロール(APC:Auto Power Control)制御を行う。具体的には、光送信装置100では、LD101近傍に配置された半導体受光素子(PD:Photo Diode)105がLD101の発光パワーを検出し、検出したパワーに応じた電流値が光量検知回路106及びアナログ・デジタル変換部(A/D)107によってデジタル変換され、コントローラ104に入力される。そして、コントローラ104が、A/D107から入力されたデジタル値及び予めプログラムされた関数に基づいて、検出発光パワーが一定となるようにバイアス電流を決定し、そのバイアス電流の生成に用いる制御信号をD/A103に入力することで、APC制御が行われる。   In addition, the optical transmission apparatus 100 uses a digital controller 104 that supplies a bias current value and a modulation current value to the LD drive circuit 102 through a digital / analog conversion unit (D / A) 103, and performs auto power control (APC) of the LD 101. : Auto Power Control). Specifically, in the optical transmission device 100, a semiconductor light receiving element (PD: Photo Diode) 105 disposed in the vicinity of the LD 101 detects the light emission power of the LD 101, and a current value corresponding to the detected power is represented by the light amount detection circuit 106 and An analog / digital conversion unit (A / D) 107 performs digital conversion and inputs to the controller 104. Then, the controller 104 determines a bias current based on the digital value input from the A / D 107 and a pre-programmed function so that the detected light emission power is constant, and a control signal used to generate the bias current is determined. APC control is performed by inputting to the D / A 103.

このような光送信装置が適用される光トランシーバでは、近年、I2C(Inter-Integrated Circuit)、MDIO(Management Data Input/Output)等の通信プロトコルを利用して、光トランシーバの動作状態に関わる動作パラメータをホスト装置に伝えることが一般的になっている(例えば非特許文献1参照)。
また、上述のAPC制御のような、デジタル方式のコントローラを用いて光送信装置(光トランシーバ)の内蔵部品を制御する手法は、上述の通信プロトコルを利用する形態と親和性が高く、現在では広く用いられ始めている。
In an optical transceiver to which such an optical transmitter is applied, in recent years, an operation parameter related to an operation state of the optical transceiver using a communication protocol such as I2C (Inter-Integrated Circuit) or MDIO (Management Data Input / Output) is used. Is generally transmitted to the host device (see, for example, Non-Patent Document 1).
In addition, a method of controlling a built-in component of an optical transmission device (optical transceiver) using a digital controller, such as the APC control described above, has a high affinity with a form using the communication protocol described above, and is widely used at present. It is starting to be used.

デジタル方式のコントローラを用いて装置の内蔵部品を制御するためには、図4の例のコントローラ104ように、CPU104a等の演算装置と制御に必要な処理を記述したファームウェアが必要となる。ファームウェアは、例えば、コントローラ104に内蔵されるフラッシュメモリ104bに記憶され(あるいはコントローラ104の外に設けられた記憶装置)に格納され、起動時にコントローラ104のRAM104cにロードされる構成となっている。   In order to control the built-in components of the apparatus using a digital controller, an arithmetic unit such as the CPU 104a and firmware describing processing necessary for the control are required as in the controller 104 in the example of FIG. For example, the firmware is stored in a flash memory 104b built in the controller 104 (or stored in a storage device provided outside the controller 104) and loaded into the RAM 104c of the controller 104 at the time of activation.

従来、ファームウェアの更新を行うためには、光送信装置を一度ホスト装置から取り外して光通信を一旦停止し、専用のツールを用いて行う必要があった。近年、光トランシーバの分野においては、プラガブル型の普及によって、ホスト装置からの取り外しは容易にはなっているものの、ファームウェア更新時はネットワークを停止させる必要があることに変わりはなく、対策が望まれている。
SFF委員会、「光トランシーバ用診断監視インタフェースのためのSFF−8472仕様書 第10.3版(SFF-8472 Specification for Diagnostic Monitoring Interface for Optical Xcvrs Rev 10.3)」、[online]、2007年12月1日、[2008年9月12日検索]、インターネット<URL:ftp://ftp.seagate.com/sff/SFF-8472.PDF>
Conventionally, in order to update the firmware, it is necessary to remove the optical transmission device from the host device once, temporarily stop optical communication, and use a dedicated tool. In recent years, in the field of optical transceivers, due to the spread of pluggable devices, removal from the host device has become easier, but it is still necessary to stop the network when updating the firmware, and measures are desired. ing.
SFF Committee, “SFF-8472 Specification for Diagnostic Monitoring Interface for Optical Xcvrs Rev 10.3”, [online], December 1, 2007 [Search on September 12, 2008], Internet <URL: ftp://ftp.seagate.com/sff/SFF-8472.PDF>

本発明は、上述のような実情に鑑みてなされたもので、ホスト装置から取り外すことなく、光通信を維持したままの状態で、ファームウェアの更新を行うことができる光送信装置及び当該光送信装置のファームウェアの更新方法を提供することを目的とする。   The present invention has been made in view of the above circumstances, and an optical transmission device capable of updating firmware while maintaining optical communication without being removed from a host device, and the optical transmission device An object of the present invention is to provide a method for updating the firmware.

本発明の光送信装置は、信号光を出射する半導体発光素子と、ファームウェアを有し当該ファームウェアによる制御動作を実行し、少なくとも半導体発光素子の発光強度を所定値に制御する制御部と、を備え、ホスト装置に装着される。上記制御部が、ホスト装置からファームウェア書換信号を受信したときに、該受信時のファームウェアによる制御に関わる出力値を保存する出力値保存手段と、記録されているファームウェアのホスト装置から送信される新ファームウェアへの書き換え中は、ファームウェアによる制御を停止して上記出力値を出力値保存手段が保存した出力値に制御する固定値制御手段と、新ファームウェアへの書き換え終了後、その新ファームウェアによる制御を開始するファームウェア制御再開手段と、を有することを特徴とする。
なお、新ファームウェアへの書き換え中は、ホストとの通信先を制御部からファームウェアの記憶部に切り換えるスイッチを備えることが好ましい。
An optical transmission device of the present invention includes a semiconductor light emitting element that emits signal light, and a controller that has firmware and executes a control operation by the firmware, and controls at least the light emission intensity of the semiconductor light emitting element to a predetermined value. Is attached to the host device. When the control unit receives a firmware rewrite signal from the host device, an output value storage unit that stores an output value related to control by the firmware at the time of reception, and a new firmware transmitted from the host device of the recorded firmware During rewriting to the firmware, the control by the firmware is stopped, the fixed value control means for controlling the output value to the output value saved by the output value saving means, and the control by the new firmware after the rewriting to the new firmware is completed. Firmware control restarting means for starting.
During rewriting to the new firmware, it is preferable to provide a switch for switching the communication destination with the host from the control unit to the firmware storage unit.

また、本発明の光送信装置のファームウェアの更新方法は、信号光を出射する半導体発光素子と、ファームウェアを有し当該ファームウェアによる制御動作を実行し、少なくとも半導体発光素子の発光強度を所定値に制御する制御部と、を備え、ホスト装置に装着される光送信装置のファームウェアの更新方法である。ホスト装置からファームウェア書換信号を受信し、出力値保存手段によりファームウェアによる制御に関わる出力値を保存し、固定値制御手段により、前記ファームウェアによる制御を停止し当該制御部の出力値を保存した出力値に固定する制御を開始した後、記録されているファームウェアをホスト装置から送信される新ファームウェアに書き換え、書き換え終了後に、ファームウェア制御再開手段により、上記出力値を固定する制御を停止し前記新ファームウェアによる制御を開始することを特徴とする。   The method of updating the firmware of the optical transmission device according to the present invention includes a semiconductor light emitting element that emits signal light and firmware, and executes a control operation by the firmware, and controls at least the light emission intensity of the semiconductor light emitting element to a predetermined value. And a firmware update method for an optical transmission device attached to the host device. An output value that receives a firmware rewrite signal from the host device, saves an output value related to the control by the firmware by the output value storage means, and stops the control by the firmware and saves the output value of the control unit by the fixed value control means After starting the control to fix the output value, the recorded firmware is rewritten to the new firmware transmitted from the host device. After the rewriting is finished, the control for fixing the output value is stopped by the firmware control restarting means, and the new firmware is used. Control is started.

本発明によれば、ホスト装置とファームウェアの記憶部との間の通信を可能としたので、ホスト装置から直接、ファームウェアの書き換えができる。また、更新のためにファームウェアに従った処理を停止させている間は、停止直前の駆動電流値を駆動回路に供給し続けるようにしたので、光通信を維持したままの状態で、ファームウェアの更新を行うことができる。   According to the present invention, since the communication between the host device and the firmware storage unit is enabled, the firmware can be rewritten directly from the host device. In addition, while the processing according to the firmware is stopped for the update, the drive current value immediately before the stop is continuously supplied to the drive circuit, so the firmware update is performed while maintaining the optical communication. It can be performed.

図1は、本発明の光送信装置の構成例を説明するブロック図である。光送信装置は、光データリンク等としてモジュール化され、さらに、ホスト装置に接続された状態で用いられる。本発明の光送信装置は、図1の光データリンク1で例示するように、ホスト装置2から電気信号を受け取るための差動入力端子10a,10bが設けられている。これらの端子10a,10bには、相補的な差動入力信号E+,E−がそれぞれ入力される。   FIG. 1 is a block diagram illustrating a configuration example of an optical transmission apparatus according to the present invention. The optical transmission device is modularized as an optical data link or the like, and further used in a state of being connected to a host device. The optical transmission apparatus of the present invention is provided with differential input terminals 10a and 10b for receiving an electrical signal from the host apparatus 2, as exemplified by the optical data link 1 of FIG. Complementary differential input signals E + and E− are input to these terminals 10a and 10b, respectively.

光データリンク1は、送信用光モジュール11と、LD駆動回路12と、コントローラ13と、D/A14と、A/D15と、光量検知回路16と、EEPROM(Electrically Erasable and Programmable Read Only Memory)17と、スイッチ18と、を備える。   The optical data link 1 includes a transmission optical module 11, an LD drive circuit 12, a controller 13, a D / A 14, an A / D 15, a light amount detection circuit 16, and an EEPROM (Electrically Erasable and Programmable Read Only Memory) 17. And a switch 18.

送信用光モジュール11は、信号光を送出するLD11aと、LD11aをモニタするPD11bとを有する。LD11aからの信号光は、光学系(図示省略)によって光コネクタ19に結合され、当該光コネクタ19を介して光ファイバFに出力される。PD11bは、LD11aからの出射光(例えば信号光の一部)を受光し、その光強度を検出し、強度に応じた出力電流信号を生成し、光量検知回路16に出力される。   The transmission optical module 11 includes an LD 11a that transmits signal light and a PD 11b that monitors the LD 11a. The signal light from the LD 11 a is coupled to the optical connector 19 by an optical system (not shown), and is output to the optical fiber F through the optical connector 19. The PD 11 b receives light emitted from the LD 11 a (for example, part of the signal light), detects the light intensity, generates an output current signal corresponding to the intensity, and outputs the output current signal to the light amount detection circuit 16.

LD11aは、LD駆動回路12に接続されている。LD駆動回路12は、入力信号に応じてLD11aを駆動し光出力させる回路であり、駆動電流(直流バイアス電流及び変調電流)をLD11aに供給する。LD駆動回路12は、差動入力端子10a,10bが接続されており、これらの端子10a,10bから差動入力信号E+,E−を受け取り、それらの差信号に応じて変調された変調電流を生成する。そして、この変調電流をバイアス電流に重畳してLD11aに供給する。これによりLD11aが駆動され、変調電流に応じて変調された光信号がLD11aから出力される。   The LD 11 a is connected to the LD drive circuit 12. The LD drive circuit 12 is a circuit that drives the LD 11a in accordance with an input signal to output light, and supplies a drive current (DC bias current and modulation current) to the LD 11a. The LD drive circuit 12 is connected to differential input terminals 10a and 10b, receives differential input signals E + and E− from these terminals 10a and 10b, and receives a modulation current modulated in accordance with the difference signal. Generate. Then, this modulation current is superimposed on the bias current and supplied to the LD 11a. As a result, the LD 11a is driven, and an optical signal modulated according to the modulation current is output from the LD 11a.

LD駆動回路12は、D/A14を介してコントローラ13に接続されている。コントローラ13は、駆動電流を制御する制御信号の生成処理及びLD駆動回路12への上記制御信号の供給処理を含む各種処理を実行する制御部である。コントローラ13は、通常動作時、APC制御を実行して、LD11aの光出力の平均値を安定化させる。APC制御では、PD11bによって測定されたLD11aの光出力が所定の値と比較され両者の差に応じてバイアス電流と変調電流の大きさが調整される。なお、本発明の光データリンクのコントローラは、上述の通常動作における処理ではなく、ファームウェアの更新時の動作における処理に特徴があるものであるが、その特徴的な処理については後述する。   The LD drive circuit 12 is connected to the controller 13 via the D / A 14. The controller 13 is a control unit that executes various processes including a process for generating a control signal for controlling the drive current and a process for supplying the control signal to the LD drive circuit 12. The controller 13 performs APC control during normal operation to stabilize the average value of the optical output of the LD 11a. In the APC control, the optical output of the LD 11a measured by the PD 11b is compared with a predetermined value, and the magnitudes of the bias current and the modulation current are adjusted according to the difference therebetween. Note that the optical data link controller of the present invention is characterized by processing in the operation at the time of firmware update, not in the processing in the normal operation described above. The characteristic processing will be described later.

コントローラ13は、バイアス電流及び変調電流それぞれの大きさに対応するデジタル値(駆動電流の制御信号)をD/A14に出力する。D/A14は、それらのデジタル値をアナログ信号に変換してLD駆動回路12に供給する。LD駆動回路12は、これらのアナログ信号に従ってバイアス電流と変調電流の大きさを調整する。   The controller 13 outputs a digital value (drive current control signal) corresponding to the magnitudes of the bias current and the modulation current to the D / A 14. The D / A 14 converts these digital values into analog signals and supplies them to the LD drive circuit 12. The LD drive circuit 12 adjusts the magnitudes of the bias current and the modulation current according to these analog signals.

さらに、コントローラ13には、A/D15を介して光量検知回路16が接続されている。
光量検知回路16は、PD11bの出力電流信号を、それに対応するアナログ電圧信号に変換する。A/D15は、上記アナログ電圧信号をデジタル値に変換し、コントローラ13に送る。デジタル値は、上述のようにPD11bの出力電流信号に対応しており、したがって、PD11bによって検出された光出力を示している。このデジタル値を以下では、出力モニタ値と呼ぶ。
Further, a light amount detection circuit 16 is connected to the controller 13 via an A / D 15.
The light quantity detection circuit 16 converts the output current signal of the PD 11b into a corresponding analog voltage signal. The A / D 15 converts the analog voltage signal into a digital value and sends it to the controller 13. The digital value corresponds to the output current signal of the PD 11b as described above, and thus indicates the light output detected by the PD 11b. Hereinafter, this digital value is referred to as an output monitor value.

また、コントローラ13には、EEPROM17が接続されている。EEPROM17は、ファームウェアを記憶する記憶部である。なお、光データリンク1におけるファームウェアは、LD11aの信号光を所定の強度にするための制御信号の生成処理(すなわちAPC制御処理)を含む通常動作におけるコントローラ13の処理を記述したもの、言い換えると、LD制御、モニタ制御など光送信動作に関わる処理を記述したアプリケーションプログラムを含むものである。ファームウェアは、例えば、光データリンク1の起動時及びファームウェア書き換え終了時に、コントローラ13によってEEPROM17から実行可能な形態でロードされる。つまり、EEPROM17から読み出され、当該コントローラ13のRAM(Random Access Memory)13cに展開されて実行される。   The controller 13 is connected to an EEPROM 17. The EEPROM 17 is a storage unit that stores firmware. The firmware in the optical data link 1 describes the process of the controller 13 in the normal operation including the control signal generation process (that is, the APC control process) for making the signal light of the LD 11a have a predetermined intensity, in other words, It includes an application program describing processing related to optical transmission operation such as LD control and monitor control. For example, the firmware is loaded in an executable form from the EEPROM 17 by the controller 13 when the optical data link 1 is activated and when the firmware rewrite is completed. That is, it is read from the EEPROM 17, developed in a RAM (Random Access Memory) 13 c of the controller 13 and executed.

コントローラ13及びEEPROM17は、ホスト装置2との通信を行うためのシリアル通信(ポート)端子20にスイッチ18を介して接続されている。コントローラ13は、通常動作時に、シリアル通信端子20を介してホスト装置2から命令を受け取り、その命令に応答して、光データリンク1の動作状況を示すデータ(例えば、出力モニタ値)を、シリアル通信端子20を通じて、ホスト装置2に出力する。一方、EEPROM17は、ファームウェアの更新時に、ホスト装置2からシリアル通信端子20を介して新しいファームウェアを受信し、当該ファームウェアで古いファームウェアが書き換えられる。なお、光データリンク1とホスト装置2との間のシリアル通信端子20を介した通信は、I2C、MDIO等の通信プロトコルを利用して行われる。   The controller 13 and the EEPROM 17 are connected via a switch 18 to a serial communication (port) terminal 20 for performing communication with the host device 2. During normal operation, the controller 13 receives a command from the host device 2 via the serial communication terminal 20 and, in response to the command, serializes data (for example, output monitor value) indicating the operation status of the optical data link 1. The data is output to the host device 2 through the communication terminal 20. On the other hand, when updating the firmware, the EEPROM 17 receives new firmware from the host device 2 via the serial communication terminal 20, and the old firmware is rewritten with the firmware. Note that communication between the optical data link 1 and the host device 2 via the serial communication terminal 20 is performed using a communication protocol such as I2C or MDIO.

このようなシリアル通信端子20とコントローラ13及びEEPROM17との間に位置するスイッチ18は、当該端子20の接続先を、コントローラ13またはEEPROM17に切り換える。スイッチ18は、ファームウェアの書き換え中であることを通知するための信号(書換信号)の入力端子である書換信号端子21が接続されており、書換信号の状態に応じて、接続先を切り替える。   The switch 18 positioned between the serial communication terminal 20 and the controller 13 and the EEPROM 17 switches the connection destination of the terminal 20 to the controller 13 or the EEPROM 17. The switch 18 is connected to a rewrite signal terminal 21 which is an input terminal of a signal (rewrite signal) for notifying that the firmware is being rewritten, and switches the connection destination according to the state of the rewrite signal.

上述のEEPROM17やスイッチ18等に接続されるコントローラ13は、演算装置として、例えばCPU13aを有し、さらに、ファームウェアの更新時における当該コントローラ13の処理を記述した更新用プラグラム等を記憶するフラッシュメモリ13bを有する。フラッシュメモリ13bには、上記更新用プラグラムの他に、光データリンク1の起動時のコントローラ13の処理を記述した起動時プログラムが記憶される。これら更新用プログラムや起動時プログラム等の基本プログラムは、光データリンク1の起動時等に適宜、コントローラ13によってフラッシュメモリ13bから読み出され、当該コントローラ13のRAM13cに展開されて実行される。   The controller 13 connected to the above-described EEPROM 17, the switch 18 and the like has, for example, a CPU 13a as an arithmetic unit, and further stores a flash memory 13b for storing an update program describing processing of the controller 13 at the time of firmware update. Have In addition to the update program, the flash memory 13b stores a startup program that describes the processing of the controller 13 when the optical data link 1 is started. These basic programs such as the update program and the startup program are read from the flash memory 13b by the controller 13 as appropriate when the optical data link 1 is started, and are expanded and executed in the RAM 13c of the controller 13.

RAM13cは、各種データを一時的に記憶する領域から構成され、更新用プログラムやファームウェアの展開領域として用いられ、さらに、上記更新プログラムやファームウェアに記述の処理を実行する際に使用するデータを格納するデータ領域としても用いられる。
このように構成されるコントローラ13は、更新用プログラムをCPU13aで実行することにより、後述の更新用制御装置13dとして機能する。
The RAM 13c is composed of an area for temporarily storing various data, is used as a development area for update programs and firmware, and further stores data used when executing the processing described in the update program and firmware. It is also used as a data area.
The controller 13 configured as described above functions as an update control device 13d described later by executing an update program on the CPU 13a.

また、コントローラ13には、上述のようにスイッチ18にも接続される書換信号端子21が接続されている。
この書換信号端子21は、ファームウェアの書き換え中にホスト装置がコントローラ13やスイッチ18に書換信号を入力するためのものである。書換信号は、ファームウェアの書き換えをしている期間のみ入力され(アサートされ)、光データリンク1の通常動作中は入力が解除される(デアサートされる)。
Further, the rewrite signal terminal 21 connected to the switch 18 as described above is connected to the controller 13.
The rewrite signal terminal 21 is used when the host device inputs a rewrite signal to the controller 13 or the switch 18 during rewriting of the firmware. The rewrite signal is input (asserted) only during a period when the firmware is being rewritten, and the input is canceled (deasserted) during the normal operation of the optical data link 1.

書換信号の入力及び入力解除の前後のスイッチ18及びコントローラ13の動作は、以下で、図2を用いて説明するように、本発明における特徴的な動作であるファームウェア更新のための動作を含む。
スイッチ18は、書換信号の入力が解除されているとき、シリアル通信端子20の接続先をコントローラ13にし、書換信号が入力されているときは、接続先をEEPROM17にし、ホスト装置2によるEEPROM17内のファームウェアの書き換えを可能とする。
The operations of the switch 18 and the controller 13 before and after the input and release of the rewrite signal include an operation for firmware update, which is a characteristic operation in the present invention, as will be described below with reference to FIG.
The switch 18 sets the connection destination of the serial communication terminal 20 to the controller 13 when the input of the rewrite signal is cancelled, and sets the connection destination of the serial communication terminal 20 to the EEPROM 17 when the rewrite signal is input. Firmware can be rewritten.

コントローラ13は、ファームウェア更新のため、更新用プログラムを実行することにより、信号入力/入力解除検出手段22、出力値保存手段23、固定値制御手段24、ファームウェア制御再開手段25を有する更新用制御装置13dとして機能する。
信号入力/入力解除検出手段22は、書換信号の入力及び入力解除を検出する。出力値保存手段23は、所定のタイミングで(例えば、上記検出手段22が書換信号の入力を検出したとき(すなわち書換信号を受信したとき))、その時のファームウェアによる制御に関わる出力値を保存する。また、固定値制御手段24は、EEPROM17に記録されているファームウェアを、ホスト装置から送信される新ファームウェアへ書き換えている間は、ファームウェアによる制御を停止して上記出力値を出力値保存手段23が保存した出力値で固定するよう制御する。ファームウェア制御再開手段25は、信号入力/入力解除検出手段22で書換信号の入力解除が検出され、新ファームウェアへの書き換え終了が検知されると、固定値制御手段24による制御を停止し、該新ファームウェアによる制御を実行(開始)する。
The controller 13 executes an update program for firmware update, and thereby has an update control apparatus having a signal input / input release detection means 22, an output value storage means 23, a fixed value control means 24, and a firmware control restart means 25. It functions as 13d.
The signal input / input release detection means 22 detects the input and release of the rewrite signal. The output value storage unit 23 stores an output value related to control by firmware at that time at a predetermined timing (for example, when the detection unit 22 detects the input of the rewrite signal (that is, when the rewrite signal is received)). . The fixed value control means 24 stops the control by the firmware while the firmware recorded in the EEPROM 17 is rewritten to the new firmware transmitted from the host device, and the output value storage means 23 stores the output value. Control to fix the saved output value. The firmware control restarting means 25 stops the control by the fixed value control means 24 when the signal input / input release detection means 22 detects the input release of the rewrite signal and the completion of rewriting to the new firmware is detected. Execute (start) control by firmware.

このように機能するコントローラ13は、書換信号の入力が解除されているとき、A/D15からの出力モニタ値に基づいてファームウェアに記述のAPC制御処理を実行し、また、上記シリアル通信端子20を介してホスト装置2から命令を受け取った場合は、その命令に応答して、ホスト装置2に出力モニタ値等を出力する。   When the input of the rewrite signal is cancelled, the controller 13 functioning in this way executes the APC control process described in the firmware based on the output monitor value from the A / D 15, and the serial communication terminal 20 When an instruction is received from the host device 2 via the host device 2, an output monitor value or the like is output to the host device 2 in response to the command.

また、コントローラ13は、書換信号が入力された時に、その時のファームウェアによる制御に関わる出力値を保存し、そのファームウェアによる制御を停止して上記出力値を保存した値に固定する。より具体的には、ファームウェアに記述のAPC制御処理を停止させ、APC制御処理停止直前の駆動電流の制御信号をD/A14(すなわちLD駆動回路12)に継続入力し、LD11aから信号光の出射を継続させる。そして、コントローラ13は、書換信号の入力が解除されると、書き換えられたファームウェアをEEPROM17から読み出し、当該新ファームウェアに記述のAPC制御処理を開始する。当該新ファームウェアのAPC制御処理を開始するまでの間、上述の制御信号の入力及び信号光の送信は継続して行われる。   Further, when the rewrite signal is input, the controller 13 stores the output value related to the control by the firmware at that time, stops the control by the firmware, and fixes the output value to the stored value. More specifically, the APC control process described in the firmware is stopped, the drive current control signal immediately before the stop of the APC control process is continuously input to the D / A 14 (that is, the LD drive circuit 12), and the signal light is emitted from the LD 11a. To continue. When the input of the rewrite signal is canceled, the controller 13 reads the rewritten firmware from the EEPROM 17 and starts the APC control process described in the new firmware. Until the APC control process of the new firmware is started, the input of the control signal and the transmission of the signal light are continuously performed.

以上のような、スイッチ18やコントローラ13の動作により、ファームウェアの更新が行われる。
本光データリンク1では、上述のように、ホスト装置2からのファームウェアの書き換えを可能とし、また、ファームウェアの更新のためにAPC制御処理を停止している間は、停止直前の駆動電流値をLD駆動回路12に供給し続けるようにしたので、ホスト装置2から取り外すことなく、また、光通信をダウンさせることなく、ファームウェアの更新を行うことができる。
The firmware is updated by the operation of the switch 18 and the controller 13 as described above.
In the present optical data link 1, as described above, the firmware from the host device 2 can be rewritten, and while the APC control process is stopped for the firmware update, the drive current value immediately before the stop is set. Since the supply to the LD drive circuit 12 is continued, the firmware can be updated without being removed from the host device 2 and without bringing down optical communication.

次に、図1の光データリンク1のファームウェアの更新方法の一例について、図3のフローチャートを用いて説明する。
ファームウェアを更新する場合、図示するように、まず、ホスト装置2が、光データリンク1のスイッチ18とコントローラ13とに書換信号端子21を介して書換信号を入力する(ステップS1)。
Next, an example of a method for updating the firmware of the optical data link 1 of FIG. 1 will be described with reference to the flowchart of FIG.
When updating the firmware, as shown in the figure, the host device 2 first inputs a rewrite signal to the switch 18 and the controller 13 of the optical data link 1 via the rewrite signal terminal 21 (step S1).

書換信号が入力されたスイッチ18が、シリアル通信端子20の接続先をEEPROM17に切り換える(ステップS2)ので、ホスト装置2は、EEPROM17に格納されていたファームウェアを消去させ、新しいファームウェアのEEPROM17への送信を開始し、ファームウェアの書き換えを開始する(ステップS3)。
また、スイッチ18に入力された書換信号は上述のようにコントローラ13にも接続されており、当該コントローラ13は、RAM13c上に展開された更新用プログラムに従って、書換信号の入力後に、新ファームウェア展開前処理を実行する(ステップS4)。この新ファームウェア展開前処理は、新ファームウェアを読み込んで展開するときに光通信を停止させないための処理であり、旧ファームウェアに従ったAPC制御処理の停止処理、停止前の最終の制御信号(D/A値)の保存処理と、保存した制御信号を固定値とした固定値制御処理(オープンループ制御処理)を含む。言い換えると、更新用制御装置13dの出力値保存手段23や固定値制御手段24として行う処理を含む。
The switch 18 to which the rewrite signal has been input switches the connection destination of the serial communication terminal 20 to the EEPROM 17 (step S2). And firmware rewriting is started (step S3).
In addition, the rewrite signal input to the switch 18 is also connected to the controller 13 as described above. The controller 13 follows the update program developed on the RAM 13c and after the rewrite signal is input, before the new firmware is deployed. Processing is executed (step S4). This new firmware pre-deployment process is a process for not stopping optical communication when the new firmware is read and deployed. The stop process of the APC control process according to the old firmware, the final control signal (D / A value) storage processing and fixed value control processing (open loop control processing) using the stored control signal as a fixed value. In other words, it includes processing performed as the output value storage means 23 and fixed value control means 24 of the update control device 13d.

この新ファームウェア展開前処理は、例えば、書換信号の入力直後に開始され、その場合、光データリンク1における制御信号(すなわちLD11aの駆動電流)は、書換信号が入力される直前のもので固定される。LD11aは、周囲環境温度が一定の条件下では、バイアス電流、変調電流は固定されていても、光信号品質は保たれる。ファームウェアを更新する時間(高々10秒)内に周囲温度が急激に変化することは考えられず、固定値制御処理でも十分に実用に足りる光信号品質は保たれる。   This new firmware development pre-processing is started immediately after the input of the rewrite signal, for example. In this case, the control signal in the optical data link 1 (that is, the drive current of the LD 11a) is fixed at that just before the rewrite signal is input. The The LD 11a maintains the optical signal quality under the condition that the ambient temperature is constant even if the bias current and the modulation current are fixed. It is unlikely that the ambient temperature rapidly changes within the time for updating the firmware (at most 10 seconds), and the optical signal quality sufficient for practical use is maintained even with the fixed value control processing.

ホスト装置2は、新ファームウェアのEEPROM17への書き込みが終了しファームウェアの書き換えが終了した後に、書換信号の入力を解除する(ステップS5)。光データリンク1のコントローラ13は、書換信号の入力の解除を検知した後、新ファームウェアをEEPROM17から読み出し、RAM13c上に展開する(ステップS6)。展開後、コントローラ13は、保存したAPC制御処理の停止前の最終の制御信号(D/A値)をスタート値として、新ファームウェアに従ったAPC制御処理を開始する(ステップS7)。これで、ファームウェアの更新が完了する。なお、ステップS6、ステップS7の処理も更新用プログラムに記述されるものであり、これらの処理は、コントローラ13が更新用制御装置13dのファームウェア制御再開手段25として行うものである。また、更新完了時、書換信号の入力が解除されたスイッチ18により、シリアル通信端子20の接続先はコントローラ13に切り換えられている。   The host device 2 cancels the input of the rewrite signal after the writing of the new firmware to the EEPROM 17 is completed and the rewriting of the firmware is completed (step S5). After detecting the release of the rewrite signal, the controller 13 of the optical data link 1 reads the new firmware from the EEPROM 17 and develops it on the RAM 13c (step S6). After the development, the controller 13 starts the APC control process according to the new firmware using the saved final control signal (D / A value) before the stop of the APC control process as a start value (step S7). This completes the firmware update. Note that the processing in step S6 and step S7 is also described in the update program, and these processing are performed by the controller 13 as the firmware control restarting means 25 of the update control device 13d. When the update is completed, the connection destination of the serial communication terminal 20 is switched to the controller 13 by the switch 18 from which the input of the rewrite signal is released.

なお、以上では、光送信装置を送信機能のみ持つ光データリンクに適用した例で説明したが、本発明の光送信装置は、送信及び受信の両方の機能を持つ光トランシーバにも適用することができる。   In the above description, the example in which the optical transmission apparatus is applied to an optical data link having only a transmission function has been described. However, the optical transmission apparatus of the present invention can also be applied to an optical transceiver having both transmission and reception functions. it can.

本発明の光送信装置の構成例を説明するブロック図である。It is a block diagram explaining the structural example of the optical transmitter of this invention. 本発明の光送信装置の特徴的な動作を説明するためのブロック図である。It is a block diagram for demonstrating the characteristic operation | movement of the optical transmitter of this invention. 図1の光送信装置のファームウェアの更新方法の一例について説明するフローチャートである。3 is a flowchart for explaining an example of a firmware update method of the optical transmission device in FIG. 1. 従来の光送信装置の構成例を説明するブロック図である。It is a block diagram explaining the structural example of the conventional optical transmitter.

符号の説明Explanation of symbols

1…光データリンク、2…ホスト装置、10a,10b…差動入力端子、11…送信用光モジュール、11a…LD、11b…PD、12…LD駆動回路、13…コントローラ、13a…CPU、13b…フラッシュメモリ、13c…RAM、13d…更新用制御装置、14…D/A、15…A/D、16…光量検知回路、17…EEPROM、18…スイッチ、19…光コネクタ、20…シリアル通信端子、21…書換信号端子、22…信号入力/入力解除検出手段、23…出力値保存手段、24…固定値制御手段、25…ファームウェア制御再開手段。 DESCRIPTION OF SYMBOLS 1 ... Optical data link, 2 ... Host apparatus, 10a, 10b ... Differential input terminal, 11 ... Optical module for transmission, 11a ... LD, 11b ... PD, 12 ... LD drive circuit, 13 ... Controller, 13a ... CPU, 13b ... Flash memory, 13c ... RAM, 13d ... Update control device, 14 ... D / A, 15 ... A / D, 16 ... Light quantity detection circuit, 17 ... EEPROM, 18 ... Switch, 19 ... Optical connector, 20 ... Serial communication Terminals 21... Rewrite signal terminals 22... Signal input / input release detection means 23... Output value storage means 24... Fixed value control means 25.

Claims (3)

信号光を出射する半導体発光素子と、ファームウェアを有し当該ファームウェアによる制御動作を実行し、少なくとも前記半導体発光素子の発光強度を所定値に制御する制御部と、を備え、ホスト装置に装着される光送信装置であって、
前記制御部は、
前記ホスト装置からファームウェア書換信号を受信したときに、該受信時の前記ファームウェアによる制御に関わる出力値を保存する出力値保存手段と、
記録されているファームウェアの前記ホスト装置から送信される新ファームウェアへの書き換え中は、前記ファームウェアによる制御を停止して前記出力値を前記出力値保存手段が保存した出力値に制御する固定値制御手段と、
前記新ファームウェアへの書き換え終了後、該新ファームウェアによる制御を開始するファームウェア制御再開手段と、を有することを特徴とする光送信装置。
A semiconductor light emitting element that emits signal light and a control unit that has firmware and executes a control operation by the firmware and controls at least the light emission intensity of the semiconductor light emitting element to a predetermined value, and is mounted on the host device An optical transmitter,
The controller is
When receiving a firmware rewrite signal from the host device, output value storage means for storing an output value related to control by the firmware at the time of reception;
Fixed value control means for controlling the output value to the output value stored by the output value storage means by stopping the control by the firmware during rewriting of the recorded firmware to the new firmware transmitted from the host device When,
An optical transmission device comprising: firmware control restarting means for starting control by the new firmware after rewriting to the new firmware.
前記新ファームウェアへの書き換え中は、前記ホストとの通信先を前記制御部から前記ファームウェアの記憶部に切り換えるスイッチを備えることを特徴とする請求項1に記載の光送信装置。   The optical transmission device according to claim 1, further comprising a switch that switches a communication destination with the host from the control unit to the firmware storage unit during rewriting to the new firmware. 信号光を出射する半導体発光素子と、ファームウェアを有し当該ファームウェアによる制御動作を実行し、少なくとも前記半導体発光素子の発光強度を所定値に制御する制御部と、を備え、ホスト装置に装着される光送信装置のファームウェアの更新方法であって、
前記ホスト装置からファームウェア書換信号を受信し、出力値保存手段により前記ファームウェアによる制御に関わる出力値を保存し、
固定値制御手段により、前記ファームウェアによる制御を停止し当該制御部の前記出力値を前記保存した出力値に固定する制御を開始した後、
記録されているファームウェアを前記ホスト装置から送信される新ファームウェアに書き換え、
書き換え終了後に、ファームウェア制御再開手段により、前記出力値を固定する制御を停止し前記新ファームウェアによる制御を開始することを特徴とするファームウェアの更新方法。
A semiconductor light emitting element that emits signal light and a control unit that has firmware and executes a control operation by the firmware and controls at least the light emission intensity of the semiconductor light emitting element to a predetermined value, and is mounted on the host device A method for updating firmware of an optical transmission device, comprising:
Receiving a firmware rewrite signal from the host device, storing an output value related to control by the firmware by an output value storing means;
After starting the control by the fixed value control means to stop the control by the firmware and fix the output value of the control unit to the stored output value,
Rewrite the recorded firmware to the new firmware sent from the host device,
A firmware update method comprising: after completion of rewriting, firmware control restarting means stops control for fixing the output value and starts control by the new firmware.
JP2008302533A 2008-11-27 2008-11-27 Optical transmitter and update method of firmware Pending JP2010130316A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008302533A JP2010130316A (en) 2008-11-27 2008-11-27 Optical transmitter and update method of firmware

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008302533A JP2010130316A (en) 2008-11-27 2008-11-27 Optical transmitter and update method of firmware

Publications (1)

Publication Number Publication Date
JP2010130316A true JP2010130316A (en) 2010-06-10

Family

ID=42330380

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008302533A Pending JP2010130316A (en) 2008-11-27 2008-11-27 Optical transmitter and update method of firmware

Country Status (1)

Country Link
JP (1) JP2010130316A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2393313A2 (en) 2010-06-07 2011-12-07 Sony Corporation Audio Signal Processing Apparatus and Audio Signal Processing Method
JP2012118686A (en) * 2010-11-30 2012-06-21 Fujitsu Ten Ltd Monitoring device and electronic device
JP2012173963A (en) * 2011-02-21 2012-09-10 Sumitomo Electric Ind Ltd Optical transceiver
JP2013012847A (en) * 2011-06-28 2013-01-17 Fujitsu Ltd Control device, optical reception device and control method
JP5196009B2 (en) * 2009-03-30 2013-05-15 富士通オプティカルコンポーネンツ株式会社 Optical device
JP2013187714A (en) * 2012-03-07 2013-09-19 Sumitomo Electric Ind Ltd Optical transceiver
JP2013236181A (en) * 2012-05-07 2013-11-21 Sumitomo Electric Ind Ltd Optical transceiver
CN103731198A (en) * 2012-10-15 2014-04-16 住友电气工业株式会社 Optical module used in optical communication systems, method of updating firmware of optical module used in optical communication systems, and trouble tracing system
JP2014082592A (en) * 2012-10-15 2014-05-08 Sumitomo Electric Ind Ltd Optical module for optical communication system and method of updating firmware of optical module for optical communication system
JP2014165780A (en) * 2013-02-27 2014-09-08 Sumitomo Electric Ind Ltd Optical transceiver capable of updating micro program
JP2014165543A (en) * 2013-02-21 2014-09-08 Fujitsu Ltd Optical transmitter and optical transmitter control method
WO2015102278A1 (en) * 2013-12-30 2015-07-09 어보브반도체 주식회사 Firmware update method using single optical port communication and microcontroller capable of updating firmware

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8588622B2 (en) 2009-03-30 2013-11-19 Fujitsu Optical Components Limited Optical light source control with auxiliary controller
JP5196009B2 (en) * 2009-03-30 2013-05-15 富士通オプティカルコンポーネンツ株式会社 Optical device
EP2393313A2 (en) 2010-06-07 2011-12-07 Sony Corporation Audio Signal Processing Apparatus and Audio Signal Processing Method
JP2012118686A (en) * 2010-11-30 2012-06-21 Fujitsu Ten Ltd Monitoring device and electronic device
JP2012173963A (en) * 2011-02-21 2012-09-10 Sumitomo Electric Ind Ltd Optical transceiver
JP2013012847A (en) * 2011-06-28 2013-01-17 Fujitsu Ltd Control device, optical reception device and control method
JP2013187714A (en) * 2012-03-07 2013-09-19 Sumitomo Electric Ind Ltd Optical transceiver
JP2013236181A (en) * 2012-05-07 2013-11-21 Sumitomo Electric Ind Ltd Optical transceiver
CN103731198A (en) * 2012-10-15 2014-04-16 住友电气工业株式会社 Optical module used in optical communication systems, method of updating firmware of optical module used in optical communication systems, and trouble tracing system
JP2014082592A (en) * 2012-10-15 2014-05-08 Sumitomo Electric Ind Ltd Optical module for optical communication system and method of updating firmware of optical module for optical communication system
JP2014165543A (en) * 2013-02-21 2014-09-08 Fujitsu Ltd Optical transmitter and optical transmitter control method
JP2014165780A (en) * 2013-02-27 2014-09-08 Sumitomo Electric Ind Ltd Optical transceiver capable of updating micro program
WO2015102278A1 (en) * 2013-12-30 2015-07-09 어보브반도체 주식회사 Firmware update method using single optical port communication and microcontroller capable of updating firmware

Similar Documents

Publication Publication Date Title
JP2010130316A (en) Optical transmitter and update method of firmware
JP4234720B2 (en) Optical amplifier
JP2009267937A (en) Optical transmitter, and control method thereof
US9210284B2 (en) Image forming apparatus, information processing apparatus, control method for image forming apparatus, and storage medium
US9204024B2 (en) Communication device and control method thereof
US20090317086A1 (en) Optical transceiver module and method of controlling optical transceiver module
US20090135868A1 (en) Optical transmitter able to resume APC operation automatically
JP2008512904A (en) Protocol-specific transceiver firmware
US20060164712A1 (en) Optical transmitter capable of prompt shutting down and recovering optical output thereof
JP5320670B2 (en) Projection apparatus, projection control method and program, and electrical apparatus
JP2017004108A (en) Electronic apparatus standby processing control device and standby processing control method
TW201327389A (en) System with firmware updated function, electronic device, and method therefor
JPWO2019198364A1 (en) Endoscope device, control method of endoscope device and control program of endoscope device
JP2017030077A (en) Robot control system and radio access point device
US20140371533A1 (en) Endoscope device and endoscope system
CN108933893B (en) Painting and calligraphy camera and control method thereof
JP2010246009A (en) Camera capable of updating firmware
JP2008134275A (en) Projector and light source control method
US20130155267A1 (en) Communication apparatus that sends signal for instructing image pickup apparatus to execute shooting operation and communication control method therefor
US9620926B2 (en) Laser machining apparatus changing operation based on length of power-down time
JP5998627B2 (en) Semiconductor integrated circuit device
JP2013110641A (en) Optical transceiver
JP2010157662A (en) Laser diode driving circuit and laser diode driving method
CN117008704B (en) Control method and device based on EC or CPLD, storage medium and electronic equipment
JP2005173165A (en) Camera system having radiocommunication between camera and accessory