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

how to log states and variables?

I want to output to a file, a log of timing & variable information that I could then import into a spreadsheet where I can more easily visualize its operation.

I need to output the value of a few different variables at a specific point in an interrupt sequence, and also need to output the "states" clock count or "sec" debug timer data.

Thanks
Scott Kelley

Parents
  • well, this is not exactly what you need, just the idea how you can use extension DLLs... In Keil App. note 154 you can find documentation and sample source.

    For instance, define a custom SFR, then log writes to it into a file, or even drive Excel directly thru it's automation interface.

    Also you can define a signal f() or breakpoint function that prints values, redirect uVision log to file, then filter that file with some program...

Reply
  • well, this is not exactly what you need, just the idea how you can use extension DLLs... In Keil App. note 154 you can find documentation and sample source.

    For instance, define a custom SFR, then log writes to it into a file, or even drive Excel directly thru it's automation interface.

    Also you can define a signal f() or breakpoint function that prints values, redirect uVision log to file, then filter that file with some program...

Children
No data