How to S32's break point timestamp in running

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

How to S32's break point timestamp in running

ソリューションへジャンプ
1,475件の閲覧回数
guoqiang_zhu
Contributor II

Hi,

   I want to konw the time consumed from breakpoint A to breakpoint B. but I don't know how to do it. 

background:

  a. Project quesion is MCU Init time too long , I think the time cost in StartUp step .

  b.address 0x01000400 is my StartUp's Entry point , address 0x01008e24 is my MainFunc()'s Entry point.

微信截图_20191104112716.png

thanks.

0 件の賞賛
返信
1 解決策
1,372件の閲覧回数
jiri_kral
NXP Employee
NXP Employee

Hi, 

I'm afraid that PE Micro isn't able measure running time. 

You can attach one channel of oscilloscope to Reset. Add as a very first instruction in main pin toggle. Catch this pin toggle on second oscilloscope channel. You got time from reset to main.

Anyway, what's your target MCU?

Jiri 

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,373件の閲覧回数
jiri_kral
NXP Employee
NXP Employee

Hi, 

I'm afraid that PE Micro isn't able measure running time. 

You can attach one channel of oscilloscope to Reset. Add as a very first instruction in main pin toggle. Catch this pin toggle on second oscilloscope channel. You got time from reset to main.

Anyway, what's your target MCU?

Jiri 

0 件の賞賛
返信
1,372件の閲覧回数
guoqiang_zhu
Contributor II

Thanks for you response.My target mcu is MPC5746C.

And oscilloscope can slove my current problem by adding two pins toggle channel.

0 件の賞賛
返信