To successfully erase external memory using flashloaders on PSOC™ 6 MCUs, the device's internal flash must contain valid QSPI configuration data. It may be part of a previously programmed application, such as the QSPI_XIP example. For more details, review section 7 of application note

AN228740

.

  1. Select

    Project > Download > Erase memory

    .


    ../figures/image35.png

  2. Deselect the check boxes for all regions, except for 0x18000000-0x1fffffff.


    ../figures/image36.png

  3. Click

    Erase

    .

  4. Select

    Project > Download > Erase memory

    again.

  5. Select all other regions and deselect 0x18000000-0x1fffffff.


    ../figures/image37.png

  6. Click

    Erase

    .