dsc_pflash

Overview

The pflash example shows how to use flash driver to operate program flash:

Running the demo

When the example runs successfully, you can see the similar information from the terminal as below.

PFLASH example Start

PFlash Information: Total Program Flash Size: xx KB, Hex: (xx) Program Flash Sector Size: xx KB, hex: (xx) Flash is UNSECURE!

Erase a sector of flash Successfully Erased Sector xx -> xx

Program a buffer to a sector of flash Successfully Programmed and Verified Location xx -> xx

End of PFLASH example

Supported Boards