CodeWarrior - Profiling procedure

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CodeWarrior - Profiling procedure

Jump to solution
1,918 Views
venkatkumar
Contributor I

Hi,

 

I'm using the evaluation version of StarCore 10.2.12 and trying to use PACC simulator using the existing demo project.

However i'm getting error while executing the option Debug As -> CodeWarrior Download.

 

The CCS shows the following.

CCSAPI connection #1 accepted from LPNT-rvenky at Thu Nov 15 14:00:33 2012

CCSAPI connection #1 from LPNT-rvenky closed at Thu Nov 15 14:00:33 2012

 

Please help how to solve this issue ?. DoesPACC/ISS works in evaluation version ? Do we need any external h/w to use ISS/PACC ?

 

Thanks for your help.

 

Regards,

Venkat R

 

Labels (1)
Tags (2)
0 Kudos
Reply
1 Solution
1,580 Views
CrasyCat
Specialist III

Hi

Did you try the following:

  1. Select Run > Debug Configuration.
  2. Expand the CodeWarrior Download tree on the left hand side of the dialog
  3. Select the PACC launch configuration
  4. Click on the Debug button

Note that if you intend to run the profiler you need to use the PACC simulator. ISS simulator is not cycle accurate, so it will not deliver any cycle count information.

CrasyCat

View solution in original post

0 Kudos
Reply
3 Replies
1,581 Views
CrasyCat
Specialist III

Hi

Did you try the following:

  1. Select Run > Debug Configuration.
  2. Expand the CodeWarrior Download tree on the left hand side of the dialog
  3. Select the PACC launch configuration
  4. Click on the Debug button

Note that if you intend to run the profiler you need to use the PACC simulator. ISS simulator is not cycle accurate, so it will not deliver any cycle count information.

CrasyCat

0 Kudos
Reply
1,580 Views
gauravpotnis
Contributor I

Hi,

I have a question related to same topic.

Like what ever Inclusive, Max_Inclusive or Min_Inclusive cycles values we obtain on PACC how to interpret them n units of 'seconds'?

For example if my Inclusive cycles are 22454, then what is the unit for this counts?

--

Thanks

Gaurav

0 Kudos
Reply
1,580 Views
Daniel_Popa
NXP Employee
NXP Employee

Hi Gaurav,

Those are the number of cycles generated by a line of code (C or asm).

For example the:

asm(" nop") -> 1cyle

return(0)-> ~ 14cyles due some extra execution stalls

Once you know the number of cycles, then you can easily convert on sec/ms/us depending on which frequency the DSP is running 800/1000Mhz

Hope it helps!

Daniel

0 Kudos
Reply