We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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
You can't. See the section, "µVision2 Restrictions when using Monitor-51" in the Getting Started giude, GS51.pdf. (accessible, as always, via the 'Books' tab in the uVision Project window). Also http://www.keil.com/support/docs/1618.htm
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