All Questions

Tagged with
Filter by
Sorted by
Tagged with
0
votes
0answers
42 views

Cannot Disable AVR ATmega32 Watchdog

I'm writing a code to enable and disable the watchdog timer in ATmega32. I'm using the function in the datasheet that disables the wdt. Also, I'm toggling led in the beginning of the code to know if ...
1
vote
1answer
76 views

PIC16F884 keeps resetting even though WDT should be off

I just bought a PIC16F884 and put a simple C program on it using MPLAB: ...
0
votes
1answer
44 views

MSP microcontroller Watchdog timer

I am new to programming microcontroller. what does the following like of code do: WDT_A->CTL = WDT_A_CTL_PW | WDT_A_CTL_HOLD i have looked at the technical ...
0
votes
1answer
90 views

Recovering from run time errors on stm32l0

I have the independent watch dog running and I get rare resets for unknown reasons. How can I catch these errors and do a controlled reset. I want to store some things in EEPROM and then restart the ...
0
votes
2answers
2k views

AVR Watchdog interrupt mode and reset mode

I am going through datasheet of AVR2560V. In page 65 , table 12-1, it says that AVR2560 has 3 mode for watchdog Interrupt mode - WDE = 0, WDIE = 1 ...
0
votes
1answer
85 views

Program aborts after ISR

First I am new to this and I signed in to get some help on this problem I have been having. I have done so much googling to figure this problem out and with no luck. I am trying to capture humidity ...
0
votes
2answers
129 views

Which is better after rewriting the ROM on a PIC16F? A software reset instruction or a watchdog reset

I am working on a project where the uP can be calibrate at any time. The new calibrated values are stored in the uPs ROM. After the calibration is complete, I have to reset the uP such that the ...