Solved! Go to Solution.
Hi Amer,
From within the IDE there is no option to automatically force a target pause at a fixed time interval.
For Global Variables, you can monitor and log variables at frequencies from 1/2 to 10 seconds. Please see the Live Variables section in the MCUXpresso IDE User Guide.
For local variables, there is no similar solution due to the architecture of the underlying ARM core.
One approach might be to make use of some Eclipse advanced breakpoint properties. From here you can define and apply an action - such as resume (as shown below):
This will make the particular breakpoint resume execution once hit.
The next problem is to control when the breakpoint actually gets hit. Here you could force this by only entering the code with the breakpoint at a frequency of your choosing:
for example:
IF (some timed condition) {
<breakpoint this line with resume> ; sample local variable value
}
I have tested this using a LinkServer debug probe.
I hope this helps.
Yours,
MCUXpresso IDE Support
Hi Amer,
From within the IDE there is no option to automatically force a target pause at a fixed time interval.
For Global Variables, you can monitor and log variables at frequencies from 1/2 to 10 seconds. Please see the Live Variables section in the MCUXpresso IDE User Guide.
For local variables, there is no similar solution due to the architecture of the underlying ARM core.
One approach might be to make use of some Eclipse advanced breakpoint properties. From here you can define and apply an action - such as resume (as shown below):
This will make the particular breakpoint resume execution once hit.
The next problem is to control when the breakpoint actually gets hit. Here you could force this by only entering the code with the breakpoint at a frequency of your choosing:
for example:
IF (some timed condition) {
<breakpoint this line with resume> ; sample local variable value
}
I have tested this using a LinkServer debug probe.
I hope this helps.
Yours,
MCUXpresso IDE Support