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) ?
解決済! 解決策の投稿を見る。
'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
'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