1. Open the Options dialog to the

    Utilities

    tab, and deselect the

    Update Target before the Debugging

    check box.


    ../figures/image53.png

  2. Switch to the

    Debug

    tab, select the applicable debug probe (CMSIS-DAP or J-Link).

    • If using ULINK2, select the

      CMSIS-DAP Debugger

      option as the debug probe, the ULINK2 driver does not support multi-core debugging.

  3. Click the

    Settings

    button to configure the target driver.

  4. On the Target Driver Setup dialog, switch to the

    Flash Download

    tab, select the

    Do not Erase

    radio button, and deselect the

    Program

    ,

    Verify

    , and

    Reset and Run

    check boxes.


    ../figures/image54.png

  5. Switch to the

    Debug

    tab.

    The configuration settings are different for CMSIS-DAP/ULINK2 and J-Link. Refer to the following for the appropriate options:

    • CMSIS-DAP/ULINK2 Target Driver Setup

      – Use the following options:

      • Port

        : SW

      • Max Clock

        : 1 MHz

      • Connect

        : Normal

      • Reset

        : VECTRESET

      • Reset after Connect

        check box: deselected


      ../figures/image55.png

    • J-Link Target Driver Setup

      – Use the following options:

      • Port

        : SW

      • Max Clock

        : 1 MHz

      • Connect

        : Normal

      • Reset

        : Core

      • Reset after Connect

        check box: deselected


      ../figures/image56.png

  6. Click

    OK

    to close the Target Driver Setup dialog.

  7. Save the project(s).