P&E Microcomputer Systems Cyclone User Manual

Cyclone LC Programmers
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.
©2015-2020 P&E Microcomputer Systems, Inc. ARM and Cortex are registered trademarksof ARM Ltd. or its subsidiaries. NXP, ColdFire, and Kinetis are registered trademarks of NXP Semiconductors. Texas Instruments and TI are registered trademarks of Texas Instruments Incorporated. STMicroelectronics is a registered trademark of STMicroelectronics, Inc. macOS is a registered trademark of Apple, 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.23 November 2020
1 INTRODUCTION.........................................................................................................................................9
1.1 Supported Devices.... ... ... ... .... ... ... ... .... ... ....................................... ... ... ... ... .... ... ... ............................................9
1.2 Distinguishing Windows-Only And macOS/Linux-Specific Content ..............................................................10
1.2.1 Minimum Required Versions .......................................................................................................................................10
1.3 Additional Resources ............. ... ... ... .... ... ....................................... ... ... ... ... .... ... ... ..........................................10
2 QUICK START GUIDE FOR SAP OPERATION.......................................................................................11
2.1 Installing The Cyclone Software....................................................................................................................11
2.2 Setting Up The Cyclone Hardware................................................................................................................11
2.3 Creating A Stand-Alone Programming Image ..............................................................................................13
2.3.1 Advanced Features.....................................................................................................................................................17
2.4 Launching Cyclone Programming................................................. ... ... ... .......................................................17
3 CYCLONE LC HARDWARE.....................................................................................................................19
3.1 Touchscreen LCD .........................................................................................................................................19
3.2 LED Indicators...............................................................................................................................................19
3.3 Start Button ...................................................................................................................................................19
3.4 Access Panel.................................................................................................................................................19
3.5 Cyclone System Power.................................................................................................................................20
3.6 RS232 Communication (Serial Port).............................................................................................................20
3.7 Ethernet Communication........................... ... ... .... ... ....................................... ... ... ... .... ... ... .............................20
3.8 USB Communications.................................................. .... ...................................... .... ... ... ... ..........................20
3.9 Electromechanical Relays.............................................................................................................................20
3.10 Power Connectors.........................................................................................................................................21
3.11 Reset Button..................................................................................................................................................21
3.12 SDHC Port.....................................................................................................................................................21
3.13 Optional Oscillator (MON08 Only).................................................................................................................22
3.14 Cyclone Time / Real Time Clock...................................................................................................................22
3.15 Power Jumper Settings.................................................................................................................................22
3.16 Debug Connectors ........................................................................................................................................22
3.17 Target Headers For Part# CYCLONE-LC-ARM..................................... ... .... ... ... ... .... ... ... ... ... .... ... ... ... ..........24
3.17.1 PORT A: 10-Pin Keyed Mini Connector (Kinetis, S32 (ARM), other PEmicro-Supported ARM devices) ...................24
3.17.2 PORT B: 20-Pin Keyed Mini Connector (Kinetis, S32 (ARM), other PEmicro-Supported ARM devices) ...................25
3.17.3 PORT C: 20-Pin Debug Connector (Kinetis, S32 (ARM), other PEmicro-Supported ARM devices) ..........................26
3.18 Target Headers For Part# CYCLONE-LC-UNIV .......... .... ... ... ... .... ... ... ... ... .... ... ... ... .......................................27
3.18.1 PORT A: 10-Pin Keyed Mini Connector (NXP Kinetis & S32 (ARM), other PEmicro-Supported ARM devices, Infineon
TriCore).......................................................................................................................................................................27
3.18.2 PORT B: 20-Pin Keyed Mini Connector (Kinetis, S32 (ARM), other PEmicro-Supported ARM devices) ...................29
3.18.3 PORT C: 14-Pin Debug Connector (MPC55xx-57xx, SPC5, DSC, S32 (Power)) ......................................................30
3.18.4 PORT D: 26-Pin Debug Connector (ColdFire V2/3/4)................................................................................................. 31
3.18.5 PORT E: 16-Pin Debug Connector (MON08)................. .................................................. ...........................................32
3.18.6 PORT F: 6-Pin Debug Connector (RS08, HCS08, HC(S)12(X), S12Z, ColdFire +/V1, STM8 w/ adapter).................32
3.18.7 PORT G: 10-Pin Debug Connector (Power MPC5xx/8xx)..........................................................................................33
3.18.8 PORT H: 20-Pin Debug Connector (Kinetis, S32 (ARM), other PEmicro-Supported ARM devices, Infineon TriCore) .33
3.19 Ribbon Cable.................................................................................................................................................35
4 TARGET POWER MANAGEMENT ..........................................................................................................37
4.1 Cyclone Configuration...................................................................................................................................37
4.2 Cyclone Setup...............................................................................................................................................39
4.2.1 Independently Powered Target...................................................................................................................................39
4.2.2 Power provided by the Cyclone to the debug cable....................................................................................................39
4.2.3 External Power passed through the Cyclone and out 2.5 mm barrel port...................................................................40
4.2.4 External Power passed through the Cyclone to the debug cable................................................................................40
4.2.5 Power provided by the Cyclone and out 2.5 mm barrel port.......................................................................................41
4.3 Setup Reminders...........................................................................................................................................41
5 TOUCHSCREEN LCD MENU...................................................................................................................42
5.1 Home Screen ................................................................................................................................................42
5.1.1 Icons............................................................................................................................................................................42
5.1.2 Configurable Display Area........................................... ... .................................................. ...........................................42
5.1.3 Status Window ............................................................................................................................................................43
5.1.4 Error Information Icon..................................................................................................................................................43
5.1.5 AUX Button (Appears If Configured)...........................................................................................................................43
5.2 Main Menu.....................................................................................................................................................43
5.2.1 Select Programming Image.................................... .. ...................................................................................................45
5.2.2 Current Image Options.............................................................. ..................................................................................45
5.2.3 Configure Cyclone Settings.........................................................................................................................................47
5.2.4 Status..........................................................................................................................................................................50
6 CREATING AND MANAGING PROGRAMMING IMAGES.......................................................................51
6.1 Cyclone Image Creation Utility .....................................................................................................................51
6.1.1 Specify CPU Manufacturer..................................... .................................................. ... ................................................52
6.1.2 Security Settings - Qorivva (MPC55xx-57xx) Only......................................................................................................54
6.1.3 Secure Boot Settings - NXP i,MX RT Only.................................................................................................................. 54
6.1.4 Secure JTAG Settings - NXP i,MX RT Only................................................................................................................55
6.1.5 Programming Sequence..............................................................................................................................................56
6.1.6 Programming Operations............................................................................................................................................58
6.1.7 Communication Mode and Rate Settings....................................................................................................................64
6.1.8 Target Voltage and Power Settings.............................................................................................................................64
6.1.9 Image Description ......................................... ................................................... ...........................................................64
6.1.10 ProCryption Security Features....................................................................................................................................64
6.1.11 FX Exclusive Features..................................... ... ........................................................................................................67
6.1.12 Store Image To Cyclone..............................................................................................................................................67
6.1.13 Store Image To Disk....................................................................................................................................................68
6.1.14 Save Cyclone Configuration........................................................................................................................................68
6.1.15 Load Cyclone Configuration........................................................................................................................................68
6.2 Managing Multiple SAP Images....................................................................................................................68
6.2.1 Delete Images From Internal/External Memory...........................................................................................................69
6.2.2 Add/Remove Images From The Commit Change s Panels .........................................................................................69
7 CYCLONE PROGRAMMER MANUAL CONTROL...................................................................................71
7.1 Operation Via Start Button ..................... ... ... ... ....................................... ... .... ... ... ... .... ... ... .............................71
7.1.1 LED Indicators.............................................................................................................................................................71
7.1.2 Procedure via Start Button / LEDs ..............................................................................................................................71
7.1.3 Example ......................................................................................................................................................................71
7.2 Operation Via LCD Touchscreen Menu .................... ... .... ... ... ... .... ......................................... .......................72
7.3 Home Screen ................................................................................................................................................72
7.3.1 Icons............................................................................................................................................................................72
7.3.2 Configurable Display Area........................................... ... .................................................. ...........................................72
7.4 Status Window ..............................................................................................................................................73
7.4.1 Error Information Icon..................................................................................................................................................73
7.4.2 AUX Button (Appears If Configured)...........................................................................................................................73
7.4.3 Main Menu...................................................................................................................................................................73
8 CYCLONE PROGRAMMER AUTOMATED CONTROL (CYCLONE CONTROL SUITE) ........................76
8.1 Cyclone Control Suite - Overview .................................................................................................................76
8.1.1 macOS/Linux Support Notes.......................................................................................................................................76
8.1.2 Components................................................................................................................................................................77
8.1.3 Standard Features.......................................................................................................................................................77
8.1.4 Advanced Features.....................................................................................................................................................77
8.1.5 PEmicro Compatible Hardware...................................................................................................................................78
8.2 Cyclone Control SDK ....................................................................................................................................78
8.2.1 Introduction .................................................................................................................................................................78
8.2.2 Backwards Compatibility With Classic Cyclone Control API ......................................................................................78
8.2.3 Getting Started with the Cyclone Control Library File - Windows Users ....................................................................78
8.2.4 Getting Started with the Cyclone Control Library File - macOS/Linux Users ............................................................80
8.2.5 Initialization..................................................................................................................................................................81
8.2.6 Finalization..................................................................................................................................................................82
8.2.7 Initial Cyclone Setup....................................................................................................................................................82
8.2.8 Typical Usage........................................... ...................................................................................................................82
8.2.9 External Memory Storage Support................................................................... .. .........................................................83
8.2.10 Application Programming Interface (API)....................................................................................................................83
8.3 Cyclone Control Console...............................................................................................................................96
8.3.1 Startup.........................................................................................................................................................................96
8.3.2 Command-Line Parameters........................................................................................................................................ 96
8.3.3 Examples.....................................................................................................................................................................99
8.4 Cyclone Control GUI ...................................................................................................................................100
8.4.1 The Connection Dialog..............................................................................................................................................101
8.4.2 The Control Tabs.......................................................................................................................................................101
8.4.3 The Status and Error Window:..................................................................................................................................107
8.5 License........................................................................................................................................................107
8.5.1 Hardware Licensing................................................ .. ................................................... ..............................................107
9 SAP IMAGE COMPILER (SCRIPTED PROGRAMMING & IMAGE CREATION) .................................. 108
9.1 Launching From the Command Line...... ....................................... ... ... ... ... .... ... ... ... .... ... ... ...........................108
9.1.1 Command-Line Example...........................................................................................................................................108
9.1.2 Filename and Additional Command-Line Para meters...............................................................................................109
9.1.3 List of Valid Command-Line Parameters...................................................................................................................109
9.2 Configuration (.CFG) File Contents.............................................................................................................110
9.2.1 Sample .CFG File......................................................................................................................................................110
9.2.2 Configuration Commands..........................................................................................................................................111
9.2.3 Programming Commands .........................................................................................................................................117
9.2.4 Using Command Line Parameters Inside a .CFG File ..............................................................................................118
9.2.5 Sample Batch File.....................................................................................................................................................119
9.3 CSAP Error Returns....................................................................................................................................119
10 ETHERNET CONFIGURATION..............................................................................................................121
10.1 Network Architectures.................................................................................................................................121
10.2 Network Parameters....................................................................................................................................121
10.3 Internet Protocol..........................................................................................................................................122
10.4 Connecting The Cyclone Device.................................................................................................................122
10.4.1 Connecting the Cyclone to the PC over a network......... ..................................................... ... ...................................122
10.4.2 Connecting Cyclone-to-PC via an Ethernet cable.....................................................................................................123
10.5 Cyclone IP Setup Via LCD Menu................................................................................................................123
10.5.1 Configure Network Settings..... ... .. .............................................................................................................................123
10.6 Configuring Cyclone Network Settings using the Cyclone Control GUI ......................................................124
11 SAP IMAGE ENCRYPTION....................................................................................................................126
11.1 Overview .....................................................................................................................................................126
11.2 Encrypting/Decrypting a Programming Image.............................................................................................126
11.3 What is Encrypted in an eSAP File, and How.............................................................................................126
11.4 Managing Encryption For Production Programming ...................................................................................127
11.4.1 Provisioning a Cyclone with an ImageKey................................................................................................................127
11.4.2 Removing ImageKeys From A Cyclone ....................................................................................................................129
11.4.3 Loading and Programming with Encrypted SAP Images..........................................................................................129
11.4.4 Encryption Status of SAP Images.............................................................................................................................130
11.5 Safer Production That's Easy To Implement...............................................................................................131
12 AUTOMATIC SERIAL NUMBER MECHANISM ....................................................................................132
12.1 Understanding Serialization ........................................................................................................................132
12.2 Serialize Utility . ... ... .... ... ... ... .... ... ... ....................................... ... ... .... ... ... ... .....................................................132
12.2.1 Startup And File Options...........................................................................................................................................133
12.2.2 Serial Number File.....................................................................................................................................................134
12.2.3 Serial File Unique ID.................................................................................................................................................134
12.2.4 Serial File Name To Display......................................................................................................................................134
12.2.5 Serial File Notes........................................................................................................................................................134
12.2.6 Number of Bytes in Serial Number............................................................................................................................134
12.2.7 Starting HEX Address............................................ .. ... ..............................................................................................134
12.2.8 Count Sequence .......................................................................................................................................................134
12.2.9 Serial Number Bytes as Hex.....................................................................................................................................134
12.2.10 Hex Upper Bounds................................................... ... ... ...........................................................................................135
12.2.11 Hex Lower Bounds...................................................... ..............................................................................................135
12.2.12 Binary, Numeric, Constant, Alpha Upper, Alpha Lower, and Printable .....................................................................135
12.2.13 Byte Program Order..................................................................................................................................................135
12.3 Serial File Properties...................................................................................................................................135
12.3.1 Serial File Example...................................................................................................................................................135
12.4 Serial Number Handling..............................................................................................................................136
12.4.1 Invoking A Serial File Via Command-Line.................................................................................................................137
12.5 Creating A SAP Image With Multiple Serial Numbers.................................................................................137
12.6 Shared Serial Numbers...............................................................................................................................138
12.6.1 Example....................................................................................................................................................................138
13 CYCLONE LICENSE INSTALLATION....................................................................................................143
13.1 How to Install Your License.........................................................................................................................143
14 TROUBLESHOOTING............................................................................................................................148
14.1 My Cyclone Is Non-Responsive, Is There A Way To Re-Activate It?..........................................................148
14.1.1 What Is Bootloader Mode?........................................................................................................................................148
14.1.2 When Is Bootloader Mode Used?................................................ ... ......................................... .................................148
14.1.3 How Is Bootloader Mode Entered?...........................................................................................................................148
14.2 I Received A “SAP Image Needs To Be Updated” Error Using A Next-Gen Cyclone, How Do I Update? .148
14.2.1 How Do I Use SAP_Convert_Console.exe?.............................................................................................................148
14.3 When Trying To Install The CYCLONE Software, A Popup WDREG Error Occurs Telling Me That There Are
Open Devices Using WinDriver...................................................................................................................149
15 ERROR CODES......................................................................................................................................150
15.1 Debug Mode Communication Related Errors......................................................... .... ... ... ... ... .... .................150
15.2 SAP Image Handling Related Errors...........................................................................................................150
15.3 SAP Communication Handling Related Errors............................................................................................151
15.4 SAP Algorithm Header Operation Handling Related Errors........................................................................151
15.5 SAP Operation Related Errors....................................................................................................................151
15.6 SAP Blank Check Range and Module Related Errors ................................................................................151
15.7 SAP Erase Range and Module Related Errors...........................................................................................151
15.8 SAP Program Byte, Word, and Module Related Errors...............................................................................151
15.9 SAP Verify Checksum Related Errors.........................................................................................................152
15.10 SAP Verify Range and Module Related Errors...........................................................................................152
15.11 SAP User Function Related Errors..............................................................................................................152
15.12 SAP Trim Related Errors.............................................................................................................................152
15.13 Unrecoverable Fatal Errors.........................................................................................................................152
15.14 Operation Security Related Errors ..............................................................................................................153
15.15 External Memory-Related Errors.................................................................................................................153
15.16 Serial Number Related Errors.....................................................................................................................154
15.17 Download Count Related Errors..................................................................................................................154
15.18 System Hardware/Firmware/Logic Recoverable Errors......... ... .... ... ... ... ... .... ... ... ... .... ... ... ... ... .... ... ... ... ........154
16 OPTIONAL FEATURE ACTIVATIONS ...................................................................................................155
16.1 ProCryption Security ........................................................... ... ... .... ... ... ... ... .... ... ... ... .....................................155
16.2 Cyclone Control Suite Advanced Features .................................................................................................155
16.3 SDHC Port Activation..................................................................................................................................155
17 TECHNICAL INFORMATION..................................................................................................................156
17.1 Life Expectancy.. ... ....................................... ... .... ... ... ....................................... ... ... .... .................................156
17.2 Electrical Specifications...............................................................................................................................156
17.3 Mechanical Specifications...................................... ... ... .... ... ... ... .... ... ... ... ... ..................................................156
17.4 Electromechanical Relays...........................................................................................................................156
17.5 Debug Ports - CYCLONE-LC-ARM.............................................................................................................156
17.6 Debug Ports - CYCLONE-LC-UNIV............................................................................................................156
17.7 International Shipping..................................................................................................................................156
17.8 Compliances/Standards..............................................................................................................................156

1 INTRODUCTION

PEmicro's Cyclone LC production programmers are powerful, fast, and feature rich in-circuit programming solutions. PEmicro offers two models which have the same feature set a nd only vary by the devices supported.
Part# CYCLONE-LC-ARM supports a wide variety of ARM Cortex devices. Part# CYCLONE-LC-UNIV supports those ARM Cortex devices as well as the following NXP
device families: Kinetis, LPC, S32, MPC55xx-57xx), MPC5xx/8xx, DSC, S12Z, RS08, S08, HC08, HC(S)12(X), ColdFire. It also supports Infineon’s TriCore TC3xx) and STMicroelectronics’ SPC5 & STM8 (with STM8 adapter).
Note: PEmicro refreshed Cyclone names and part numbers in July 2019. The part numbers listed on
earlier Cyclones will differ slightly. CYCLONE is now called Cyclone LC, however the hardware has not changed.

1.1 Supported Devices

PART#: CYCLONE-LC-ARM
TM
(AUDOTM TC1xx and AURIXTM TC2xx/
PART#: CYCLONE-LC-UNIV
ARM Cortex Devices
:
Atmel: SAMxxx
Cypress: CCG2, CCG3PA, EZ-BLE-
PSoC-PRoC, EZ-BLE-PSoC6, FM3 PRoC-BLE, PSoC4, PSoC5, PSoC6, Traveo II
Infineon:XMC
Maxim Integrated:DARWIN
NordicSemi: nRF51, nRF52
NXP: Automotive, iMX, Kinetis, LPC,
Sensors, Vybrid
OnBright:OB90Rxx
Redpine Signals:WiSeMCU
Silergy (Maxim): AM0x, AM1x, MAX716xx
Silicon Labs: EFM32, EFR32, SiM3
STMicroelectronics:STM32
Texas Instruments: LM3S, LM4, SimpleLink,
TM4C12x
Toshiba: TX00, TX03, TX04
WIZnet: W7500x
8/16/32 bit devices:
NXP:S32
ColdFire® V1 ColdFire® V2/V3/V4 Qorivva® (MPC5xxx) DSC ARM Nexus (MAC7xxx) S12Z HC(S)12(X) HC08, HCS08, RS08
Infineon: TriCore (AUDO TC1xx &
AURIX TC2xx/ TC3xx)
STMicro: SPC5
STM8 (with STM8
adapter)
Figure 1-1: Cyclone LC Device Support by Part Number
Cyclone LC programmers are designed to withstand the demands of a production environment.
They are Stand-Alone Programmers (SAP) that can be operated manually or used to host automated programming. In manual SAP mode the Cyclone is operated using the touchscreen LCD Menu and/or the Start button. Host-controlled SAP mode, for automated programming, is accomplished using the Cyclone Control Suite.
User Manual For Cyclone LC Programmers 9

1.2 Distinguishing Windows-Only And macOS/Linux-Specific Content

Many control and automation features offered by the Cyclone Control Suite are available for macOS and Linux platforms, in addition to Windo ws. See CHAPTER 8 - CYCLONE PROGRAMMER AUTOMATED CONTROL (CYCLONE CONTROL SUITE). However, some elements such as Image Creation remain Windows-only.
The matrix below indicates at a high level which Cyclone features are available for each platform:
Windows macOS Linux
Cyclone Control GUI x x x
Cyclone Control Console x x x
Cyclone Control SDK x x x Image Creation Utility x SAP Image Compiler x
Initiate Programming with
Barcode Scanner
Automatic Serial Number
Mechanism
Table A-1. Cyclone Feature Support
In this user manual, information that pertains to the Windows platform only, or is particular to macOS/Linux, is indicated by the symbols below. Content can be considered to apply to all three platforms unless otherwise specified.
Windows-only: macOS: Linux:
x
x

1.2.1 Minimum Required Versions

The following are the minimum versions required for macOS/Linux support.
macOS: 10.13 High Sierra Linux: 18.04 LTS

1.3 Additional Resources

Several sections of this user manual will point the user to related articles that appear on the PEmicro.com blog. These articles often contain a more detailed exploration of the topic at hand. They can be browsed in aggregate under the Product Blog tab of the Cyclone LC product page:
pemicro.com/CycloneLC-blog
The Cyclone LC product page also contains a Learning Center tab where important concepts related to the Cyclone are organized into Experts Corners (in-depth exploration of a topic) and User Guides (how to accomplish a specific task):
pemicro.com/CycloneLC-learning
User Manual For Cyclone LC Programmers 10

2 QUICK START GUIDE FOR SAP OPERATION

This guide will allow the user to set up and program a simple Stand-Alone Programming (SAP) image with the Cyclone by completing the following steps.
Installing the Cyclone software
Setting up the Cyclone hardware
Creating a stand-alone programming image
Launching Cyclone programming
This guide is intended as a supplement to the Cyclone’s User Manual, which contains in-depth information about the topics covered here and much more.

2.1 Installing The Cyclone Software

First, the Cyclone software should be installed on the user’s PC. It can be downloaded from the Support & Downloads tab on the pemicro.com Cyclone product page, or directly from https:// www.pemicro.com/downloads/download_file.cfm?download_id=481.
For macOS/Linux, download the .TGZ file from the Support & Downloads tab, or directly from https:// www.pemicro.com/downloads/download_file.cfm?download_id=577.
Once the software is downloaded, the user should install it on their PC. If Cyclone software is already installed on the PC, it is recommended that the old installation be removed before the user installs the latest software.

2.2 Setting Up The Cyclone Hardware

Step 1. Configure Cyclone power settings
The Cyclone has several different power configurations. The label on the bottom of the Cyclone indicates the appropriate Jumper settings for each. The user should install the Jumpers as indicated for their desired power configuration.
The Jumpers are located underneath th e Cyclone ’s access panel. They are labeled “Power Jumpers.” and numbered from 1-4. The Cyclone-LC-ARM is shown in the example below; the jumper location will be similar for all Cyclone models.
User Manual For Cyclone LC Programmers 11
If power is provided via the Cyclone, the user may need to configure the programming image accordingly. Image creation and configuration is discussed in Section 2.3 - Creating A Stand-Alone Programming Image.
For more information on the various power configur ations, the user should refe r to their Cyclone’s User Manual. There is a also a blog post that covers this topic at: http://www.pemicro.com/blog/ index.cfm?post_id=121
Step 2. Connect Cyclone to a PC (for programming image setup)
The Cyclone programmer should be connected to the PC via USB, Serial, or Ether net. Cables for each of these options are included with the Cyclone.
Note: An Ethernet connection requires IP setup on the Cyclone unit; please refer to the Cyclone’s User
Manual for more information.
Step 3. Connect Cyclone to target
A ribbon ca ble should be connected from the appropriate Cyclon e header (located under th e Cyclone’s access panel) to the header for your target device. Ribbon cables are provided with the Cyclone.
User Manual For Cyclone LC Programmers 12
Step 4. Plug in power to the Cyclone
The provided power supply should be plugged into the System Powe r jack of the Cyclone programmer. Other power connections should be made according to the power configuration selected in Step 1.
On power-up the user may need to agree to a firmware update on the Cyclone unit.

2.3 Creating A Stand-Alone Programming Image

A stand-alone programming (SAP) image is the result of pre-processing the programming algorithms, data to be programmed, programming options, and scripted programming commands. These are combined into a single encrypted file. This SAP image can then be loaded onto the Cyclone a nd used to program, without need for the Cyclone to be connected to a PC.
The Cyclone Image Creation Utility, shown below, allows the user to configure and save SAP images. A simple programming image can be created in 6 steps:
Step 1. Run Cyclone Image Creation Utility Step 2. Select Device Manufacturer & Device Step 3. Set Up Programming Sequence Step 4. Add Basic Programming Commands Step 5. Configure Additi onal Settings Step 6. Save SAP Image To Cyclone
User Manual For Cyclone LC Programmers 13
The following instructions walk the user through each of these steps:
Step 1. Run Cyclone Image Creation Utility
CreateImage.exe is in the “ImageCreation” folder, in the location where the Cyclone software was installed. For an in-depth description of the Cyclone Image Creation Utility, see Sectio n 6.1 - Cyc lone
Image Creation Utility.
Step 2. Select Device Manufacturer and Device
Specify CPU Manufacturer and Select New Device are used to choose the manufacturer of the target device, and then the specific device or architecture.
User Manual For Cyclone LC Programmers 14
Step 3. Programming Sequence Setup
The user should double-click on CM in the Progra mming Seque nce window to choo se the appropr iate Algorithm for the target device. They can navigate to the algorithm using the dialog provided.
Based on the algorithm that was selected, additional commands will be made available in the box of programming commands on the left.
The user should then double-click on the SS command to specify the Object Code.
User Manual For Cyclone LC Programmers 15
Step 4. Adding Basic Programming Commands
The user should then add other basic programming commands, using the list of commands on the left side of the Programming Sequence area. The arrow and button s allow the user to add, remove, and re-sequence the commands, in the box on the right. As an example, some basic commands might be
Erase
Program
•Verify
Note: Launch Script Wizard can also be used to quickly complete Steps 3 and 4.
Step 5. Other Settings
The user should then specify any other settings that the SAP image should contain in order to prog ram correctly, such as
Communication SWD vs JTAG
Shift frequency
Target Power and Voltage Settings
User Manual For Cyclone LC Programmers 16
These settings can be made using the corresponding areas of the Cyclone Image Creation Utility.
Step 6. Save SAP image to Cyclone
The user should then save the SAP image onto the Cyclone by clicking the button to save to “Cyclone Only” or “Cyclone & Disk.” The image will be automatically selected as the current SAP image on the Cyclone.

2.3.1 Advanced Features

Cyclone programmers can take advantage of several adva nced featu res tha t are be yo nd the scope of this Getting Started guide, such as RSA/AES encrypted programming images, programming restrictions on images (see Section 6.1.10 - ProCryption Security Features), and use of a barcode scanner to launch programming (see CHAPTER 12 - USING A BARCODE SCANNER TO SELECT AN IMAGE & INITIATE PROGRAMMING). CYCLONE FX programmers include all of these features, and CYCLONE programmers can use many of these features with the appropriate activation license.

2.4 Launching Cyclone Programming

There are three ways to launch programming.
1. Cyclone Start Button Press - The user simply presses the Start button located on top of the Cyclone programmer.
2. Cyclone Control Console (command-line utility) - The user writes a script that specifies parameters and initiates programming usin g th e com m a nd line. More inf or m atio n is avail­able in the Cyclone’s User manual or at: http://www.pemicro.com/blog/
User Manual For Cyclone LC Programmers 17
index.cfm?post_id=142
3. SDK - The SDK is a software library that is used in conjunction with the user’s own code. The user writes a customer application that uses this library of functions to launch pro­gramming. More information is available in the Cyclone’s User Manual, or at: http:// www.pemicro.com/blog/index.cfm?post_id=139
The “Success” or “Error” LED will illuminate to let the user know the result of programming.
Note: If programming is unsuccessful when using this quick start procedure, the user may instead wish
to use the included PROG software for their target device. The PROG software allows the user to manually walk through the programming procedure step by step , wh ich may help d etermine which part of setup or programming function is causing difficulty.
User Manual For Cyclone LC Programmers 18

3 CYCLONE LC HARDWARE

The following is an overview of the features and interfaces of Cyclone LC programmers. Many of these interfaces are labeled on the underside of the plastic case.

3.1 Touchscreen LCD

The LCD Touchscreen displays information about the Cyclone’s configuration and the programming process, and also allows the user to navigate the Cyclone’s menus. The location of the Touchscreen LCD is shown in Figure 3-1.

3.2 LED Indicators

The LED indicators for Error or Success will illuminate depending on the results of the programming process and provide a clear visual indication of the results. The location of the LED Indicators is shown in Figure 3-1.

3.3 Start Button

The Start Button can be used to begin the programming process manually, provided that the Cyclone is properly configured. The location of the Start Button is shown in Figure 3-1.

3.4 Access Panel

The Access Panel can easily be opened to allow the user to connect/disconnect ribbon cables from the headers, or to configure the Cyclone’s Power Jumpers to select one of the available Power Management setups. The location of the Access Panel is shown in Figure 3-1; a layout of the headers and jumpers beneath the Access Panel is shown in Figure 3-5.
Figure 3-1: Cyclone LC Top View
User Manual For Cyclone LC Programmers 19
Figure 3-2: Cyclone LC Right Side View

3.5 Cyclone System Power

The Cyclone LC programmer requires a regulated 6V DC Center Positive power supply with 2.5/
5.5mm female plug. Cyclones derive power from the Power Jack located on the right end of the unit. The location of Cyclone System Power is shown in Figure 3-2.

3.6 RS232 Communication (Serial Port)

The Cyclone LC 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). The location of the Serial Port is shown in Figure 3-2.

3.7 Ethernet Communication

The Cyclone LC provides a standard RJ45 socket to communicate with a host computer through the Ethernet Port (10/100 BaseT). The location of the Ethernet Port is shown in Figure 3-2.

3.8 USB Communications

The Cyclone LC provides a USB connector for Universal Serial Bus communications between the Cyclone and the host computer. The Cyclone LC is a USB 2.0 Full-Speed compliant device. The location of the USB Port is shown in Figure 3-2.

3.9 Electromechanical Relays

Inside the Cyclone LC programmer, 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
PEmicro only recommends switching DC voltages up to 24 Volts.
User Manual For Cyclone LC Programmers 20

3.10 Power Connectors

The Cyclone LC programmers provide 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. The location of Target Power In is shown in Figure 3-3, and the location of Target Power Out is shown in Figure 3-3.

3.11 Reset Button

The Reset Button performs a hard reset of the Cyclone system. The location of the Reset Button is shown in Figure 3-3.
Figure 3-3: Cyclone LC Front Side View
Figure 3-4: Cyclone LC Rear Side View

3.12 SDHC Port

Note: The SDHC port is activated on all Cyclone FX programmers, and may be activated on Cyclone
LC programmers via purchase of the SDHC Port Activation License.
The SDHC port allows the user to store programming images that are, individually or collectively, larger than the Cyclone’s internal memory. It also makes it quicker and more convenient to swap programming images. PEmicro offers certified SDHC cards on our website at pemicro.com. The location of the SDHC Port is shown in Figure 3-4.
Programming images are managed on the SD card in exactly the same way as they are in the Cyclone’s internal memory. Please see Section 6.2 - Managing Multiple SAP Images for more information about using the Manage Images utility.
To view detailed information about the status of the SDHC card/port, tap the icon bar at the top of the touchscreen menu. This status can provide you with relevant information if you are
User Manual For Cyclone LC Programmers 21
encountering any difficulty while trying to use an SDHC card. SDHC cards with a memory capacity up to 4GB are supported. Cards with a larger capacity may
work but have not been tested by PEmicro.

3.13 Optional Oscillator (MON08 Only)

Cyclone LC programmers with MON08 support (PEmicro Part# CYCLONE-LC-UNIV only)
provide a software configurable 9.8304MHz or 4.9152 MHz oscillator clock signal to Pin 13 of the MON08 Connector. The user may use this clock signal to overdrive the target RC or crystal circuitry. If this signal is not used, just leave Pin 13 of the target MON08 header unconnected.
Please note that if the target already uses an oscillator as its clock, the Cyclone will NOT be able to overdrive it. The clock should have sufficient drive to be used with a target system even if the target system has an RC circuit or crystal connected.

3.14 Cyclone Time / Real Time Clock

Cyclone LC programmers are equipped with a Real Time Clock (RTC) module designed to keep
accurate timing even when the Cyclone is turned off. The Date & Time are displayed on the home screen. Date/Time settings can be configured by
navigating to the following menu using the touchscreen display:
Main Menu / Configure Cyclone Settings / Configure Time Settings
For more information on the available configuration options, see Section 5.2.3.3 - Configure Time Settings (Cyclone Time / Real Time Clock).

3.15 Power Jumper Settings

The Power Jumpers must be set differently for various power management options that the Cyclone LC offers. If the target is being powered ind epend ently of the Cy clone LC , all pins in the Power Jumpers header must instead be left unpopulated. To re veal the Power Jumpers header, lift the access panel on the left end of the Cyclone LC. The location is indicated as Power Jumpers in Figure 3-5. Please see CHAPTER 4 - TARGET POWER MANAGEMENT for the correct jumper settings for the Cyclone’s power management options. A quick guide to these settings is also located on the underside label of the Cyclone LC.

3.16 Debug Connectors

When purchasing a Cyclone LC programmer, the user is able to choose between two part numbers, each corresponding to a different level of device support. See the sticker on the underside of the Cyclone to determine the PEmicro part# for your specific Cyclone LC programmer.
PEmicro Part# CYCLONE-LC-ARM supports ARM Cortex devices only, so this programmer provides one shrouded, un-keyed, 0.100-inch pitch dual row 0.025-inch square header, and two shrouded, keyed 0.050-inch pitch dual row mini headers.
PEmicro Part# CYCLONE-LC-UNIV supports ARM Cortex devices and additionally supports target connections to many 8-/16-/32-bit NXP architectures, so this programmer provides six shrouded, un-keyed, 0.100-inch pitch dual row 0.025-inch square headers, and two shrouded, keyed 0.050-inch pitch dual row mini header s.
To reveal the headers and connect/disconnect ribbon cables, lift the access panel on the left end of the Cyclone. Each header is designated for one or more specific target architectures, as indicated in Figure 3-5.
User Manual For Cyclone LC Programmers 22
Figure 3-5: Target Headers & Power Jumpers (CYCLONE-LC-UNIV vs.CYCLONE-LC-ARM)
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 dif fer fr om the Cyclone h eaders; the
drawings are provided simply to demonstrate pin size and spacing.
Figure 3-6: 20-Pin Un-Keyed Header Dimensions
Figure 3-7: Mini 10-Pin and Mini 20-Pin Keyed Header Dimensions
User Manual For Cyclone LC Programmers 23

3.17 Target Headers For Part# CYCLONE-LC-ARM

PEmicro Part# CYCLONE-LC-ARM features 3 ports labeled A-C.

3.17.1 PORT A: 10-Pin Keyed Mini Connector (Kinetis, S32 (ARM), other PEmicro-Supported ARM devices)

3.17.1.1 JTAG Pin Assignments
The Cyclone provides a keyed 10-pin 0.050-inch pi tch doub le r ow conne ctor for ARM targets. The location of the this header is indicated as PORT A in Figure 3-5. The 10-pin keyed mini connector pin definitions for JTAG mode are as follows:
10-Pin Keyed Mini Connector JTAG Mode Pin Assignments
PIN 1 - TVCC TMS - PIN 2 PIN 3 - GND TCK - PIN 4 PIN 5 - GND TDO - PIN 6 PIN 7 - NC TDI - PIN 8 PIN 9 - JTAG_MOD/NC* RESET - PIN 10
Note: * PIN9: Users of NXP i.MX processors are recommended to connect the JTAG_MOD signal to this
pin to allow programming when secure JTAG is enabled. For all other processors, this pin should be left as NC.
Cyclone LC programmers also support SWD Mode. This replaces the JTAG connection with a clock and single bi-directional data pin.
3.17.1.2 SWD Mode Pin Assignments 10-Pin Keyed Mini Connector SWD Mode Pin Assignments
PIN 1 - TVCC TMS/SWDIO - PIN 2 PIN 3 - GND TCK/SWCLK - PIN 4 PIN 5 - GND NC* - PIN 6 PIN 7 - NC NC* - PIN 8 PIN 9 - JTAG_MOD/NC** RESET - PIN 10
Note: *The pin is reserved for internal use within the PEmicro interface. Note: ** PIN9: Users of NXP i.MX processors are recommended to connect the JTAG_MOD signal to
this pin to allow programming when secure JTAG is enabled. For all other processors, this pin should be left as NC.
SWD Mode is selected from the “Communication Mode” drop-down box in the Cyclone Image Creation Utility:
Figure 3-8: Communications Mode Selection
3.17.1.2.1 High-Performance Communications (FX ONLY)
If high-performance options are available for the selected device they will appear in the “Shift Frequency in MHz” drop-down. Cyclone FX programmers are capable of high-performance communications when using certain ARM Cortex targets in SWD mode.
Note: Cyclone LC programmers cannot currently take advantage of high-perfor mance options, although
the frequencies appear in the display.
User Manual For Cyclone LC Programmers 24
Figure 3-9: High-Performance Options (FX ONLY)

3.17.2 PORT B: 20-Pin Keyed Mini Connector (Kinetis, S32 (ARM), other PEmicro-Supported ARM devices)

3.17.2.1 JTAG Mode Pin Assignments
The Cyclone provides a keyed 20-pin 0.050-inch pi tch doub le r ow conne ctor for ARM targets. The location of the this header is indicated as POR T B in Figure 3-5. The 20-pin keyed mini connector pin definitions for JTAG mode are as follows:
20-Pin Keyed Mini Connector JTAG Mode Pin Assignments
PIN 1 - TVCC TMS - PIN 2 PIN 3 - GND TCK - PIN 4 PIN 5 - GND TDO - PIN 6 PIN 7 - NC TDI - PIN 8 PIN 9 - JTAG_MOD/NC** RESET - PIN 10
PIN 11 - NC NC* - PIN 12 PIN 13 - NC NC* - PIN 14 PIN 15 - GND NC* - PIN 16 PIN 17 - GND NC* - PIN 18 PIN 19 - GND NC* - PIN 20
Note: *The pin is reserved for internal use within the PEmicro interface. Note: ** PIN9: Users of NXP i.MX processors are recommended to connect the JTAG_MOD signal to
this pin to allow programming when secure JTAG is enabled. For all other processors, this pin should be left as NC.
3.17.2.2 SWD Mode Pin Assignments
Cyclone LC programmers also support SWD Mode. This replaces the JTAG connection with a
clock and single bi-directional data pin.
20-Pin Keyed Mini Connector SWD Mode Pin Assignments
PIN 1 - TVCC TMS/SWDIO - PIN 2 PIN 3 - GND TCK/SWCLK - PIN 4 PIN 5 - GND NC* - PIN 6 PIN 7 - NC NC* - PIN 8 PIN 9 - JTAG_MOD/NC** RESET - PIN 10
PIN 11 - NC NC* - PIN 12 PIN 13 - NC NC* - PIN 14 PIN 15 - GND NC* - PIN 16 PIN 17 - GND NC* - PIN 18 PIN 19 - GND NC* - PIN 20
Note: *The pin is reserved for internal use within the PEmicro interface. Note: ** PIN9: Users of NXP i.MX processors are recommended to connect the JTAG_MOD signal to
this pin to allow programming when secure JTAG is enabled. For all other processors, this pin should be left as NC.
User Manual For Cyclone LC Programmers 25
SWD Mode is selected from the “Communication Mode” drop-down box in the Cyclone Image Creation Utility:
Figure 3-10: Communications Mode Selection
3.17.2.2.1 High-Performance Communications (FX ONLY)
If high-performance options are available for the selected device they will appear in the “Shift Frequency in M Hz” drop-down. Cyclone FX programmers ar e capable of high-performance communications when using certain ARM Cortex targets in SWD mode.
Note: Cyclone LC programmers cannot currently take advantage of high-perfor mance options, although
the frequencies appear in the display.
Figure 3-11: High-Performance Options (FX ONLY)

3.17.3 PORT C: 20-Pin Debug Connector (Kinetis, S32 (ARM), other PEmicro-Supported ARM devices)

3.17.3.1 JTAG Mode Pin Assignments
The Cyclone provides a 20-pin 0.100-inch pitch double row connector for ARM targets. The location of the this header is indicated as PORT C The 20-pin standard connector pin definitions for JTAG mode 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
Note: *The pin is reserved for internal use within the PEmicro interface.
3.17.3.2 SWD Mode Pin Assignments
Cyclone LC programmers also support SWD Mode. This replaces the JTAG connection with a
clock and single bi-directional data pin.
under Part# CYCLONE-LC-ARM in Figure 3-5.
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
User Manual For Cyclone LC Programmers 26
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
Note: *The pin is reserved for internal use within the PEmicro interface.
SWD Mode is selected from the “Communication Mode” drop-down box in the Cyclone Image Creation Utility:
Figure 3-12: Communications Mode Selection
3.17.3.2.1 High-Performance Communications (FX ONLY)
If high-performance options are available for the selected device they will appear in the “Shift Frequency in MHz” drop-down. Cyclone FX programmers are capable of high-performance communications when using certain ARM Cortex targets in SWD mode.
Note: Cyclone LC programmers cannot currently take advantage of high-perfor mance options, although
the frequencies appear in the display.
Figure 3-13: High-Performance Options (FX ONLY)

3.18 Target Headers For Part# CYCLONE-LC-UNIV

PEmicro Part# CYCLONE-LC-UNIV features 6 ports labeled A-H.

3.18.1 PORT A: 10-Pin Keyed Mini Connector (NXP Kinetis & S32 (ARM), other PEmicro-Supported ARM devices, Infineon T riCore)

3.18.1.1 JTAG Mode Pin Assignments
The Cyclone provides a keyed 10-pin 0.050-inch pi tch doub le r ow conne ctor for ARM targets. The location of the this header is indicated as PORT A in Figure 3-5. The 10-pin keyed mini connector pin definitions for JTAG mode are as follows:
10-Pin Keyed Mini Connector JTAG Mode Pin Assignments
PIN 1 - TVCC TMS - PIN 2 PIN 3 - GND TCK - PIN 4 PIN 5 - GND TDO - PIN 6 PIN 7 - NC TDI - PIN 8 PIN 9 - JTAG_MOD/NC* RESET - PIN 10
Note: * PIN9: Users of NXP i.MX processors are recommended to connect the JTAG_MOD signal to this
pin to allow programming when secure JTAG is enabled. For all other processors, this pin should
User Manual For Cyclone LC Programmers 27
be left as NC.
3.18.1.2 SWD Mode Pin Assignments
Cyclone LC programmers also support SWD Mode. This replaces the JTAG connection with a
clock and single bi-directional data pin.
10-Pin Keyed Mini Connector SWD Mode Pin Assignments
PIN 1 - TVCC TMS/SWDIO - PIN 2 PIN 3 - GND TCK/SWCLK - PIN 4 PIN 5 - GND NC* - PIN 6 PIN 7 - NC NC* - PIN 8
PIN 9* - JTAG_MOD/NC** RESET - PIN 10
Note: *The pin is reserved for internal use within the PEmicro interface. Note: ** PIN9: Users of NXP i.MX processors are recommended to connect the JTAG_MOD signal to
this pin to allow programming when secure JTAG is enabled. For all other processors, this pin should be left as NC.
SWD Mode is selected from the “Communication Mode” drop-down box in the Cyclone Image Creation Utility:
Figure 3-14: Communications Mode Selection
3.18.1.2.1 High-Performance Communications (FX ONLY)
If high-performance options are available for the selected device they will appear in the “Shift Frequency in MHz” drop-down. Cyclone FX programmers are capable of high-performance communications when using certain ARM Cortex targets in SWD mode.
Note: Cyclone LC programmers cannot currently take advantage of high-perfor mance options, although
the frequencies appear in the display.
Figure 3-15: High-Performance Options (FX ONLY)
3.18.1.3 DAP Connector Pin Assignments (Target Board Has Dedica ted DAP Connector Port)
Users whose target board does not have a dedicated DAP Connector should refer instead to Port H in Section 3.20.8.3 - DAP Connector Pin Assignments (Target Board Does Not Have Dedicated DAP Connector Port).
The keyed 10-pin 0.050-inch pitch double row connector of the CYCLONE-LC-UNIV model
TM
supports Infineon TriCore targets (AUDO
TC1xx and AURIXTM TC2xx/TC3xx). The location of the this header is indicated as PORT A in Figure 3-5. The 10-pin keyed mini connector pin definitions for DAP connectors are as follows:
10-Pin Keyed Mini Connector DAP Pin Assignments
PIN 1 - TVCC DAP1 - PIN 2 PIN 3 - GND DAP0 - PIN 4
User Manual For Cyclone LC Programmers 28
PIN 5 - GND NC* - PIN 6 PIN 7 - NC NC* - PIN 8 PIN 9 - NC* RESET - PIN 10
Note: *The pin is reserved for internal use within the PEmicro interface.

3.18.2 PORT B: 20-Pin Keyed Mini Connector (Kinetis, S32 (ARM), other PEmicro-Supported ARM devices)

3.18.2.1 JTAG Mode Pin Assignments
The Cyclone provides a keyed 20-pin 0.050-inch pi tch doub le r ow conne ctor for ARM targets. The location of the this header is indicated as POR T B in Figure 3-5. The 20-pin keyed mini connector pin definitions for JTAG mode are as follows:
20-Pin Keyed Mini Connector JTAG Mode Pin Assignments
PIN 1 - TVCC TMS - PIN 2 PIN 3 - GND TCK - PIN 4 PIN 5 - GND TDO - PIN 6 PIN 7 - NC TDI - PIN 8 PIN 9 - JTAG_MOD/NC** RESET - PIN 10
PIN 11 - NC NC* - PIN 12 PIN 13 - NC NC* - PIN 14 PIN 15 - GND NC* - PIN 16 PIN 17 - GND NC* - PIN 18 PIN 19 - GND NC* - PIN 20
Note: *The pin is reserved for internal use within the PEmicro interface.
** PIN9: Users of NXP i.MX processors are recommended to connect the JTAG_MOD signal to this pin to allow programming when secure JTAG is enabled. For all other processors, this pin should be left as NC.
3.18.2.2 SWD Mode Pin Assignments
Cyclone LC programmers also support SWD Mode. This replaces the JTAG connection with a
clock and single bi-directional data pin.
20-Pin Keyed Mini Connector SWD Mode Pin Assignments
PIN 1 - TVCC TMS/SWDIO - PIN 2 PIN 3 - GND TCK/SWCLK - PIN 4 PIN 5 - GND NC* - PIN 6 PIN 7 - NC NC* - PIN 8 PIN 9 - JTAG_MOD/NC** RESET - PIN 10
PIN 11 - NC NC* - PIN 12 PIN 13 - NC NC* - PIN 14 PIN 15 - GND NC* - PIN 16 PIN 17 - GND NC* - PIN 18 PIN 19 - GND NC* - PIN 20
Note: *The pin is reserved for internal use within the PEmicro interface.
** PIN9: Users of NXP i.MX processors are recommended to connect the JTAG_MOD signal to this pin to allow programming when secure JTAG is enabled. For all other processors, this pin should be left as NC.
SWD Mode is selected from the “Communication Mode” drop-down box in the Cyclone Image Creation Utility:
User Manual For Cyclone LC Programmers 29
Figure 3-16: Communications Mode Selection
3.18.2.2.1 High-Performance Communications (FX ONLY)
If high-performance options are available for the selected device they will appear in the “Shift Frequency in MHz” drop-down. Cyclone FX programmers are capable of high-performance communications when using certain ARM Cortex targets in SWD mode.
Note: Cyclone LC programmers cannot currently take advantage of high-perfor mance options, although
the frequencies appear in the display.
Figure 3-17: High-Performance Options (FX ONLY)

3.18.3 PORT C: 14-Pin Debug Connector (MPC55xx-57xx, SPC5, DSC, S32 (Power))

The Cyclone provides a standard 14-pin 0.100-inch pitch dual row 0.025-inch square header for MPC55xx-57xx, DSC (MC56F8xxx), S32R, or STMicroelectronics’ SPC5 targets. The location of the this header is indicated as PORT C in Figure 3-5.
MPC55xx-57xx, SPC5, or S32 (Power) Pinout
TDI 12GND
TDO 34GND
TCK 56GND
NC 78NC RESET 910TMS VDDE7 11 12 GND
RDY 13 14 JCOMP
DSC Pinout
TDI 12GND
TDO 34GND
TCK 56GND
NC 78NC/KEY RESET 910TMS
VDD 11 12 GND
NC* 13 14 TRST
*The pin is reserved for internal use within the PEmicro interface.
3.18.3.1 BERG14 -t o -M ICTOR38 Optional Connector
PEmicro offers a 14-pin BERG to 38-pin MICTOR adapter, sold separately, that may be used on Port C of the Cyclone LC. The PEmicro part number is BERG14-TO-MICTOR38.
User Manual For Cyclone LC Programmers 30
Loading...
+ 126 hidden pages