Please enable JavaScript to view this site.

winIDEA Help

Version: 9.21.197

AMP Debugging

This chapter describes how to start debugging in AMP (Asymmetrical multiprocessing) mode where a separate winIDEA instance is opened for each core.

 

 

number1

Configure the first Application via Wizard.

 

number2

Add and configure the second Application via Debug / Session configuration / Application.

Give the application a meaningful name, specify the Architecture and Symbol file in the Symbol Files.

 

AMP-Example-1

 

 

number3

Define Memory Spaces for both Applications via Debug / Session configuration / SoCs / Memory Spaces.

Make sure the correct Application is selected in the Application drop-down.

 

AMP-Example-2

 

SMP-TriCore-Memory-Spaces

Application App_CPU1 is running in the AMP1 group (CPU0, CPU1, CPU2) with its own Memory Space MS1.

Application App_CPU2 is running in the AMP2 group  (CPU3, CPU4, CPU4) with its own Memory Space MS2.

 

Number4

Perform Reset / Download.

Begin a Debug session in the primary winIDEA instance via:

EditorDownload

Download (this step will also Program the SoC).  

EditorLoadSymbolsOnly

Load Symbols Only

EditorAttachButton

Reset

EditorResetButton

Attach

 

 

Number5

Open the secondary winIDEA instance via Debug / Core / <core>.

Amp-open-core

 

 

number6

Connect to the primary winIDEA instance via Debug / Connect.

debug-connect

 

 

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