This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Any librabry support for EEPROM emulation on nRF51 flash memory?

Hello,

I am new to the nordic's controller. We are planning to evaluate the nRF51/52 for our IOT application need. I am more interested to know the possibility to have EEPROM feature over onboard flash. I could not get a specific info such as sector size, page size or block size (as heard in other conventional controllers where I come from). I would be needing around 2K of EEPROM space and would appreciate if some one guides me if there are any application note or example available for EEPROM emulation on nRF51/52 controllers? If not available, appreciate if you could guide me which locations on flash memory layout is best to pick for EEPROM emulation. I have developed EEPROM emulation using 2 sectors with swap arrangement on some other normal controller.

Parents
  • The only way to have external EEPROM on the nRF series is to interface an external EEPROM chip via one of the serial links (SPI, I2C etc). There's no way to hook it into the system bus as if it were internal memory or shadow the real address space.

    Is that what you're asking here?

  • Why on earth did you mention EEPROM in the original question then?

    At the top of this page is the SDK and Documentation link, you can download the reference sheets for nRF51 and nRF52 from there and that gives you all the memory options, all the flash sizes, page sizes, block sizes and everything else you could want to know about flash memory on the chips.

    There's also the new filesystem manager which lets you have a virtual filesystem on the flash of whatever size you want and manages the entire process for you with a few simple API calls. Look at 'flash storage'' and 'flash data storage' in the Software Development Kit recent version (v11).

Reply
  • Why on earth did you mention EEPROM in the original question then?

    At the top of this page is the SDK and Documentation link, you can download the reference sheets for nRF51 and nRF52 from there and that gives you all the memory options, all the flash sizes, page sizes, block sizes and everything else you could want to know about flash memory on the chips.

    There's also the new filesystem manager which lets you have a virtual filesystem on the flash of whatever size you want and manages the entire process for you with a few simple API calls. Look at 'flash storage'' and 'flash data storage' in the Software Development Kit recent version (v11).

Children
No Data
Related