Hello,
I try to use watchdog functionnality with olimexino-328 board.
I test the function with this code on Arduino IDE:
// start watchdog
wdt_enable(WDTO_8S);
wdt_reset();
after 8s the program hang : it's ok... but the software don't restart.
The bootloader in use on the board seem to block (inifinite loop ?) when the watchdog flag are set on the restart. Is it possible to use optiboot on Olimexino 328 (like on Arduino UNO) for fix it ?
How do it ?
Thanks for your answer.
Have a nice day,
Loic Lefebvre
Hello Everyone,
Well, I haveSame project and the same issue... can't manage to make the software restart.
Do you have any idea ?
Thank you !
Hey,
Use the bootloader for ATmega328 if you want to restore the bootloader. It is located in the Arduino IDE folders. Typically in "xxx\arduino-x.x.x\hardware\arduino\avr\bootloaders\atmega".
Best regards,
Lub/OLIMEX