User`s guide
436
Using USB devices to upgrade firmware
Functionality available from firmware version 4891 onwards.
The firmware of a TransPort can be upgraded using the USB storage device. To do this
procedure, using the information given above, a simple batch file called pb2.bat should
created and the relevant files placed into the root directory of the USB storage device. Then,
when the USB device is inserted into the TransPort and the reset button is pressed twice,
the upgrade is performed.
ERROR_EXIT
del *.web
copy u:sbios1 sbios1
copy u:logcodes.txt logcodes.txt
copy u:image image
copy u:image4.c3 image4.c3
copy u:Y4890wVS.web Y4890wVS.web
move sbios1 sbios
scanr
flashleds
When the LEDs on the TransPort start flashing, the upgrade is complete and the TransPort
must be rebooted for the new firmware to be activated.
Using USB devices with .all files
Functionality available from firmware version 4910 onwards.
A .all file is a special file that contains all of the firmware and configuration files in a single
file that has the file extension .all and is an exact copy of the TransPort router in its current
state. This .all file can then be applied to another TransPort router, as long as it is the same
model.
To extract a .all file use the Digi Flash Writer software.
Copy the .all file to a USB storage device and insert the device into the TransPort router.
Issue the command “dir u:” to confirm the TransPort can access the USB device. To copy
the .all file onto the TransPort router, from the command line enter “copy u:mr4110.all t.all”
(replacing mr4110.all with the correct .all file name and the t.all destination name can be
anything). Please note that the source file (mr4110.all in this example) must adhere to the
8.3 filename convention (due to limits of the FAT file system) or the process will fail.
USB Security
In order to prevent unauthorised access to a TransPort unit using a USB storage device
(e.g. inserting a USB storage device with an autoexec.bat file designed to copy usernames
and passwords, etc.) the usbcon command can be used to define an access key. If the .bat
file does not contain the matching key, it will not be allowed to execute. The put parameter
of the uflash command is used to encode the key onto the file.
Note:
When using the uflash command, the filename should not be prefixed with u:, as the uflash
command can only act on files stored on a USB storage device.