0

I was trying to implement the watchdog functionality using ASF in an SAMC21 xplained pro and after flashing the code the device started behaving oddly. If I try to run any code it looks like it is not doing anything.

If I try to start debugging it goes directly to Reset_Handler function.

I tried erasing the hole code and also disabling the watchdog timer in the fuses but nothing changes.

What can I do, or what other information should I provide to get help with this issue?

Marcus Müller
  • 94,373
  • 5
  • 139
  • 252
jagjordi
  • 356
  • 5
  • 13

1 Answers1

1

The issue was that I was not powering off the uC after changing the configuration of the WDT. Doing that solved the problem

jagjordi
  • 356
  • 5
  • 13