Hi
My s32k board is connected via a Segger Jlink pro. How can I watch/view my variables , while core is running?
In IAR there is the live watch window, where I can watch my global variables while S32k is running.
In Design studio I only found the "expressions" window, which gives you access to variables only when CPU is halted.
Any idea?
Thx
Hi m,
I'm using the SEGGER J-Scope to watch my variables in realtime:
J-Scope | SEGGER - The Embedded Experts
I hope this helps,
Erich
Brilliant as usual, Erich. Almost what I was looking for.
Out of curiosity, what's the impact of the J-Scope on the MCU performance?
I'm more interested in the HSS scenario, so I don't have to instrument the code.
thanks :-).
The impact depeneds on the update frequency. I use usually a 10Hz rate for a few variables. The debugger/J-link is able to read the memory while the target is running using 'free' bus cycles, so the performance hit is nearly not noticable if used with care. I estimate it in the 1-2% range.
I hope this helps,
Erich
Hi,
I'm afraid that there is no such feature. You can try adapt conditional breakpoints for your debug needs.
Jiri