You are reading a single comment by @jonreid and its replies. Click here to read the full conversation.
  • On the MDBT42 currently I use Flash (for a circular logging buffer where some bytes are written twice before erase) and FlashEEPROM for storing a couple of params. I make sure they don't overlap by doing the following:

    flashEEPROM = new (require("FlashEEPROM"))();
    flashEEPROM.endAddr = flashEEPROM.addr+PAGE_SIZE;
      
    flash = require("Flash");
    logStartAddress = flashEEPROM.endAddr;
    logEndAddress = logStartAddress + NUM_LOG_PAGES*PAGE_SIZE;
    

    I am interested in swapping out flashEEPROM for the new Storage Library as want to store downloaded code to run and it seems a nice way to handle it. Can I get it to run alongside the Flash library ? If not I will just use the Flash lib to store the code.

About

Avatar for jonreid @jonreid started