Keil Logo


Information in this article applies to:

  • µVision Version 2.38 or higher


Is there a way to control the operations of µVision from a different application? I need to be able to start and stop debugging, and read the memory contents.


Yes, µVision offers several possibilities. For example, you may simply generate an include file that contains the debugger commands and enter it as a debugger INI file. The debugger INI file may contain commands like Go, EXIT, Dump, and LOG. Together, with the µVision batch mode, you may write automated test sessions.

A more sophisticated way is to use The µVision Socket Interface (UVSOCK) which enables µVision versions 3.5 and greater to be controlled and monitored by one or more third party applications (Clients). It enables the Client(s) to perform:

  • Application configuration
  • Application building
  • Application debugging

The client has access to the power of µVision's device database, build system, and features such as advanced debugging with the Real-Time Agent. The client and µVision work together to provide a seamless experience for the end-user. For more information on the µVision Socket Interface please read Application Note 198 linked to in the MORE INFORMATION section.

For versions of µVision prior to 3.5 the Development Tool Connection (DTC) Interface which is documented in Application Note 170 linked below. DTC allows you complete remote control of build and debug functions. You may download the attached sample that shows you a simple command line application written with Microsoft Visual C. The DTC Tester in Application Note 170 gives you an overview of the complete DTC functionality.

The DTC interface is used by third party products like Telelogic AB (formally I-Logix) Rhapsody or BRK EasyCode.




The following Discussion Forum threads may provide information related to this topic.

Last Reviewed: Thursday, March 19, 2009

Did this article provide the answer you needed?
Not Sure
  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.