This is the documentation for the latest (main) development branch of HPM SDK. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

18.4. XPI NOR API Demo

18.4.1. Overview

This demo provides the following features:

  • Test FLASH erase/program/verify at the last sector

  • Stress test the FLASH via erase/program/verify the whole FLASH region

18.4.2. Board Setting

No special settings are required

18.4.3. Running the example


When the example runs successfully, the API test result is displayed in the terminal, users can select either option for corresponding feature.

XPI NOR demo
----------------------------------------
 1 - Test FLASH at the last Sector
 2 - Stress test on the FLASH
     NOTE: This case cannot be tested on flash_xip build
 Others - Show menu