MCUXpresso SDK Documentation

cmsis_pflash#

Overview#

The CMSIS pflash example shows how to use CMSIS 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 CMSIS example Start PFlash Information: Total Program Flash Size: xx KB, Hex: (xx) Program Flash Sector Size: xx KB, hex: (xx)

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 CMSIS example

Supported Boards#

FRDM-MCXA577
Hardware requirements
  • Type-C USB cable

  • FRDM-MCXA577 board

  • Personal Computer

Board settings

No special settings are required.