stack guard section control

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

stack guard section control

1,674 次查看
emerging
Contributor III

Hello,

Now i am in a project using MPC5746.In it i need to monitor stack overflow.I get an idea of stack overflow monitoring.First create a guard section and fill it with any particular pattern before execution start.After execution check the guard section if there is any other value than stored pattern then we can understand an overflow happened.But i don't have any idea about how we do this in a coding point of view.

Could anyone can give me a support to get how we do this stack overflow monitoring in a coding point of view? Thank you very much

标签 (1)
0 项奖励
回复
2 回复数

1,437 次查看
martin_kovar
NXP Employee
NXP Employee

Hello,

we have already solved very similar question. Please see the link below and let me know, if it helps you.

https://community.nxp.com/message/857066 

Regards,

Martin

0 项奖励
回复

1,437 次查看
emerging
Contributor III

Sorry Martin.Actually it is not able to give me a clear idea.I want to get how to create a guard section in stack and how to fill values in guard section and how to read guard section values and what are the instructions and registers used for this.

I kindly request you to give me a support for that.

0 项奖励
回复