Refer to sections for setting up the applicable debugger probe under

Miscellaneous notes

. Then:

  1. Connect the PSOC™ 6 kit to the host PC.

  2. As needed, run the fw-loader tool to make sure the board firmware is upgraded to KitProg3. See

    KitProg3 User Guide

    for details. The fw-loader tool is located in this directory by default:

    [install-path]/ModusToolboxProgtools-[version]/fw-loader/bin/

  3. Select

    Debug > Start/Stop Debug Session

    .


    ../figures/image27.png

You can view the system and peripheral registers in the SVD view.


../figures/image28.png

Program external memory

  1. Download internal flash as described above.

    Notice "No Algorithm found for: 18000000H - 1800FFFFH" warning.

  2. Select the Flash Download tab in Target Driver Setup dialog and remove all programming algorithms for On-chip Flash and add programming algorithm for External Flash SPI:


    ../figures/image44.png


    ../figures/image45.png

  3. Download flash.

Notice warnings:

  • No Algorithm found for: 10000000H - 1000182FH

  • No Algorithm found for: 10002000H - 10007E5BH

  • No Algorithm found for: 16007C00H - 16007DFFH

Erase external memory

  1. Select the

    Flash Download

    tab in Target Driver Setup dialog and remove all programming algorithms for On-chip Flash and add programming algorithm for External Flash SPI:


    ../figures/image44.png

    ../figures/image45.png

  2. Click

    Flash > Erase

    in menu bar.