Keil™, An ARM® Company

Technical Support

µVISION DEBUGGER: RUNNING AUTOMATED TEST SESSIONS


Information in this article applies to:

  • µVision Version 2.04

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

Last Reviewed: Monday, July 30, 2007


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