Hello,
I currently think about how I could profile my code. The target is an arm cortex m0 (Nordic nrf51422). I like program counter sampling as a statistical method, because the code doesn't have to be instrumented. Now I wonder, if I could use my Jlink-Debugger to sample the program counter (event at a very low rate) and the call stack (possible with some inconsistencies), without halting the CPU?
Does some of you have experience with using the JLink for profiling?
cheers,
Torsten
I currently think about how I could profile my code. The target is an arm cortex m0 (Nordic nrf51422). I like program counter sampling as a statistical method, because the code doesn't have to be instrumented. Now I wonder, if I could use my Jlink-Debugger to sample the program counter (event at a very low rate) and the call stack (possible with some inconsistencies), without halting the CPU?
Does some of you have experience with using the JLink for profiling?
cheers,
Torsten