Spectronix Eye-BERT Gen 2 Programming Software User Guide

June 1, 2024
Spectronix

Eye-BERT Gen2
Software Programming Guide

Overview:

The Eye-BERT Gen2 allows remote control and monitoring via USB or optional Ethernet connection.
Once a connection is made to the Eye-BERT using one of these interfaces, all command and control is the same regardless of which interface is used.

USB Interface:

In order for Windows to recognize the Eye-BERT Gen2 USB port the USB driver must first be installed, after which the Eye-BERT Gen2 appears as an additional COM port on the computer.
Currently Windows XP, Vista, 7, and 8 are supported. Windows 7 requires the extra step listed below; Windows 8 requires additional steps which can be found in the following application note:
http://www.spectronixinc.com/Downloads/Installing%20Under%20Windows%208.pdf

  1. Copy the file “cdc_NTXPV764.inf” from the supplied CD to the hard drive.
  2. Plug the Eye-BERT Gen2 into a free USB port. When the hardware installation wizard asks for the driver location, browse to the “cdc_NTXPVista.inf” file on the hard drive.
  3. After the driver has been installed right click “my computer” and select “properties”. In the properties window select the “hardware” tab. Click on “device manager” and expand the “Ports (COM & LPT)” item. Locate the “Spectronix, Inc.” entry and note the assigned COM number, (ie “COM4”). This is the COM port that the software will use to communicate with the Eye-BERT Gen2.

Note, on some operating systems such as Window 7, manual USB driver installation may be necessary. If the hardware installation wizard fails, go to “My Computer” > “Properties” > “Hardware” > “Device Manager”, and find the “Spectronix” or “SERIAL DEMO” entry under “Other Devices” and select “Update Driver”. At this point you will be able to browse to the location of the driver.

Optional Ethernet Interface:

The Eye-BERT Gen2 communicates using TCP/IP on port number 2101 and is shipped with a default IP address of 192.168.1.160. Connection to this port is illustrated below using HyperTerminal, TeraTerm, and RealTerm.

Spectronix Eye BERT Gen 2 Programming Software -

Changing the IP Address
The Digi Device Discovery utility allows the user to retrieve and change the Eye-BERT IP address. The installation program “40002265_G.exe” can be found on the Spectronix or Digi web sites. After installing the utility, disable Windows Firewall and any other virus or firewall programs and start the program. The program will report the IP and MAC addresses of all compatible devices on the network. Right click on the device and select “Configure Network Settings” to change the network settings.

Spectronix Eye BERT Gen 2 Programming Software - Changing the IP
Address

Updating the Firmware:

It is possible for the user to update the Eye-BERT Gen2 firmware over the USB (V 1.10 and above) or Ethernet port (if supplied) using the Spectronix Bootloader application which can be found on the included CD or downloaded from the Spectronix web site. With the unit powered off press and hold the power button, the LED will blink rapidly and after several seconds it will turn solid. With the OEM version (no LCD) press and hold the power button while connecting the power source. Release the button and follow the bootloader user’s manual for instructions on loading the firmware.

Commands:

The Eye-BERT Gen2 uses ASCII data to communicate with a host computer; the tables below list the individual commands, parameters, and responses from the Eye-BERT Gen2.
Notes:

  1. All communication is initiated by the host.
  2. Commands are not case sensitive.
  3. A space or equal sign should be inserted between the command and any parameters.
  4.  All commands should be terminated with a .
  5.  Responses from the Eye-BERT Gen2 are terminated with <0x00>.

Get Unit Information

Command:| Parameters:
“?”| (none)
Response:| Parameters:
Unit name| Eye-BERT Gen2 100376A
Firmware Rev| V0.6
Termination| CR / LF < 0x00>
Notes:|
Set the data rate

Command:| Parameters:
“SetRate”| “########” (Bit Rate in Kbps)
Response:| Parameters:
(none)|
Notes:| Sets to the closest standard bit rate
Example: “setrate=150000000” for 155.52Mbps.
Set the pattern (generator and detector)

Command:| Parameters:
“SetPat”| “7” (PRBS 2 7-1)
“3” (PRBS 2 31-1)
“x” (K28.5 pattern)
“y” (K28.7 pattern)
“m” (mixed frequency pattern)
“l” (loopback, repeater mode) New in Version 1.7
Response:| Parameters:
(none)|
Notes:| Example: “setpat=7”
Selects the input source

Command:| Parameters:
“SetInput”| “O” (optical SFP)

“E” (electrical SMA)

Response:| Parameters:
(none)|
---|---
Notes:| Example: “setinput=E”
Selects the input poliarity

Command:| Parameters:
“SetInPol”| “+” (noninverted)
“-” (inverted)
Response:| Parameters:
(none)|
Notes:| Example: “SetInPol +”. The input polarity applies to both the SFP and SMA inputs.
Controls the SFP Output

Command:| Parameters:
“SetSFP”| “0” (output off)
“1” (output on)
“+” (output not inverted)
“-” (output inverted)
Response:| Parameters:
(none)|
Notes:| Example: “SFP=1” turns on the SFP output
Controls the SMA Output

Command:| Parameters:
“SetSMA”| “0” (output off)
“1” (output on)
“+” (output not inverted)
“-” (output inverted)
Response:| Parameters:
(none)|
Notes:| Example: “SMA=0” turns off the electrical output
Set the wavelength (V 1.7 and above)

Command:| Parameters:
“SetWL”| “####.##” (Wavelength in nm)
Response:| Parameters:
---|---
(none)|
Notes:| Example: “setwl=1550.12”
Reset error counters, BER, and test timers

Command:| Parameters:
“Reset”| (none)
Response:| Parameters:
(none)|
Notes:|
Read the status and settings

Command:| Parameters:
“Stat”| (none)
Response:| Parameters:
Command Echo| STAT:
SFP Tx power (dBm) and polarity| -2.3+

Power (dBm) followed by polarity

SFP Tx wavelength (nm)| 1310.00
SFP temperature (°C)| 42
SMA output and polarity| +” = not inverted, “-“ = inverted, “x”= disabled
Bit rate (bps)| 2500000000
Pattern| 3 (per “setpat” command)
Termination| CR / LF < 0x00>
Notes:| All parameters are separated by “,” and the message is terminated with CR/LF
Example:
STAT: -2.3+, 1310.00, 42, -, 2500000000, 3
Read the measurements

Command:| Parameters:
“meas”| (none)
Response:| Parameters:
---|---
Command Echo| MEAS:
BERT Input| E

“O”= optical SFP, “E”= electrical SMA

SFP Rx power (dBm)| -21.2
SMA Rx amplitude (%)| 64
Lock Status| Lock

“Lock” or “LOL”

Error count| 2.354e04
Bit count| 1.522e10
BER| 1.547e-06
Test Time (seconds)| 864
Termination| CR / LF < 0x00>
Notes:| All parameters are separated by “,” and the message is terminated with CR/LF
Example:
MEAS: E, -21.2, 64, Lock, 2.354e04, 1.522e10, 1.547e-06, 864

Spectronix Eye BERT Gen 2 Programming Software - table

Spectronix Eye BERT Gen 2 Programming Software -
table1

Read SFP Register

Command:| Parameters:
“RdSFP”| “t” “#” “t” : register type – either “I” for information or “D” for diagnostic, “#”: register number in hex
Example: ”RdSFP I 0x44”
Reads the first byte of the serial number from the information register at address 0x44
Response:| Parameters:
Register type, register number, value| Example: ”a0:44 = 35” (information register (0xA0), register number (0x44), value (5 ASCII)
Termination| CR / LF < 0x00>
Notes:| The physical address of the information register is 0xA0 and the physical address of the diagnostic register is 0xA2. All values passed in and returned are in hex, preceding “0x” is optional. Input parameters should be separated by a space. Note, not all SFP vendors support reading and writing all locations. See SFF-8472 for more information.
Write SFP Register, then respond with read back value

Command:| Parameters:
“WrSFP”| “t” “#” “v” “t” : register type – either “I” for information or “D” for diagnostic, “#”: register number in hex, “v”: value to be written in
| hex. Example: ”WrSFP D 0x80 0x55” Writes 0x55 to the first byte of the user writable EEPROM area at register at address 0x80.
---|---
Response:| Parameters:
Register type, register number, value| Example: ”a2:80 = 55” (diagnostic register (0xA2), register number (0x80), value read back (0x55)
Termination| CR / LF < 0x00>
Notes:| The physical address of the information register is 0xA0 and the physical address of the diagnostic register is 0xA2. All values passed in and returned are in hex, preceding “0x” is optional. Input parameters should be separated by a space. Note, not all SFP vendors support reading and writing all locations. See SFF-8472 for more information.
Pulse SFP Optical Output (V 0.6 and above)

Command:| Parameters:
“Pulse”| “PW” “Per” “PW”: is the pulse width in uS and “Per” is the period in uS. The valid range for PW is 1 to 65000uS (6.5mS) and the valid range for Per is 1 to 1,000,000 (1 second).
Example: ”Pulse 10 1000”
Produces a 10uS pulse with a 1mS period.
Response:| Parameters:
none|
Notes:| The pulse command modulates the optical output signal by controlling the transmit enable pin on the SFP, therefore the optical output signal will be switched between the current rate/pattern and no light. To approximate a CW signal it is recommended to set the BERT to 11.3Gb, PRBS31. The modulation will continue until any input is received on either the Ethernet or USB ports. The turn on / off time of the laser in the SFP will affect the minimum pulse width of the actual optical output; this will vary with SFP model and manufacturer.

www.spectronixinc.com
Eye-BERT Gen2 Software Programming Guide V 1.12

References

Read User Manual Online (PDF format)

Loading......

Download This Manual (PDF format)

Download this manual  >>

Related Manuals