How to S32's break point timestamp in running

cancel
Showing results for 
Search instead for 
Did you mean: 

How to S32's break point timestamp in running

Jump to solution
825 Views
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 Kudos
1 Solution
722 Views
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 

View solution in original post

0 Kudos
2 Replies
723 Views
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 Kudos
722 Views
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 Kudos