PEmicro Cyclone MAX User manual


Purchase Agreement
P&E Microcomputer Systems, Inc. reserves the right to make changes without further notice to any products herein to
improve reliability, function, or design. P&E Microcomputer Systems, Inc. does not assume any liability arising out of the
application or use of any product or circuit described herein.
This 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 described in this document 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 the software and documentation 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 as many computers as that person uses, provided that the software is never
used on 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.
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 using this software, you accept the terms of this agreement.
©2014, 2015 P&E Microcomputer Systems, Inc.
ARM is a registered trademark and Cortex is a trademark of ARM Ltd. or its subsidiaries.
Kinetis is a registered trademark of Freescale Semiconductor, Inc.
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc.
Texas Instruments, TI, and Stellaris are registered trademarks of Texas Instruments Incorporated.
NXP is a registered trademark of NXP Semiconductors.
STMicroelectronics is a registered trademark of STMicroelectronics, Inc.
Atmel is a registered trademark and SMART is a trademark of Atmel Corporation.
Infineon is a registered trademark of Infineon Technologies AG.
Silicon Laboratories is a registered trademark of Silicon Laboratories Inc.
All other product or service names are the property of their respective owners.
P&E Microcomputer Systems, Inc.
98 Galen St.
Watertown, MA 02472
617-923-0053
http://www.pemicro.com
Manual version 1.04
May 2015

Cyclone for ARM® devices - User Manual i
Cyclone for ARM®devices
1 INTRODUCTION ............................................................................................ 1
2 QUICK START GUIDE FOR SAP OPERATION ............................................ 4
3 CYCLONE FOR ARM DEVICES HARDWARE .............................................. 9
3.1 Cyclone for ARM devices Power Supply........................................................ 9
3.2 RS232 Communication .................................................................................. 9
3.3 Ethernet Communication.............................................................................. 10
3.4 USB Communications .................................................................................. 10
3.5 Electromechanical Relays ............................................................................ 11
3.6 Power Connectors........................................................................................ 11
3.7 Jumper Settings ........................................................................................... 12
3.8 Debug Connector Mechanical Drawing........................................................ 12
3.9 20-Pin Debug Connector.............................................................................. 13
3.10 20-Pin Keyed Mini Connector....................................................................... 16
3.11 10-Pin Keyed Mini Connector....................................................................... 18
3.12 JTAG Daisy Chain........................................................................................ 20
3.13 Ribbon Cable................................................................................................ 21
3.14 Target Power Management.......................................................................... 22
3.15 CompactFlash Port....................................................................................... 27
4 CYCLONE LCD MENU................................................................................. 28
4.1 Status Window ............................................................................................. 29
4.2 Main Menu.................................................................................................... 30
5 STAND-ALONE PROGRAMMER CONFIGURATION.................................. 36
5.1 Create A Stand-Alone Programming (SAP) Image ...................................... 36
5.2 Manage Multiple SAP Images ...................................................................... 46
6 STAND-ALONE PROGRAMMER MANUAL CONTROL .............................. 49
6.1 Operation Via Cyclone for ARM devices Buttons......................................... 49
6.2 Operation Via LCD Menu ............................................................................. 51
6.3 Cyclone Battery Pack ................................................................................... 54
7 STAND-ALONE PROGRAMMER AUTOMATED CONTROL....................... 56
7.1 Cyclone Automated Control Package - Overview ........................................ 56

ii Cyclone for ARM® devices - User Manual
Cyclone for ARM®devices
7.2 Cyclone Automated Control Package - Details.............................................57
8 ETHERNET CONFIGURATION ................................................................... 59
8.1 Network Architectures...................................................................................59
8.2 Network Parameters .....................................................................................60
8.3 Internet Protocol ...........................................................................................61
8.4 Connecting The Cyclone Device ..................................................................61
8.5 Cyclone IP Setup Via LCD Menu..................................................................63
8.6 Cyclone IP Setup Utility User Interface (ConfigureIP) ..................................63
8.7 Using ConfigureIP.exe To Configure The Cyclone for ARM devices............66
9 SERIAL PORT CONFIGURATION............................................................... 68
10 USB PORT CONFIGURATION .................................................................... 69
11 AUTOMATIC SERIAL NUMBER MECHANISM ........................................... 70
11.1 Understanding Serialization..........................................................................70
11.2 Serialize Utility ..............................................................................................71
11.3 Serialize Utility Example ...............................................................................74
11.4 Using Serial Number File..............................................................................74
11.5 Serial Number Handling in Cyclone for ARM devices...................................75
12 CYCLONE ERROR CODES......................................................................... 77
12.1 Debug Mode Communication Errors ............................................................77
12.2 SAP Image Handling Errors..........................................................................77
12.3 SAP Communication Handling Errors...........................................................78
12.4 SAP Algorithm Header Operation Handling Errors.......................................78
12.5 SAP Operation Errors ...................................................................................78
12.6 SAP Blank Check Range and Module Errors ...............................................78
12.7 SAP Erase Range and Module Errors ..........................................................78
12.8 SAP Program Byte, Word, and Module Errors..............................................79
12.9 SAP Verify Checksum Errors........................................................................79
12.10 SAP Verify Range and Module Errors ..........................................................79
12.11 SAP User Function Errors ............................................................................79
12.12 SAP Trim Errors............................................................................................80
12.13 Unrecoverable Fatal Errors...........................................................................80

Cyclone for ARM® devices - User Manual iii
Cyclone for ARM®devices
12.14 External Memory Errors ............................................................................... 81
12.15 Serial Number Errors.................................................................................... 81
12.16 Successful Download Counter Errors .......................................................... 82
12.17 System Hardware/Firmware/Logic Recoverable Errors ............................... 82

iv Cyclone for ARM® devices - User Manual
Cyclone for ARM®devices

Cyclone for ARM devices User Manual 1
Cyclone for ARM®devices
1 INTRODUCTION
The Cyclone for ARM®devices is part of P&E’s line of stand-alone
programming solutions.
The Cyclone for ARM devices is designed to withstand the demands of a
production environment. It is a Stand-Alone Programmer (SAP) that can be
operated manually or used to host automated programming. In manual SAP
mode the unit is operated using buttons and/or the LCD Menu. Host-
controlled SAP mode, for automated programming, is accomplished using
either a command line utility, RS232 protocol, UDP protocol, or the Cyclone
Automated Control DLL.
The following features help make the Cyclone for ARM devices such a
versatile production programming tool:
• Multiple ARM CortexTM-M Manufacturer Support
• Freescale®
• STMicroelectronics®
• Texas Instruments®(TI)
•NXP
®
•Atmel
®
•Infineon
®
• Silicon Labs®
• Versatile Light Touch Buttons
• Performs Stand-Alone Programming (SAP) operations
• Navigates LCD menu
• Resets Cyclone for ARM devices
• Powerful LCD Menu

2 Cyclone for ARM devices User Manual
Cyclone for ARM®devices
• Executes SAP operations
• Selects SAP image
• Configures Cyclone for ARM devices IP settings
• Displays operation status
• Convenient LED Display
• Indicates success or failure
• Multiple Communication Interfaces
• Ethernet 10/100 baseT
• USB 1.1
• Serial Baud 115200, no parity, 8 data bits, 1 stop bit (adjustable to
57600 Baud for RS232 controlled production environment)
• Multiple Storage Media
• 7 Megabytes of onboard storage. Stores data to be programmed,
programming algorithms, and any necessary configuration settings.
• CompactFlash support available with purchase of CompactFlash
activation license.
• Versatile Power Management
• Uses electromechanical relays to automatically cycle target power
when necessary.
• Jumper-settable power management schemes.
• Multiple Voltage Operation
• Automatically detects and caters to target voltages ranging from
1.8V to 5V.
• Multiple Target Communication Modes
• Supports the following communications modes:
– 20-Pin Regular Debug Connector JTAG Mode
– 20-Pin Regular Debug Connector SWD Mode
– 20-Pin Mini Debug Connector JTAG Mode

Cyclone for ARM devices User Manual 3
Cyclone for ARM®devices
– 20-Pin Mini Debug Connector SWD Mode
– 10-Pin Mini Debug Connector JTAG Mode
– 10-Pin Mini Debug Connector SWD Mode
• User selectable target communication speed.
• Multiple SAP Images
• Onboard Flash stores up to 8 images.
• CompactFlash (if activated) stores more than 200 images.
• Images for different architectures can co-exist.
• Multiple Memory Modules In One SAP Image
• Supports multiple programming algorithms for internal or external
memory modules such as EEPROM and Flash.
• Automatic Serial Number Mechanism
• Supports serial number programming and automatic incrementing
• Supports multiple serial number structures within each SAP Image.
• Powerful Automated Control Package For Production Control
• Basic Automated Control Package (included) supports host-
controlled SAP operations for one Cyclone for ARM devices.
Professional and Enterprise Automated Control Packages available
for purchase.
• Multiple Cyclones for ARM devices can create a Gang Programmer
using a variety of different communication interfaces.
• Different SAP Images on different Cyclones for ARM devices can
execute simultaneously.
• Versatile Programming Software
• Free image creation utility, image management utility, and IP
configuration utility
• Activation license for CompactFlash support available for purchase

4 Cyclone for ARM devices User Manual
Cyclone for ARM®devices
2 QUICK START GUIDE FOR SAP OPERATION
Stand-Alone Programming (SAP) is the most common use of the Cyclone for
ARM devices. This quick start guide illustrates how easy it is to begin using
the Cyclone for stand-alone programming.
You are encouraged to read this manual in its entirety for a complete
description of all Cyclone for ARM devices features, many of which are
beyond the scope of this quick-start guide.
Step 1. Install Software
The first step is to install the accompanying software. This will install all of the
applications and drivers that can be used to configure/control the Cyclone for
ARM devices.
Once the installation is complete and the PC has been rebooted you may
begin to configure the Cyclone for ARM devices for SAP operation.
Step 2. Hardware Setup
a. Configure the target power management scheme
Power management is configured by setting jumpers on the side
of the Cyclone unit. The corresponding settings are conveniently
illustrated on the rear label of Cyclone for ARM devices. By
default, the jumpers are set to switch power from the Power IN
Jack to Power OUT Jack. You may wish to refer to Section 3.14 -
Target Power Management.
b. Connect the Cyclone for ARM devices to your PC
Select the appropriate communications interface (Serial, USB or
Ethernet) and connect the Cyclone for ARM devices to your PC.
If you wish to use the Ethernet port you will need to configure the
corresponding network settings before use, either through the
LCD menu or via the software utility ConfigureIP. The Ethernet
port will not function properly until this configuration is complete.
You may wish to refer to CHAPTER 8 - ETHERNET
CONFIGURATION.
c. Power up the Cyclone for ARM devices
Step 3. Create a SAP Image
A SAP image, or Stand-Alone Programming image, is a self-sufficient data
object containing the Cyclone for ARM devices and target hardware setup

Cyclone for ARM devices User Manual 5
Cyclone for ARM®devices
information, programming algorithm, programming sequence, and target data.
The Cyclone for ARM devices uses these images to perform SAP operations
on target devices. Follow these steps to create a SAP image:
a. Run the Cyclone Image Creation Utility
This utility is a GUI designed to help users create architecture/
manufacturer-specific SAP images. To run this utility:
From the “Start” menu of your PC, navigate to “All Programs” ->
“P&E Cyclone for ARM devices Programmer” -> “Cyclone for
ARM devices Image Creation Utility” and select this utility. The
utility is shown in Figure 2-1. Continue with the steps below to
create an image.

6 Cyclone for ARM devices User Manual
Cyclone for ARM®devices
Figure 2-1: Cyclone Image Creation Utility
b. Click on Select New Device to open the Device Selection Dialog.
Drill down the device tree and select your device.

Cyclone for ARM devices User Manual 7
Cyclone for ARM®devices
Figure 2-2: Device Selection Dialog
c. Click the “Launch Script Wizard” button. Follow the pop-up
screens to specify a programming algorithm and target object file.
The programming algorithm, target object file, and default pro-
gramming sequence will then show up in the programming
sequence listbox.
d. Specify the auxiliary setup and hardware setup, such as Commu-
nication Mode, Communication Rate, Target Power, and Voltage
Settings.

8 Cyclone for ARM devices User Manual
Cyclone for ARM®devices
e. Type an Image Description for your SAP image. The default
description is a time stamp.
f. Click the “Store Image to Cyclone” button.
g. Choose the communication interface, select the Cyclone for ARM
devices to which the image will be saved, and then click the
“Store Image to Cyclone” button. A backend image configuration
utility will pop up and store the image information on the Cyclone
for ARM devices. Your SAP image has now been created.
Step 4. Execute SAP Image
The SAP image stored on your Cyclone for ARM devices can now be
executed with one button press. Once your target is connected to the Cyclone
for ARM devices, press the “START” button of the Cyclone for ARM devices
unit and wait for programming operations to finish. During this process, the
LCD screen and LEDs will show the status of operations. Eventually the
“Success” or “Error” LED will illuminate, and the LCD will display the results.

Cyclone for ARM devices User Manual 9
Cyclone for ARM®devices
3 CYCLONE FOR ARM DEVICES HARDWARE
The following is an overview of the features and interfaces of the Cyclone for
ARM devices unit. The interfaces are labeled on the underside of the Cyclone
unit.
3.1 Cyclone for ARM devices Power Supply
The Cyclone for ARM devices requires a regulated 6V DC Center Positive
power supply with 2.5/5.5mm female plug. The Cyclone for ARM devices
derives its power from the Power Jack located on the side of the unit.
Figure 3-3: Cyclone for ARM devices Power Jack
3.2 RS232 Communication
The Cyclone for ARM devices provides a DB9 Female connector to
communicate with a host computer through the RS232 communication
(115200 Baud, 8 Data bits, No parity, 1 Stop bit).

10 Cyclone for ARM devices User Manual
Cyclone for ARM®devices
Figure 3-4: Cyclone for ARM devices RS232 Connector
3.3 Ethernet Communication
The Cyclone for ARM devices provides a standard RJ45 socket to
communicate with a host computer through the Ethernet Port (10/100 BaseT).
Figure 3-5: Cyclone for ARM devices Ethernet Connector
3.4 USB Communications
The Cyclone for ARM devices provides a USB connector for Universal Serial
Bus communications between the Cyclone for ARM devices and the host
computer. The Cyclone for ARM devices is a USB 1.1 compliant device.

Cyclone for ARM devices User Manual 11
Cyclone for ARM®devices
Figure 3-6: Cyclone for ARM devices USB Connector
3.5 Electromechanical Relays
Inside the Cyclone for ARM devices, two electromechanical relays are used to
cycle target power. The specifications of the relays are as following:
Maximum switched power: 30W or 125 VA
Maximum switched current: 1A
Maximum switched voltage: 150VDC or 300VAC
UL Rating: 1A at 30 VDC
1A at 125 VAC
P&E only recommends switching DC voltages up to 24 Volts.
3.6 Power Connectors
The Cyclone for ARM devices provides a Target Power Supply Input Jack and
a Target Power Supply Output Jack with 2.5/5.5 mm Pin Diameter. The power
jacks are connected or disconnected by two electromechanical relays. When
connected, the Center Pin of the Target Power Supply Input Jack is
connected to the Center Pin of the Target Power Supply Output Jack. When
disconnected, both terminals of the Target Power Supply Output Jack are
connected to GND via a 1W, 100 Ohm resistor.

12 Cyclone for ARM devices User Manual
Cyclone for ARM®devices
Figure 3-7: Power Connector Locations
3.7 Jumper Settings
The jumpers must be set differently for various power management options
that the Cyclone for ARM devices offers. If the Cyclone for ARM devices is not
being used to manage the target’s power, only Jumper 5 needs to be
installed. Please see Section 3.14 - Target Power Management for the
correct jumper settings for other power management options.
3.8 Debug Connector Mechanical Drawing
The Cyclone for ARM devices provides one un-keyed standard 20-position
0.100-inch pitch dual row 0.025-inch square header, one keyed 20-position
0.050-inch pitch dual row mini header, and one keyed 10-position 0.050-inch
pitch dual row mini header for ARM targets. Mechanical drawings are shown
below whose dimensions are representative of the pin size and spacing of
these headers (note: the number of pins depicted in the mechanical drawings
may differ from the Cyclone headers).

Cyclone for ARM devices User Manual 13
Cyclone for ARM®devices
Figure 3-8: 20-Pin Un-Keyed Header Dimensions
Figure 3-9: Mini 10-Pin and Mini 20-Pin Keyed Header Dimensions
3.9 20-Pin Debug Connector
The Cyclone provides a 20-pin 0.100-inch pitch double row connector for
ARM targets. The 20-pin standard connector pin definitions for JTAG mode

14 Cyclone for ARM devices User Manual
Cyclone for ARM®devices
are as follows:
20-Pin Standard Connector JTAG Mode Pin Assignments
PIN 1 - TVCC NC - PIN 2
PIN 3 - TRST or NC GND - PIN 4
PIN 5 - TDI GND - PIN 6
PIN 7 - TMS GND - PIN 8
PIN 9 - TCK GND - PIN 10
PIN 11 - NC GND - PIN 12
PIN 13 - TDO GND - PIN 14
PIN 15 - RESET GND - PIN 16
PIN 17 - NC GND - PIN 18
PIN 19 - NC GND - PIN 20
The Cyclone for ARM devices also supports SWD Mode. This replaces the
JTAG connection with a clock and single bi-directional data pin.
20-Pin Standard Connector SWD Mode Pin Assignments
PIN 1 - TVCC NC - PIN 2
PIN 3 - TRST or NC GND - PIN 4
PIN 5 - NC GND - PIN 6
PIN 7 - TMS/SWDIO GND - PIN 8
PIN 9 - TCK/SWCLK GND - PIN 10
PIN 11 - NC GND - PIN 12
PIN 13 - NC GND - PIN 14
PIN 15 - RESET GND - PIN 16
PIN 17 - NC GND - PIN 18
PIN 19 - NC GND - PIN 20
SWD Mode is selected from the “Communication Mode” drop-down box in the
Cyclone Image Creation Utility:
Other manuals for Cyclone MAX
2
This manual suits for next models
4
Table of contents
Other PEmicro Motherboard manuals