Solved
How can I know the elapsed time between breakpoints in EWARM?
Posted on October 19, 2017 at 12:25
How can I know the elapsed time between breakpoints in EWARM?
How can I know the elapsed time between breakpoints in EWARM?
On a general note, I think the core has a CYCLECOUNT register which needs to be enabled. By substracting the values between breakpoints (or even stored on a global variable), knowing the core clock frequency can yield the time between two points in the code. (with global variable, max value can be also tracked over some operating time). For IAR specifics, don't know.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.