CodeWarrior - Profiling procedure

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

CodeWarrior - Profiling procedure

ソリューションへジャンプ
1,932件の閲覧回数
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,594件の閲覧回数
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,595件の閲覧回数
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,594件の閲覧回数
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,594件の閲覧回数
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 件の賞賛
返信