The text of a manual · part 7 of 16
CoBox-FL/CoBox-FL-IAP User Guide: Updating Protocol (Firmware)
Pages 67 to 72 of 135, from CoBox-FL/CoBox-FL-IAP User Guide
The original document is the PDF (1.7 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Lantronix CoBox-FL
Page 67
Firmware
4. Updating Protocol (Firmware) 4.1 Protocol Firmware You can update the unit's internal operational code to a newer revision, or change the code to operate with a specific vendor. The CoBox-FL-IAP was designed to allow loading of vendor specific protocol firmware. This firmware takes the place of the IAP Standard Tunnel Protocol. Vendor specific protocols and the software tools needed to load them can be found on the software CD. You can obtain the most up-to-date protocol firmware and release notes for the unit from the Lantronix Web site (www.lantronix.com) or by using anonymous FTP (ftp.lantronix.com). Once you load a vendor specific protocol, you must reference the user manual associated with that protocol, since many of the setup and configuration dialogs will be changed. Some features, such as web pages, may not be available with certain vendor protocols. Note: If you change the protocol to a vendor specific protocol, you MUST reference the associated protocol manual for setup and configuration information. The menu options shown in this manual are for Standard Tunnel Protocol.
4.2 Reloading Protocol Firmware There are several ways to update the unit's internal operational code (*.ROM): via DeviceInstaller (the preferred way), via TFTP, via another unit, or via the serial port. You can also update the unit's internal Web interface (*.COB) via TFTP or DeviceInstaller. The firmware files are located on the software CD in the firmware folder. Here is a list of typical names for those files. Check the Lantronix web site for the latest versions and release notes. Table 15 - Protocol Firmware Folder Name AD - DF1 MultiMaster AM - Modbus Bridge AQ - Standard CoBox-FL
ROM File DF1 Multi-master ad0100.rom (IAP only) AM0144.rom (IAP only) Standard Tunnel aq0100.rom (IAP only) ltx45.rom
CoBox-FL User Guide
COB NA NA (Standard Tunnel_aq0100wb6.cob) (or cbxw300.cob) cbxw300.cob
4-1
Page 68
Firmware
4.2.1 Via DeviceInstaller After downloading the firmware to your computer, or locating the file on your software CD, you can use DeviceInstaller to install it. 1. Download the updated firmware files from www.lantronix.com or ftp.lantronix.com and store them in a subfolder on your computer. 2. Click the Start button on the Task Bar and select Programs\DeviceInstaller\Device Installer. The Device Installer window displays.
Figure 14 - Device Installer
4-2
CoBox-FL User Guide
Page 69
Firmware
3. Click the Search the network for devices icon displays.
. The Search Network window
Figure 15 - Search Network Window 4. 5. 6. 7.
Click the Start Search button. A list of all active units on the local network displays. Click the Save button. A confirmation message displays. Click OK. Click the Back button to return to the Device Installer window. The Device Installer window now lists all of the devices in the group, including the unit you are updating.
Figure 16 - Devices in a Group
CoBox-FL User Guide
4-3
Page 70
Firmware
8. Select the desired unit and click the Upgrade Firmware file (.ROM) icon Upgrade Firmware window displays.
. The
Figure 17 - Upgrade Firmware 9. In the Existing Firmware list box, select the firmware type that is currently in the unit. This selection must match the Firmware file type currently installed or an error message will be displayed. 10. In the Source FW File field, locate the firmware file from the software CD or the file you downloaded from the Lantronix web site. 11. Click the Update FW File button. Upgrade status process messages display in the lower part of the window. When the process is complete, the “File upgrade successful” message displays. 12. Click OK. Note: You can update the unit’s Web pages by clicking the Upgrade Web files (.COB) icon. Though it would be rare to need to update both the firmware and Web pages at the same time, you can do so by clicking the Update the firmware files and Webpages in one step icon.
4.2.2 Via TFTP To download new firmware from a computer: 1. Use a TFTP client to send a binary file to the unit (*.ROM to upgrade the unit 's internal operational code and *.COB to upgrade its internal Web interface). Note: TFTP requires the .ROM (binary) version of the unit's internal operational code. 2. Make sure the Put and Binary options at the top of the window are selected. 3. Enter the full path of the firmware file in the Source File field.
4-4
CoBox-FL User Guide
Page 71
Firmware
4. In the Destination File field, enter the current internal operational code or WEB5 for the internal Web interface. (For CoBox-FL-IAP, AQ = Standard Tunnel, AM = Modbus, AD = DF1. For CoBox-FL, 3Q = Standard Tunnel) 5. In the Remote Host field, enter the IP address of the unit being upgraded. 6. Click the Put button to transfer the file to the unit.
Figure 18 - TFTP Dialog Box The unit performs a power reset after the firmware has been loaded and stored.
4.2.3 Via Another Unit To distribute firmware to another unit over the network: 1. Enter the host unit's Monitor Mode (see Monitor Mode on page 7-1). 2. Send the firmware to the receiving unit using the SF command, where x.x.x.x is the receiving unit's IP address. SF x.x.x.x
The receiving unit performs a power reset after the firmware has been loaded and stored. Note: You can only update your unit 's internal Web interface using TFTP or Device Installer.
CoBox-FL User Guide
4-5
Page 72
Firmware
4.2.4 Via the Serial Port The following procedure is for using the HyperTerminal software application. In some cases, the HEX format file is available on the software CD and on the Web site. Before you can load firmware through the serial port you need to convert the ROM code to HEX format. There is a DOS application, R2H.EXE that can be used to convert the ROM file to HEX format. The R2H.EXE application is available at ftp://ftp.lantronix.com/pub. Put R2H.EXE and the *.ROM file into the same directory on a PC then open a DOS Window to that directory and type: C:\ R2H filename This will create a filename.hex file that you can load via the serial port. Note: Do not switch off the power supply during the update. A loss of power while reprogramming will result in a corrupt program image and a nonfunctional unit. To download firmware from a computer via the unit’s serial port: 1. Enter Monitor Mode via the serial port. (see Monitor Mode on page 7-1). 2. Download the firmware to the unit using the DL command. 3. Select Send Text File and select the *.HEX file to be downloaded. The downloaded file must be the .HEX (ASCII) version. 4. After the final record is received, the unit checks the integrity of the firmware image before programming the new firmware in the flash ROM. The following message displays when the firmware upgrade is complete. *** NodeSet 2.0 *** 0>DL 02049 lines loaded.
Note: You can only update your unit 's internal Web interface using TFTP or Device Installer.
4-6
CoBox-FL User Guide