Routine recognization question

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

Routine recognization question

跳至解决方案
423 次查看
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 项奖励
1 解答
410 次查看
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 项奖励
1 回复
411 次查看
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 项奖励