October 06, 2024, 06:16:31 AM

Change bootloader on Olimexino 328

Started by sourceperl, August 04, 2013, 07:26:58 PM

Previous topic - Next topic

sourceperl

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

Marlyportain

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 !

LubOlimex

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
Technical support and documentation manager at Olimex