RUNNING AUTOMATED TEST SESSIONS
Applies to: uVision Debugger
Information in this article applies to:
Is there a way to run automated debug or test sessions using
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:
Create a project that you want to use for automatic testing and
select the CPU you want to use for testing.
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.
µVision can be now invoked directly from the Windows command
prompt with the following:
UV2 -D <project file>
Article last edited on: 2007-07-30 02:25:38
Rate this article
Disagree? Move your mouse over the bar and click