A Software Guide to
Universal Debug Engine for C166, ST10, XC166, XE166 XC2000, TriCore, PowerPC
ARM, XScale, SuperH
Integrated Development Environment
for 32-bit TriCore, PowerArchitecture, Cortex, ARM7, ARM9, ARM11, XScale, SuperH derivatives for 16-bit C166, ST10, XC166, XC2000, XE166, C166CBC derivatives
PLS 1991-2013 V 4.00.02.02
This manual contains 167 pages. Contact us at: EMail: [email protected]
WWW: http://www.pls-mc.com
PLS Programmierbare Logik & Systeme GmbH PLS Development Tools
Technologiepark Lauta 1250 Oakmead Parkway, Suite#210
D - 02991 Lauta Sunnyvale CA, 94085
Germany U.S.A.
Phone: + 49 35722 384 - 0 + 1 408 451 - 8408
Fax: + 49 35722 384 - 69 + 1 408 501 - 8808
Toll Free: + 1 877 - 77DEBUG
All rights reserved. No part of this manual may be reproduced or may be transmitted in any form or by any means without prior written permission of PLS Programmierbare Logik & Systeme GmbH. The information in this manual is subject to change without notice, no responsibility is assumed for its use.
Universal Debug Engine is a trademark of PLS Programmierbare Logik & Systeme GmbH. Adobe is a registered trademark of Adobe Systems Incorporated. TriCore™ is a trademark of Infineon AG. ARM7™,
ARM9™, ARM11™, Cortex™ are trademarks of ARM . PowerPC is a registered trademark of IBM
Corporation. Power Architecture™ is a trademark of Power.org. Windows XP, Windows Vista,
Windows 7, Windows 8 are trademarks of Microsoft Corporation. Pentium and Core™ are trademarks of
Intel Corporation. XScale , Celeron are registered trademarks of Intel Corporation. Athlon™ is a trademark of Advanced Micro Devices, Inc. SuperH™ is a trademark of Renesas Technology Corporation. All other names and trademarks are the property of their respective owners.
mailto:[email protected]:[email protected]://www.pls-mc.com/
Introduction Overview 3 of 167
Contents
Introduction 7
Overview 7 Feedback 7 Versions of UDE 8 Delivery Contents 9 System Requirements 11
Installing of Universal Debug Engine 12
Installation Notes - before you install UDE 12 Installing Hardware 13
Static Electricity Precautions 13 Demo Version for Starterkits (via JTAG) 14 Demo Version for Starterkits (via ASC Bootstrap loader) 15 Demo Version for Easy Kits (via DAS/USB-JTAG adapter) 16 Standard Version UAD2
compact (via JTAG) 17
Standard Version UAD2 and UAD2pro
(via JTAG) 18 Standard Version UAD2 and UAD2
pro (via DAP) 19
Standard Version UAD2 and UAD2pro
(via SWD) 20 Standard Version UAD2
+ (via JTAG) 21
Standard Version UAD2+ (via DAP) 22
Standard Version UAD2+ (via SWD) 23
Standard Version UAD3+ (via JTAG) 24
Standard Version UAD2 (via ASC, SSC, CAN) 25 Standard Version UAD2
+ (via ASC, SSC, CAN) 26
Standard Version UAD2+ (via 3Pin) 27
Standard Version fast-PC6x / fast-PC276 (via ASC/SSC) 28 Standard Version fast-PC6x / fast-PC276 (via CAN) 29 Standard Version UAD2
+ (with Trace Support) 30
Standard Version UAD3+ (with Trace support) 31
UAD2-JTAG Protector 2 for UAD2 32 UAD-JTAG Protector 2 for UAD2
+ 33
Simulator Version (TSim) 34 Installing UDE Software 35
Working with the CD browser 35 Start the Installation 36
Driver Installation for Universal Access Device 37 UAD via standard parallel port interface 37 UAD2
+ via IEEE1394 38
UAD3+ via IEEE1394b 39
UAD2, UAD2pro
, UAD2+, UAD3
+ via USB port 40
UAD2+, UAD3
+ via Ethernet TCP/IP 41
Driver Installation for USB-JTAG-Port 44 USB-JTAG-Port via USB port 44
Driver Installation for USB-Key (Sentinel USB SuperPro) 45 USB-Key via USB port 45
Driver Installation for fast-PC6x Card 46 fast-PC67C/PCI via PCI Bus Host PC 46
Driver Installation for Starterkit Version 47 JTAG Parallel Port via Standard Parallel port 47 Serial Port via Standard Serial Port 47 Serial Port via USB-to-Serial Port 47
4 of 167 Overview Introduction
License Manager 48 Node-locked licensing 49
How to get the Host ID of UDE Installation 49 Setup of Node-Locked License File 51
Uninstalling or Reinstalling UDE 52 Trouble Shooting 53
Precautions 53 Latest Versions on World Wide Web 53 Known Issues with UDE 53
Getting Started 55
Examples delivered with UDE 55 A First Example with TriCore™ 56
Precautions 56 Starting Universal Debug Engine 56 Loading a TriCore Executable 58 Running and Stepping through the Application 59 Setting Breakpoints 59 CPU Registers 60 SFR Registers 61 Viewing Variables 61 Viewing Memory Locations 62 Leaving the Project 62
A Multi-Core Debugging Example with TriCore/PCP 63 Creating a New Workspace with changed configuration 63 Running the Program 64 HelloPCP Internals 64
A Multi-Core Debugging Example with TriCore2 AURIX 65 Creating a New Workspace 65 Preparing the debugger 65 Loading a multi-core Executable 66 Core selection 67 Single-core Breakpoints 67 Multi-core Breakpoints and Stepping 68
A Multi-Core GTM Debugging Example with PowerPC MPC5746M 69 Creating a New Workspace 69 Preparing the debugger 70 Loading a multi-core Executable 70 Core selection 71 Single-core Breakpoints 71 Multi-core Breakpoints and Stepping 72 Inspecting Multi-Channel-Sequencer (MCS) Channels 72
A TriCore MCDS Trace Example 74 Introduction 74 Target Configuration 74 Preparations 74 MCDS Trace 76
An Example with C166S V2 / XC16x via JTAG/OCDS L1 77 Starting with Universal Debug Engine 77 Loading and Starting of an Executable 77 Automatic Variables Refresh 77 Trigger Functions 78
An Example with MPC5567 via JTAG 79 Starting with Universal Debug Engine 79 Loading and Starting of an Executable 79 Automatic Variables Refresh 79 Trigger Functions 80 Hints for using the MPC55xx via JTAG 81
An example for Linux kernel and application debugging 82 Preparations 82 Create a new workspace 82 Load the kernel ELF file 83
Introduction Overview 5 of 167
Substitute kernel path 83 Debug a syscall kernel function 84
An Example for C166 debugging via 3Pin 85 Hardware Requirements 85 Useful hints for 3Pin Debugging 85 Monitor preparations 86 Starting the Universal Debug Engine 86 Setup Target Interface 87 Using the Simulated I/O channel 89
Creating new Target Configurations 90 Creating a new workspace 90 Invoking the Wizard 90 Select the controller derivative 91 Selecting Target Interface 91 Setup the Target Interface 92 Configuring the FLASH memory 93 Finish the wizard 94
Using the OCDS L2 Trace Board with the TriCore 95 Preparations 95 Recording the first Samples 95 Looking what happens when the Function exits 95 Measuring the Interval a Function is called 96
Conclusion 96
User's Guide 97
Introduction 97 Architecture of Universal Debug Engine 98 Using On-line Help 99 Project Management 100
Working with Projects 100 Creating a New Project 100 Select Target Configuration 101 Loading a Project 101 Saving Project Settings 101 Closing a Project 101 Command line options of UDE 102
Preparing a binary File 102 Compiler Support 102
Downloading the binary File 104 Examples of Debug Communication Channels 104 Selection of a Hardware Communication Channel 105 Overview about the Monitor programs 106 Preparing the Communication 106 Connect the target system 108 Download the application 108
Viewing Program Code 108 Workspace 108 Program Window 109
Running a program 111 Inline Assembler 111 Viewing and Modifying Registers 112
Kinds of Register Views 112 CPU View 112 SFR View 113 HTML View based on the UDE Object Model 114
Watching Variables 115 Watch View 115 Watch Expressions 115 Adding Variables and Expressions using Select Watch Dialog 117 Locals View 119 Automatically variable content refresh 119
Stepping and Breakpoints 119
6 of 167 Overview Introduction
Overview 119 Following the program flow 119 Stop the program at a specified location 120 Breakpoint dialog 121 Breakpoint identifier 122
Viewing Memory Locations 123 Writing data to target 123 Updating data from target 123 Printing of memory locations 124
Viewing Data as Scientific Chart 124 Basic features of the Graphic Display Window 124 Using Expressions 124 Graphical Display Window Properties 125
Viewing Call Stack 125 Program Execution Time Measuring 126 Trace, Visualization and Analyzing 127
Trace Analyzing Features and Views 128 Trace Profiling as Statistical Chart 129 Trace Profiling as Flow Chart 132 Code Coverage 133 MCDS, Nexus, CoreSight, ETM, ETB, OCDS L2 Trace View 134 Signal Trace - Real-Time Graphical Monitoring 139 ITM Trace 141
Activating and Using Add-Ins 142 Activating an Add-In 142 Removing an Add-In 142
Triggered Transfer Recorder 143 FLASH / OTP Programming 144
Supported Functions 144 Basic Concept 144 Definition of external FLASH Memories 147 Definition of on-chip FLASH Memories 147 Definition of Memory Access Filters 148 Enabling the FLASH Programming 148 FLASH Programming 149 Setup FLASH Programming options 150
UDE CAN Recorder 151 Supported Functions 151 Enabling the CAN Recorder 151 Send and Record CAN Messages 151
UDE RTX Viewer 152 Supported Functions 152 Enabling the RTX Viewer 152 Using the RTX Viewer 152
UDE rcX Viewer 153 Supported Functions 153 Enabling the rcX Viewer 153 Using the rcX Viewer 153
Eclipse IDE for UDE 154 Prepare Eclipse IDE for UDE Integration Package 154 Launching UDE Debug Session in Eclipse IDE 156 Add UDE Sample Project to Eclipse Helios C/C++ IDE 158
UDE Object Model 160 Overview 160 Example for TriCore 160
User Definable Enhancements 161
Reference 163
Index 164
Introduction Overview 7 of 167
Introduction
Overview
Thank you for choosing Universal Debug Engine (UDE) 4, one of the most powerful development workbenches available for the 16-bit architectures C166, ST10, XC166,
XC2000, XE166, C166CBC, C166S V2 and the 32-bit TriCore™, PowerPC , Cortex™, ARM7™, ARM9™, ARM11™, XScale™ and SuperH™ derivatives.
The software which you are about to install is the UDE Standard License software. Included with the full licensed version comes a high-speed communication hardware which speeds up downloading your application into the target system. It offers a flexible way of communication via various communication channels to the supported microcontroller.
UDE offers Linux kernel and application debugging. The simultaneous use of two debuggers is supported. Troubleshooting within the application takes place via an Ethernet interface and a modified gdb -server in the target.
Special versions of UDE like the MemTool Flash/OTP Memory Programming Tool are available on your request.
This Software UDE manual describes the Universal Debug Engine based on the selective Evaluation Boards. However, the UDE is also working with other C166, ST10, XC166, XC2000, XE166, TriCore, PowerArchitecture, Cortex, ARM7, ARM9, ARM11, XScale and SuperH based hardware and simulators. Please see the compatibility list in appendix of this manual or the actual list on our Web site for supported MCUs.
This manual is supplemented by the Hardware Appendix UDE manual, an appendix of this manual. Please see this manual for detailed description of the hardware interfaces.
You are invited to browse to our Web site at http://www.pls-mc.com to get the newest information or to download the latest version of Universal Debug Engine.
Feedback
The PLS Development Tools welcomes feedback on our products and documentation's. If you have any comments, suggestions or improvements about the products you are using, please use the Feedback Form from our Web Site http://www.pls-mc.com, send an email to [email protected] or call our Support Line.
?
8 of 167 Versions of UDE Introduction
Versions of UDE
UDE, the Universal Debug Engine for C166, ST10, XC166, XC2000, XE166, TriCore, PowerArchitecture, Cortex, ARM7, ARM9, ARM11, XScale and SuperH derivatives is available in a Starterkit version with parallel port support for JTAG, in a Starterkit version with serial port support and in a high-speed full-featured version with extra communication hardware. Versions with simulator support are available too.
The following table describes the differences between the versions of UDE:
1. The Free Entry Toolchain offers a wide range of UDE features combined with the Eclipse environment and the HighTec C/C++ compiler.
2. The Demo version for Starterkits (JTAG or ASC bootstrap loader support) (Evaluation Kit) offers a simple JTAG target access to the Starterkit board via parallel port or USB-JTAG adapter or offers a target access to the Starterkit board via serial port.
3. The Standard versions are equipped with specialized communication hardware and allow higher transmission rates than the Starterkit version. Additional various communication channels are featured. The Standard version Universal Access Device 2
compact (UAD2
compact) allows a
flexible way of communication and is suitable for desktop and notebook users in the same way. The Universal Access Device 2 communicates with the host PC via the USB2.0 bus. Target Communication is supported via JTAG to ARM7 and ARM9 targets only. The Standard version Universal Access Device 2 (UAD2) allows a flexible way of communication and is suitable for desktop and notebook users in the same way. The Universal Access Device 2 communicates with the host PC via the USB2.0 bus. Target Communication is supported via ASC, SSC, CAN, DAP and JTAG. The Standard version Universal Access Device 2
pro (UAD2
pro) allows a flexible
way of communication and is suitable for desktop and notebook users in the same way. The Universal Access Device 2
pro communicates with the host PC via the
USB2.0 bus. Target Communication is supported via ASC, SSC, CAN, JTAG, cJTAG, DAP, SWD. The Standard version Universal Access Device 2
+ (UAD2
+) is the all-in-on
solution for UDE. It communicates with the host PC via the USB2.0, IEEE1394 or Ethernet bus. Target Communication is supported via ASC, SSC, 3Pin, CAN, JTAG, DAP, SWD. Additionally the Universal Access Device 2
+ supports the program
instruction trace with the trace board add-in feature. The Standard version Universal Access Device 3
+ (UAD3
+) is the high-end-
solution for UDE. It communicates with the host PC via the USB2.0, IEEE1394b or Ethernet bus. Target Communication is supported via JTAG, cJTAG, DAP, SWD. Additionally the Universal Access Device 2
+ supports the high-speed program
instruction trace with the trace board add-in feature. The Standard version fast-PC6x card allows communication to the target via a PCI card. Target Communication is supported via ASC, SSC and CAN.
4. The Simulator version features a debugging environment about various simulators. The simulators can be used effectively in the early stages of software development, reducing the length of time spent later on system integration. The UDE debugger uses the simulator interface like a real hardware platform. All advantages of HLL-Debugging are offered with the combination of UDE and the simulator environment.
Introduction Delivery Contents 9 of 167
Delivery Contents
Depending on your UDE version, please check the contents of delivery from the following table and make sure that the package contains all of the required parts.
Dem
o v
ers
ion
for
Sta
rterk
its
Sta
ndard
ve
rsio
n
UA
D2
co
mp
ac
t
Sta
ndard
ve
rsio
n
UA
D2
Sta
ndard
ve
rsio
n
UA
D2
pro
Sta
ndard
ve
rsio
n
UA
D2+
Sta
ndard
ve
rsio
n
UA
D2+
with T
race
Bo
ard
Sta
ndard
ve
rsio
n
UA
D3+
Sta
ndard
ve
rsio
n
UA
D3+
with T
race
Bo
ard
Sta
ndard
ve
rsio
n
fast-
PC
6x
Sim
ula
tor
vers
ion
Software and Manuals
Software UDE Manual Hardware Appendix UDE Manual
1
CD-ROM
Access Devices
UAD2compact
UAD2
UAD2pro
UAD2+
UAD2+ Trace Board (built-in) 4
UAD2+ JTAG Extender with 10-wire (DAP), or 14-wire (JTAG/cJTAG), or 16-wire (JTAG), 20-wire (JTAG)
3 3
UAD3+
UAD3+ JTAG Pod
UAD3+ Trace Board 2 (built-in) 4
UAD3+ Trace Pod
fast-PC67C/PCI card or fast-PC276C/PCI card
3
USB-to-Serial Converter 3
USB-Key
Interface Devices
UAD2 JTAG Adapter (ARM, OnCE, COP, ...)
3 3 3
UAD2+ Trace Pod ( 38-pin, 40-pin or 60-pin)
4
UAD2pro
/UAD3+ JTAG Adapter (ARM, OnCE, ...)
3 3 3
UAD3+ Trace Adapter (16-bit ARM, ...) 4
10 of 167 Delivery Contents Introduction
Dem
o v
ers
ion
for
Sta
rterk
its
Sta
ndard
ve
rsio
n
UA
D2
co
mp
ac
t
Sta
ndard
vers
ion
UA
D2
Sta
ndard
ve
rsio
n
UA
D2
pro
Sta
ndard
ve
rsio
n
UA
D2+
Sta
ndard
ve
rsio
n
UA
D2+
with T
race
Bo
ard
Sta
ndard
ve
rsio
n
UA
D3+
Sta
ndard
ve
rsio
n
UA
D3+
with T
race
Bo
ard
Sta
ndard
ve
rsio
n
fast-
PC
6x
Sim
ula
tor
vers
ion
Pod Interface Cables
UAD2+ JTAG Extender Cable (40-wire HD Flat Ribbon Cable)
3 3
UAD2+ Trace Pod Cable (80-wire HD Flat Ribbon Cable)
UAD3+ IO Pod Cable (26-wire HD Cable)
UAD3+ Trace Pod Cable (68-wire HD Cable)
Target Interface Cables
UAD2 10" (25 cm) Flat Ribbon Cable, 10-wire, 3Pin, ASC, SSC
UAD2 10" (25 cm) Flat Ribbon Cable, 10-wire (DAP), or 14-wire (JTAG), or 16-wire (JTAG), 20-wire (JTAG)
3 3
UAD2pro
/UAD3+ JTAG Adapter Cable (40-wire HD Flat Ribbon Cable)
UAD3+ Trace Adapter Cable (38-wire HD Flat Ribbon Cable)
Host PC Adapters and Cables
Host IEEE1394 PCI Board 3 3
Host IEEE1394 Cable 3 3
Host IEEE1394b PCI Board 3 3 3
Host IEEE1394b Cable 3 3 3
Host USB Cable 3
Host Parallel Cable 2
Power Supply
Wall Transformer 220 VAC 50~ / 12V DC (6W)
5 5 5
Wall Transformer 110-220VAC 50-60~ / 12V DC or 18V DC (24W)
5 5 5
Wall Transformer 110-220VAC 50-60~ / 12V DC or 18V DC (100W)
1 If you did not receive a manual with your Starterkit CD-ROM, you may order one.
2 for TARA EVA M2 only
3 optional shipped, corresponding your order
4 with Trace Board option only
5 depending on your country location
Introduction System Requirements 11 of 167
System Requirements
To run Universal Debug Engine (UDE) 3 at least the following minimum system configuration is required:
Microsoft Windows compatible PC
1 GHz or faster 32-bit (x86) or 64-bit (x64) processor
1 GByte RAM (32-bit) or 2 GByte RAM (64-bit)
1 GByte available hard disk space
Operating System Windows XP, Windows Vista, Windows 7, Windows 8
Microsoft .NET™ Framework 3.5 SP1
Microsoft Windows Scripting Host V5.6
Microsoft Internet Explorer® 6.0 or higher
Adobe® Acrobat Reader 4.0 or higher
300 MByte space on local hard-disk
Administrator permissions for the current login during installation.
The UDE version 4.0 requires the installation of .NET Framework 3.5 SP1. To obtain the installation package of .NET Framework 3.5, please see the Readme file within the UDE installation folder for further hints.
Depending on the type of target access, you will additionally need one of the following interface ports:
an IEEE1394-OHCI interface for the Standard version with UAD2+ or UAD3
+ via
IEEE1394 or an IEEE1394b-OHCI interface for the Standard version with UAD3+
via IEEE1394b
or an USB port interface for the Standard version with UAD2 or UAD2pro
or UAD2+
or UAD3+ or for the Demo version for Easy Kits XC166, XC2000, XE166 or for the
Simulator version with USB-Key or the Standard version with USB-JTAG-Port
or an Ethernet interface for the Standard version UAD2+ or UAD3
+
or a standard parallel port ( LPTx ) interface for the Demo version for Starterkits (JTAG support)
or a standard serial port ( COMx ) interface for the Demo version for Starterkits (ASC bootstrap loader support)
or an free PCI slot for the Standard version with fast-PC67C/PCI / fast-PC276C/PCI
The fast-PC67C/PCI and fast-PC276C/PCI are compliant with PCI r2.1.
!
12 of 167 Installation Notes - before you install UDE Installing of Universal Debug Engine
Installing of Universal Debug Engine
Before you start the installation process, please ensure which version of Universal Debug Engine (UDE) 4.0 you intend to use. Check that your package contains the required parts and install the hardware and software according to the following description.
Depending on your UDE version, please follow the corresponding instructions.
Please note that you must have administrator rights for successful execution of the installation process.
The UDE Universal Debug Engine is also available as a Demo version for various starterkits. Please use the CD Browser utility from the UDE CD-ROM and install the UDE demo software without hardware support as well as the hardware drivers if needed. The demo versions will work with the host ports LPTx or COMx. For COMx a standard serial ports or an USB-to-Serial port can be used.
The demo version is limited to 16 kByte program sizes for C16x derivatives, 32 kByte for TriCore derivatives and is limited to program the first FLASH sector only. All other functions are freely available for testing.
Further more, so-called Free Entry Tool Chain is available. This version based on a Demo version integrated into an Eclipse environment and an HighTec C/C++ compiler.
Installation Notes - before you install UDE
A proper function of the Universal Debug Engine and its hardware devices is only guaranteed for working with the original components tested and delivered by PLS Development Tools. The delivered components are verified with the recommends and standards of the chip manufactures.
When a new version of UDE is started the first time, a firmware update may be executed on the access device (UAD, UAD2 ...). This may take some more time than usual for the target connect operation. Please DO NOT power off or unplug the access device while this time!
!
!
Installing of Universal Debug Engine Installing Hardware 13 of 167
Installing Hardware
Static Electricity Precautions
Electrostatic Discharge (ESD) can damage a sensitive electronic component! Under several conditions static electricity and ground potential differences between the Access Device and the user's target hardware can build up high voltages - over 10000 Volts (10 kV) in some cases. The electrostatic discharge of this build-up voltage results in fast high current waveforms and fast magnetic (H-field) or electrostatic (E-field) disturbances. The discharge into the electronic components and circuitry can damage or destroy hardware components, resulting in failures and reduced reliability.
Because of the non-hot-pluggable 3,3 Volts / 5 Volts -TTL properties of the JTAG and the 3Pin/Serial connectors, these ports are endangered especially. The maximum voltage on these pins may not exceeded 5,5 Volts against the UAD’s ground, especially in the case that the ground planes are not connected first.
To protect your hardware against damage from static electricity and ground potential discharge, you have to follow some basic precautions:
1. Before you change any cable connections from the Access Device, please remove the power from the Access Device and your target system.
2. Please ensure that the static electricity and ground potentials between the Access Device, the host PC and the target hardware are balanced. If there is a danger of high potential differences, you must connect the Access Device, the host PC and the target hardware to the same ground domain via a low resistance connection.
3. Establish the target connection and power on the systems.
Hint: All Universal Access Devices are equipped with a ground socket on the front side. Please use this ground socket for discharging the static electricity and balancing ground potentials between the Universal Access Device, the host PC and the target hardware BEFORE you connect the target hardware to the Access Device.
An additional protection for UAD2 can be achieved by using the JTAG Protector. The UAD2
pro, UAD2+ contains the protection function already. Please note, that the JTAG
Protector DOES NOT suspend the precautions described above.
!
Custom Specific Target Hardware Universal Access DeviceHost Development Computer
Host Ground Target Ground
Additional Ground
line required
UAD Ground
Signal line +
Ground line
Hot-Pluggable Host
Signal line +
Ground line
Additional Ground
line required in case of potential differences
14 of 167 Installing Hardware Installing of Universal Debug Engine
Demo Version for Starterkits (via JTAG)
The hardware installation of Universal Debug Engine for Starterkits with parallel port support for JTAG/OCDS L1 is done within the following steps:
1. Configure the Starterkit board with the correct jumper setting. Please see the appendix "Hardware Description" about useful information about the supported Starterkit boards.
2. Connect the Host PCs parallel port with the Onboard JTAG adapter. Connector on the Starterkit board by the 25-wire parallel cable. A gender changer is required in case of using a standard 25-wire 1:1 parallel port cable.
3. Connect the wall transformer's cable with the 'Power' jack and apply power to the Starterkit board.
4. Start your computer system and login with administrator rights.
5. Read the file RELEASE.HTM for the latest hardware and software changes.
6. Start SETUP.EXE from the UDE CD-ROM and follow the instructions on the
screen. A detailed description of the software installation is followed in the chapter „Installing UDE Software“.
7. After a few additional steps, the installation program lets you choose to launch UDE automatically.
The UDE workbench is now installed and ready to use.
If you have trouble while installing the product, please contact the PLS Support Team at [email protected].
Please see the appendix „Hardware Description“ for important information about the configuration of the Starterkit board.
Host PC Target system
Parallel Port
cable
Host PC with
Standard Parallel Port
JTAG/OCDS-Debugging
Starterkit
( i.e. TriBoard, EasyUTAH, XC16)
Trans-
former
?
Installing of Universal Debug Engine Installing Hardware 15 of 167
Demo Version for Starterkits (via ASC Bootstrap loader)
The hardware installation of Universal Debug Engine for the Starterkits via ASC Bootstrap loader is done within the following steps:
1. Configure the evaluation board with the correct jumper setting. Please see the appendix "Hardware Description" about useful information about the supported Starterkit boards.
2. Connect the ASC0 connector with a COMx connector of the PC via a 9-pin D-SUB extension cable. Alternatively, an USB-to-Serial converter can be used. The USB converter device and drivers are included in the Starterkit delivery (e.g. ST10F252 Starterkit).
3. Connect the wall transformer's cable with the 'Power' jack and apply power to the Starterkit board.
4. Start your computer system and login with administrator rights.
5. Read the file RELEASE.HTM for the latest hardware and software changes.
6. Start SETUP.EXE from the UDE CD-ROM and follow the instructions on the
screen. A detailed description of the software installation is followed in the chapter „Installing UDE Software“.
7. After a few additional steps, the installation program lets you choose to launch UDE automatically.
The UDE workbench is now installed and ready to use.
If you have trouble while installing the product, please contact the PLS Support Team at [email protected].
Please see the appendix „Hardware Description“ for important information about the configuration of the Starterkit board.
?
Host PC Target systemASC Bootstrap loader Debugging
Trans-
former
COMx interfaceASC0
interface
USB interface
USB-To-Serial
Converter
or
16 of 167 Installing Hardware Installing of Universal Debug Engine
Demo Version for Easy Kits (via DAS/USB-JTAG adapter)
The hardware installation of Universal Debug Engine for the Starterkit Easy Kit XC166, XC2000 and XE166 with DAS/USB-JTAG adapter is done within the following steps:
1. Configure the Easy Kit board with the correct jumper setting. Please see the appendix "Hardware Description" about useful information about the supported Starterkit boards.
2. Connect the USB-Wiggler with an USB connector of the installed USB host adapter in your PC. Connect the USB-JTAG adapter with the JTAG/OCDS L1 connector of the Easy Kit board by the 10" 16-wire JTAG cable.
3. Connect the wall transformer's cable with the 'Power' jack and apply power to the Starterkit board.
4. Start your computer system and login with administrator rights.
5. Read the file RELEASE.HTM for the latest hardware and software changes.
6. Start SETUP.EXE from the UDE CD-ROM and follow the instructions on the
screen. A detailed description of the software installation is followed in the chapter „Installing UDE Software“.
7. After a few additional steps, the installation program lets you choose to launch UDE automatically.
The UDE workbench is now installed and ready to use.
If you have trouble while installing the product, please contact the PLS Support Team at [email protected].
Please see the appendix „Hardware Description“ for important information about the configuration of the Starterkit board.
?
USB-Wiggler
Host PC Target system
JTAG/OCDS L1
Easy Kit
JTAG/ARM Debugging
USB2.0
Trans-
former
Installing of Universal Debug Engine Installing Hardware 17 of 167
Standard Version UAD2compact
(via JTAG)
The hardware installation of Universal Access Device 2compact
is done within the following
steps:
1. Connect the Universal Access Device 2compact
(connector 'USB') with an USB 2.0
connector of the installed USB host adapter in your PC (USB 2.0 is recommend, USB 1.1 is also possible).
2. Connect the ground socket with the ground potential of your target hardware for discharging the static electricity and balancing ground potentials.
3. Connect the 'JTAG Target' connector of the Universal Access Device 2compact
with
the JTAG connector of the microcontroller board by the 10" 20-wire JTAG cable. Refer to the appendix „Hardware Description“ of the user’s manual for more information about the correct pin connections.
4. Start your computer system and login with administrator rights.
5. Connect the wall transformer's cable with the 'Power' jack to the Universal Access
Device 2compact
.
6. Read the file RELEASE.HTM for the latest software changes.
7. Start SETUP.EXE from the UDE CD-ROM and follow the instructions on the
screen. A detailed description of the software installation is followed in the chapter „Installing UDE Software“.
8. After a few additional steps, the installation program lets you choose to launch UDE automatically.
The UDE workbench is now installed and ready to use.
If you have trouble while installing the product, please contact the PLS Support Team at [email protected].
Please pay attention to the chapter "Static Electricity Precautions" containing important information about required ESD protection of the access devices.
?
Universal Access Device 2
Host PC Target system
JTAG
Starterkit or Custom
Specific Target Hardware
JTAG/ARM Debugging
USB2.0
Trans-
former
Trans-
former
compact
18 of 167 Installing Hardware Installing of Universal Debug Engine
Standard Version UAD2 and UAD2pro (via JTAG)
The hardware installation of Universal Access Device 2 and 2pro
is done within the following steps:
1. Connect the Universal Access Device 2 or 2pro
(connector 'USB') with an USB 2.0 connector of the installed USB host adapter in your PC (USB 2.0 is recommend, USB 1.1 is also possible).
2. Connect the ground socket with the ground potential of your target hardware for discharging the static electricity and balancing ground potentials.
3. Connect the 'JTAG/OCDS Target' connector of the Universal Access Device 2 with the JTAG connector of the microcontroller board by the 14-wire, 16-wire or 20-wire JTAG cable or connect the Universal Access Device 2
pro with the JTAG connector
by the 40-pin cable and delivered adapter. Refer to the appendix „Hardware Description“ of the user’s manual for more information about the correct pin connections.
4. Start your computer system and login with administrator rights.
5. Connect the wall transformer's cable with the 'Power' jack to the Universal Access Device 2.
6. Read the file RELEASE.HTM for the latest software changes.
7. Start SETUP.EXE from the UDE CD-ROM and follow the instructions on the
screen. A detailed description of the software installation is followed in the chapter „Installing UDE Software“.
8. After a few additional steps, the installation program lets you choose to launch UDE automatically.
The UDE workbench is now installed and ready to use.
If you have trouble while installing the product, please contact the PLS Support Team at [email protected].
Please pay attention to the chapter „Static Electricity Precautions“ containing important information about required ESD protection of the access devices.
?
Universal Access Device 2
Host PC Target system
JTAG
Starterkit or Custom
Specific Target Hardware
JTAG Debugging
USB2.0
Trans-
former
Trans-
former
Installing of Universal Debug Engine Installing Hardware 19 of 167
Standard Version UAD2 and UAD2pro (via DAP)
The hardware installation of Universal Access Device 2 is done within the following steps:
1. Connect the Universal Access Device 2 (connector 'USB') with an USB 2.0 connector of the installed USB host adapter in your PC (USB 2.0 is recommend, USB 1.1 is also possible).
2. Connect the ground socket with the ground potential of your target hardware for discharging the static electricity and balancing ground potentials.
3. Connect the 'JTAG/OCDS Target' connector of the Universal Access Device 2 with the JTAG connector of the microcontroller board by the 10-wire DAP adapter cable or connect the Universal Access Device 2
pro with the DAP connector by the 40-pin
cable and delivered adapter. Refer to the appendix „Hardware Description“ of the user’s manual for more information about the correct pin connections.
4. Start your computer system and login with administrator rights.
5. Connect the wall transformer's cable with the 'Power' jack to the Universal Access Device 2.
6. Read the file RELEASE.HTM for the latest software changes.
7. Start SETUP.EXE from the UDE CD-ROM and follow the instructions on the
screen. A detailed description of the software installation is followed in the chapter „Installing UDE Software“.
8. After a few additional steps, the installation program lets you choose to launch UDE automatically.
The UDE workbench is now installed and ready to use.
If you have trouble while installing the product, please contact the PLS Support Team at [email protected].
Please pay attention to the chapter „Static Electricity Precautions“ containing important information about required ESD protection of the access devices.
?
Universal Access Device 2
Host PC Target system
DAP Adapter
Starterkit or Custom
Specific Target Hardware
DAP Debugging
USB2.0
Trans-
former
Trans-
former
20 of 167 Installing Hardware Installing of Universal Debug Engine
Standard Version UAD2 and UAD2pro (via SWD)
The hardware installation of Universal Access Device 2 is done within the following steps:
1. Connect the Universal Access Device 2 (connector 'USB') with an USB 2.0 connector of the installed USB host adapter in your PC (USB 2.0 is recommend, USB 1.1 is also possible).
2. Connect the ground socket with the ground potential of your target hardware for discharging the static electricity and balancing ground potentials.
3. Connect the 'JTAG/OCDS Target' connector of the Universal Access Device 2 with the SWD adapter (‘UAD2’-side) by the 16-wire adapter cable.
4. Connect the 20-pin ‘Target’-side of the SWD adapter with the connector of the microcontroller board directly (20-pin connector) or by the 20-wire high density adapter cable (20-pin high density connector) or connect the Universal Access Device 2
pro with the DAP connector by the 40-pin cable and delivered adapter.
Refer to the appendix „Hardware Description“ of the user’s manual for more information about the correct pin connections.
5. Start your computer system and login with administrator rights.
6. Connect the wall transformer's cable with the 'Power' jack to the Universal Access Device 2.
7. Read the file RELEASE.HTM for the latest software changes.
8. Start SETUP.EXE from the UDE CD-ROM and follow the instructions on the
screen. A detailed description of the software installation is followed in the chapter „Installing UDE Software“.
9. After a few additional steps, the installation program lets you choose to launch UDE automatically.
The UDE workbench is now installed and ready to use.
If you have trouble while installing the product, please contact the PLS Support Team at [email protected].
Please pay attention to the chapter „Static Electricity Precautions“ containing important information about required ESD protection of the access devices.
?
Universal Access Device 2
Host PC Target system
SWD adapter
Starterkit or Custom
Specific Target Hardware
SWD Debugging
USB2.0
Trans-
former
Trans-
former
Installing of Universal Debug Engine Installing Hardware 21 of 167
Standard Version UAD2+ (via JTAG)
The hardware installation of Universal Access Device 2+ is done within the following
steps:
1. Connect the Universal Access Device 2+ (connector 'IEEE1394') with an
IEEE1394 connector of the installed IEEE1394 host adapter in your PC or connect the connector 'USB 2.0' with an USB 2.0 connector of the installed USB host adapter in your PC (USB 2.0 is recommend, USB 1.1 is also possible) or the connector ETH with a Ethernet network.
2. Connect the ground socket with the ground potential of your target hardware for discharging the static electricity and balancing ground potentials.
3. Connect the 'JTAG/OCDS Target' connector of the Universal Access Device 2+
with the JTAG Extender via the 40-wire HD flat ribbon cable. Connect the JTAG Extender with your target by the 14-wire, 16-wire or 20-wire JTAG cable. Refer to the appendix „Hardware Description“ of the user’s manual for more information about the correct pin connections.
4. Start your computer system and login with administrator rights.
5. Connect the wall transformer's cable with the 'Power' jack to the Universal Access Device.
6. Read the file RELEASE.HTM for the latest software changes.
7. Start SETUP.EXE from the UDE CD-ROM and follow the instructions on the
screen. A detailed description of the software installation is followed in the chapter „Installing UDE Software“.
8. After a few additional steps, the installation program lets you choose to launch UDE automatically.
The UDE workbench is now installed and ready to use.
If you have trouble while installing the product, please contact the PLS Support Team at [email protected].
Please pay attention to the chapter „Static Electricity Precautions“ containing important information about required ESD protection of the access devices.
?
Universal Access Device 2+
Host PC Target system
JTAG
Starterkit or Custom
Specific Target Hardware
JTAG Debugging
IEEE1394, ETH
USB2.0
Trans-
former
Trans-
former
JTAG Extender
22 of 167 Installing Hardware Installing of Universal Debug Engine
Standard Version UAD2+ (via DAP)
The hardware installation of Universal Access Device 2+ is done within the following
steps:
1. Connect the Universal Access Device 2+ (connector 'IEEE1394') with an
IEEE1394 connector of the installed IEEE1394 host adapter in your PC or connect the connector 'USB 2.0' with an USB 2.0 connector of the installed USB host adapter in your PC (USB 2.0 is recommend, USB 1.1 is also possible) or the connector ETH with a Ethernet network.
2. Connect the ground socket with the ground potential of your target hardware for discharging the static electricity and balancing ground potentials.
3. Connect the 'JTAG/OCDS Target' connector of the Universal Access Device 2+
with the JTAG Extender via the 40-wire HD flat ribbon cable. Connect the JTAG Extender with your target by the 10-wire DAP adapter cable. Refer to the appendix „Hardware Description“ of the user’s manual for more information about the correct pin connections.
4. Start your computer system and login with administrator rights.
5. Connect the wall transformer's cable with the 'Power' jack to the Universal Access Device.
6. Read the file RELEASE.HTM for the latest software changes.
7. Start SETUP.EXE from the UDE CD-ROM and follow the instructions on the
screen. A detailed description of the software installation is followed in the chapter „Installing UDE Software“.
8. After a few additional steps, the installation program lets you choose to launch UDE automatically.
The UDE workbench is now installed and ready to use.
If you have trouble while installing the product, please contact the PLS Support Team at [email protected].
Please pay attention to the chapter „Static Electricity Precautions“ containing important information about required ESD protection of the access devices.
?
Universal Access Device 2+
Host PC Target system
DAP
Starterkit or Custom
Specific Target Hardware
JTAG Debugging
IEEE1394, ETH
USB2.0
Trans-
former
Trans-
former
JTAG Extender
Installing of Universal Debug Engine Installing Hardware 23 of 167
Standard Version UAD2+ (via SWD)
The hardware installation of Universal Access Device 2+ is done within the following
steps:
1. Connect the Universal Access Device 2+ (connector 'IEEE1394') with an
IEEE1394 connector of the installed IEEE1394 host adapter in your PC or connect the connector 'USB 2.0' with an USB 2.0 connector of the installed USB host adapter in your PC (USB 2.0 is recommend, USB 1.1 is also possible) or the connector ETH with a Ethernet network.
2. Connect the ground socket with the ground potential of your target hardware for discharging the static electricity and balancing ground potentials.
3. Connect the 'JTAG/OCDS Target' connector of the Universal Access Device 2+
with the JTAG Extender via the 40-wire HD flat ribbon cable. Connect the 16-wire extender cable with the SWD adapter (‘UAD2’-side).
4. Connect the 20-pin ‘Target’-side of the SWD adapter with the connector of the microcontroller board directly (20-pin connector) or by the 20-wire high density adapter cable (20-pin high density connector). Refer to the appendix „Hardware Description“ of the user’s manual for more information about the correct pin connections.
5. Start your computer system and login with administrator rights.
6. Connect the wall transformer's cable with the 'Power' jack to the Universal Access Device.
7. Read the file RELEASE.HTM for the latest software changes.
8. Start SETUP.EXE from the UDE CD-ROM and follow the instructions on the
screen. A detailed description of the software installation is followed in the chapter „Installing UDE Software“.
9. After a few additional steps, the installation program lets you choose to launch UDE automatically.
The UDE workbench is now installed and ready to use.
If you have trouble while installing the product, please contact the PLS Support Team at [email protected].
Please pay attention to the chapter „Static Electricity Precautions“ containing important information about required ESD protection of the access devices.
?
Universal Access Device 2+
Host PC Target system
SWD adapter
Starterkit or Custom
Specific Target Hardware
SWD Debugging
IEEE1394, ETH
USB2.0
Trans-
former
Trans-
former
JTAG Extender
24 of 167 Installing Hardware Installing of Universal Debug Engine
Standard Version UAD3+ (via JTAG)
The hardware installation of Universal Access Device 3+ is done within the following
steps:
1. Connect the Universal Access Device 3+ (connector 'IEEE1394b') with an
IEEE1394b connector of the installed IEEE1394b host adapter in your PC or connect the connector 'USB 2.0' with an USB 2.0 connector of the installed USB host adapter in your PC (USB 2.0 is recommend, USB 1.1 is also possible) or the connector Ethernet with a Ethernet network.
2. Connect the ground socket with the ground potential of your target hardware for discharging the static electricity and balancing ground potentials.
3. Connect one of the ‘Pod 1-4’ connectors with the JTAG Pod via the IO Pod Cable. Connect the JTAG-Pod with the JTAG Adapter via the JTAG Adapter Cable. Connect the JTAG Adapter with the JTAG connector of the target board. Refer to the appendix „Hardware Description“ of the user’s manual for more information about the correct pin connections.
4. Start your computer system and login with administrator rights.
5. Connect the wall transformer's cable with the 'Power' jack to the Universal Access Device.
6. Read the file RELEASE.HTM for the latest software changes.
7. Start SETUP.EXE from the UDE CD-ROM and follow the instructions on the
screen. A detailed description of the software installation is followed in the chapter „Installing UDE Software“.
8. After a few additional steps, the installation program lets you choose to launch UDE automatically.
The UDE workbench is now installed and ready to use.
If you have trouble while installing the product, please contact the PLS Support Team at [email protected].
Please pay attention to the chapter „Static Electricity Precautions“ containing important information about required ESD protection of the access devices.
?
Universal Access Device 3+
Host PC Target system
JTAG Adapter
Cable
Starterkit or Custom
Specific Target Hardware
JTAG Debugging
IEEE1394, ETH
USB2.0
Trans-
former
Trans-
former
JTAG Pod
IO Pod
Cable
JTAG Adapter
Installing of Universal Debug Engine Installing Hardware 25 of 167
Standard Version UAD2 (via ASC, SSC, CAN)
The hardware installation of Universal Access Device 2 is done within the following steps:
1. Connect the Universal Access Device 2 (connector 'USB') with an USB 2.0 connector of the installed USB host adapter in your PC (USB 2.0 is recommend, USB 1.1 is possible).
2. Connect the ground socket with the ground potential of your target hardware for discharging the static electricity and balancing ground potentials.
3. Connect the 'ASC/SSC/CAN Target' connector of the Universal Access Device 2 with the ASC (RS232), SSC (RS485) or CAN connector of the microcontroller board by a 9-pin 1:1 SUB-D9 (M) to SUB-D9 (F) extension cable. Refer to the appendix „Hardware Description“ of the user’s manual for more information about the correct pin connections.
4. Start your computer system and login with administrator rights.
5. Connect the wall transformer's cable with the 'Power' jack to the Universal Access Device.
6. Read the file RELEASE.HTM for the latest software changes.
7. Start SETUP.EXE from the UDE CD-ROM and follow the instructions on the
screen. A detailed description of the software installation is followed in the chapter „Installing UDE Software“.
8. After a few additional steps, the installation program lets you choose to launch UDE automatically.
The UDE workbench is now installed and ready to use.
If you have trouble while installing the product, please contact the PLS Support Team at [email protected].
Please pay attention to the chapter „Static Electricity Precautions“ containing important information about required ESD protection of the access devices.
?
Universal Access Device 2
Host PC Target system
Starterkit or Custom
Specific Target Hardware
ASC, SSC, CAN Debugging
USB2.0
Trans-
former
Trans-
former
ASC, SSC
or CAN
26 of 167 Installing Hardware Installing of Universal Debug Engine
Standard Version UAD2+ (via ASC, SSC, CAN)
The hardware installation of Universal Access Device 2+ is done within the following
steps:
1. Connect the Universal Access Device 2+ (connector 'IEEE1394') with an
IEEE1394 connector of the installed IEEE1394 host adapter in your PC or connector 'USB 2.0' with an USB connector or the connector ETH with an Ethernet network.
2. Connect the ground socket with the ground potential of your target hardware for discharging the static electricity and balancing ground potentials.
3. For Bootstrap loading via ASC (RS232), connect the ‘ASC/SSC/CAN0 Target’ connector with the target connector via a 9-pin D-SUB extension cable. In case of ASC (TTL) or SSC (TTL), connect the ' ASC/SSC/3PIN Target ' connector with the ASC or SSC hardware pins of the microcontroller board by the 10-wire flat ribbon extension cable. When CAN is used, connect additionally the 'CAN1 Target' connector with the target via a 9-pin D-SUB extension cable. Refer to the appendix „Hardware Description“ of the user manual for more information about the correct pin connections of the ASC, SSC and CAN interfaces.
4. Start your computer system and login with administrator rights.
5. Connect the wall transformer's cable with the 'Power' jack to the Universal Access Device.
6. Read the file RELEASE.HTM for the latest software changes.
7. Start SETUP.EXE from the UDE CD-ROM and follow the instructions on the
screen. A detailed description of the software installation is followed in the chapter „Installing UDE Software“.
8. After a few additional steps, the installation program lets you choose to launch UDE automatically.
The UDE workbench is now installed and ready to use.
If you have trouble while installing the product, please contact the PLS Support Team at [email protected].
Please pay attention to the chapter „Static Electricity Precautions“ containing important information about required ESD protection of the access devices.
?
Universal Access Device 2+
Host PC Target system
Starterkit or Custom
Specific Target Hardware
ASC, SSC or CAN -Debugging
IEEE1394, ETH
Parallel Port
Trans-
former
Trans-
former
ASC0 / BSL*
Serial /
Application*
SSC, CAN
* Serial Cable for Bootstraploader Monitor required and for
transparent using of ASC0 required only
Installing of Universal Debug Engine Installing Hardware 27 of 167
Standard Version UAD2+ (via 3Pin)
The hardware installation of Universal Access Device2+ is done within the following steps:
1. Connect the Universal Access Device 2+ (connector 'IEEE1394') with an
IEEE1394 connector of the installed IEEE1394 host adapter in your PC or connector 'USB 2.0' with an USB connector or the connector ETH with an Ethernet network.
2. Connect the ground socket with the ground potential of your target hardware for discharging the static electricity and balancing ground potentials.
3. Connect the 'ASC/SSC/3Pin Target' connector of the Universal Access Device 2+
with the 3Pin connector of the microcontroller board by the 10-wire 3Pin cable. Because the 3Pin connector is not standardized, it must be installed on your target hardware subsequently. For Bootstrap loading ASC (RS232)/3Pin solution, you must connect the ‘ASC0 Target’ connector with the ASC0 target connector. Refer to the appendix „Hardware Description“ of the user’s manual for more information about the correct pin connections of the 3Pin interface.
4. Start your computer system and login with administrator rights.
5. Connect the wall transformer's cable with the 'Power' jack to the Universal Access Device.
6. Read the file RELEASE.HTM for the latest software changes.
7. Start SETUP.EXE from the UDE CD-ROM and follow the instructions on the
screen. A detailed description of the software installation is followed in the chapter „Installing UDE Software“.
8. After a few additional steps, the installation program lets you choose to launch UDE automatically.
The UDE workbench is now installed and ready to use.
If you have trouble, while installing the product, please contact the PLS Support Team at [email protected].
Please pay attention to the chapter „Static Electricity Precautions“ containing important information about required ESD protection of the access devices.
?
Universal Access Device 2+
Host PC Target system
3Pin
Starterkit or Custom
Specific Target Hardware
3Pin-Debugging
IEEE1394, ETH
USB 2.0
Trans-
former
Trans-
former
Serial / BSL*
* Serial cable for Bootstraploader Monitor required or for
transparent using of ASC0 interface required only
Serial /
Application*
28 of 167 Installing Hardware Installing of Universal Debug Engine
Standard Version fast-PC6x / fast-PC276 (via ASC/SSC)
The hardware installation of fast-PC67C/PCI fast-PC276/PCI is done within the following steps:
1. Power OFF your computer system and all connected devices. Disconnect all cables from the computer.
2. Remove the computer cover.
3. Locate an empty PCI slot.
4. Remove the expansion slot rear panel cover.
5. Unpack the fast-PC67C/PCI board from the antistatic bag. Try to hold the board only at the corners and ground yourself by touching the computer chassis.
6. Gently press the fast-PC67C/PCI board into the expansion slot and fix it using the slot cover screw.
7. Close the computer cover and reconnect all cables.
8. Connect the ’Host’ respectively ’RS232/RS485’ connector of the fast-PC67 card with the ASC connector of the microcontroller board by a 1:1 SUB-D9(M) to SUB-D9(F) extension cable. Refer to the appendix „Hardware Description“ of the user’s manual for more information about the correct pin connections of the ASC and SSC interface.
8. Start your computer system and login with administrator rights.
9. Read the file RELEASE.HTM for the latest software changes.
10. Start SETUP.EXE from the UDE CD-ROM and follow the instructions on the
screen. A detailed description of the software installation is followed in the chapter "Installing Software".
11. After a few additional steps, the installation program lets you choose to launch UDE automatically.
The UDE workbench is now installed and ready to use.
If you have trouble while installing the product, please contact the PLS Support Team at [email protected].
Please pay attention to the chapter „Static Electricity Precautions“ containing important information about required ESD protection of the access devices.
C167
fast-PC67C/ISA
Target systemASC/SSC-Debugging via Host PC
Serial / BSL C167
C167
fast-PC67C/PCI
?
Installing of Universal Debug Engine Installing Hardware 29 of 167
Standard Version fast-PC6x / fast-PC276 (via CAN)
The hardware installation of fast-PC67C/PCI fast-PC276/PCI is done within the following steps:
The hardware installation of fast-PC67C/PCI fast-PC276/PCI is done within the following steps:
1. Remove the computer cover.
2. Locate an empty PCI slot.
3. Remove the expansion slot rear panel cover.
4. Unpack the fast-PC67C/PCI board from the antistatic bag. Try to hold the board only at the corners and ground yourself by touching the computer chassis.
5. Gently press the fast-PC67C/PCI board into the expansion slot and fix it using the slot cover screw.
6. Close the computer cover and reconnect all cables.
7. Connect the ’CAN’ connector of the fast-PC67 card with the CAN connector of the microcontroller board. For bootstrap loading/CAN solution, you must connect the ‘RS232/RS485’ connector with the ASC0 target connector. Refer to the appendix „Hardware Description“ of the user manual for more information about the correct pin connections of the CAN interface.
8. Start your computer system and login with administrator rights.
9. Read the file RELEASE.HTM for the latest software changes.
11. Start SETUP.EXE from the UDE CD-ROM and follow the instructions on the
screen. A detailed description of the software installation is followed in the chapter "Installing Software".
12. After a few additional steps, the installation program lets you choose to launch UDE automatically.
The UDE workbench is now installed and ready to use.
If you have trouble while installing the product, please contact the PLS Support Team at [email protected].
Please pay attention to the chapter „Static Electricity Precautions“ containing important information about required ESD protection of the access devices.
C167
fast-PC67C/ISA
Target systemCAN-Debugging via
Host PC
Serial / BSL*
CAN
* Serial cable for Bootstrap Loader required only
C167
C167
fast-PC67C/PCI
?
30 of 167 Installing Hardware Installing of Universal Debug Engine
Standard Version UAD2+ (with Trace Support)
The hardware installation of Universal Access Device is done within the following steps:
1. Connect the Universal Access Device 2+ (connector 'IEEE1394') with an IEEE1394
connector of the installed IEEE1394 host adapter in your PC or the connector 'USB 2.0' with an USB connector or the connector ETH with an Ethernet network.
2. Connect the ground socket with the ground potential of your target hardware for discharging the static electricity and balancing ground potentials.
3. Connect the 'TRACE Target' connector of the UAD2+ (80-pin connector above the OCDS connector) with the corresponding target pod of your target hardware via the 80-wire flat ribbon cable.
4. If the "OCDS L2” or the “Nexus” or the "ETM" connector of the microcontroller board does not provide the "JTAG" signals, you have to connect the "JTAG" board connector with the "JTAG" connector of the Trace Pod by the 10" 20-wire JTAG cable. Otherwise, no further cable is required. Please see further detailed installing instructions in the chapter "Hardware Description".
5. Start your computer system and login with administrator rights.
6. Connect the wall transformer's cable with the 'Power' jack to the Universal Access Device.
7. Read the file RELEASE.HTM for the latest software changes.
8. Start SETUP.EXE from the UDE CD-ROM and follow the instructions on the
screen. A detailed description of the software installation is followed in the chapter „Installing UDE Software“.
9. After a few additional steps, the installation program lets you choose to launch UDE automatically.
The UDE workbench is now installed and ready to use.
If you have trouble while installing the product, please contact the PLS Support Team at [email protected].
Please pay attention to the chapter „Static Electricity Precautions“ containing important information about required ESD protection of the access devices.
?
Universal Access Device
or Universal Access Device 2+
Host PC Target system
Starterkit or Custom
Specific Target Hardware
JTAG Debugging and
OCDS L2 or ETM Support
IEEE1394, ETH
USB 2.0
Trans-
former
Trans-
former
OCDS L2 or
ETM or Nexus
Trace
Installing of Universal Debug Engine Installing Hardware 31 of 167
Standard Version UAD3+ (with Trace support)
The hardware installation of Universal Access Device 3+ is done within the following
steps:
1. Connect the Universal Access Device 3+ (connector 'IEEE1394b') with an
IEEE1394b connector of the installed IEEE1394b host adapter in your PC or connect the connector 'USB 2.0' with an USB 2.0 connector of the installed USB host adapter in your PC (USB 2.0 is recommend, USB 1.1 is also possible) or the connector ‘Ethernet’ with a Ethernet network.
2. Connect the ground socket with the ground potential of your target hardware for discharging the static electricity and balancing ground potentials.
3. Connect one of the ‘Pod 1-4’ connectors with the JTAG Pod via the IO Pod Cable. Connect the JTAG-Pod with the Trace Adapter via the JTAG Adapter Cable. Connect the JTAG Adapter with the Trace connector of the target board. Do the same with the Trace Pod interfaces. Refer to the appendix „Hardware Description“ of the user’s manual for more information about the correct pin connections.
4. Start your computer system and login with administrator rights.
5. Connect the wall transformer's cable with the 'Power' jack to the Universal Access Device.
6. Read the file RELEASE.HTM for the latest software changes.
7. Start SETUP.EXE from the UDE CD-ROM and follow the instructions on the
screen. A detailed description of the software installation is followed in the chapter „Installing UDE Software“.
8. After a few additional steps, the installation program lets you choose to launch UDE automatically.
The UDE workbench is now installed and ready to use.
If you have trouble while installing the product, please contact the PLS Support Team at [email protected].
Please pay attention to the chapter „Static Electricity Precautions“ containing important information about required ESD protection of the access devices.
?
Universal Access Device 3+
Host PC Target system
JTAG Adapter
Cable
Starterkit or Custom
Specific Target Hardware
JTAG Debugging
IEEE1394, ETH
USB2.0
Trans-
former
Trans-
former
JTAG Pod
IO Pod
Cable
Trace
Adapter
Trace Pod
Cable
TRACE Pod
Trace
Adapter
Cable
32 of 167 Installing Hardware Installing of Universal Debug Engine
UAD2-JTAG Protector 2 for UAD2
In hard process environments it is strongly recommended to use the JTAG-Protector described below. This adapter allows an extended protection of the Universal Access Devices and other JTAG based devices from the danger of over-voltage and ESD.
The hardware installation of Universal Debug Engine is done within the following steps:
1. Connect the UAD2-JTAG Protector 2 connector 'UAD2' (female connector) with the JTAG connector of Universal Access Device (UAD2).
2. Connect the UAD2-JTAG Protector 2 connector 'Target' (male connector) with the JTAG ribbon cable to your target.
Please note, that the function of the JTAG protections can be ensured only, when the ground and target power connections (MCU I/O voltage) are established.
If you have trouble while installing the product, please contact the PLS Support Team at [email protected].
Please pay attention to the chapter „Static Electricity Precautions“ containing important information about required ESD protection of the access devices. Please note, that the JTAG Protector DOES NOT suspend the precautions described in this chapter.
?
!
Universal Access Device
Host PC Target system
Target Hardware
JTAG Debugging
Trans-
former
Trans-
former
ESD JTAG
Protector
Signal line +
Ground line
Additional Ground
line required in case of potential differences
Target Ground UAD Ground Host Ground
mailto:[email protected]
Installing of Universal Debug Engine Installing Hardware 33 of 167
UAD-JTAG Protector 2 for UAD2+
In hard process environments it is strongly recommended to use the JTAG-Protector described below. This adapter allows an extended protection of the Universal Access Devices and other JTAG based devices from the danger of over-voltage and ESD.
The hardware installation of Universal Debug Engine is done within the following steps:
1. Connect the UAD-JTAG Protector 2 connector 'UAD' (female connector) with the JTAG connector of JTAG Extender. If the JTAG-Extender is not equipped with a male shrouded header, please contact the PLS Support.
2. Connect the UAD-JTAG Protector 2 connector 'Target' (male connector) with the JTAG ribbon cable to your target.
Please note, that the function of the JTAG protections can be ensured only, when the ground and target power connections (MCU I/O voltage) are established.
If you have trouble while installing the product, please contact the PLS Support Team at [email protected].
Please pay attention to the chapter „Static Electricity Precautions“ containing important information about required ESD protection of the access devices. Please note, that the JTAG Protector DOES NOT suspend the precautions described in this chapter.
?
!
Universal Access Device 2+
Host PC Target system
JTA
G
Starterkit or Custom
Specific Target Hardware
JTAG Debugging
IEEE1394, ETH
USB2.0
Trans-
former
Trans-
former
JTAG Extender + JTAG Protector
ESD JTAG
Protector
Additional Ground
line required
Additional Ground
line required in case of potential differences
Target Ground UAD Ground Host Ground
mailto:[email protected]
34 of 167 Installing Hardware Installing of Universal Debug Engine
Simulator Version (TSim)
The hardware installation of Universal Debug Engine is done within the following steps:
1. Connect the USB-Key with an USB connector of your PC.
2. Follow the driver installation when the 'New hardware found' dialog appears.
3. Read the file RELEASE.HTM for the latest software changes.
4. Start SETUP.EXE from the UDE CD-ROM and follow the instructions on the
screen. A detailed description of the software installation is followed in the chapter „Installing UDE Software“.
5. After a few additional steps, the installation program lets you choose to launch UDE automatically.
The UDE workbench is now installed and ready to use.
If you have trouble while installing the product, please contact the PLS Support Team at [email protected]. ?
Installing of Universal Debug Engine Installing UDE Software 35 of 167
Installing UDE Software
Working with the CD browser
The CD browser helps you to install the UDE software and further software components and demo versions, e.g. GNU C/C++ Compiler and CASE Tools.
Please insert the Universal Debug Engine CD-ROM. The CD browser will start
automatically. If not, please start the SETUP.EXE from the CD-ROM root directory
manually.
The UDE CD-ROM contains following chapters:
Readme UDE 4.0 – Contains important information about the current UDE installation and requirements. Please read it first.
Install UDE 4.0 Software – Start the installation process of the Universal Debug Engine. You can install the full version of UDE (communication device required) or test a demo version of UDE for Starterkit.
Install UDE Samples – Start the installation process of the Universal Debug Engine’s Sample directory. It contains code samples for supported compilers, target architectures and evaluation boards.
Install 3rd
Party Products – Install demo versions of software, which enhance the UDE installation, e.g. a CASE Tool.
Information and Manuals – Find out more about all of the UDE products.
How to contact PLS – guides you to the directly contact to PLS via Email, Web and Mail.
36 of 167 Installing UDE Software Installing of Universal Debug Engine
Start the Installation
When a new version of UDE is started the first time, a firmware update may be executed on the access device (UAD, UAD2 ...). This may take some more time than usual for the target connect operation. Please DO NOT power off or unplug the access device while this time!
Before you can use the Universal Debug Engine, you must install the software components by using the UDE CD-ROM.
To install the software, follow these steps:
1. Read the file RELEASE.HTM for the latest software changes.
2. Start SETUP.EXE from the UDE CD-ROM.
3. Click Next to continue the installing process or click Cancel for aborting.
4. Check the license terms and your customer information and click Next to continue.
5. Choose the destination location installation via the Browse button. Please advise an empty or new directory for the UDE software. Click Next.
6. Select the Program Folder and click Next to continue.
7. Click Next to continue the installation process.
8. Select the required drivers
Communication Device Support
UAD2, UAD2pro
, UAD2+, UAD3
+, UAD2
compact Support
UAD Parallel Port Driver – UAD Support
fast-PC6x Communication Driver – fast-PC67, fast-PC276 Support
Sentinel SuperPro USB Driver – USB-Key for Simulator support
9. Click Next to continue the installing process.
10. Check the selected components you want to install and click Next to start the installing process.
Note: The next step depends on your selection of the target access and UDE version respectively. The following step describes what you have to do for each target communication channel. However, you have the possibility to select one or more target access channels, which will be installed one after the other. In this case, please follow the corresponding installing description.
!
!
Installing of Universal Debug Engine Driver Installation for Universal Access Device 37 of 167
Driver Installation for Universal Access Device
If the previous steps are done successfully, the software will install the hardware driver components. The Universal Access Device is capable to communicate via parallel port interfaces and IEEE1394-OHCI interfaces. Please follow the corresponding instructions.
When a new version of UDE is started the first time, a firmware update may be executed on the access device (UAD, UAD2, Uad2
pro, UAD3 ...). This may take some more time
than usual for the target connect operation. Please DO NOT power off or unplug the access device while this time!
UAD via standard parallel port interface
Please note: The usage of a dongle and the Universal Access Device at the same time on the same parallel port is not possible, because in some cases the simultaneous usage of the dongle disturbs the communication to the Universal Access Device. We strongly recommend either to use dongle on the second parallel port or to communicate with the Universal Access Device via the IEEE1394 interface.
1. Click the check box "Universal Access Device" and "Parallel Port Driver" for installing the Standard Version with Universal Access Device and the host communication channel via a standard parallel port interface.
2. The driver installation begins with the dialog box "Step 1: Driver Installation". Click Next to continue the installing process.
3. Select the free parallel port for using. Possible selections are LPT1 and LPT2. Please disconnect all devices from the selected parallel port and click Next to continue the installing process.
5. The installation process searches for the selected port and gives information about the port. Please connect now the Universal Access Device with the selected port via the 25-wire parallel cable and apply power to Universal Access Device.
6. Click Next to test the communication with Universal Access Device.
7. If the test was successful, you can finish the driver installation. If the test failed, ensure that all cables and connections are correct. Click Finish to continue.
Please note that the best transfer performance between the Host PC and the target can only be achieved if the parallel port interrupt is usable and the port is in EPP mode. Use the EPPSetup.exe tool from your UDE installation to verify your parallel port installation. It is recommended enabling the parallel port interrupt and the EPP mode. !
!
!
38 of 167 Driver Installation for Universal Access Device Installing of Universal Debug Engine
UAD2+ via IEEE1394
Because of the Plug 'n Play-Capabilities of UAD and UAD2+ the IEEE1394 driver
installation is started automatically, when the Universal Access Device is connected to the host PC the first time.
1. Power ON the Universal Access Device.
2. Connect the UAD or UAD2+ with the host adapter of your PC using the 6-wire
cable. The Windows system will find a new hardware device on your system called "Universal Access Device" in the “pls Debugging Devices” group and you will be prompted to install a new device driver.
3. Click Next to continue.
4. Click Search for a suitable driver and click Next.
5. Click Specify a location, click Next and browse for the driver file
\SETUP\DRIVER\UADDEVS\UADDEVS.INF driver on your
UDE CD-ROM.
6. Click Next and Finish.
In the case of problems, please verify the correct installation. Open the Device Manager, the following entries are shown:
IEEE 1394 Bus host controllers
Your host bus controller
pls Debugging Devices
Universal Access Device/Universal Access Device 2
If one of the entries is marked with a question mark, please unplug and plug the UAD again and repeat the installation if necessary.
Please see the chapter „Hardware Description“ of the user’s manual for additional information. ?
Installing of Universal Debug Engine Driver Installation for Universal Access Device 39 of 167
UAD3+ via IEEE1394b
Because of the Plug 'n Play-Capabilities of UAD3+ the IEEE1394b driver installation is
started automatically, when the Universal Access Device is connected to the host PC the first time.
1. Power ON the Universal Access Device.
2. Connect the UAD3+ with the host adapter of your PC using the 9-wire IEEE1394b
cable or a 6-9-wire IEEE1394 bilingual cable. The Windows system will find a new hardware device on your system called "Universal Access Device" in the “pls Debugging Devices” group and you will be prompted to install a new device driver.
3. Click Next to continue.
4. Click Search for a suitable driver and click Next.
5. Click Specify a location, click Next and browse for the driver file
\SETUP\DRIVER\UADDEVS\UADDEVS.INF driver on your
UDE CD-ROM.
6. Click Next and Finish.
In the case of problems, please verify the correct installation. Open the Device Manager, the following entries are shown:
IEEE 1394b Bus host controllers
Your host bus controller
pls Debugging Devices
Universal Access Device 3
If one of the entries is marked with a question mark, please unplug and plug the UAD again and repeat the installation if necessary.
Please see the chapter „Hardware Description“ of the user’s manual for additional information. ?
40 of 167 Driver Installation for Universal Access Device Installing of Universal Debug Engine
UAD2, UAD2pro, UAD2+, UAD3+ via USB port
Because of the Plug 'n Play-Capabilities of UAD2, UAD2+ and UAD3
+ the USB driver
installation is starting automatically, when the Universal Access Device 2 or Universal Access Device 3 is connecting to the host PC the first time.
1. Connect the UAD2, UAD2pro
, UAD2+ or UAD3
+ to the PC host system using the
USB cable. The Windows system will find a new hardware device on your system called “Universal Access Device 2” or “Universal Access Device 3” in the “pls Debugging Devices” group and you will be prompted to install a new device driver.
3. Click Next to continue.
4. Click Search for a suitable driver and click Next.
5. Click Specify a location, click Next and browse for the driver file
\SETUP\DRIVER\UADDEVS\UADDEVS.INF driver on your UDE
CD/ROM.
6. Click Next and Finish.
In the case of problems, please verify the correct installation. Open the Device Manager, the following entries are shown:
Universal Serial Bus controllers
Your host bus controller
pls Debugging Devices
Universal Access Device 2
If one of the entries is marked with a question mark, please unplug and plug the UAD2 or UAD3 again and repeat the installation if necessary.
Please see the chapter „Hardware Description“ of the user’s manual for additional information.
?
Installing of Universal Debug Engine Driver Installation for Universal Access Device 41 of 167
UAD2+, UAD3+ via Ethernet TCP/IP
The UAD2+ is equipped with a 100 Mbit/s fast Ethernet interface. The UAD3
+ is equipped
with a 1000 Mbit/s (1GBit/s) Ethernet interface. It can be connected to a local PC or to a Local Network via Hubs or to Switches. The UAD2
+ and UAD3
+ support both, DHCP and
static IP addressing.
Connection methods
Before using UAD2+ or UAD3
+ for debugging purposes, the devices must be configured
properly. It can be communicating to the UDE via TCP/IP protocol. The only thing to set is valid IP (Internet Protocol) addresses. There are two possibilities:
1. Using DHCP, this requires a DHCP server on your network
2. Using static IP address, this requires exactly knowledge of the network structure (e.g. knowledge of free IP addresses so that there is no IP used twice in the network).
At delivery time, the UAD2+ or UAD3
+ was configured with DHCP enabled. After power on
it tries to get an IP address from a DHCP server. When there is no DHCP server answering, the UAD2
+ or UAD3
+ will fall back to static IP address after 60 seconds. The
static fall back IP address is 192.168.1.100. The UAD2+/UAD3
+ use the following TCP
ports for communication: 43690 (0xAAAA) and 43691 (0xAAAB)
Configuration the IP address via Ethernet
For reconfiguration the UAD2+ or UAD3
+ configuration can be changed using a web
browser. The current IP address must be known. This IP address must be entered as the web address, e.g.
http://192.168.1.74
and the UAD2 Configuration Page or UAD3 Configuration Page appears. In the left side the serial number of the UAD2
+ or UAD3
+ and the current configuration is shown.
42 of 167 Driver Installation for Universal Access Device Installing of Universal Debug Engine
In this case DHCP is enabled and the current IP address is 192.168.1.74.
In the right side new settings could be entered. The IP address will also be used when DHCP is enabled but there is no DHCP server inside the network. After clicking 'Apply' the new settings are stored. They will be activated after next power on of the UAD2
+ or
UAD3+.
Configuration the IP address via USB/IEEE1394
If the IP address of the UAD2+ or UAD3
+ is unknown, another configuration mechanism is
possible:
For that the UAD2+ or UAD3
+ must be connect either to USB or Firewire. Go to the device
manager’s property page of the UAD2+ or UAD3
+ and select Ethernet Config.
The Ethernet Configuration dialog appears where the same settings could be made.
Installing of Universal Debug Engine Driver Installation for Universal Access Device 43 of 167
Once the UAD2+ or UAD3
+ are configured well a connection via UAD2
+ or UAD3
+ can be
established. For that create a new workspace, and select your target configuration. If default is set as communication device and there is no other UAD2
+ or UAD3
+ connected,
the Ethernet device is found.
If not, open the menu Config - Target interface... inside UDE or menu Target - Setup inside MemTool. In the Target Interface Setup dialog select and click on the Setup button.
For using the TCP/IP communication the Select Communication Device dialog is opened. You can select the specific access device that you want to use. These settings are stored in the target configuration *.cfg file format.
For Ethernet connections select UAD2 device, attached to Ethernet port. A specific IP address to connect can be entered or an UAD2
+ or UAD3
+ can be selected from the list
after retrieving available devices. Pressing OK stores the settings. A connection is established now.
If multiple UAD2+ or UAD3
+ are used at the same time (e.g. for automated flash
programming), then every UAD2+ or UAD3
+ have its own target configuration with either
unique IP or unique serial number.
44 of 167 Driver Installation for USB-JTAG-Port Installing of Universal Debug Engine
Driver Installation for USB-JTAG-Port
Because of the Plug 'n Play-Capabilities of the USB-JTAG-Port, the USB driver installation is started automatically, when the USB-JTAG-Port is connected to the host PC the first time.
USB-JTAG-Port via USB port
1. Connect the USB-JTAG-Port to the PC host system using the USB cable. The Windows system will find a new hardware device on your system called "USB-JTAG-Port" in the “UDE JTAG-Port Devices” group and you will be prompted to install a new device driver.
3. Click Next to continue.
4. Click Search for a suitable driver and click Next.
5. Click Specify a location, click Next and browse for the driver file
\SETUP\DRIVER\USB-JTAG-Port\USBJTAG.INF driver on your
UDE CD/ROM.
6. Click Next and Finish.
In the case of problems, please verify the correct installation. Open the Device Manager; the following entries are shown:
Universal Serial Bus controllers
Your host bus controller
UDE USB-JTAG Devices
UDE USB-JTAG-Port
If one of the entries is marked with a question mark, please unplug and plug the JTAG-Port again and repeat the installation if necessary.
Installing of Universal Debug Engine Driver Installation for USB-Key (Sentinel USB SuperPro) 45 of 167
Driver Installation for USB-Key (Sentinel USB SuperPro)
Because of the Plug 'n Play-Capabilities of the USB-Key the USB driver installation is started automatically, when the USB-Key is connected to the host PC the first time.
USB-Key via USB port
1. Connect the USB-Key to the PC host system using the USB port. The Windows system will find a new hardware device on your system called "USB SuperProNet" or "USB SuperPro" or "USB UltraPro" in the “Universal Serial Bus controller” or “Other devices”. Default the driver is installed while the UDE installation process.
2. To install the drivers manually click on the installing program located at
\3rdparty\Rainbow Combo Installer\SETUP.EXE
driver on your UDE CD/ROM.
3. Click Next and Finish.
46 of 167 Driver Installation for fast-PC6x Card Installing of Universal Debug Engine
Driver Installation for fast-PC6x Card
fast-PC67C/PCI via PCI Bus Host PC
If you ha