ARM Technical Support Knowledge Articles

RUNNING AUTOMATED TEST SESSIONS

Applies to: uVision Debugger

Answer


Information in this article applies to:


QUESTION

Is there a way to run automated debug or test sessions using µVision?

ANSWER

Yes. The µVision IDE can be run from the Windows command prompt. You may create batch files that start µVision which can then either build a project or run the debugger.

To start the µVision debugger with an automated test session perform the following steps:

  1. Create a project that you want to use for automatic testing and select the CPU you want to use for testing.
  2. Specify a file that contains the debug commands for your automatic test under Options for Target - Debug - Initilization File. In this command file, you may have a load command for your application. If you want to terminate the debug sequence and stop the debug session, you may use the EXIT command. You may have nested command files when you are using the INCLUDE command.
  3. µVision can be now invoked directly from the Windows command prompt with the following:
    UV2 -D <project file>
    

MORE INFORMATION

SEE ALSO

Article last edited on: 2007-07-30 02:25:38

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