Hopefully this is a straightforward question. I've got an 8Mhz application that needs to run on batteries/solar for years so it utilizes sleep. This is all designed and working like a charm but susceptible to having code stuck due to a component brown-out. I'd prefer to set up the watchdog to reset the arduino if something browned out and it's stuck in code.
So watchdog reset (WDE) is broken on the normal bootloader, so then i need to use the optiboot. I saw on the optiboot site there's a "optiboot_atmega328_pro_8MHz.hex"
few questions on that bootloader:
1) will sleep functionality still work? I'm using a watch dog time based interrupt to wake it up from sleep. Currently my microcontroller + radio + regulation sleeps at 26uA (with brown out enabled)
2) anyone know what speed it uploads the code at? is it 57600 or 115200? remember 8mhz crystal
3) will the arduino still work down to 2.7ish volts? I'm pretty sure this is a yes since to my knowlege only the crystal and brown out settings determine that
Very sorry that i haven't just tried it myself before asking. I've been reading atmel datasheet for so long then looked at other's example code to do a watchdog full system reset... tearing my hair out because the bootloader just goes into an endless reset, then found out about optiboot and found that 8mhz version. My application isn't easy to get to at the moment and i don't have an 8mhz arduino handy at the moment