2 Replies Latest reply on Feb 4, 2016 2:37 PM by FabioCRS4

    EEPROM library with Galileo Gen 2

    FabioCRS4

      Hi,

       

      I've got a problem with the EEPROM library on Intel Galileo.

      When I try to use the EEPROM.put() function, it gives me the error:

       

      'class EEPROMClass' has no member named 'put'

       

      It seems that the library doesn't work properly on Galileo 2, because I used the same library on Arduino Uno and it worked.

       

      Do you have another library for Galileo?

       

      Thanks in advance.

        • 1. Re: EEPROM library with Galileo Gen 2
          DiegoV_Intel

          Hi FabioCRS4,

           

          The EEPROM library works in Galileo, however it’s not the same library as the one used with the Arduino boards. The EEPROM library that is compatible with Galileo only has two methods:

          • read()
          • write()

           

          And there are only three examples that you can run:

          • eeprom_clear
          • eeprom_read
          • eeprom_write

           

          The original EEPROM library is used to manage the internal EEPROM memory of the ATmega used in the Arduino boards. Galileo doesn't have that EEPROM memory so the original library is not compatible with Galileo. The version of the EEPROM library that is compatible with Galileo only includes the two main functions used with memories: read and write. That's why you got that error, because you are trying to use the put() method which is not available in the EEPROM library for Galileo.

           

          Unfortunately there isn't another EEPROM library for Galileo that includes more methods.

           

          Regards,

          Diego

          • 2. Re: EEPROM library with Galileo Gen 2
            FabioCRS4

            Thank you DiegoV_Intel, your answer has been very useful!