Keil Logo Arm Logo

MON251: SINGLE-STEP AND TRACE


Information in this article applies to:

  • C251 Version 2.14

QUESTION

We are trying to use Mon251 V2 on our design with an 80C251G1D-16BI. We generated a ROM monitor at adress 01E800h. The ROM monitor starts running well. When we are in "Record trace" mode, "step by step" and "break point" all work as expected but execution time is too slow.

When "record trace" is off, execution speed is correct but we can't activate the "step by step" and break point" functions.

Is this normal?

ANSWER

Yes and No...

The reason that the trace is slow is because the monitor has to send 20 bytes of information to the PC for each instruction that is executed. At 9600 baud (1000 cps approx.) that is only 50 instructions per second. That's pretty slow!!!

Single-step and break-points work whether or not trace is enabled. If you can't single-step, something else must be wrong. Make sure you don't try to step over instructions that modify the stack pointer (since the monitor uses the stack, too).

You may want to check the configuration to ensure that serial break is enabled. That lets you stop execution by clicking on the STOP button.

Last Reviewed: Wednesday, November 16, 2005


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 

Keil logo

Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

ARM’s Privacy Policy has been updated. By continuing to use our site, you consent to ARM’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.

Acquisition of ARM Holdings plc. by SoftBank Group Corp.

We are pleased to inform you that on 5 September 2016, SoftBank Group Corp. acquired ARM Holdings Plc. ARM will continue to operate as an independent business within the SoftBank group.

Any current agreements between ARM Ltd (or other ARM group companies, as applicable) you / your company remain in effect as between the parties, and the parties will continue to be bound by and perform the obligations in such agreements. If you have any queries please direct these to ARMSoftbank-Notifications@arm.com.