This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Logic Analyzer: Bought it - Why Not Use it

Since uVision4 was purchased and there are features I have not yet used I thought I'd try the included Logic Analyzer utility to get the hang of it. However, I have run into a couple of issues...

After the normal setup learning curve the Logic Analyzer starts running for approximately 3-5 secs before I get the Trace Status Bar error "HW Buffer Overrun" and the Analyzer shuts down.

After trying the suggestions at the Keil ULINK2 Users Guide for this error the only way (so far) I am able to monitor this variable is to NOT 'PC Sample' with the prescaler but rather use the 'Every R/W' instead.

Therein lies the rub...

This variable is constantly checked/tested as a conditional within the main loop (yes, it is foreground/background - not my choice). Because this is considered a 'read' when its in a conditional the HW Buffer Overrun error still occurs.

The only way Ive been able to overcome this is by creating two variables. A 'history' variable that is compared with the original and if they are unequal updating itself and then updating the second or 'debug' variable which is then monitored within the Logic Analyzer.

This is/seems-to-be more work than is necessary. Has anyone found a way around this issue? If so, please share...

0