Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and system for downloading and debugging optical module codes

An optical module testing and optical module technology, which is applied in the field of optical communication and can solve the problems of inconvenient downloading of MCU firmware program and online debugging.

Pending Publication Date: 2020-04-21
WUHAN OPTICAL VALLEY INFORMATION OPTOELECTRONICS INNOVATION CENT CO LTD +1
View PDF7 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In view of the above defects or improvement needs of the prior art, the present invention solves the problem of inconvenient downloading and online debugging of the MCU firmware program on the packaged optical module

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and system for downloading and debugging optical module codes
  • Method and system for downloading and debugging optical module codes
  • Method and system for downloading and debugging optical module codes

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0038] In order to realize the firmware program download and online debugging of the packaged optical module, this embodiment provides a method for downloading and debugging the code of the optical module, including the following steps, as figure 1 Shown:

[0039] Step 101: Connect the optical module function control pin and the optical module status pin to the MCU download and debug pin.

[0040] After the optical module is packaged, the MCU download and debugging pin is encapsulated inside the optical module, and cannot be connected to the outside for firmware program download and debugging, but the interface of the optical module function control pin and the optical module status pin is kept outside the optical module. Communication with the outside is possible. Connect the function control pin and status pin of the optical module to the MCU download and debug pin, and connect the MCU download and debug pin to the outside through the function control pin of the optical mod...

Embodiment 2

[0053] Regarding the method for downloading and debugging the optical module code provided in Embodiment 1, the optical module can complete firmware code downloading and debugging without disassembly or other hardware changes. After downloading and debugging the firmware code of the optical module, set the working mode of the optical module to the normal working mode, set the working mode of the optical module to the normal working mode, and set the pins and levels to normal and correct input and output levels. This enables the optical module to work normally.

[0054] Such as figure 2 As shown, the steps to switch the optical module to the normal working state are as follows:

[0055] Step 201: Confirm that the working mode status value of the optical module has been set to the normal working mode.

[0056] Before downloading and debugging the code of the firmware program, it is necessary to set and confirm the working mode of the optical module. Only when the working mode...

Embodiment 3

[0093] The methods for downloading and debugging optical module codes provided in Embodiment 1 and Embodiment 2 can be realized through a corresponding optical module code downloading and debugging system.

[0094] Such as Image 6 As shown, the composition and connection relationship of each module realized by the optical module code download and debugging system are as follows.

[0095] The optical module code downloading and debugging system provided in this embodiment mainly includes: an optical module test board 100 , a PC 200 and an optical module 300 .

[0096] Such as Image 6 As shown, the optical module test board 100 is connected to the optical module 300 through an electrical interface. Specifically, such as Figure 7 As shown, the optical module test board 100 includes an optical module electrical interface socket 110 , and the optical module test board 100 and the optical module 300 are connected through the electrical interface on the optical module electrica...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to the field of optical communication, in particular to an optical module code downloading and debugging method, which mainly comprises the following steps: connecting an opticalmodule function control pin and an optical module state pin with an MCU downloading and debugging pin; confirming that the working mode state value of the optical module is set as a downloading debugging mode; configuring the optical module input pin and the optical module output pin to be in a pull-up drain mode; enabling the corresponding optical module input pin of the firmware code reading level signal needs to be fixed to be at a non-enabling level; enabling a corresponding optical module output pin needing to output a level signal in the firmware code to be fixed at a high level or to not give an output; and entering a downloading debugging mode, and downloading a code into the optical module or debugging the code in the optical module. According to the invention, after the opticalmodule is packaged, the code can be downloaded and debugged without disassembling the shell and rewiring, so that the code debugging efficiency is improved, and the code in the optical module is convenient to maintain and update.

Description

【Technical field】 [0001] The invention relates to the field of optical communication, in particular to a method and system for downloading and debugging optical module codes. 【Background technique】 [0002] With the development of optical communication technology, the optical module technology, which is a key node in the construction of optical communication network, is becoming more and more sophisticated, and the packaging form of optical modules is also developing in the direction of smaller volume and higher speed of the same volume. [0003] Due to the increase in the integration level of optical modules, more and more optical modules with digital diagnostic functions use microcontroller units (Microcontroller Unit, MCU for short). At present, there are generally two ways to download and debug the firmware program of the microcontroller unit MCU chip. The first one is that the Bootloader program is solidified inside the MCU, and the firmware of the optical module can be...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36
CPCG06F11/362
Inventor 陈建宇谢炎飞李成胡毅
Owner WUHAN OPTICAL VALLEY INFORMATION OPTOELECTRONICS INNOVATION CENT CO LTD