I asked this a while back on the old Keil forum, but got no reply.
https://community.arm.com/developer/tools-software/tools/f/keil-forum/35230/is-monitor-mode-debug-mmd-supported-with-ulink
So perhaps the Cortex-M experts can help?
Segger support Monitor-Mode Debug (as opposed to Halting Debug) for Cortex-M using their J-Link:
https://www.segger.com/products/debug-probes/j-link/technology/monitor-mode-debugging/
I have used it with Nordic devices - where it is invaluable for application debugging while the BLE stack is running:
https://devzone.nordicsemi.com/f/nordic-q-a/49990/debugging-ble-uart-causes-reset-when-breakpoint-set-in-sdk/199327#199327
However, as far as I can find, Segger is the only one to have an implementation that uses it.
So the question is: Is anyone aware of any other implementation?
I guess it could be that other implementations use a different name - so I'm googling the wrong term?
Andy Neil said:perhaps the Cortex-M experts can help?
Or perhaps there is a better section of the forum?
If only Segger offers this, why not use JLink then?
That's the question: is it only Segger - or is there any alternative?
It seems surprising that even ARM don't do it on their own tools!
run-mode debugging is common on Cortex-A with Linux. But actually I did not know Segger offers this. I use a variety of debuggers. But this feature is new to me.
I know that Lauterbach and iSystem have monitor programs. If they can be used together with the JTAG/SWD debugging ?
Would be interesting to know.
Maybe contact your preferred debugger-vendor ;-)
42Bastian Schick said:run-mode debugging is common on Cortex-A
Yes - that's what I've found in googling this.
42Bastian Schick said:Maybe contact your preferred debugger-vendor
I have - see the earlier links!
Found come interesting references:
ARM Cortex Core microcontrollers8th DebuggingBalázs SchererBudapest University of Technology and Economics © BME-MIT 2017Department of Measurement and Information Systems
https://www.mit.bme.hu/eng/system/files/oktatas/targyak/11072/ARM_Cortex_08_Debug_v04.pdf
MRI - Monitor for Remote Inspection. The gdb compatible debug monitor for Cortex-M devicesAdam Green
https://github.com/adamgreen/mri
No specific debug probe implementations, though.