The Flash Write Example reads characters from UART, writes them to flash, and echos them.
The application first erases a page in flash. Next, it reads a character from the UART port. If a new character is detected, the character is written to flash and the flash address is incremented. The value is then read again from flash and output using UART. This output can be tracked in a COM listener (for example PUTTY).
You can find the source code and the project file of the example in the following folder: <InstallFolder>\examples\peripheral\flashwrite
Test the Flash Write Example application by performing the following steps: