My eeprom is empty!

General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
Post Reply
Chourizo

My eeprom is empty!

Post by Chourizo » Fri Aug 10, 2007 9:41 am

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.

Chourizo

Post by Chourizo » Fri Aug 10, 2007 9:48 am

I checked the content in eeprom writing it to a file directly with avrdude commands.

Grendel
Rank 4
Rank 4
Posts: 167
Joined: Sat Dec 16, 2006 9:53 pm
Location: Oregon, USA
Contact:

Post by Grendel » Sat Aug 11, 2007 12:47 am

Did you try setting the fuse bit EESAVE to 0 ?

Guest

Post by Guest » Mon Aug 13, 2007 12:14 pm

Thank you, i try that and i fix the problem. It works now.

Post Reply