AW: [En-Nut-Discussion] Can't get rid of old IP settings

Oliver Schulz olischulz at web.de
Thu Oct 23 18:03:23 CEST 2003


Hi Ken,

to erase the EEPROM you first must disable the fuse 'EESAVE' in AVRStudio
(hope that works in 3.56 since I have 4.07).
If the device is then erased, the EEPROM is also erased. For further working
I suggest to reenable 'EESAVE'.

If you try 'inetq' be sure to set the '#define MY_MAC' in inetq.c to your
correct MAC address written on your board.

Good luck,
Oliver.

-----Ursprungliche Nachricht-----
Von: en-nut-discussion-admin at egnite.de
[mailto:en-nut-discussion-admin at egnite.de]Im Auftrag von Ken Campbell
Gesendet: Donnerstag, 23. Oktober 2003 07:28
An: en-nut-discussion at egnite.de
Betreff: [En-Nut-Discussion] Can't get rid of old IP settings


I was experimenting with  'eboot.c'  for a while, and it
seems to have mucked things up a bit.

Now I compiled and loaded the 'inetq' example,  but it
fails the DNS lookup (all my settings are verified correct).

The board doesn't try and contact my DHCP server anymore (I verified
this using a packet sniffer).

I'm guessing I need to erase the EEPROM on the Ethernut
board (to get rid of the old values), but I don't know how to do
this (I'm assuming erasing the device in AVRStudio 3.56 doesn't do this).

Basically I want to have the Ethernut board the same as when it arrived,
everything factory fresh :)

I'm using the 'red' Atmega128 Ethernut board with Nut/OS 3.3.0

Thanks,

  Ken


_______________________________________________
En-Nut-Discussion mailing list
En-Nut-Discussion at egnite.de
http://www.egnite.de/mailman/listinfo/en-nut-discussion




More information about the En-Nut-Discussion mailing list