[En-Nut-Discussion] Reboot

Stephen Noftall stephenn at lcsaudio.com
Tue Mar 25 00:07:50 CET 2003


Hi Adrian;

I use:

void Reboot()
{
 void (*p) (void);

 p = 0x0;
 (*p)();
}

This will work if not booting from the bootloader section. Also, my hardware
has the Ethernet RESET line being controlled by the Atmel, so it does a
hardware reset on the Ethernet chip when it boots up.

Cheers

SN

----- Original Message -----
From: "Adrian Slowik" <adrian at uni-paderborn.de>
To: "en-nut-discussion" <en-nut-discussion at egnite.de>
Sent: Monday, March 24, 2003 3:00 PM
Subject: [En-Nut-Discussion] Reboot


> Hi,
>
> is there a simple way to trigger the ethernut board to reboot as
> if the  reset button has been pressed? Which function do I have
> to call to achieve that effect, if any?
>
> Regards, Adrian
>
>
>
> _______________________________________________
> 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