I want some variables to survive power reset for my projects on the Raspberry Pi Pico. So I need a Non Volatile Storage (NVS) option. In this video I explore using the Raspberry PI Pico’s onboard Flash for this purpose.
A repo of my experiments is available on GitHub.
On the Pico I think we lack a good library for handling NVS, much like the NVS Library on the ESP32. Inspired by the ESP32 version I have written a library for managing NVS as Key Value pairs for the Pico. This can be found on GitHub.
Timestamps
- 00:00 Introduction
- 01:11 Pico Flash Memory
- 05:19 Reading and Writing Flash Theory
- 09:03 Single Core Example
- 12:01 Dual Core Example
- 17:25 A Library for NVS
- 22:11 Further Work Required
