MAINTAINING THE SNAP PAC R-SERIES CONTROLLER
SNAP PAC R-Series Controller User’s Guide
48
Updating Firmware
The card can also be used to update firmware if the controller is not on the network, or if PAC Manager isn’t
available. The card can update both controller firmware and serial communication module firmware.
CAUTION:
Before updating firmware, make sure you know what is on the card! Any IP address, configuration data,
and strategy on the card will be saved to flash memory along with the firmware. If you want only the firmware saved,
delete configuration and strategy files from the card.
CAUTION:
Updating firmware deletes your PAC Control strategy (even if stored to flash memory) and your
persistent variables. Make sure you have
archived
your strategy before loading new firmware.
1.
Obtain the correct firmware file from our website, www.opto22.com. If you are using Secure Strategy
Distribution (SSD), the firmware must have the correct signature.
2.
(Firmware below R9.4a only): Rename the firmware file to fit the 8 dot 3 filename format (see
The original file extension does not have to be retained. To make sure the file is clearly identified, we
recommend a name such as the following:
PPP-TMM.mmb
where:
Example of an original firmware filename:
snap-pac-r2-R9.0a.bin
Example of the same firmware file, renamed:
R2-R9.0a
3.
Copy the firmware file to a blank card. If you don’t have a blank card, delete the following directories and
their contents if they appear on the card:
You can write to the card in one of two ways: either use your PC to FTP files to the card in the controller, or
use a card reader with your PC and simply copy files with Windows Explorer.
4.
Using Notepad or a similar text editor, create a command file named
command.txt
and save it in the
root directory of the card. (If you are looking at the card in a card reader, save it in the root directory. If you
are looking at the card in the controller, save it in the directory named
sdcard0
).
5.
In the
command
file, include the following commands as needed, all in the same file. All commands are
CASE SENSITIVE.
PPP
T
MM
mm
b
= controller type (R1, R2)
= R for release (or B for beta)
= major revision number
= minor revision number
= build letter
/sdcard0/strategy
/sdcard0/boot
/sdcard0/opto22/config
To do this
Use command
Details
Install serial com-
munication module
firmware
ModKrn <file>,
<modpos>
<file> is the firmware path and file as the card sees it, so do
not include
sdcard0
directory in the path. The firmware file
can be compressed in gzip format or uncompressed. *
<modpos> is the position of the module on the rack.
NOTE: If this file exists, it will be installed. Firmware check-
ing is impossible on serial modules.
CAUTION:
Installing the wrong firmware on a serial mod-
ule will make the module unusable. Make sure you have
the correct firmware!