Flash Write Example

nRF5 SDK v15.2.0

The Flash Write Example allows to access flash memory using console commands.

You can use the following commands:

  • flash write "<string>" - Add a new string to the flash memory.
  • flash read - List all added strings.
  • flash erase - Erase the flash memory.

You can find the source code and the project file of the example in the following folder: <InstallFolder>\examples\peripheral\flashwrite

Testing

Test the Flash Write Example application by performing the following steps:

  1. Compile and program the application.
  2. Start a terminal emulator like PuTTY (recommended) with the following Terminal settings and establish a UART connection.
  3. Test available Flash access commands.