Can you be more specific with which atmega 8 are you using?
Anonymous
The problem is
eeprom_write_dword((uint16_t*)0,123456);
eeprom_write_dword((uint16_t*)1,789456);
it wrote address 0 = 123456
1 = 789456
............................
When i
d = eeprom_read_dword((uint16_t*)0)
uart_send(d);
d = eeprom_read_dword((uint16_t*)1)
uart_send(d);