P&E Microcomputer Systems CYCLONE MAX User guide

Purchase Agreement
The included software and accompanying documentation are protected by United States Copyright law and also by International Treaty provisions. Any use of this software in violation of copyright law or the terms of this agreement will be prosecuted.
All the software in this envelope is copyrighted by P&E Microcomputer Systems, Inc. Copyright notices have been included in the software.
P&E Microcomputer Systems authorizes you to make archival copies of this software for the sole purpose of back-up and protecting your investment from loss. Under no circumstances may you copy this software or documentation for the purpose of distribution to others. Under no conditions may you remove the copyright notices from this software or documentation.
This software may be used by one person on up to two different computers, provided that the software is never used on the two computers at the same time. P&E expects that group programming projects making use of this software will purchase a copy of the software and documentation for each user in the group. Contact P&E for volume discounts and site licensing agreements.
With respect to the physical media provided within, P&E Microcomputer Systems warrants the same to be free of defects in materials and workmanship for a period of 30 days from the date of receipt. If you notify us within the warranty period, P&E Microcomputer Systems will update the defective media at no cost.
P&E Microcomputer Systems does not assume any liability for the use of this software beyond the original purchase price of the software. In no event will P&E Microcomputer Systems be liable for additional damages, including any lost profits, lost savings or other incidental or consequential damages arising out of the use or inability to use these programs, even if P&E Microcomputer Systems has been advised of the possibility of such damage.
By installing or using this software, you agree to the terms of this agreement. If you do not agree, you should cancel the software installation now.
-----------------------------------------------------------------------------------------------------------------------­© 2011 P&E Microcomputer Systems, Inc. “Windows” is a registered trademark of Microsoft
Corporation. “Freescale,” “ColdFire,” and “Kinetis” are registered trademarks of Freescale Semiconductor, Inc. “IBM” and “Power Architecture” are registered trademarks of IBM corporation. “ARM” is the registered trademark of ARM Limited.
P&E Microcomputer Systems, Inc. 98 Galen St. Watertown, MA 02472
617-923-0053 http://www.pemicro.com Manual version 1.09
CYCLONE MAX
1 INTRODUCTION ............................................................................................ 1
2 GETTING STARTED ...................................................................................... 3
2.1 Software Installation ....................................................................................... 3
2.2 Image Creation Utility ..................................................................................... 3
2.3 Manage Images Utility.................................................................................... 5
3 CYCLONE MAX HARDWARE........................................................................ 8
3.1 Power Source................................................................................................. 8
3.2 Serial (RS232) Communications Port ............................................................ 8
3.3 USB 1.1 Communications Port....................................................................... 9
3.4 Ethernet Communications Port ...................................................................... 9
3.5 PORT A – Reserved..................................................................................... 10
3.6 PORT B – Qorivva (MPC55xx/56xx) Interface ............................................. 10
3.7 PORT C – ColdFire Interface & ColdFire Extension Cable .......................... 11
3.8 PORT D – Power Architecture BDM Interface ............................................. 13
3.9 PORT E – Kinetis & ARM Nexus.................................................................. 14
3.10 PORT F – Reserved..................................................................................... 16
3.11 CompactFlash Port....................................................................................... 16
3.12 Cyclone MAX Buttons .................................................................................. 16
3.13 LEDs............................................................................................................. 17
3.14 Ribbon Cable with IDC Socket ..................................................................... 17
4 STAND-ALONE PROGRAMMER CONFIGURATION.................................. 19
4.1 Cyclone MAX Image Creation Utility ............................................................ 19
4.2 Configuration Via LCD Menu........................................................................ 32
5 STAND-ALONE PROGRAMMER MANUAL CONTROL .............................. 40
5.1 Via Cyclone MAX Buttons ............................................................................ 40
5.2 Operation Procedure via LCD Menu ............................................................ 41
5.3 Cyclone Battery Pack ................................................................................... 44
6 STAND ALONE PROGRAMMER AUTOMATED CONTROL....................... 45
6.1 Automated .EXE Control of The Cyclone .....................................................45
6.2 Automated .DLL Control Of The Cyclone..................................................... 50
6.3 Control Of Multiple Cyclone Units ................................................................ 51
Cyclone MAX User Manual i
CYCLONE MAX
6.4 Serial And Ethernet Protocol Specifications .................................................52
7 PC-HOSTED DEBUG/PROGRAMMING SOFTWARE................................. 53
7.1 Freescale Codewarrior .................................................................................53
7.2 P&E Microcomputer Systems’ Software .......................................................57
8 ETHERNET PORT CONFIGURATION ........................................................ 61
8.1 Network Architecture ....................................................................................61
8.2 Network Parameters .....................................................................................62
8.3 Internet Protocol ...........................................................................................62
8.4 Connecting the Cyclone Device....................................................................63
8.5 Cyclone IP Setup Via LCD Menu..................................................................65
8.6 Cyclone IP Setup Utility User Interface (ConfigureIP) ..................................65
8.7 Configuring Via The Cyclone IP Configuration Utility....................................67
8.8 Serial And Ethernet Protocol Specifications .................................................69
9 SERIAL PORT CONFIGURATION............................................................... 70
10 USB PORT CONFIGURATION .................................................................... 71
11 AUTOMATIC SERIAL NUMBER MECHANISM ........................................... 72
11.1 Understanding Serialization..........................................................................72
11.2 Serialize Utility ..............................................................................................73
11.3 Serialize Utility Example ...............................................................................76
11.4 Using Serial Number File..............................................................................76
11.5 Serial Number Handling in Cyclone MAX .....................................................77
12 CYCLONE ERROR CODES......................................................................... 79
12.1 Debug Mode Communication Errors ............................................................79
12.2 SAP Image Handling Errors..........................................................................79
12.3 SAP Algorithm Header Operation Handling Errors.......................................80
12.4 SAP Operation Errors ...................................................................................80
12.5 SAP Blank Check Range and Module Errors ...............................................80
12.6 SAP Erase Range and Module Errors ..........................................................80
12.7 SAP Program Byte, Word, and Module Errors..............................................80
12.8 SAP Verify Checksum Errors........................................................................81
12.9 SAP Verify Range and Module Errors ..........................................................81
ii Cyclone MAX User Manual
CYCLONE MAX
12.10 SAP User Function Errors ............................................................................81
12.11 SAP Trim Errors ........................................................................................... 81
12.12 Unrecoverable Fatal Errors .......................................................................... 81
12.13 External Memory Errors ............................................................................... 82
12.14 Serial Number Errors.................................................................................... 83
12.15 Successful Download Counter Errors .......................................................... 83
Cyclone MAX User Manual iii
CYCLONE MAX
iv Cyclone MAX User Manual

1 INTRODUCTION

The Cyclone MAX is a versatile tool that can be used for the programming, debugging, and testing of microprocessor-based hardware. It can be controlled interactively via a Host PC, or operate independently of the PC in stand-alone mode. The Cyclone MAX can also be configured and operated via Serial, USB, and Ethernet communication interfaces. When in stand-alone mode, its programming functions can be initiated directly through user input buttons, or by using those same buttons to make selections from the LCD menu.
The Cyclone MAX is able to debug and program a variety of processor architectures using the target hardware’s Background Debug Mode (BDM) or JTAG ports.
Supported Architectures
Power Architecture BDM (MPC5xx/8xx)
Qorivva (MPC55xx/56xx)
ColdFire V2/3/4 (MCF52xx/53xx/54xx)
CYCLONE MAX
Kinetis ARM
ARM Nexus (MAC7xxx Automotive Family)
In addition to the versatility of being able to debug and program the aforementioned processor families, and the ability to function in stand-alone mode, the Cyclone MAX includes these other features:
Multiple Communications Interfaces
Ethernet 10/100 baseT
USB 1.1
Serial Baud 115200, no parity, 8 data bits, 1 stop bit.
Onboard and CompactFlash Storage
Onboard storage of 7 Megabytes. Stores the image to be
Cyclone MAX User Manual 1
CYCLONE MAX
programmed, programming algorithm, and any configuration settings.
CompactFlash storage available with purchase of CompactFlash activation license.
Multiple images may be saved using the onboard or CompactFlash (when activated) storage.
Multi-Voltage Operation
Automatically detects and caters to target voltages ranging from 1.8 to 5 Volts.
LCD Menu
Allows simple, menu-based control of the configuration and function of the Cyclone MAX.
In short, the Cyclone MAX is an all-in-one solution for debugging, programming, and testing of your hardware.
2 Cyclone MAX User Manual

2 GETTING STARTED

Stand-alone programming is the most common use of the Cyclone MAX, therefore this section provides a simple quick-start guide to 1) configuring the Cyclone MAX with data, and 2) using it in stand-alone mode to program the flash of a target system. The user is encouraged to read this manual in its entirety for a complete description of the full feature set of the Cyclone MAX.

2.1 Software Installation

The first step is to install the accompanying software. This will install all of the applications and drivers that will be used to configure/control the Cyclone MAX. Once the installation is complete and the PC has been rebooted you may begin to configure the unit for operation.

2.2 Image Creation Utility

If you plan to use the Serial or USB ports for communication, then the Cyclone MAX can be used right out of the box. If you wish to use the Ethernet port, however, you will need to configure the corresponding IP numbers before use. The Ethernet port will not be functional until this configuration is complete. Please read Section 8 - ETHERNET PORT CONFIGURATION for more information about the Cyclone IP Setup Utility.
Once you have connected the Cyclone MAX to the PC via either a Serial, USB, or Ethernet cable, you can launch the Cyclone MAX Image Creation
Utility in order to create a SAP image. A “SAP” Image, or Stand-Alone Programming Image, is a self-contained image of programming algorithms, programming procedures, and program data. Once the SAP Image has been created, it can be transferred to the Cyclone MAX or saved to disk for later use. The Cyclone MAX uses SAP Images to perform stand-alone programming of target devices
CYCLONE MAX
Cyclone MAX User Manual 3
CYCLONE MAX
Figure 2-1: Cyclone Image Creation Utility
(1) Provides a list of available functions that the user may select and add
to the programming sequence.
(2) This window is where the programming steps are sequenced.
(3) This button moves selected programming functions into the sequence
window.
(4) Displays the processor architecture and the corresponding interface
port on the Cyclone MAX.
4 Cyclone MAX User Manual
CYCLONE MAX
(5) Displays the pinout configuration for the selected architecture.
(6) Allows the user to set the BDM Shift Frequency by selecting from the
drop-down box.
(7) Allows the user to set the Reset Delay.
(8) The “Store Image To Cyclone” button allows the user to store the
current image on the Cyclone MAX.
(9) The “Store Image To Disk” button allows the user to store the current
image on their hard drive. The Manage Image Utility can be used to configure the Cyclone with one or more images.
At this stage you are simply configuring the Cyclone with the appropriate data file and programming procedure. Actual programming of the target hardware occurs later.
Once the information required in Areas 1-4 is complete, you may configure the Cyclone MAX by clicking the “Store Image to Cyclone” button.
After the image has been saved, you can program a target by simply pressing the “Start” button on the Cyclone MAX. This will begin the sequence that was specified in Area 3 (in this example: erase, blank check, program, verify programmed data).
The complete functionality of the Cyclone MAX and its accompanying utilities is beyond the scope of this Getting Started section. Please read further to learn more about the full feature set and operation of the Cyclone MAX. For a detailed description of the Cyclone MAX Configuration Utility, please refer to Section 4 - STAND-ALONE PROGRAMMER CONFIGURATION.
Another option is to save the SAP Image to disk. This allows you to transfer the image to several different Cyclones, or conversely to transfer several images to one Cyclone. The utility that allows you to transfer multiple images to the Cyclone MAX (or its accompanying CompactFlash card) is called the Manage Images Utility.

2.3 Manage Images Utility

Once the programming images have been created and saved to the disk using the Create Image utility, they may then be loaded collectively onto the Cyclone. The Manage Images utility, shown in Figure 2-2, allows the Cyclone to store and manage multiple images in the Cyclone’s internal memory. If you have purchased a CompactFlash activation license it will also allow you to store and manage multiple images on any compatible CompactFlash cards
Cyclone MAX User Manual 5
CYCLONE MAX
that are loaded into the Cyclone’s CompactFlash port.
Figure 2-2: Manage Images Utility
Upon opening a selected Cyclone MAX, the user is provided in the top left panel with a list of the images currently on the unit’s internal memory. If the CompactFlash license has been activated, a list of images on any connected CompactFlash card will also be displayed in the bottom left panel. The panels to the right can be used to add or delete additional images by using the Add and Remove buttons beneath each panel.
6 Cyclone MAX User Manual
CYCLONE MAX
Once the images that you wish to load appear in the panels to the right, you must press “Commit Changes” to load the Cyclone accordingly. No changes made to the Cyclone MAX until the “Commit Changes” button is pressed.
Note: Any images that are already stored on the Cyclone MAX or CompactFlash
can only be removed by using the “Remove All” button.
Cyclone MAX User Manual 7
CYCLONE MAX

3 CYCLONE MAX HARDWARE

This section describes the various ports and inputs of the Cyclone MAX.

3.1 Power Source

The Cyclone MAX requires a regulated 6V DC Center Positive power supply with 2.5/5.5mm female plug. The Cyclone MAX receives its power from the power jack located on the side of the unit.
Figure 3-1: Power Jack

3.2 Serial (RS232) Communications Port

The Cyclone MAX provides a DB9 Female connector for communication with a host computer through the Serial (RS232) Port. Communication takes place at a fixed baud rate of 115200 Baud, 8 Data bits, No Parity, and 1 Stop Bit.
Figure 3-2: Serial Port
8 Cyclone MAX User Manual

3.3 USB 1.1 Communications Port

The Cyclone MAX provides a USB connector for communicating with a PC via the Universal Serial Bus port. The Cyclone MAX is a USB 1.1 compliant device.
Figure 3-3: USB Port
CYCLONE MAX

3.4 Ethernet Communications Port

The Cyclone MAX provides a standard RJ45 socket for communication with a host computer through the Ethernet Port. The Ethernet Port of the Cyclone MAX is a 10/100 baseT port.
Figure 3-4: Ethernet Port
Cyclone MAX User Manual 9
CYCLONE MAX
3.5 PORT A – Reserved
Port A is reserved for future use.
3.6 PORT B – Qorivva (MPC55xx/56xx) Interface
Port B can be used to connect to Qorivva (MPC55xx/56xx) targets. For the physical dimensions of the connector, please see Section 3.14 - Ribbon
Cable with IDC Socket.
Figure 3-5: Port B - Qorivva Interface
Qorivva Pinout
TDI 12GND
TDO 34GND
TCK 56GND
NC 78NC RESET 910TMS VDDE7 11 12 GND
RDY 13 14 JCOMP
3.6.1 BERG14-to-MICTOR38 Optional Connector (PORT B)
P&E offers a 14-pin BERG to 38-pin MICTOR adapter, sold separately, that may be used on Port B of the Cyclone MAX. The P&E part number is
10 Cyclone MAX User Manual
CYCLONE MAX
BERG14-TO-MICTOR38.
Figure 3-6: BERG14-TO-MICTOR38 Adapter (Sold Separately)
3.7 PORT C – ColdFire Interface & ColdFire Extension Cable
Port C is the interface for the ColdFire MCF52xx/53xx/54xx family of microprocessors. This port connects to the target hardware using either the ColdFire extension cable (for synchronous ColdFire targets) or a standard 26­pin ribbon cable (for asynchronous ColdFire targets). Both cables are provided in the Cyclone MAX package. Please refer to each processor’s user manual to identify whether it is a synchronous or asynchronous interface. If you are not sure, or for test purposes, the synchronous cable will work with all 52xx, 53xx, and 54xx targets. For the physical dimensions of the connector, please see Section 3.14 - Ribbon Cable with IDC Socket.
Figure 3-7: Port C - ColdFire Interface
Cyclone MAX User Manual 11
CYCLONE MAX
GND 34DSCLK GND 56N/C
RESET 78DSI
GND 11 12 PST3 PST2 13 14 PST1 PST0 15 16 DDATA3
DDATA2 17 18 DDATA1 DDATA0 19 20 GND
GND 23 24 CLK
ColdFire Pinout
N/C 12BKPT
VCC 910DSO
N/C 21 22 N/C
VCC 25 26 TEA
The ColdFire extension cables, one for Synchronous targets and one for Asynchronous targets, are pictured below:
Figure 3-8: ColdFire Extension Cable With Adapter (Synchronous ColdFire
Targets)
12 Cyclone MAX User Manual
CYCLONE MAX
Figure 3-9: ColdFire Ribbon Cable (Asynchronous ColdFire Targets)
3.8 PORT D – Power Architecture BDM Interface
Port D can be used to connect to Power Architecture BDM (MPC5xx/8xx) targets. For the physical dimensions of the connector, please see Section
3.14 - Ribbon Cable with IDC Socket.
Figure 3-10: Port D - Power Architecture BDM Interface
Cyclone MAX User Manual 13
CYCLONE MAX
Power Architecture BDM Pinout
N/C 12SRESET# GND 34DSCLK GND 56N/C
HRESET# 78DSDI
VDD 910DSDO
3.9 PORT E – Kinetis & ARM Nexus
Port E can be used to connect to Kinetis and ARM Nexus (MAC7xxx) targets. For the physical dimensions of the connector, please see Section 3.14 - Ribbon Cable with IDC Socket. The Cyclone MAX also includes an adapter for users whose Kinetis target header is Mini-10 or Mini-20. A Mini-20 ribbon cable comes with the adapter.
Figure 3-11: Port E- ARM Nexus
ARM Nexus Pinout
TVCC 12N/C
TRST# 34GND
TDI 56GND
TMS 78GND
TCK 910GND
N/C 11 12 GND
TDO 13 14 GND
RESET# 15 16 GND
N/C 17 18 GND N/C 19 20 GND
14 Cyclone MAX User Manual
CYCLONE MAX
Figure 3-12: Kinetis Mini-10 and Mini-20 Adapter
Figure 3-13: Kinetis Mini-10 and Mini-20 Pinouts
Cyclone MAX User Manual 15
CYCLONE MAX
3.10 PORT F – Reserved
Port F is reserved for future use by P&E. Do not connect to this port.

3.11 CompactFlash Port

The CompactFlash port can be activated by purchasing a CompactFlash Activation License from P&E. The CompactFlash port accepts Type I CompactFlash cards. This allows the user to store programming images that are, individually or collectively, larger than the Cyclone’s internal memory (7MB). It also makes swapping programming images much more quick and convenient. A 128MB CompactFlash card (shown below) is included with activation.
Figure 3-14: CompactFlash Port
Purchase of the CompactFlash activation license unlocks the CompactFlash panels in the included Manage Images utility. Programming images may then be managed on the CompactFlash in exactly the same way as they are in the Cyclone’s internal memory. Please see Section 2.3 - Manage Images Utility for more information about using Manage Images.

3.12 Cyclone MAX Buttons

There are five (5) buttons on the top of the Cyclone MAX which are used for stand-alone programming and to navigate the LCD menus. They are specified as follows:
16 Cyclone MAX User Manual

3.13 LEDs

CYCLONE MAX
Button Function
START / Start executing the tasks pre-configured into the
Cyclone MAX.
Menu Mode: Navigate upwards in LCD menu.
AUX / Perform auxiliary function (stand-alone verification).
Menu Mode: Navigate downwards in LCD menu.
MENU / [SELECT] Displays LCD Menu (enters Menu Mode).
Menu Mode: Select highlighted item in LCD menu.
CANCEL Cancel the tasks being executed and go back to the
standby state.
RESET Hardware reset of the Cyclone MAX.
Eight LEDs are used to provide programming and Cyclone MAX status:
1. Power – Indicates power has been supplied to Cyclone MAX
2. Ready – The Cyclone MAX is ready to perform programming functions
3. Image – Indicates the presence of one or more images on board.
4. Erase – Erasing of target flash is in progress
5. Program – Programming of target flash is in progress
6. Verify – Verifying of target flash is in progress
7. Error – An error occurred during programming
8. Success – Programming functions completed successfully

3.14 Ribbon Cable with IDC Socket

The Cyclone MAX provides several standard 0.100-inch pitch dual row 0.025­inch square headers (Ports A-F, as described earlier in Section 3 - CYCLONE MAX HARDWARE). A typical layout for one such header is shown below. Using these headers, the Cyclone MAX can communicate with the target through a number of different-sized ribbon cables. Each of the ribbon cables have a 0.100-inch centerline dual row socket IDC assembly (not keyed). The ribbon cables are designed such that the Cyclone MAX Ports and
Cyclone MAX User Manual 17
CYCLONE MAX
target BDM Ports must have the same pinout, i.e., Pin 1 of a Cyclone MAX Port is connected to Pin 1 of the target BDM header. Here is an example header:
Figure 3-15: Example 16-Pin Header Diagram
The following notes relate to the pinout labels on Cyclone MAX Ports:
N/C signifies a No Connect. This pertains to pins that are reserved for future use by Freescale or P&E Microcomputer Systems, and should not be connected.
A signal name ending in # (e.g. RESET#) signifies an active-low signal.
18 Cyclone MAX User Manual
CYCLONE MAX

4 STAND-ALONE PROGRAMMER CONFIGURATION

The Cyclone MAX may act as a stand-alone in-circuit programmer for Power Architecture BDM (MPC5xx/8xx), Qorivva (MPC55xx/56xx), ColdFire (MCF52xx/53xx/54xx), and ARM (MAC7xxx) targets. A simple user interface, the Cyclone Image Creation Utility, is provided for configuring the Cyclone MAX.

4.1 Cyclone MAX Image Creation Utility

The Cyclone MAX does not require a target to be connected when it is being configured. However, the Cyclone MAX must be powered on (indicated by the “Ready” LED), and either the PC Serial port, USB port, or Ethernet port must be connected to the Cyclone MAX. Figure 4-1 shows the configuration dialog with an example configuration. The configuration details are explained below.
Cyclone MAX User Manual 19
CYCLONE MAX
Figure 4-1: Image Creation Utility
4.1.1 Target Architectures
The Cyclone MAX supports the Power Architecture BDM (MPC5xx/8xx), Qorivva (MPC55xx/56xx), ColdFire (MCF52xx/53xx/54xx), and ARM MAC7xxx architectures.
The user may select the target architecture by clicking the corresponding tab.
Alternately, the user may select the target architecture through the File menu. Figure 4-2 shows the selection.
20 Cyclone MAX User Manual
CYCLONE MAX
Figure 4-2: Target Class Selection via File Menu
4.1.1.1 Power Architecture BDM (MPC5xx/8xx)
The user may configure the Cyclone MAX to operate on a Power Architecture BDM (MPC5xx/8xx) target by switching to the corresponding option in the drop-down list.
Alternately, the user may select the target through the File menu.
Figure 4-3 shows the Power Architecture BDM specification configuration.
The target BDM header connections are shown on the right-hand side for
Cyclone MAX User Manual 21
CYCLONE MAX
user reference.
Figure 4-3: Power Architecture BDM Settings
4.1.1.2 ColdFire V2/3/4 (MCF52xx/53xx/54xx)
The user may configure the Cyclone MAX to operate on a ColdFire V2/3/4 target by switching to the ColdFire option in the drop-down list. Alternately, the user may select the ColdFire V2/3/4 target through the File menu.
Figure 4-4 shows the ColdFire V2/3/4 specification configuration. The target BDM header connections are shown on the right-hand side for user reference.
22 Cyclone MAX User Manual
Loading...
+ 63 hidden pages