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:
- Compile and program the application.
- Start a terminal emulator like PuTTY (recommended) with the following Terminal settings and establish a UART connection.
- Test available Flash access commands.