How to S32's break point timestamp in running

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

How to S32's break point timestamp in running

跳至解决方案
1,424 次查看
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,321 次查看
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,322 次查看
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,321 次查看
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 项奖励