Keil Logo

Debugging

This chapter describes the Debug Mode of µVision3 and shows you how to use the user interface to test a sample program. Also discussed are simulation mode and the different options available for program debugging.

You can use µVision3 Debugger to test the applications you develop. The µVision3 Debugger offers two operating modes that are selected in the Options for Target — Debug dialog.

Options for Target — Debug Dialog

  • Use Simulator configures the µVision3 Debugger as software-only product that simulates most features of a microcontroller without actually having target hardware. You can test and debug your embedded application before the hardware is ready. µVision3 simulates a wide variety of peripherals including the serial port, external I/O, and timers. The peripheral set is selected when you select a CPU from the device database for your target.
  • Use Advanced GDI drivers, like the ULINK Debugger to interface to your target hardware. For µVision3 various drivers are available that interface to:
    • JTAG/OCDS Adapter: which connects to on-chip debugging systems like the ARM Embedded ICE.
    • Monitor: that may be integrated with user hardware or is available on many evaluation boards.
    • Emulator: which connects to the CPU pins of the target hardware.
    • In-System Debugger: which is part of the user application program and provides basic test functions.
    • Test Hardware: such as the Infineon SmartCard ROM Monitor RM66P or the Philips SmartMX DBox.

Note

  • The Status Bar shows the current active debugging tool. In simulation mode, timing statistics are provided.
  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.