Debugging I.MX RT 1050 with MCUXpresso

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

Debugging I.MX RT 1050 with MCUXpresso

跳至解决方案
780 次查看
adicarlo
Contributor II

I read that MCUXpresso does not support software breakpoints for code placed in Flash (e.g. QSPI NOR Flash). Is this true?

This can be a significant limitation (when available HW breakpoints are not enough), since we would like to use XIP from QSPI Flash, and code size will be significantly bigger than internal RAM size.

I read that Segger tools can place SW break points in Flash (it is a matter of being able to rewrite flash sectors), is there any plan to include this feature in next MCUXpresso release(s) ?

0 项奖励
回复
1 解答
658 次查看
BlackNight
NXP Employee
NXP Employee

'Software breakpoints in flash' (Software and Hardware Breakpoints | MCU on Eclipse) are currently only supported with the SEGGER J-Link debug probes which are supported in the MCUXpresso IDE. But this is not available say with the LinkServer and the P&E debug probes: for these as you say it will use hardware breakpoints. The i.MX RT has a decent number of HW breakpoints, so this might not be a real limitiation. Or just use a J-Link with MCUXpresso IDE if you really want to use this.

I hope this helps,

Erich

在原帖中查看解决方案

1 回复
659 次查看
BlackNight
NXP Employee
NXP Employee

'Software breakpoints in flash' (Software and Hardware Breakpoints | MCU on Eclipse) are currently only supported with the SEGGER J-Link debug probes which are supported in the MCUXpresso IDE. But this is not available say with the LinkServer and the P&E debug probes: for these as you say it will use hardware breakpoints. The i.MX RT has a decent number of HW breakpoints, so this might not be a real limitiation. Or just use a J-Link with MCUXpresso IDE if you really want to use this.

I hope this helps,

Erich