Using ARM ETB with TI CCS. CCS 3.3 with SR9 on TMS320DM6446

Similar documents
file://c:\documents and Settings\degrysep\Local Settings\Temp\~hh607E.htm

XDS560 Trace. Technology Showcase. Daniel Rinkes Texas Instruments

Configuring Code Composer Studio for OMAP Debugging

As CCS starts up, a splash screen similar to one shown below will appear.

XDS560V2 Installation Guide

XDS200 ISO Operating Guide

April 4, 2001: Debugging Your C24x DSP Design Using Code Composer Studio Real-Time Monitor

As CCS starts up, a splash screen similar to one shown below will appear.

Code Composer Studio Development Tools v3.3. Getting Started Guide

ECE 5655/4655 Laboratory Problems

KeyStone Training. Keystone Device Tooling

APPENDIX A. CODE COMPOSER STUDIO (CCS) v5: A BRIEF TUTORIAL FOR THE DSK6713

Debugging in AVR32 Studio

Sensor Controller Studio Hands-On

TMS320C6000 Code Composer Studio Getting Started Guide

Code Composer Studio IDE Getting Started Guide. User's Guide

Report Viewer Tutorial

Lab 0 Introduction to the MSP430F5529 Launchpad-based Lab Board and Code Composer Studio

Code Composer Studio v4. Introduction

The NetBeans Debugger: A Brief Tutorial

Debugging INTRODUCTION DEBUGGER WHAT IS VBA'S DEBUGGING ENVIRONMENT?

Assembly Programming in Atmel Studio 7 Step by Step Tutorial

TotalView. Debugging Tool Presentation. Josip Jakić

Contents. Cortex M On-Chip Emulation. Technical Notes V

Debugging Shared Memory Systems

Release Notes. CodeWarrior Development Studio for Microcontrollers v10.6 Update 1.0.0

Advanced Integration Services In IBM Business Process Manager

Managing Complex Trace Filtering and Triggering Capabilities of CoreSight. Jens Braunes pls Development Tools

Resource 2 Embedded computer and development environment

Conclusions. Introduction. Objectives. Module Topics

TRACE32 Getting Started... ICD In-Circuit Debugger Getting Started... ICD Introduction... 1

A Tutorial for ECE 175

Intro to MS Visual C++ Debugging

System Debug. This material exempt per Department of Commerce license exception TSU Xilinx, Inc. All Rights Reserved

Code Composer Studio IDE v2 White Paper

PSIM Tutorial. How to Use SimCoder with TI F28335 Target Powersim Inc.

XDS560 Trace. Advanced Use Cases for Profiling. Daniel Rinkes Texas Instruments

NVIDIA Parallel Nsight. Jeff Kiel

MCUXpresso IDE Instruction Trace Guide. Rev May, 2018 User guide

How to Use Low-Energy Accelerator on MSP MCUs. Cash Hao Sept 2016

Keil TM MDK-ARM Quick Start for. Holtek s HT32 Series Microcontrollers

Getting Started in C Programming with Keil MDK-ARM Version 5

Getting Started in C Programming with Keil MDK-ARM Version 5

This chapter introduces how to use the emulator of TOPICE quickly.

TI mmwave Labs. Vital Signs Measurement

Floating-Point Unit. Introduction. Agenda

NEW CEIBO DEBUGGER. Menus and Commands

Application Note: 200

Multicore System Analyzer User s Guide

Cortex-A9 MPCore Software Development

Introduction to EZ430 RF2500

Intel Parallel Studio XE 2017 Composer Edition BETA C++ - Debug Solutions Release Notes

Starting Embedded C Programming CM0506 Small Embedded Systems

Application Report. Chuck Brokish Senior Member, Technical Staff... Field Design and Applications ABSTRACT

ARM Cortex-M and RTOSs Are Meant for Each Other

CROSSWARE 7 V8051NT Virtual Workshop for Windows. q Significantly reduces software development timescales

C Programming in Atmel Studio 7 Step by Step Tutorial

Advanced Debugging using the Ashling MPC5500 tools

STM32L100C-Discovery Board Projects

IBM i Debugger. Overview Service Entry Points Debugger Functions Attach to an IBM i Job Launch Configurations and Settings

PSIM Tutorial. How to Use SCI for Real-Time Monitoring in F2833x Target. February Powersim Inc.

Code Composer Studio IDE v3 White Paper

Getting Started with Red Trace

Computer Science II Lab 3 Testing and Debugging

Packaging and Deploying Java Based Solutions to WebSphere Message Broker V7

RM4 - Cortex-M7 implementation

Enterprise Architect. User Guide Series. Portals. Author: Sparx Systems. Date: 19/03/2018. Version: 1.0 CREATED WITH

RM3 - Cortex-M4 / Cortex-M4F implementation

The Road to CCSv4. Status Update

UCD3138. JTAG Configuration. Using CCS 6

IBM Application Performance Analyzer for z/os Version IBM Corporation

Enterprise Architect. User Guide Series. Portals

Support for RISC-V. Lauterbach GmbH. Bob Kupyn Lauterbach Markus Goehrle - Lauterbach GmbH

International Journal of Current Research and Modern Education (IJCRME) ISSN (Online): ( Volume I, Issue II, 2016

Enterprise Architect. User Guide Series. Portals

Assignment 1: Matrix Multiplication using MPI

Lab 8 - Vectors, and Debugging. Directions

Release Notes. S32 Design Studio for ARM v1.1

Using Code Composer Studio IDE with MSP432

Tracing mfence White Paper

Getting Started in C Programming with Keil MDK-ARM Version 5

Microprocessors. Microprocessors and rpeanut. Memory. Eric McCreath

Microprocessors and rpeanut. Eric McCreath

TDS510USB-C2K Emulator Installation Guide

Assignment 1: Port & Starboard

ARMv8-A Software Development

Can IBM Debug Tool and RDz Integrated Debugger both coexist in same CICS region?

JDB - QUICK GUIDE JDB - INTRODUCTION

Software Installation Guide for S32 Design Studio IDE (S32DS): FRDM-KEAZ128Q80 FRDM-KEAZ64Q64 FRDM-KEAZN32Q64

System Analyzer User s Guide. Literature Number: SPRUH43B July 2011

Texas Instruments Code Composer and ez-dsp Setup Notes

Lab 6 : Introduction to Simulink, Link for CCS & Real-Time Workshop

Tutorial 1: Programming Model 1

After you create a new project you should be able to access the below windows:

Cortex-R5 Software Development

IDE for medical device software development. Hyun-Do Lee, Field Application Engineer

BUILD DEFINITION EXTENSION

Speeding AM335x Programmable Realtime Unit (PRU) Application Development Through Improved Debug Tools

OMAP INSTRUCTION SET SIMULATOR TECHNICAL OVERVIEW

TI TMS320C6000 DSP Online Seminar

Transcription:

Using ARM ETB with TI CCS CCS 3.3 with SR9 on TMS320DM6446 1

ETB Usage Brief Tutorial 1. Setup CCS setup configuration to include the ETB. 2. Connect to the target (including the ETB) 3. Select the ETB as the Receiver type in the XDS560 Trace system control panel. (Tools XDS560 Trace Control) 4. Turn the trace system ON by going to the Unified Breakpoint Manager (Debug Breakpoints) and create a Trace operation. Select the action to be Trace ON and check the box for Program Address and Data. Enable the action and submit it. The trace system is ready! 5. Run your program to collect trace. If you know your point of failure, halt the core at that point. By default, the trace system will start/stop with the core. This means that every Run, Step, and Halt operation will refresh the Trace Display with trace information. 2

Make sure your CCS Setup includes the ETB 3

Parallel Debug Manager (PDM) on startup 4

Parallel Debug Manager (PDM) on startup 1. Select the target. 2. Choose Connect 3. Open the ARM processor CCS View 5

Parallel Debug Manager (PDM) on startup 1. Select the target. 2. Choose Connect 3. Open the ARM processor CCS View 6

Parallel Debug Manager (PDM) on startup 1. Select the target. 2. Choose Connect 3. Open the ARM processor CCS View 7

Choose Trace Control to select ETB as Receiver 8

Select Trace Recevier to be ETB Choose Receiver to select Trace collection method Select ETB 9

Select Breakpoints to turn the Trace system on. Can also do this through Tools XDS560 Trace Setup 10

The Unified Breakpoint Manager (UBM) is now available. Choose New 11

Select Trace 12

The Trace properties page is available. Click the + sign to choose when trace action (Start/Stop) as well as the type of tracing (program, data, etc. ) 13

Select + on what to trace to select Program and Data Note that different start/stop events can be used. 14

Select Program Trace Check the Enable box. 15

Click the Submit button to submit this trace job to the system. 16

Trace with ETB At this point, the ETB system is setup and is collecting trace. By default, the trace system will start/stop when Code Composer Studio (CCS) starts and stops the CPU. It is possible to choose different start/stop events for tracing, as these are based on the Advanced Event Triggering capabilities of the device (AET). 17

Trace Display is available under Tools XDS560 Trace Trace Display 18

Once you halt the processor, the Trace display will refresh with trace information. Choose Fields to select what is displayed. Right click-and choose source to setup the source code correlation. One display shows the current line, and the second display shows the C file for that line. 19

By filtering for source code only, we can see the C code that the processor executed. 20

With Data trace enabled, we can wee the processor load address and values. This is useful for checking whether the address is correct (pointer problems) and to validate the data values. 21

The trace information can be saved for later viewing and analysis. In this case, I am looking at the data accesses for a particular function. 22