Routine recognization question

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Routine recognization question

Jump to solution
408 Views
TingTing
Contributor II

 

Hi Developer,

How Can I know which routine is running now?

For example, I have 3 routine on PFlash, which named A, B, C. Each routine can work at one time. When A confirm B exist,A call B. When B confirm C exist, B call C. How can I konw which routine is running now without debugger or NVM.

Dose there any way to do this?

PS: My board is MPC5746R.

Waiting for your response.
Many thanks.

BR, Shi Ting Ting.

0 Kudos
1 Solution
395 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

this should be handled on software level. You can use some status variable which should be updated accordingly at beginning and at end of each function/task.

Regards,

Lukas

 

View solution in original post

0 Kudos
1 Reply
396 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

this should be handled on software level. You can use some status variable which should be updated accordingly at beginning and at end of each function/task.

Regards,

Lukas

 

0 Kudos