2.3.3 Connecting to a debugger

Cortex®-M3 DesignStart™ Eval supports debug through the CMSIS-DAP protocol, using the MPS2+ platform in-built USB port.

To connect to a debugger, follow these steps:

  1. Ensure that you have installed ARM Keil® µVision® debugger software. For more information, see 2.1.2 Installation and required licenses.
  2. Connect your computer to the USB 2.0 port on the MPS2+ platform.
  3. After loading the prebuilt image onto the platform (see 2.3.2 Loading a prebuilt image onto the MPS2+ platform), navigate to:
    <install_directory>/m3designstart/software/self_test/Build_keil
  4. Open the following file with the Keil µVision debugger:
    selftest_mpb.uvprojx
  5. Select Accept in the prompts to install legacy support in Keil µVision. This is only necessary if you want to use the self-test software. You can also develop your own software using 'Packs' as normal.

The following steps are optional, but they confirm whether the debug connection is valid:

  1. When the project file opens in Keil µVision debugger, select Flash > Configure Flash Tools. This gives you the following dialog:
    Figure 2-2 Keil µVision debugger options
    Keil uVision debugger options


  2. Select Use Target Driver for Flash Programming.
  3. Select Settings > Debug. This gives you the following dialog:
    Figure 2-3 Debug options
    Debug options


  4. Ensure that the IDCODE and Device Name is the same as shown in Figure 2-3 Debug options.
  5. Select OK > OK.

The self-test code can now be dynamically debugged using the Start/Stop Debug Session on the toolbar.

Non-ConfidentialPDF file icon PDF versionARM 100895_0000_00_en
Copyright © 2017 ARM Limited or its affiliates. All rights reserved.