adafruit / Adafruit_nRF52_Arduino

Adafruit code for the Nordic nRF52 BLE SoC on Arduino
Other
623 stars 497 forks source link

EEPROM/FLASH and Soft reset nRF52XXX from within the code! #545

Closed tusharvb19 closed 4 years ago

tusharvb19 commented 4 years ago
  1. Do we have EEPROM like API for storing data in the flash as nRF52XXX don't have EEPROM? (Storing variable like int, float, etc)
  2. How I can reset the nRF52XXX?
jpconstantineau commented 4 years ago

Here is a start at an answer: 1 - Have you looked at using the internal file system implemented as LittleFS? There are examples in the library. It uses flash instead of EEPROM. I don't think there is an "EEPROM-like API" but perhaps there is already a library available or one could be created to simulate this. 2 - You can use the function NVIC_SystemReset();

On Thu, Jul 30, 2020 at 1:18 PM Tushar Borhade notifications@github.com wrote:

  1. Do we have EEPROM like API for storing data in the flash as nRF52XXX don't have EEPROM?
  2. How I can reset the nRF52XXX?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/adafruit/Adafruit_nRF52_Arduino/issues/545, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIYW6GRFKAMGMB2ZOIUGNDR6HBOZANCNFSM4POOUTFA .

-- Pierre

hathach commented 4 years ago

please post your question in the support forum. There are more people there to help you out with how to