Olimex Support Forum

DUINO => ARDUINO => Topic started by: sourceperl on August 04, 2013, 07:26:58 PM

Title: Change bootloader on Olimexino 328
Post by: sourceperl on August 04, 2013, 07:26:58 PM
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
Title: Re: Change bootloader on Olimexino 328
Post by: Marlyportain on December 07, 2015, 10:58:54 PM
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 !
Title: Re: Change bootloader on Olimexino 328
Post by: LubOlimex on January 26, 2016, 11:07:22 AM
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