Updating Software Using TFTP

A console connection or telnet connection to the PXS is needed to update the software using TFTP.

Note: A console connection is the preferred method for updating software. The update can be done using telnet, but in that case, the update program cannot provide feedback to the user since the telnet session terminates as soon as RedBoot starts the update program.

On the host that has the software you want to download into the PXS, you will need to run a TFTP server. Tftpd32 is a freeware TFTP server for Windows available at Cnet Downloads

When you execute tftpd32, a window will be displayed that looks like this:

Tftpd32 Version 2.62
Tftpd32 Version 2.62

Make sure that the IP address the server is running on is correct. Browse to the directory that contains the software you want to download.

To load the software on to the PXS, at the RedBoot prompt, enter:

RedBoot> load -r -h pxsupdate-hdlcsrv316.bin

After a successful load, the terminal emulator screen will look similar to the following:

Raw load done: 700076 bytes read
Address range: 00000000-000aaeac, Entry point: 00000000,

The tftpd32 window will look similar to this:

Tftpd32 After Download
Tftpd32 After Download

In order to see output on the asynchronous port during the update, execute the async enable command. Then, to complete the update, run the update program by executing the go command. The terminal emulator screen will look similar to the following:

RedBoot> async enable
Async port: enabled
RedBoot> g
eCos: Starting pxsupdate version 1.01.
Starting flash update of 'hdlcsrv'...
'hdlcsrv' exists in the file system.
Deleting hdlcsrv...
'hdlcsrv' deleted.
Creating 'hdlcsrv'...
'hdlcsrv' created at 0x05030000 (438208 bytes).
Flash update of 'hdlcsrv' completed.

Advanced Relay Corporation
LayGO PXS - Protocol eXchange Server
LayGO PXS Boot Version 3.18

RedBoot(tm) Debug Environment - Built 16:19:54, Apr  1 2004
Portions Copyright (c) 2000, Red Hat, Inc.
Portions Copyright (c) 2001, Comtrol Corp.
Portions Copyright (c) 2003, Advanced Relay Corp.

RedBoot>async disable

After the update is complete, execute the async disable command.