Please enable JavaScript to view this site.

winIDEA Help

Version: 9.17.176

Getting started with TriCore Aurix and Active Probe

For the best evaluation experience we recommend to use the examples, which come already prepared, built and ready-to-go. Check also online Tutorials, which focuses on the basics and follows the recommended learning sequence of our field application engineers with many years of training experience.

 

Getting started

In this tutorial we will set up a new Infineon TriCore workspace, which will be debugged using an On-Chip Analyzer iC5700 and Infineon DAP Active Probe .

GettingStartedT3NewWorskpace

Create a new workspace

1. Click File / Workspace / New Workspace

2. Choose a file name and location

3. Click OK to create a new workspace

 

Connecting On-Chip Analyzer iC5700 via the USB and Active Probe

GettingStartedT3Hwconnect

Connect the iC5700

1. Connect power supply cable.The required power supply cable is delivered with the BlueBox. A round 3-pin power connector is located on the rear of the BlueBox base unit.

 

NOTE: Double check that the BlueBox power switch is in OFF position before connecting the power supply.

 

It is important to push in (pull out for disconnect) the power supply connector plastic sleeve carefully into the BlueBox as it features a locking mechanism.

 

2. Connect the iC5700 via the USB.

GettingStartedT3AP

Connect the Active Probe

1. Connect Infineon DAP Active Probe to the FNet port via FNet Micro Cable.

 

2. Turn on the iC5700.

GettingStartedT3hwconnect2

Test the communication

1. Open Hardware / Hardware / Communication tab. USB communication is set by default.

In case you have more connected On-Chip Analyzers, choose the suitable one from the drop-down menu Device.

 

2. Click Test to verify that the communication with the iC5700 can be successfully established.

 

Connecting to the On-Chip Analyzer iC5700 via the Ethernet

GettingStartedT3Ethernet

Connect the hardware

1. Connect power supply cable.

 

The required power supply cable is delivered with the BlueBox. A round 3-pin power connector is located on the rear of the BlueBox base unit.

 

NOTE: Double check that the BlueBox power switch is in OFF position before connecting the power supply.

 

It is important to push in (pull out for disconnect) the power supply connector plastic sleeve carefully into the BlueBox as it features a locking mechanism.

 

2. Connect the iC5700 via the Ethernet cable.

GettingStartedT3AP

Connect the Active Probe

1. Connect Infineon DAP Active Probe to the FNet port via FNet Cable.

2. Turn on the iC5700.

HardwareConfigurationDialogRH850

Configure the hardware

1. Open the Hardware / Hardware dialog and select iC5700 as the Hardware Type.

2. Click OK.

ETHCommunication

Communication settings

1. Open the Hardware / Hardware / Communication tab and select TCP/IP communication. By default the IP address is allocated dynamically.

2. Click Test to check, if the communication is successful.

 

Configuring Emulation Options

Select Hardware / Emulation Options and specify details under tabs Probe, Hardware, CPU. Default settings should work for most cases.

Emulation Options-newHotAttach

Hardware

By default Debug I/O levels are set to Vref.

It is recommended to use Vref setting for target Vref voltages 3.3V and below. When debug I/O levels should be 5V, it is recommended selecting internal ā€˜5.0Vā€™ source for Debug I/O levels.

 

For detailed explanation continue to TriCore Setup chapter.

TriCore-ProbeSelection

Active Probe

1. Open the Hardware / Emulation Options / Probe dialog.

 

2. Select the iSYSTEM hardware you are using to connect to your target:

    • DTM - Available on iC5000, iC5500, iC5700 and iC6000.
    • Active Probe - Available on iC5700 as an FNet device.

 

In this example is Active Probe Infineon DAP.

 

hmtoggle_arrow0 If you have several Active Probes connected to your On-Chip Analyzer, select the desired Active Probe from the drop down menu. If you have only one Active Probe connected, you can leave the Active Probe selection box empty and winIDEA will automatically connect to an available Active Probe.
GettingStartedT3CPUselection

CPU

1. Select the Infineon TriCore under Family. Infineon TriCore under POD/iCARD/iTAG is select by default.

2. In CPU list select the CPU that matches your microcontroller.

For detailed explanation continue to TriCore Setup chapter.

 

 

Verifying the settings

Above settings are crucial to establish a debug session. If any setting is incorrect, debug session will not be established. In order to verify that above settings are correct, CPU reset should be performed:

GettingStartedTriCoreVerifying

Reset the CPU

1. Turn off the On-Chip Analyzer iC5700.

2. Connect the debug cable to the target board.

3. Connect the ground wire to the target board.

4. Turn on the iC5700.

5. Then turn on the target board.

6. Click Debug / Run control / CPU Reset to make sure that debug session can be successfully established.

 

 

Adding a download file

In order to download the application to the microcontroller, the download file must be specified in the workspace. In this tutorial we assume, that the download file containing executable code and debug information is built with a third-party build tool.

DownloadFileRH850

Add a file to for debugging

1. Open Debug / Files for download window and select Add. Choose the desired download file and click OK.

2. Window Edit options appears and based on the download file type you may review the available options. Click OK to confirm.

3. Download File options dialog will open. If your code needs to be loaded at an offset, enter the offset for the code and the symbols.

4. Click OK to confirm the Download file settings.

Verifyfeature2

5. Click on the Options tab.

6. Enable the Verify option and click OK to confirm.

RH850FindSourceFiles

Locate the source file

winIDEA needs to locate the source files in order to be able to debug the application on the source code level

 

1.Open Debug / Debug Options / Directories tab and add path with New button to the source files to the alternate project files search directories list.

2. Enable the Search subdirectories option if necessary.

3. Click Close to confirm.

 

Analyzer Operation Mode

First of all you need to determine what trace technology is available on your target.  Read the Trace Technologies chapter for more information on different trace technologies supported by iSYSTEM tools and the limitations they might impose.

GettingStartedTricoreAnalyzer

Open Hardware / CPU Options / Analyzer tab and select the operation mode based on what is supported by your CPU and target design:

 

 

Start debugging

Download the application to debug by choosing Debug / Download. The download will be verified and you will be notified about any download errors, if they occur. You may now debug you application.

 

 

Further read

For more detailed information on:

Copyright© iSYSTEM AG Carl-Zeiss-Str.1 85247 Schwabhausen Germany