Atmega 1284p WDT

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi, this is Siva
I am using watch dog timer... if I enabled WDT, reset happens but after reset, my application not started again. What may be the issue? Kindly help...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

sivasankar wrote:
Hi, this is Siva I am using watch dog timer... if I enabled WDT, reset happens but after reset, my application not started again. What may be the issue? Kindly help...

 

You are going to need to show us your code...or rather the smallest section of code which shows the problem.

 

 

#1 This forum helps those that help themselves

#2 All grounds are not created equal

#3 How have you proved that your chip is running at xxMHz?

#4 "If you think you need floating point to solve the problem then you don't understand the problem. If you really do need floating point then you have a problem you do not understand." - Heater's ex-boss

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

sivasankar wrote:
my application not started again.

What evidence do you have, the cpu must be running something, if not your app, then what?

One gotcha of the WDT, is the time out resets to the lowest value upon reset, so you must disable the WDT early in your code or re-init it to a longer time out value.

 

Jim

 

Click Link: Get Free Stock: Retire early!

share.robinhood.com/jamesc3274