Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Novice
1,638 Views

EEPROM library with Galileo Gen 2

Jump to solution

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.

Tags (1)

Accepted Solutions
Highlighted
Employee
47 Views

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

View solution in original post

0 Kudos
2 Replies
Highlighted
Employee
48 Views

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

View solution in original post

0 Kudos
Highlighted
Novice
47 Views

Thank you DiegoV_Intel, your answer has been very useful!

0 Kudos