--- Quote Start ---
originally posted by jparraez@Jul 3 2006, 04:13 AM
hello,
i' ve implemented a web server in the fpga 1c20 in my university. the university closes my ip obtained by dhcp after 24 hours working. i don't know why. so, i need to restart my system after 24 hours working.
how can i implement a reset software not hardware?
and, if i init again the twip stack, can it work out?
thank you
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=16625)
--- quote end ---
--- Quote End ---
I suspect a less drastic, and less hacky, approach than resetting your system is to enhance your DHCP software to support renewing addresses. The RFC is
http://www.faqs.org/rfcs/rfc2131.html (
http://www.faqs.org/rfcs/rfc2131.html). It's relatively straightforward See section 4.4., but basically you need a timer T1 and when this expires you send a DHCPREQUEST