Keil Logo

Debugging

This chapter describes the debug modes of µVision and the user interface for testing applications.

Two debugging modes can be selected and configured in the dialog Options for Target — Debug:

  • Use Simulator, configures the µVision Debugger as software-only product that simulates most features of a microcontroller. Developers can test and debug embedded applications before the hardware is ready. µVision simulates a wide variety of peripherals, including serial ports, external I/Os, and timers. Peripheral simulation capabilities vary depending on the device selected.
  • Use Target Debugger, like the ULINK ARM Debugger, links µVision to a debugger adapter, which interfaces the target system. The following debug devices are supported:
    • JTAG/SW/OCDS Adapter: which connects to on-chip debugging systems like the ARM Embedded ICE.
    • Monitor: which can be integrated with user hardware or is available on many evaluation boards.
    • Emulator: which connects to the MCU pins of the target hardware.
    • In-System Debugger: which is part of the user application program and provides basic test functions.

Third-party tool developers can use the Keil Advanced GDI to interface µVision to their own hardware debuggers.

This chapter includes the sections:

  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.