Routine recognization question

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

Routine recognization question

ソリューションへジャンプ
1,004件の閲覧回数
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 解決策
991件の閲覧回数
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 返信
992件の閲覧回数
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 件の賞賛
返信