Stacked registers display in MCUXpresso Fault tab

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

Stacked registers display in MCUXpresso Fault tab

561 次查看
jaldridge
Contributor II

There may be an error in how MCUXpresso shows the values of the stacked registers after a hard fault. It always appears to show the data from the Main Stack Pointer. I've a situation where the exception happens during thread mode and the registers are saved on the Process Stack Pointer. The LR has a value of 0xffffffed. In this case it would be more helpful if the IDE showed the registers from the PSP. In particular, the unstacked LR and PC are misleading as they are not related to the code that was executing at the time of the exception.

MCUXpresso version 10.3.1 and 11.0.0

iMXRT1021 EVAL board

LCP-LINK2 emulator probe

Windows 7 64-bit.

0 项奖励
1 回复

516 次查看
lpcxpresso_supp
NXP Employee
NXP Employee

Thanks for the feedback - we'll take a look.

Regards,

MCUXpresso IDE Support

0 项奖励