Control Flash PDF
Control Flash PDF
Upgrade Kit
Quick Start
(Catalog Numbers ControlFLASH 7.0)
Important User Information
Solid state equipment has operational characteristics differing from those of electromechanical equipment. Safety Guidelines for the Appli-
cation, Installation and Maintenance of Solid State Controls (publication SGI-1.1 available from your local Rockwell Automation sales office
or online at http://literature.rockwellautomation.com) describes some important differences between solid state equipment and hard-wired
electromechanical devices. Because of this difference, and also because of the wide variety of uses for solid state equipment, all persons re-
sponsible for applying this equipment must satisfy themselves that each intended application of this equipment is acceptable.
In no event will Rockwell Automation, Inc. be responsible or liable for indirect or consequential damages resulting from the use or application
of this equipment.
The examples and diagrams in this manual are included solely for illustrative purposes. Because of the many variables and requirements as-
sociated with any particular installation, Rockwell Automation, Inc. cannot assume responsibility or liability for actual use based on the ex-
amples and diagrams.
No patent liability is assumed by Rockwell Automation, Inc. with respect to use of information, circuits, equipment, or software described in
this manual.
Reproduction of the contents of this manual, in whole or in part, without written permission of Rockwell Automation, Inc., is prohibited.
Throughout this manual, when necessary, we use notes to make you aware of safety considerations.
IMPORTANT Identifies information that is critical for successful application and understanding of the product.
Identifies information about practices or circumstances that can lead to personal injury or death,
ATTENTION
property damage, or economic loss. Attentions help you identify a hazard, avoid a hazard, and
recognize the consequence
SHOCK HAZARD Labels may be on or inside the equipment, for example, a drive or motor, to alert people that
dangerous voltage may be present.
BURN HAZARD Labels may be on or inside the equipment, for example, a drive or motor, to alert people that
surfaces may reach dangerous temperatures.
Allen-Bradley, Rockwell Automation, ControlFLASH, and TechConnect are trademarks of Rockwell Automation, Inc.
Trademarks not belonging to Rockwell Automation are property of their respective companies.
Table of Contents
Preface
Purpose of This Manual. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
What’s New in ControlFLASH Software, Version 7.0 . . . . . . . . . . . . . 5
Who Should Use This Manual. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Chapter 1
Upgrading Your Firmware with Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
ControlFLASH Software What is ControlFLASH Software? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
What is the ControlFLASH Firmware Upgrade Kit?. . . . . . . . . . . . . . . 7
What are the System Requirements? . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
RSLinx Software. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Before You Begin to Use the ControlFLASH Firmware Upgrade Kit . 8
Chapter 2
Installing the ControlFLASH Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Firmware Upgrade Kit Navigate to Download Firmware Bundles . . . . . . . . . . . . . . . . . . . . . . . 9
Install the ControlFLASH Firmware Upgrade Kit. . . . . . . . . . . . . . . . 10
Chapter 3
Using the ControlFLASH Software Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
to Upgrade Firmware Prepare the Networks for Upgrades . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Prepare the Device for Upgrades . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Use the ControlFLASH Software to Upgrade Firmware. . . . . . . . . . . 16
Accessing the ControlFLASH Software Online Help . . . . . . . . . . . . . 23
Chapter 4
Using the Command Line to Update Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Firmware Command Line Mode for ControlFLASH Software, Version 7.0 . . . 26
Compatible Devices. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Device Catalog Numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Finding Required Firmware Kits. . . . . . . . . . . . . . . . . . . . . . . . . . . 26
ControlFLASH Software Install Location . . . . . . . . . . . . . . . . . . . 26
Command Line Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Script Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Flashing Multiple Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Example Script File Text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Error Log Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Aborted Script File. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Stopping a Command Line or Script Application . . . . . . . . . . . . . 33
Appendix A
ControlFLASH Software Error Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Messages
Appendix B
Creating a Custom Interface to Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Process Firmware Downloads Example Automated Flash Tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
How a Custom Upgrade Tool Works. . . . . . . . . . . . . . . . . . . . . . . 40
Example Visual Basic .NET Code . . . . . . . . . . . . . . . . . . . . . . . . . 40
Rockwell Automation Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Installation Assistance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
New Product Satisfaction Return . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Purpose of This Manual This manual describes how you can use the ControlFLASH software to
upgrade device firmware.
What’s New in There are two new features to ControlFLASH software, version 7.0.
ControlFLASH Software, • Use the command line to flash a single module.
Version 7.0 • Use a script file to flash multiple modules. The ability to flash multiple
modules automatically is a significant time saver because you no longer
need to navigate through the software and select each module to flash.
Who Should Use You should use this manual if you need to maintain firmware revisions. The
following is a list of hardware that the ControlFLASH software supports:
This Manual
• ControlLogix controllers, communication, digital, analog, and motion
modules
• CompactLogix controller, communication, digital, analog, and motion
modules
• FlexLogix controllers and communication modules
• PowerFlex 700S drives with DriveLogix controllers and communication
modules
• SoftLogix5800 controllers - Kinetix 6000, Kinetix 2000, Kinetix 7000,
and 8720MC servo drives, communication, and motion modules
Introduction This chapter helps you to get started with using the ControlFLASH Firmware
Upgrade Kit with your application.
This chapter:
What is ControlFLASH The ControlFLASH software is an application that lets you quickly upgrade
hardware firmware.
Software?
What is the ControlFLASH The ControlFLASH Firmware Upgrade Kit includes the:
Firmware Upgrade Kit? • firmware of device (s) to be upgraded.
• ControlFLASH programming tool, along with its support drivers and
online help.
• Quick Start.
What are the System To use the ControlFLASH Firmware Upgrade Kit, your system must be at this
minimum configuration:
Requirements?
• Personal computer with at least a 486 processor
• Windows 2000, NT, VISTA, or XP operating systems
• RSLinx Classic Lite software, or better
RSLinx Software You need to have at least RSLinx Classic Lite software installed before you
install the ControlFLASH software. RSLinx software, is a communication
package that you can use with a wide variety of Rockwell Automation software,
applications, and hardware.
Before You Begin to Use the Before you start using the ControlFLASH Firmware Upgrade Kit, you need
to:
ControlFLASH Firmware
Upgrade Kit • verify that you have a version of RSLinx software installed.
• configure RSLinx software.
• install and configure your communication interface card.
• verify your communication interface card operates correctly.
Introduction This chapter explains how to install the ControlFLASH software and
download firmware bundles. A version of ControlFLASH software is installed
when you install RSLogix5000. A version is also included when you download
firmware bundles from the My Support site at:
http://support.rockwellautomation.com/firmware.asp. To use this site you
will be required to register a username and password as well as provide a serial
number of a Logix5000 product.
A downloaded bundle contains these files:
• Firmware to upgrade your devices
• ControlFLASH executable file
• ControlFLASH drivers
• ControlFLASH online help
3. Enter your username and password. If you have not registered, do so.
You will need to have a serial number for a Logix5000 product.
4. Scroll down to find the firmware bundle you need, for example, the
1756-L64, series B controller.
Install the ControlFLASH Follow these steps to install a ControlFLASH Firmware Upgrade Kit.
Firmware Upgrade Kit
IMPORTANT The illustrations of the ControlFLASH software dialog boxes
shown in this manual are samples. Because your system
configuration is unique or the firmware kits are different, the
dialog boxes you see when running the tool may be different
from the ones you see here.
You will have the software on a release CD or you have downloaded the
software as part of the firmware bundle. If you have already downloaded and
installed a firmware bundle, a version of ControlFLASH may already be on
your machine. If the next firmware bundle you download has a newer version
The location and name of the file depends on where you saved the file
and what you named it when you saved it.
2. Double-click the icon or select Start -> Run -> Browse -> location of
the firmware .msi file.
3. Click Next.
4. Read and agree to the license and click Next.
6. If needed, click Disk Cost to view your drives available and the required
disk space, review and click OK.
Installation completes.
Notes:
Introduction This chapter tells you how to upgrade firmware by using the ControlFLASH
software.
This chapter:
Before you begin, make sure that you have prepared your network and device
for updating. If you need help, refer to the back cover of this publication for
support information.
Prepare the Networks for Follow this procedure to prepare the network for updating.
Upgrades
ATTENTION You cannot perform this upgrade while running a process.
Before performing the upgrade, choose an appropriate time to
remove your device from service.
2. Shut down the production line only if the device does not support
removal/insertion under power (RIUP).
To find out if your device supports RIUP, check with the documentation
that comes with your hardware. For Rockwell Automation products you
can visit http://literature.rockwellautomation.com to obtain the latest
documentation or contact your local distributor or Rockwell
Automation representative.
Prepare the Device for Follow this procedure to prepare the device for updating.
Upgrades
ATTENTION Be sure to back up any data or programs that you have
downloaded to a device. When you upgrade the firmware, all
data and programs are erased.
1. Back up any current programs or data on the devices that you are
updating.
2. Turn the key switch on your processor (if used) to Program mode.
Use the ControlFLASH Follow these steps to use the ControlFLASH software to upgrade the
firmware on your devices.
Software to Upgrade
Firmware 1. Run the ControlFLASH software by using one of the following
methods:
This dialog box tells you to be prepared with the following information:
Right-click on the
ControlFLASH Icon.
3. Select the catalog number of the device and current firmware revision
you are updating and click Next.
6. Click Next.
7. Select the correct revision for this upgrade and click Next.
ATTENTION Be sure that this upgrade is the correct one to make for your
device. If it is not, unpredictable system operation could result.
Contact your technical support specialist for more information.
9. Click More Info to review more about the revision you selected.
10. Click Finish when you are ready to upgrade the device.
12. Click Yes if you are sure you want to upgrade the target device.
IMPORTANT Test the operation of the device you upgraded before using it in
its intended application.
Accessing the There is additional information in the online help for this application. Access
help from the button that appears on each ControlFLASH software dialog
ControlFLASH Software box.
Online Help
Notes:
Introduction This chapter explains how to use the command line to update module
firmware and simplify firmware management. You can flash a single module or
multiple modules from a script file. The ability to flash multiple modules
automatically is a significant time saver because you no longer need to navigate
through the software and select each module to flash.
Using the command line to flash modules provides the following benefits:
Command Line Mode for ControlFLASH software, version 7.0 lets you use the command line interface
for flashing devices without user intervention. You can write a script file or
ControlFLASH Software, some other Windows application that passes the required parameters to
Version 7.0 ControlFLASH software. This can significantly improve the time required to
flash large systems because each individual flash action does not have to be
driven through the ControlFLASH GUI interface.
Compatible Devices
Any device that you can flash with ControlFLASH software, version 7.0 can
be flashed by using the command line or scripting. You must have the proper
firmware kit installed in ControlFLASH software before you use the
command line or scripting.
You must use valid catalog numbers when developing your script files. If you
don’t ControlFLASH will not recognize your modules. The only way to be
sure you have the correct catalog number to include in a script is to run the
GUI version of the ControlFLASH software and write down the catalog
number as it is shown.
For both the command line and script methods of flashing devices, it is
required that a firmware kit containing the requested firmware revision is
installed on the computer making the call to the ControlFLASH software. The
firmware kits must be installed in the default installation folder for
ControlFLASH: C:\Program Files\ControlFLASH.
Usage 1
Usage 2
ControlFlash.exe -F <Filename>
Usage 3
ControlFlash.exe -?
Parameter Options
Parameter Description
-C Catalog number of device as registered with the current installed
ControlFLASH software. To identify installed kits refer to the GUI
version of ControlFLASH software. Example: -C 1756-L63/A
-R Firmware revision you need to flash the device to. This revision
must be registered for this device with the current install of the
ControlFLASH software. To identify installed kits refer to the GUI
revision of ControlFLASH software. Example: -R 16.23
-P FactoryTalk RSLinx path to the target device.
-P AB_PCIC-1, 2 2 1 7
|_______| | | | |___Node address
| | | |____ Backplane
| | |______PCICS Communication card address
| |________ControlNet cable address
|____________PCICS driver name
-P AB_ETH-2,192.168.1.4,1,7
Parameter Options
Parameter Description
[-K] Not including the -K parameter causes the device requested to
flash even if it is already at the same revision your moving the
device to.
You can use the ControlFLASH.exe with the required and optional
parameters at the command line:
C:\Program Files\ControlFLASH\Controlflash
followed by the appropriate parameters.
Script Files
With ControlFLASH software, you can create script files or execute your own
C#, Java, or other language to have the ControlFLASH software push
firmware to your devices. Your application can interact directly with
ControlFLASH software through a command line with status and diagnostics
available in the ControlFLASH log or echoed back to your application directly.
Each device that you need to flash must have a unique Device#.
ControlFLASH software begins flashing devices with [Device1], [Device2],
and so forth. The software will flash the number of devices as indicated by the
NumberDevices field. When you number your devices, do not skip a number
and do not use [Device0]. The order of the file doesn't matter, as long as each
number exists once in the file. In this example, NumberDevices = 4 so
[Device5] will not be flashed.
When creating a script file there is a switch in the header that lets you flash up
to five devices simultaneously.
ATTENTION
You should not use this option if flashing network or
bridging type devices. ControlFLASH software may start
flashing a network card that is currently being used as
part of the path to flash other devices under that
communication card. This could render the child device
unusable and require a return to the factory.
Use the Multi-flash mode only for devices that are not
required to gain access to other parts of the
architecture.
Entry Description
Version Version of the script file.
AbortOnFail When flashing a device failed:
0 = continue flashing the remaining devices.
1 = stop flashing the remaining devices.
SkipOnFirmwareMatch If a device to flash already has the matching firmware as
stated in the script:
0 = do not skip flashing the device.
1 = skip flashing the device.
NumberDevices Flash the first # of devices in this script file, begin with
[Device1].
SilentMode 0 = ControlFLASH console window appears on screen and
shows the flash progress.
1 = ControlFLASH console window does not appear on screen.
You will not receive any flash status feedback.
MultiFlash 0 = flash only one device at a time.
1 = flash up to five devices concurrently.
Entry Description
Catalog Catalog number of device as registered with the current
installed ControlFLASH software. To identify installed kits refer
to the GUI version of ControlFLASH software. Example:
1756-L63/A
Revision Firmware revision you need to flash the device to. This revision
must be registered for this device with the current install of
the ControlFLASH software. To identify installed kits refer to
the GUI revision of ControlFLASH software. Example: 16.23
Path FactoryTalk RSLinx path to the target device.
AB_PCIC-1 2 2 1 7
|_______| | | | |___Node address
| | | |_____Backplane
| | |__ ____PCICS Communication card address
| |________ControlNet cable address
|____________PCICS driver name
AB_ETH-2,192.168.1.4,1,7
|______| |_______| | |__Node Address
| | |___ Backplane
| |_________IP address
|________________ Ethernet driver name
[FlashScript]
Version = 0.1
AbortOnFail = 1
SkipOnFirmwareMatch = 0
NumberDevices = 4
SilentMode = 0
MultiFlash = 0
[Device1]
Catalog = 1756-ENBT
Revision = 3.3.7
Path = AB_ETH-1,192.168.166.7,0 1,1
[Device2]
Catalog = 1756-CNBR/D
Revision = 5.45.10
Path = AB_ETH-1,192.168.166.7,0 1,2
[Device3]
Catalog = 1756-ENBT
Revision = 3.3.7
Path = AB_ETH-1,192.168.166.7,0 1,3
[Device4]
Catalog = 1756-DNB
Revision = 6.2.1
Path = AB_ETH-1,192.168.166.7,0 1,4
[Device5]
Catalog = 1756-CNBR/D
Revision = 5.45.10
Path = AB_ETH-1,192.168.166.7,0 1,5
Troubleshooting The first step to finding errors in your application is to use the ControlFLASH
software log file. This file provides details as to the why your flashing script or
command line request did not complete. This log file resides in the
ControlFLASH directory. Before you spend a lot of time analyzing the log file
however, make sure that you check the following:
• Target devices you are flashing have the correct firmware kit installed.
• ControlFLASH software has the proper RSLinx communication paths
set up.
• The catalog number in your application matches in the ControlFLASH
GUI.
If you need to stop a flash operation that has already started: press <Ctrl C>.
This tells the ControlFLASH software to stop executing the current script.
Notes:
Introduction This appendix describes common error messages you may see when running
the ControlFLASH software.
Verify that:
• all cable connections are secure.
• the target device has power.
• RSLinx Classic software is properly configured.
Mode Error The target device is in a mode in which it cannot be
programmed. Place the device into the appropriate mode.
Introduction This chapter gives you an overview on how you can create a custom interface
to batch process firmware downloads.
Example Automated Flash The following example application represents a tool that you might want to
create to configure ControlFLASH to read the text file at a command line that
Tool automates your system upgrades. This tool was created with Visual Basic.NET.
In this type of custom tool, you would select the ControlFLASH Setup tab.
Using the fields created, you would specify the path to the ControlFLASH
executable, as well as the text script files you wish to use.
This example uses separate script files to flash controllers, I/O modules,
communication modules, and drives, but it is not required that they be
separated.
Assuming that the location of the executable and the script files do not change,
these configurations need to be set only once. After being configured, you go
to the Run Updates tab and select which actions you want to perform, which
include four boxes for the four different script files. You would click Execute
to run the selected actions.
While modules are flashing, the tool displays the progress on the right hand
side of the window, and success or failure messages in the status box at the
bottom.
Once all selected upgrades are run, the status box shows the overall
completion status.
This tool in this example was created by using Visual Basic .net, but any major
programming language could be used. The script files are created manually in a
text editor. The tool itself first reads the script file to get the number of devices
being flashed including the names and revision numbers. The tool uses this
information to form the display.
The tool then monitors the ControlFLASH process to detect when it has
finished running, so the tool can move on to the next step.
The easiest way to view the status of the flash upgrade by using this method is
to edit the ControlFLASH script file and set "SilentMode = 0" to use
ControlFLASH software’s built in status display.
If a developer wants to show the progress themselves, like this example tool
does, there is a way for external applications to show progress, by using
registered window messages, some knowledge of Microsoft Windows
messages would be needed.
Refer to MSDN:
http://msdn.microsoft.com/en-us/library/ms644947(VS.85).aspx where
lpString is "WM_CFPROGRESS" or "WM_CFCOMPLETE"
After registering those two messages, an application must override the form's
WndProc method to actually listen for these messages
Refer to MSDN:
http://msdn.microsoft.com/en-us/library/system.windows.forms.form.wndp
roc(VS.71).aspx)
Example:
In WndProc, you first need to determine if the message received is one of the
two registered ones. This is done by checking (in this example)
Assuming the message is one of those two, then the details of what the
message means are as follows:
MSDN:
http://msdn.microsoft.com/en-us/library/system.windows.forms.message_
members(VS.71).aspx
In this tool, the progress messages are used to set the values of the progress
bars, and the complete messages are used to trigger the success/failure status
messages in the lower status box.
IMPORTANT At the end of your override of the WndProc method, you must
call the base class' WndProc method to handle any other
messages sent, or your application will not work.
Example:
MyBase.WndProc(recWinMessage)
End Sub
You can complete this form and mail (or fax) it back to us or email us at
[email protected].
Cat. No. ControlFLASH 7.0 Pub. No. 1756-QS105C-EN-E Pub. Date August 2008 Part No.
Please complete the sections below. Where applicable, rank the feature (1=needs improvement, 2=satisfactory, and 3=outstanding).
Overall Usefulness 1 2 3 How can we make this publication more useful for you?
Other Comments You can add additional comments on the back of this form.
Your Name
Your Title/Function Would you like us to contact you regarding your comments?
Location/Phone ___No, there is no need to contact me
___Yes, please call me
___Yes, please email me at _______________________
___Yes, please contact me via _____________________
Return this form to: Rockwell Automation Technical Communications, 1 Allen-Bradley Dr., Mayfield Hts., OH 44124-9705
Fax: 440-646-3525 Email: [email protected]
Other Comments
PLEASE REMOVE
PLEASE FOLD HERE
NO POSTAGE
NECESSARY
IF MAILED
IN THE
UNITED STATES
1 ALLEN-BRADLEY DR
MAYFIELD HEIGHTS OH 44124-9705
Rockwell Automation Rockwell Automation provides technical information on the Web to assist you
in using its products. At http://support.rockwellautomation.com, you can find
Support technical manuals, a knowledge base of FAQs, technical and application notes,
sample code and links to software service packs, and a MySupport feature that
you can customize to make the best use of these tools.
Installation Assistance
Rockwell Automation tests all of its products to ensure that they are fully
operational when shipped from the manufacturing facility. However, if your
product is not functioning and needs to be returned, follow these procedures.
United States Contact your distributor. You must provide a Customer Support case
number (call the phone number above to obtain one) to your distributor
in order to complete the return process.
Outside United Please contact your local Rockwell Automation representative for the
States return procedure.