Keil Logo


The Debug section controls caching, download, and device reset options applied each time a debug session starts.

Target Driver Setup - Debug Options

The Cache Options improve the performance of the µVision Debugger during target debugging by caching target memory areas in the PC memory. By default, caching options are enabled to get maximum performance.

  • Cache Code informs the debugger that the downloaded program code will not change. When this option is set, µVision never reads the program code from the target system. Disable this option if you are using self-modifying code or if you suspect that your program code is being overwritten.
  • Cache Memory determines whether memory displays are updated during a program stop. When this option is set, the debugger does not update memory displays until the next single step, procedure step, or go command executes. Disable this option if you want to see the actual memory content (e.g. the data content of memory mapped peripherals) when the debugger is halted.

The Download Options control the downloading of code to the target system when the debugger starts.

  • Verify Code Download compares the content of the target memory with the application program loaded in the Debugger.
  • Download to Flash downloads code to all memory regions. When disabled, the debugger does not download code to the Memory Address Ranges defined under Flash Download Setup.

Misc Options

  • Use Reset at Startup When enabled, the debugger issues a CPU Reset to the target when the debugger starts. When disabled, the debugger just stops the CPU at the currently executed instruction. This allows you to start a debug session and debug a program that is currently executing on your target.

    Refer to Start Sequence for more information.

  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.