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
  • Actually, we had this feature enabled for a while and it caused too many technical support issues.

    The problem is that with trace recording, the monitor must single-step each instruction and transmit the register contents and other data to the PC. If this is only 16 bytes per instruction, you can see that at 9600 baud, you'll only execute 60 instructions per second (960 CPS / 16).

    At that rate, it takes several seconds to make it thru the startup code. This is usually unacceptable for most software development.

    Jon

Reply
  • Actually, we had this feature enabled for a while and it caused too many technical support issues.

    The problem is that with trace recording, the monitor must single-step each instruction and transmit the register contents and other data to the PC. If this is only 16 bytes per instruction, you can see that at 9600 baud, you'll only execute 60 instructions per second (960 CPS / 16).

    At that rate, it takes several seconds to make it thru the startup code. This is usually unacceptable for most software development.

    Jon

Children