This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

EEPROM layout any support?

I apologize for the maybe stupid question.
For the first time planning to use EEPROM for a larger number of calibration constants, saving operating modes (such as the number of starts) and logging errors.
Seeking examples or libraries for this purpose.
Pperhaps a graphical utility for assigning addresses and generating an address in EEPROM

Parents
  • Interesting thread.
    Using the structure is interesting, unfortunately, does not solve the division of EEPROM on pages.
    for example eeprom witd 16byte page

    struct eeprom {
    
    uint32_t num_A;    //0-4
    uint32_t num_B;    //5-8
    uint32_t num_C;    //9-12
    uint16_t num_D;    //13-14
    uint8_t  num_E;    //15
    uint16_t num_F;    //16-17 first byte will on page1 and seceond byte will on page2
    }
    

    If write 16bit num_F will rewrite page1 and page2

Reply
  • Interesting thread.
    Using the structure is interesting, unfortunately, does not solve the division of EEPROM on pages.
    for example eeprom witd 16byte page

    struct eeprom {
    
    uint32_t num_A;    //0-4
    uint32_t num_B;    //5-8
    uint32_t num_C;    //9-12
    uint16_t num_D;    //13-14
    uint8_t  num_E;    //15
    uint16_t num_F;    //16-17 first byte will on page1 and seceond byte will on page2
    }
    

    If write 16bit num_F will rewrite page1 and page2

Children