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 do you do Trace Recording with Mon51?

Has anyone figured out how to enable and view trace recording when using the UV2 debugger with Mon51?

These commands are disabled when I build my project for debug with Mon51. However, they do work if I use the simulator (including itrace=1 and itrace=0 at the debugger command line).

I'm running uVision2 v2.06 with C51/A51 v6.02.

Thanks,

Mark

Parents Reply Children
  • I didn't see anything in the "µVision2 Restrictions when using Monitor-51" section that indicates Trace Recording or View Trace Records are disabled. All I see is that the Memory Map, Performance Analyzer, Call Stack, Code Coverage, Step Out, and Periodic Window Update functions and commands cannot be used with Monitor-51.

    The "Hardware and Software Requirements" section on p. 159 mentions that 5 kB of XDATA RAM are required if the optional trace buffer is to be used. I would think that this indicates it's possible to use the trace buffer with Mon51.

    Did I miss something?

    Mark

  • Andrew,

    I didn't see anything in the restricted functionality that included the trace buffer.

    Maybe I missed it, but are you sure? If you are correct, then I wonder why the Application Note for Monitor-51 says that 5 kbytes of memory is required for the trace buffer.

    Mark

  • Andrew,

    I just noticed that the list provided is a partial list of restricted features. However, I still can figure out why the Application Note would say 5 kbytes is needed for trace recording.

    Mark