ARM Technical Support Knowledge Articles

SIMULATION OF THE X2 CLOCK MODE ON PHILIPS DEVICES

Applies to: uVision IDE

Answer


Information in this article applies to:


QUESTION

I'm developing an application for Philips devices. I am using the Philips device in clock doubler mode (X2 = 6 clock cycles per machine cycle) as pre-programmed from Philips. How is the simulator configured for these devices.

ANSWER

Philips offers two ways to configure a device in X2 mode.

You may set the VTREG X2 in a debugger INI file as described below:

  1. Create a debugger INI file that sets contains the following commands:
    X2 = 1          /* set X2 mode */
    reset                /* perform CPU reset: uses value at PE_SWD */
    g, main              /* execute program till main */
    
  2. Under Options for Target -> Debug -> Use Simulator, disable the option "Go til main ()" then enter the filename for the debugger INI file you created.

SEE ALSO

Article last edited on: 2004-04-15 12:48:05

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential