# Using FlashStorage library with Nano 33 BLE

**URL:** <https://forum.arduino.cc/t/using-flashstorage-library-with-nano-33-ble/657706>\
**Category:** Nano 33 BLE\
**Created:** [May 29, 2020, 10:07am UTC](https://forum.arduino.cc/t/using-flashstorage-library-with-nano-33-ble/657706 "2020-05-29T10:07:41Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![edjoo1234](https://avatars.discourse-cdn.com/v4/letter/e/258eb7/32.png) [@edjoo1234](https://forum.arduino.cc/u/edjoo1234)\
**Post date:** [May 29, 2020, 10:07am UTC](https://forum.arduino.cc/t/using-flashstorage-library-with-nano-33-ble/657706/1 "2020-05-29T10:07:41Z")

</div>

hello everyone ,

I use the Arduino nano 33 BLE I would like to use the Bibliotheque \<FlashStorage.h\> but I receive this message from the compiler :

WARNING: Library FlashStorage claims to be able to run on samd architecture(s) and may be incompatible with your current board running on mbed architecture(s).

what does this mean?

please could someone help me to solve this difficulty

thank you very much

---

<div class="post-metadata">

**Author:** ![pert](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/pert/32/217111_2.png) [@pert](https://forum.arduino.cc/u/pert)\
**Post date:** [May 29, 2020, 10:12am UTC](https://forum.arduino.cc/t/using-flashstorage-library-with-nano-33-ble/657706/2 "2020-05-29T10:12:29Z")

</div>

> edjoo1234:  
> what does this mean?

It means the library was written for the boards of the SAMD architecture (e.g., MKR, Nano 33 IoT, Zero). It was not written for your Nano 33 BLE and there is no guarantee it will work on that board. ~~If I remember correctly, someone found that this library can overwrite the bootloader on the Nano 33 BLE, which means you must go through a complex process to get the board back in a working condition. If you choose to use the library, be prepared to have problems.~~ EDIT: I misremembered, it was actually the arduino-NVM library: [board didn't work after uploaded a incompatility sketch [close] - Nano 33 BLE - Arduino Forum](https://forum.arduino.cc/index.php?topic=670354.0)

---

<div class="post-metadata">

**Author:** ![edjoo1234](https://avatars.discourse-cdn.com/v4/letter/e/258eb7/32.png) [@edjoo1234](https://forum.arduino.cc/u/edjoo1234)\
**Post date:** [May 29, 2020, 10:31am UTC](https://forum.arduino.cc/t/using-flashstorage-library-with-nano-33-ble/657706/3 "2020-05-29T10:31:21Z")

</div>

ok thank you

---

<div class="post-metadata">

**Author:** ![Juraj](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/juraj/32/238785_2.png) [@Juraj](https://forum.arduino.cc/u/Juraj)\
**Post date:** [May 29, 2020, 12:37pm UTC](https://forum.arduino.cc/t/using-flashstorage-library-with-nano-33-ble/657706/4 "2020-05-29T12:37:16Z")

</div>

the library doesn't work for nRF52 for sure. the NVM controller is different then on SAMD21

---

<div class="post-metadata">

**Author:** ![edjoo1234](https://avatars.discourse-cdn.com/v4/letter/e/258eb7/32.png) [@edjoo1234](https://forum.arduino.cc/u/edjoo1234)\
**Post date:** [May 30, 2020, 11:28am UTC](https://forum.arduino.cc/t/using-flashstorage-library-with-nano-33-ble/657706/5 "2020-05-30T11:28:41Z")

</div>

please do you know a better way to use the flash storage of the Arduino 33 BLE ??

which library can you recommend??

all Idee is welcome

thank you

---

<div class="post-metadata">

**Author:** ![haplm](https://avatars.discourse-cdn.com/v4/letter/h/e9a140/32.png) [@haplm](https://forum.arduino.cc/u/haplm)\
**Post date:** [June 1, 2020, 6:02pm UTC](https://forum.arduino.cc/t/using-flashstorage-library-with-nano-33-ble/657706/6 "2020-06-01T18:02:34Z")

</div>

Take a look at LittleFS in mbed, it should work on Nano (I've got KVStore working, and they should share the same foundation):  
[https://os.mbed.com/blog/entry/littlefs-high-integrity-embedded-fs/](https://os.mbed.com/blog/entry/littlefs-high-integrity-embedded-fs/)

---

<div class="post-metadata">

**Author:** ![haplm](https://avatars.discourse-cdn.com/v4/letter/h/e9a140/32.png) [@haplm](https://forum.arduino.cc/u/haplm)\
**Post date:** [June 1, 2020, 6:13pm UTC](https://forum.arduino.cc/t/using-flashstorage-library-with-nano-33-ble/657706/7 "2020-06-01T18:13:10Z")

</div>

If you need to store just a few configuration values, then of course you can also use KVStore. It works well and it is fairly simple to use. Look at the example here:  
[https://os.mbed.com/docs/mbed-os/v5.15/apis/kvstore.html](https://os.mbed.com/docs/mbed-os/v5.15/apis/kvstore.html)

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [May 7, 2021, 11:56am UTC](https://forum.arduino.cc/t/using-flashstorage-library-with-nano-33-ble/657706/8 "2021-05-07T11:56:59Z")

</div>

Closed on May 7, 2021, 11:56am UTC


