OK, so I now have a J-trace Pro
and it is going to be used for full, real 4-pin ETM trace over ethernet on an upcoming project that is properly set up for it (micro with trace pins, and routed to a proper connector).
But I would also like to figure out what is possible for older projects that were not or could not be set up for full trace. I know, these questions come up a lot given how many debug technologies there are now.
One scenario is for an STM32F1 chip where SWD+SWO is available, but not the 5 dedicated ETM trace pins (small package, so pins not available). Is any kind of on-chip or on-probe buffered tracing possible? I believe statistical sampling over SWO would be possible, but I am trying to see if any in-order recording of steps is possible, so I could capture the last few hundred instructions before landing in an exception or code-initiated breakpoint.
Another scenario is an STM32F4 micro inside an existing module, so only the SWD pins are available, not even SWO. Any options here?

But I would also like to figure out what is possible for older projects that were not or could not be set up for full trace. I know, these questions come up a lot given how many debug technologies there are now.
One scenario is for an STM32F1 chip where SWD+SWO is available, but not the 5 dedicated ETM trace pins (small package, so pins not available). Is any kind of on-chip or on-probe buffered tracing possible? I believe statistical sampling over SWO would be possible, but I am trying to see if any in-order recording of steps is possible, so I could capture the last few hundred instructions before landing in an exception or code-initiated breakpoint.
Another scenario is an STM32F4 micro inside an existing module, so only the SWD pins are available, not even SWO. Any options here?