Arduino Lilypad 328 - 8MHZ - WDT problem - Reboot


I'm trying to do a lilypad reboot by software, using something like this:

 void software_Reboot () {

Wdt_enable (WDTO_1S);

While (1) {

I have the Nick Gammon "bootloader".

Problem: when I invoke software_Reboot () in the "loop ()" section, lilypad hangs, and then I can not even load a new skecth, I have to remove the power and feed again.

I've tried using wdt_disable () at the start of setup (), but it does nothing.

Thanks for all the help.

Hello again,

Please, I need help to solve this problem.

Many thanks.