CodeWarrior - Profiling procedure

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

CodeWarrior - Profiling procedure

跳至解决方案
1,924 次查看
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

 

标签 (1)
标记 (2)
0 项奖励
回复
1 解答
1,586 次查看
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 项奖励
回复
3 回复数
1,587 次查看
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 项奖励
回复
1,586 次查看
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 项奖励
回复
1,586 次查看
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 项奖励
回复