MTB_DWT stack monitoring

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

MTB_DWT stack monitoring

439 次查看
smt87
Contributor II

Hi,

I want to use MTB_DWT register for stack overflow and underflow errors in my code(MCU S32K116). My question is how i can use this register and adopt it to my code.

0 项奖励
回复
1 回复

427 次查看
JRoberto
NXP TechSupport
NXP TechSupport

Hi @smt87 

Unfortunately, the S32k1XX's core can't access these registers. The registers can be accessed via DAP by the debugger only.

Please refer to this thread for more details.
https://community.nxp.com/t5/S32K/Example-of-DWT-for-stack-usage-monitoring-on-S32K1xx/m-p/1160990#

I'm sorry for the inconvenient this may cause.

0 项奖励
回复