Page 1 of 1

My eeprom is empty!

Posted: Fri Aug 10, 2007 9:41 am
by Chourizo
First of all, excuse my english and thank you for read my question. I am programming an Atmega168V and it works fine. The problem cames when i tried to load data in the eeprom and use it from a program located in the flash. If i only load data in eeprom, it is ok. If i load the program after the data, eeprom is erased. If i load the program first and the data after, eeprom is also empty. How can i work with both memories?Thank u.

Posted: Fri Aug 10, 2007 9:48 am
by Chourizo
I checked the content in eeprom writing it to a file directly with avrdude commands.

Posted: Sat Aug 11, 2007 12:47 am
by Grendel
Did you try setting the fuse bit EESAVE to 0 ?

Posted: Mon Aug 13, 2007 12:14 pm
by Guest
Thank you, i try that and i fix the problem. It works now.