
Agent Greeting Card Test and Debug Capabilities Page 17 of 36
Agent Greeting Card Maintenance and Troubleshooting Guide
Application Loadware Upgrade
The Agent Greeting Card stores up to two versions of loadware in flash. This
mechanism ensures that if there is a power outage or other failure during
upgrade the card still has a valid load in flash. A small boot code segment is
located in the BIOS flash area, which chooses the “newest” load from one of
two flash banks to uncompress into DRAM. Once the uncompress has
completed, execution switches to the code entry point in DRAM.
During upgrade, the flashbank with the oldestload iserased andthe new load
is stored in this area. Once the upgrade has completed successfully, the new
load is marked as “newer”. If the upgrade fails for some reason (for example,
checksum corruption), the older load remains the image to boot as the failed
upgrade will not checksum correctly and will therefore not be selected by the
load picker algorithm in the boot ROM. The card must be rebooted/reset for
the new loadware to execute.
There are two options for doing an upgradeof the loadware.The firstis to use
an FTP Client to connect to the card, copy the loadware onto the PCMCIA
“/A:” disk of the card and then do the upgrade from there using the command
”upgradePCMCIA”, which will take the loadware file from the PCMCIA
disk and program it into flash. The second option is to place the loadware file
on an FTP Server and use the “upgrade” command to retrieve the file from
the FTP Server and program it into flash. Both options are described below.
Loadware up
rade from PCMCIA Flash Card
Using thismethod the loadware binary is first copied onto thePCMCIA flash
card on the Agent Greeting Card. It is then programmed into flash on the
Agent Greeting motherboard.
At this point FTP into the IP address of the Agent Greeting card. The FTP
username and password are the same as that of the shell, as descibed above.
Changedirectory to the “/A:” drive andcopy the loadware fileonto the Agent
Greeting Card in binary format. Logout of the FTP session.
From the VxWorks shellexecute thecommand “upgradePCMCIA” asshown
below, the expected successful output is also shown: