MTB_DWT stack monitoring

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

MTB_DWT stack monitoring

273件の閲覧回数
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 返信

261件の閲覧回数
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 件の賞賛