Atmega328P ADAboot
Moderators: adafruit_support_bill, adafruit

Atmega328P ADAboot

by cmat1120 on Fri Jun 01, 2012 11:40 am

Ok hopefully I'm not double posting this or something, I'm not sure if a previous attempt at posting this worked or not. I didn't appear to have worked so I think this should be the first one.

On to the question: I want to know if the custom bootloader on the Atmega328P has made any changes to the watchdog function? I want to use it to reset the arduino, but without bootloader changes it sets the chip in reset cycle.

Thank you.
cmat1120
 
Posts: 8
Joined: Wed Apr 25, 2012 1:59 pm

Re: Atmega328P ADAboot

by adafruit on Fri Jun 01, 2012 8:22 pm

Adaboot turns off the watchdog
User avatar
adafruit
 
Posts: 11683
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc

Re: Atmega328P ADAboot

by cmat1120 on Fri Jun 01, 2012 11:48 pm

I apologize for my lack of understanding, but do you mean it turns off the ability to use watchdog or does allows one to use watchdog by turning it off/resetting it when the board is reset by watchdog?
cmat1120
 
Posts: 8
Joined: Wed Apr 25, 2012 1:59 pm

Re: Atmega328P ADAboot

by adafruit on Sun Jun 03, 2012 9:37 pm

it allows you to use the watchdog - otherwise it would get 'stuck' in the bootloading process which would happen with 'stock' Arduino's - check the Adaboot code for details
User avatar
adafruit
 
Posts: 11683
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc



cron