2012-08-28 02:27 AM
Hello,
I'm suspecting my interrupts to trigger a lot more than necessary ... What is the less intrusive and quickest way to monitor interrupt triggers with only SWD (no SWO) ? Thomas.2012-08-28 04:49 AM
I'm suspecting my interrupts to trigger a lot more than necessary ...
Primarily what you have coded in the handler routine... From M3 upward, you can make use of the ITM, if your debug adapter and debugger sw supports it. That is one of the things that make up the difference between a <100$/euro debug adapter, and a 1000$/euro specimen. The same holds often true for the toolchain. Another practicable method is to use GPIOs to monitor certain events at runtime, and in realtime. That requires a scope or a logic analyzer.