Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

UIA/Systemanalyzer + OpenMP: Only receiving events from core 0

$
0
0

Hello,

I am trying to analyze an OpenMP application using system analyzer.
Everything seems to work, however I am only receiving events from core 0, which makes concurrency analysis impossible.

As a starting point I used the demo-project supplied with CCSv5.2 "Example that demonstrates using UIA with OMP". To make sure, I set OpenMP.autoDnldCore = false, the rest of the configuration (especially the UIA parts) is unchanged. Transport is set to JTAGRUNMODE, JTAGSTOPMODE didn't work any better.
I deploy it to an EVM6678 (silicon rev 2) using the default GEL file, performing an explicit "Global_Default_Setup" does not make any difference.
Versions used: CCS5.2, System Analyzer 1.1.0.04, Sys/Bios 6.33.5.46, OMP 1.1.2.06, IPC 1.24.3.32, CGT-7.4.1, platform: ti.omp.examples.platforms.evm6678

Any ideas what might be going wrong here?

Thank you in advance, Clemens

UIA specific part of the config-file:


var LoggingSetup = xdc.useModule('ti.uia.sysbios.LoggingSetup');
LoggingSetup.eventUploadMode = LoggingSetup.UploadMode_JTAGRUNMODE;
LoggingSetup.loadLoggerSize = 32768;
LoggingSetup.mainLoggerSize = 32768;
LoggingSetup.sysbiosLoggerSize = 32768;


var UIABenchmark  = xdc.useModule('ti.uia.events.UIABenchmark');

var LogSync = xdc.useModule('ti.uia.runtime.LogSync');
var GlobalTimestampTimer =
    xdc.useModule('ti.uia.family.c66.TimestampC66XGlobal');
LogSync.GlobalTimestampProxy = GlobalTimestampTimer;

UIA-Session file used:

<?xml version="1.0" encoding="UTF-8"?>
<java version="1.6.0_13" class="java.beans.XMLDecoder">
 <object class="com.ti.uia.host.core.Session$Config">
  <void property="endpoints">
   <void method="add">
    <object class="com.ti.uia.host.core.Session$Config$Endpoint">
     <void property="clockFreq">
      <long>1000000000</long>
     </void>
     <void property="name">
      <string>C66xx_0</string>
     </void>
     <void property="outFile">
      <string>C:\Users\EissererC\work_pfelib\OmpSystemAnalyzerTest\Debug\OmpSystemAnalyzerTest.out</string>
     </void>
     <void property="rtaFile">
      <string>C:/Users/EissererC/work_pfelib/OmpSystemAnalyzerTest/Debug/configPkg/package/cfg/omp_uia_example_pe66.rta.xml</string>
     </void>
     <void property="uiaFile">
      <string>C:/Users/EissererC/work_pfelib/OmpSystemAnalyzerTest/Debug/configPkg/package/cfg/omp_uia_example_xe66.uia.xml</string>
     </void>
    </object>
   </void>
   <void method="add">
    <object class="com.ti.uia.host.core.Session$Config$Endpoint">
     <void property="clockFreq">
      <long>1000000000</long>
     </void>
     <void property="destID">
      <int>1</int>
     </void>
     <void property="name">
      <string>C66xx_1</string>
     </void>
     <void property="outFile">
      <string>C:\Users\EissererC\work_pfelib\OmpSystemAnalyzerTest\Debug\OmpSystemAnalyzerTest.out</string>
     </void>
     <void property="rtaFile">
      <string>C:/Users/EissererC/work_pfelib/OmpSystemAnalyzerTest/Debug/configPkg/package/cfg/omp_uia_example_pe66.rta.xml</string>
     </void>
     <void property="uiaFile">
      <string>C:/Users/EissererC/work_pfelib/OmpSystemAnalyzerTest/Debug/configPkg/package/cfg/omp_uia_example_xe66.uia.xml</string>
     </void>
    </object>
   </void>
   <void method="add">
    <object class="com.ti.uia.host.core.Session$Config$Endpoint">
     <void property="clockFreq">
      <long>1000000000</long>
     </void>
     <void property="destID">
      <int>2</int>
     </void>
     <void property="name">
      <string>C66xx_2</string>
     </void>
     <void property="outFile">
      <string>C:\Users\EissererC\work_pfelib\OmpSystemAnalyzerTest\Debug\OmpSystemAnalyzerTest.out</string>
     </void>
     <void property="rtaFile">
      <string>C:/Users/EissererC/work_pfelib/OmpSystemAnalyzerTest/Debug/configPkg/package/cfg/omp_uia_example_pe66.rta.xml</string>
     </void>
     <void property="uiaFile">
      <string>C:/Users/EissererC/work_pfelib/OmpSystemAnalyzerTest/Debug/configPkg/package/cfg/omp_uia_example_xe66.uia.xml</string>
     </void>
    </object>
   </void>
   <void method="add">
    <object class="com.ti.uia.host.core.Session$Config$Endpoint">
     <void property="clockFreq">
      <long>1000000000</long>
     </void>
     <void property="destID">
      <int>3</int>
     </void>
     <void property="name">
      <string>C66xx_3</string>
     </void>
     <void property="outFile">
      <string>C:\Users\EissererC\work_pfelib\OmpSystemAnalyzerTest\Debug\OmpSystemAnalyzerTest.out</string>
     </void>
     <void property="rtaFile">
      <string>C:/Users/EissererC/work_pfelib/OmpSystemAnalyzerTest/Debug/configPkg/package/cfg/omp_uia_example_pe66.rta.xml</string>
     </void>
     <void property="uiaFile">
      <string>C:/Users/EissererC/work_pfelib/OmpSystemAnalyzerTest/Debug/configPkg/package/cfg/omp_uia_example_xe66.uia.xml</string>
     </void>
    </object>
   </void>
  </void>
  <void property="eventTransport">
   <object class="com.ti.uia.host.core.Session$Config$Transport">
    <void property="customProperties">
     <void method="put">
      <string>Port</string>
      <int>8080</int>
     </void>
     <void method="put">
      <string>Address</string>
      <string>localhost</string>
     </void>
    </void>
    <void property="file">
     <string></string>
    </void>
    <void property="type">
     <string>JTAG</string>
    </void>
   </object>
  </void>
  <void property="msgTransport">
   <object class="com.ti.uia.host.core.Session$Config$Transport">
    <void property="type">
     <string>None</string>
    </void>
   </object>
  </void>
 </object>
</java>

Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>