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
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
Given what you said regarding the degradation of performance via the serial interface when trace recording is turned on, I'd agree that the feature wouldn't be very useful in most cases. However, I'd still like to know how to enable the feature in case there's a situation where I can use it. How did you enable it?