Hi, a customer reported having some issues when System Analyzer is enabled in a modified MCSDK Image processing demo. They have been developing their own code which works OK. However, now they want to get some profiling data. The code is very much like the MCSDK openMP image processing demo, except that they have added more capabilities.
In order to gauge the system performance, they have added a few System Analyzer commands to the code, and have enabled "system Analyzer" in the .cfg file, activated system Analyzer (UIA target) in RTSC in project properties.
For compiling they use CGT v7.4.0. Project build OK and generates .out file. However, when .out is loaded into the core and run, it failed to perform the same way as before. Before enabling analyzer, running the program generate an web IP address that we can talk to the CPUs, then perform the image processing. This happens regardless of whether or not we activate "System Analyzer > Live" in Tools. (when enabled, they noticed that core_0 is "instrumented")
They also have tried ccsv5.3. But ccsv5.3.0 failed to run even their original code where none of the System Analyzer actions were taken. When the .out file is loaded into the core through ccsv5.3 and "run" is activated, We did not get an IP-address as we did with ccsv5.2.1, Instead, we get the following message:
PA successfully initialized
Unable to create configuration
0:48 0:96 0:128 0:256
0:512 0:1536 0:3072
(0/0 mmAlloc: 0/0/0, mmBulk: 0/0/0)
Also, as a additional note they try to enable SA in the original Image processing demo without luck. Please note below steps they did:
* Copied relevent files and folders from mcsdk openMP demo into my working directory ( ...\mcsdkopenMPdemo_testSA\
* run ccsv5.2.1 : load orig .out file, to verify everything works. It does.
* recompiled to get a new .out file, load this file into core0,
* load .out file to core0; click green arrow to run: gest web ipAddress, process image succesfully.
---
* next step; updated .cfg & mcip_process.c (added SA include files & a couple Log_info0 command) ; RTSC: enabled System analyzer;
* compile : Build was successful, no warning, no error
* Load the .out(with SA) file to core0: SA welcome page appeared; console page: no error shown
* Tools > system Analyzer > Live: core0 instrumented;
* click green arrow to run; core0 says "(running)"; console has nothing new, no web ipAddress; neither does Live Session Log;
* repeat and reload the new .out file several times, same result, no web ipAddress
* switch back to the original .out file from TI. Everything works.
* switched to the compiled .out file (without system Analyzer), load ok; can do edge processing.
The questions would be how is the right way to enabled and test using System Analyzer? In order to get Image processing OpenMP + System Analyzer do we need to have a specific CCS and CGT versions? is any known issues about Image processing OpenMP demo + SA that we should be aware of?
Thanks a lot for your help,
Paula

