I am using an ATxmega32E5 microcontroller. Using the avr/eeprom.h library for writing the data to eeprom memory.
Currently, I am writing the float values to eeprom memory. I am writing 9 variables in to EEPROM memory. After I run the eeprom_write_float command, I can see the 8 values getting written on the EEPROM memory correctly (in debug mode).
9th variable is written to the address 0x0020, data written to this address and above, always shows FF FF FF FF in the eeprom memory location. I have pasted screenshot for your reference.
I tried same code on another Atmel chip, it was giving the same issue.
I have few doubts, eeprom.h file I am using is from the following location(\Atmel\Studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\avr\eeprom.h), its referring to 8 bit AVR. But I am using the 32 bit microcontroller, I tried looking for the eeprom library in avr32 folder, but I couldn't find any files referring to eeprom or nvm. I also tried looking into Atmel Start Project, to add eeprom, but I couldn't find the interface being available there.
Could someone please help me regarding this ?
Thanks and best regards,