Integration for X-Tools and X32



Similar documents
TRACE32 Documents... ICD In-Circuit Debugger... Processor Architecture Manuals... TriCore... TriCore Monitor... 1

RTOS Debugger for ecos

Training Simulator and Demo Software

Quick Start Tutorial. Using the TASKING* Software Development Tools with the Intel 8x930 Family Evaluation Board

Q N X S O F T W A R E D E V E L O P M E N T P L A T F O R M v Steps to Developing a QNX Program Quickstart Guide

10 STEPS TO YOUR FIRST QNX PROGRAM. QUICKSTART GUIDE Second Edition

For Introduction to Java Programming, 5E By Y. Daniel Liang

5.4.8 Optional Lab: Managing System Files with Built-in Utilities in Windows 7

Lab 2-2: Exploring Threads

Tech Note 53 Configuring the Siemens SINEC H1 CP1413 for Windows NT

DsPIC HOW-TO GUIDE Creating & Debugging a Project in MPLAB

MONITORING PERFORMANCE IN WINDOWS 7

MT-350 SMS. Operation Manual. PORTech Communications Inc.

Chapter 5 - Ethernet Setup

EasyC. Programming Tips

isppac-powr1220at8 I 2 C Hardware Verification Utility User s Guide

USBSPYDER08 Discovery Kit for Freescale MC9RS08KA, MC9S08QD and MC9S08QG Microcontrollers User s Manual

SKP16C62P Tutorial 1 Software Development Process using HEW. Renesas Technology America Inc.

TRACE32 Debugger Getting Started... ICD Tutorial About the Tutorial... 2

Dual-boot Windows 10 alongside Windows 8

IBM Operational Decision Manager Version 8 Release 5. Getting Started with Business Rules

How to test and debug an ASP.NET application

Application Note CTAN #374

MPLAB IDE 64-Bit USB Device Drivers Installation

SA-9600 Surface Area Software Manual

EZ DUPE DVD/CD Duplicator

How to setup EW-7438RPn with a Windows computer to extend an existing Wi-Fi network


WS_FTP Pro for Windows 95/98/NT

COMBOGARDPRO. 39E Electronic Combination Lock SOFTWARE INSTALLATION INSTRUCTIONS

SATA Blu-ray/DVD/CD Duplicator Controller

SmartBar for MS CRM 2013

Developing, Deploying, and Debugging Applications on Windows Embedded Standard 7

User s Guide DELUXE EDITION

Moving the TRITON Reporting Databases

Server Manager Performance Monitor. Server Manager Diagnostics Page. . Information. . Audit Success. . Audit Failure

Database Assistant. Once Database Assistant is installed you must login to gain access to the database. Copyright 2009

Setting Up Waves SoundGrid on Your DiGiCo Console

Using Logon Agent for Transparent User Identification

Upgrading User-ID. Tech Note PAN-OS , Palo Alto Networks, Inc.

3. Programming the STM32F4-Discovery

User Management Resource Administrator. UMRA Example Projects. Service Management

Chapter 3 Software Installation

Section 5: Connecting the Laser to Your Computer

5. Tutorial. Starting FlashCut CNC

Redirect Printer Port to LPT3 for Printing to Local Printer in Remote Desktop Session

PAMS Technical Documentation NHM 7 Series Transceivers. Service Software & Concepts

OPERATION MANUAL. MV-410RGB Layout Editor. Version 2.1- higher

EASE Scan Tool Customers. SECTION I - Installation

Release Notes. R&S ZVH4/ZVH8 Cable and Antenna Analyzer

Global Monitoring + Support

EMBEDDED C USING CODEWARRIOR Getting Started Manual

Creating a Project with PSoC Designer

Guide to Installing BBL Crystal MIND on Windows 7

Using the VEX Cortex with ROBOTC

User Manual. LG EzSign TV Editor. Version Nov. 10,

Debugging Java Applications

Back-up Server DOC-OEMSPP-S/2014-BUS-EN-10/12/13

Health Monitoring Demo for ice40 Ultra Wearable Development Platform User Guide. UG103 Version 1.0, September 2015

Table of Contents. ARM Evaluation Board (AEB-1) Welcome Guide ARM DGI 0005D. Proprietary Notice

Compute Cluster Server Lab 3: Debugging the parallel MPI programs in Microsoft Visual Studio 2005

SOFTWARE INSTALLATION INSTRUCTIONS

Quick Note 32. Using Digi RealPort with a Digi TransPort Router. UK Support September 2012

Windows Offline Files

Project management integrated into Outlook

Backup Server DOC-OEMSPP-S/6-BUS-EN

How to read this guide

Configuring Keystroke with KeyPay

Section 5: Installing the Print Driver

Release Notes. Contents. Release Purpose. Pre-Installation Recommendations. Platform Compatibility. Dell SonicWALL Global VPN Client 4.

Using the HCS12 Serial Monitor on Wytec Dragon-12 boards. Using Motorola s HCS12 Serial Monitor on Wytec s Dragon-12 boards

How to use the VMware Workstation / Player to create an ISaGRAF (Ver. 3.55) development environment?

Dream Report Version 4.5

Network Scanner Tool R3.1. User s Guide Version

TSM for Windows Installation Instructions: Download the latest TSM Client Using the following link:

Downloading Driver Files

DOORKING SYSTEMS 1830 SERIES NETWORK WORKSHOP LAN APPLICATIONS ACCESS CONTROL SOLUTIONS LOCAL AREA NETWORK (LAN) CONNECTION REV 04.

GEIGER COUNTER "Gamma Check Pro"

Simulating Transparent Mode for Multiple Subnets

5-Bay Raid Sub-System Smart Removable 3.5" SATA Multiple Bay Data Storage Device User's Manual

P&E Microcomputer Systems, Inc. P.O. Box 2044, Woburn, MA 01888, USA

Guest PC. for Mac OS X. User Guide. Version 1.6. Copyright Lismore Software Systems, Ltd. All rights reserved.

Walkthrough: Creating and Using an ASP.NET Web Service in Visual Web Developer

EPSON Scan Server & EPSON TWAIN Pro Network

Nios II IDE Help System

WA Manager Alarming System Management Software Windows 98, NT, XP, 2000 User Guide

Winlead Dialer Software Users Manual Addendum 3 Installing Winlead Dialer Software on the Windows 2000 System

EPIC 950 THERMAL TICKET PRINTER

Hypercosm. Studio.

S7 for Windows S7-300/400

Moldplus Server Installation Guide Version 3.10 Revision date: February 05, 2006

How to install the RTL8029 PCI Adapter Boot Rom for Windows95

National CR16C Family On-Chip Emulation. Contents. Technical Notes V

Enterprise Remote Control 5.6 Manual

ProCAP Transfer with Omneon Interface

Simplex Fire Products U File Transfer Utility Guide

Transcription:

Integration for X-Tools and X32 TRACE32 Online Help TRACE32 Directory TRACE32 Index TRACE32 Documents... 3rd Party Tool Integrations... Integration for X-Tools and X32... 1 Overview... 2 Brief Overview of Documents for New Users... 2 Operation Theory... 3 Installation... 3 Startup Sequence... 4 Menu Commands... 5 Set Breakpoint Set breakpoint on current line 5 Delete Breakpoint Delete breakpoint on current line 5 List of all Breakpoints Lists the breakpoints 5 Go Continue application 5 Break Stop application 5 Go until Cursor Continue application until this line 6 Step Over Step over function call 6 Step Into Step into function call 6 Watch Variable Add variable to watch window 6 Working with the X-TOOLS extensions... 7 Known Problems... 8 Integration for X-Tools and X32 1

Integration for X-Tools and X32 Version 06-Nov-2015 Overview This interface integrates the X-TOOLS / X32 tool series (blue river software GmbH) and TRACE32. Current supported versions are: X-TOOLS Version 4.03 X32 Version 2.0 Hosts: Windows95, Windows NT In the further description, both X-TOOLS Classic and X32 are referred to as X-TOOLS. Brief Overview of Documents for New Users Architecture-independent information: Debugger Basics - Training (training_debugger.pdf): Get familiar with the basic features of a TRACE32 debugger. T32Start (app_t32start.pdf): T32Start assists you in starting TRACE32 PowerView instances for different configurations of the debugger. T32Start is only available for Windows. General Commands (general_ref_<x>.pdf): Alphabetic list of debug commands. Architecture-specific information: Processor Architecture Manuals : These manuals describe commands that are specific for the processor architecture supported by your debug cable. To access the manual for your processor architecture, proceed as follows: - Choose Help menu > Processor Architecture Manual. RTOS Debugger (rtos_<x>.pdf): TRACE32 PowerView can be extended for operating systemaware debugging. The appropriate RTOS manual informs you how to enable the OS-aware debugging. Integration for X-Tools and X32 2 Overview

Operation Theory X-TOOLS provides an additional menu, which allows to control TRACE32 main features via X-TOOLS. To access these menu items, you have to install an helper application ("WxT32.exe"), that manages the communication between X-TOOLS and TRACE32. X-TOOLS passes all requests via DDE messages to the helper application. This application converts the requests and sends them to the TRACE32 display driver via sockets (important: WINSOCK has to be installed!). The display driver transports the requests to the TRACE32. The answer goes exactly the same way backwards. X-TOOLS --> WxT32 --> t32 --> TRACE32 Installation Follow these steps to install the X-TOOLS extension for TRACE32: 1. Copy the file "\cd\dos\demo\env\xtools\wxt32.exe" to your X-TOOLS directory. 2. Edit your "config.t32" file: Add between two empty lines the following statements, if not already there: RCL=NETASSIST PACKLEN=1024 No "PORT=" line should follow. The port defaults to 20000, and this is the only one currently usable. 3. Start X-TOOLS, select menu Extras->Tools Press the Add button and choose WxT32.exe. Press OK. 4. If you like, you can add the startup call for your TRACE32 debugger to the Tools menu. Integration for X-Tools and X32 3 Operation Theory

Startup Sequence For the first try on the X-TOOLS integration, follow the steps below. If you once got experienced, you can customize your own startup sequence, e.g. starting the WxT32 only, when it is needed. 1. Switch on power on TRACE32 and your target. 2. Start the TRACE32 debugger. 3. Change the directory inside TRACE32 to your application. 4. Setup TRACE32 and load your application. 5. Start X-TOOLS. If you followed the installation steps above, the Tools menu should contain an item called WxT32. 6. Start WxT32 by choosing this menu item. WxT32 will automatically establish a DDE connection to X-TOOLS and connect to the TRACE32 debugger. X-TOOLS then loads the current source file and places the cursor to the line, that represents the current program counter address. 7. After the application came up, try "Step", Go etc. Integration for X-Tools and X32 4 Startup Sequence

Menu Commands X-TOOLS provides a menu ( Debugger ) to control TRACE32. The functionality of these menu items are described in the online help of X-TOOLS. Please see there for details. This chapter contains additional information for each menu item. Set Breakpoint Set breakpoint on current line Equivalent emulator command: "Break.Set" Sets a program breakpoint on the line currently marked by the cursor. Delete Breakpoint Delete breakpoint on current line Equivalent emulator command: "Break.Delete" Deletes the program breakpoint on the line currently marked by the cursor. List of all Breakpoints Lists the breakpoints No actions on TRACE32 performed. X-TOOLS lists all breakpoints known by itself. Go Continue application Equivalent emulator command: "Go" This command starts the application in the emulator. The helper application watches the state of TRACE32 and informs X-TOOLS of an eventual break (e.g. due to a breakpoint). Break Stop application Equivalent emulator command: "Break" This command stops the application in the emulator immediately. Integration for X-Tools and X32 5 Menu Commands

Go until Cursor Continue application until this line Equivalent emulator command: "Go Until" A temporary program breakpoint is set on the marked HLL line and the application is continued. As soon as a breakpoint is hit (either the temporary breakpoint or another set breakpoint), the application is stopped, and the temporary breakpoint is deleted. Step Over Step over function call Equivalent emulator command: "Step.Over" Performs an HLL single step. If a function is called, the emulation will stop when the function returned to the caller. Step Into Step into function call Equivalent emulator command: "Step.Hll" Performs an HLL single step. If a function is called, the emulation will stop at the beginning of this function. Watch Variable Add variable to watch window Equivalent emulator command: "Var.View" Adds the variable marked or selected by the cursor to the watch window inside the TRACE32 display. A view window is created for each variable to watch. Integration for X-Tools and X32 6 Menu Commands

Working with the X-TOOLS extensions You have to keep some things in mind, when working with the integration. It is not dangerous to use both - X- TOOLS Extension and TRACE32 debugger - to control the emulator. However in some cases the editor gets confused. X-TOOLS tracks the program counter when single stepping or breaking through its menu. It does not recognize any action done in the TRACE32 debugger. That means, if you perform steps in TRACE32, X- TOOLS will show you the wrong program line. But that is harmless, because performing the next Step Into inside X-TOOLS will get you back to the right line. The WxT32 integration tool has it's own breakpoint management. Breakpoints, that should be displayed in X-TOOLS, MUST be set in X-TOOLS and MUST be deleted in X-TOOLS. X-TOOLS will not show breakpoints set in the TRACE32 debugger. We strongly recommend to use EITHER the X-TOOLS extensions for breakpoints OR the breakpoint commands in the display driver BUT NOT both mixed together. Integration for X-Tools and X32 7 Working with the X-TOOLS extensions

Known Problems - Multiple HLL breakpoints on single ASM lines The breakpoint management inside WxT32 works on HLL lines, while the breakpoint system inside TRACE32 works on hardware addresses. If you set two breakpoints on different HLL lines, which represent the same hardware address (e.g. comments), X-TOOLS will have two breakpoints, while TRACE32 will have one. Deleting one of the HLL breakpoints will delete the hardware breakpoint. That means, in X-TOOLS there is one breakpoint remaining, while TRACE32 has no breakpoint left. Workaround: Set breakpoints only on code lines. When detecting multiple breakpoints on a single address, delete all that breakpoints. Integration for X-Tools and X32 8 Known Problems