Re: Need help setting up the watchdog timer to generate an interrupt

Started by sono...@... in LPC200012 years ago 1 reply

> Watchdog testing is tricky. I've found that if I erase the 2138 and set a break in the MM_WATCHDOG_ISR() it works ONCE. Then, I must erase...

> Watchdog testing is tricky. I've found that if I erase the 2138 and set a break in the MM_WATCHDOG_ISR() it works ONCE. Then, I must erase or re-flash the part with watchdog dis. before trying again, otherwise it will always hit the watchdog ISR as soon as the watchdog is enabled. Also, test in flash only, not in ram. Do NOT load test code with watchdog time-out too quick or


Problem with watchdog

Started by Ake Hedman, eurosource in LPC200012 years ago 56 replies

Hi all. I am trying to enable the watchdog but the result is a total hang of the board. Not even the bootloader is possible to reach...

Hi all. I am trying to enable the watchdog but the result is a total hang of the board. Not even the bootloader is possible to reach after the crash and I have to reapply power with P0.14 low to get access to the botloader again. Reset is not enough. The code to initialize the watchdog is // initialize the watchdog timer WDTC =


LPC2138: watchdog as periodic timer ?

Started by Marcio Zaquela in LPC200011 years ago 1 reply

Hi guys, I searched the messages and I couldn't find a final answer concerning this issue. Is it possible to use the watchdog as a periodic...

Hi guys, I searched the messages and I couldn't find a final answer concerning this issue. Is it possible to use the watchdog as a periodic timer or not ? According LPC2138 user manual it is not possible: "WDINT: The Watchdog Interrupt Flag is set when the watchdog times out. This flag is cleared when any reset occurs. Once the watchdog interrupt is serviced, it can be disabled in ...


Re: Watchdog in LPC2000

Started by Mike Harrison in LPC200010 years ago

On Tue, 27 Nov 2007 16:39:38 +0545, you wrote: > Hi all, > > I am trying to use the watchdog in LPC2103. The watchdog reset >...

On Tue, 27 Nov 2007 16:39:38 +0545, you wrote: > Hi all, > > I am trying to use the watchdog in LPC2103. The watchdog reset > is being invoked regularly even when the time period is of 2 seconds. I have > reset the watchdog in the super loop & there is a timer interrupt that gets > called quite regularly. The code seems to run fine on simulation. If > anybody could pass on their ex


LPC2104 Watchdog timer

Started by i will tell u if u ask in LPC200011 years ago 4 replies

Hello, Trying to use the watchdog timer on the LPC2104 so it will automaticlly reset if my software is ESD zapped and causes a...

Hello, Trying to use the watchdog timer on the LPC2104 so it will automaticlly reset if my software is ESD zapped and causes a lockup. running on 10Mhz external oscillator. I have read the watchdog portion in the datasheet but, i am getting resets all the time after i boot my hardware everytime now. I feed the WDFEED very very often right now, a crude way of troubleshooting the watchdog re...


Re: LPC2138 Watchdog

Started by reke...@... in LPC200012 years ago

Hi, how can I use the watchdog as a periodic timer? >using the watchdog with interrupt has two options, you use it as a >periodic timer...

Hi, how can I use the watchdog as a periodic timer? >using the watchdog with interrupt has two options, you use it as a >periodic timer interrupt or for debugging,... The information i've found in the manual is: "The Watchdog Interrupt Flag is set when the watchdog times out. This flag is cleared when any reset occurs." Due to this it isn't possible to clear the Watch


Do not over-feed the Watchdog (?)

Started by Danish Ali in LPC200011 years ago 2 replies

Can someone point me to a definitive / application reference for the Watchdog circuit used in the LPC2xxx - )one that is better than the user...

Can someone point me to a definitive / application reference for the Watchdog circuit used in the LPC2xxx - )one that is better than the user manual for LPC2292) I recently started trying to use the watchdog in the LPC2292. Knowing no better, I decided to feed the watchdog once every time I went round my event loop. I was careful to disable* interrupts before writing 0xAA and 0x55 to WDFEE...


Reg: WATCHDOG TIMER

Started by rockraj_2003 in LPC200012 years ago

Hello Friends, I am working in lpc2106. I didn't using any Watchdog timer. I want to know that does the watchdog timer will...

Hello Friends, I am working in lpc2106. I didn't using any Watchdog timer. I want to know that does the watchdog timer will automatically restart ARM when it is structed in data abort mode. I also want to know how to use Watchdog Timer in IAR. I also want to know how the interrupt is setting in IAR Embedded Workbench.I tried but it is


Re: LPC2138 Watchdog

Started by Jayasooriah in LPC200012 years ago 1 reply

Hi Juergen, You cannot use the watchdog as a periodic timer interrupt because on watchdog interrupt the CPU is reset almost equivalent to an...

Hi Juergen, You cannot use the watchdog as a periodic timer interrupt because on watchdog interrupt the CPU is reset almost equivalent to an external reset. Jaya --- In lpc2000@lpc2..., rekerj@... wrote: > > Hi, > > how can I use the watchdog as a periodic timer? > > >using the watchdog with interrupt has two options, you use it as a > >periodic timer in


does watchdog work ?

Started by douglasbolton in LPC200013 years ago 3 replies

I can't get the watchdog timer to work. I set up with the following // set watchdog to be 1 second WDTC = 15000000; //...

I can't get the watchdog timer to work. I set up with the following // set watchdog to be 1 second WDTC = 15000000; // enable the watchdog interrupt WDMOD = 1; WDFEED = 0xAA; WDFEED = 0x55; I then feed every loop of code. Even if I


LPC213X - Watchdog and IAR JLink

Started by braintechsrl in LPC200011 years ago

Hello world. I'm at the end of a project and I've started using the watchdog (disabled during debug). When I need to make some changes to...

Hello world. I'm at the end of a project and I've started using the watchdog (disabled during debug). When I need to make some changes to the program I found extemely hard to gain access to the board through the JLink. (With the watchdog disabled I've no problem) It seems that after resetting the board it cannot download the flash loader because the watchdog stops the work. Is it...


Re: LPC2138 Watchdog

Started by K B Shah-lascaux in LPC200012 years ago

Hi, Philips Semiconductors Preliminary User Manual LPC2119/2129/2194/2292/2294 ARM-based Microcontroller Watchdog Mode Register (WDMOD -...

Hi, Philips Semiconductors Preliminary User Manual LPC2119/2129/2194/2292/2294 ARM-based Microcontroller Watchdog Mode Register (WDMOD - 0xE0000000) The WDMOD register controls the operation of the Watchdog as per the combination of WDEN and RESET bits. WDEN WDRESET 0 X Debug/Operate without the Watchdog running 1 0 Debug with the Watchdog interrupt but no WDRESET 1 1 Operate with the


Watchdog rest not clean?

Started by bobbruce000 in LPC200013 years ago 8 replies

I am having problems recovering after a watchdog reset. I enable the watchdog, then to test it, I put the cpu into a loop,...

I am having problems recovering after a watchdog reset. I enable the watchdog, then to test it, I put the cpu into a loop, toggling a pin connected to a logic probe. If I set the reset to, say, 3 seconds, then right on time the toggling stops. So the watchdog reset is triggered


LPC2102, with i2c and watchdog

Started by chiu...@yahoo.com.hk in LPC200011 years ago 1 reply

hello, i\'m a newbie (and also an outsider of electronics) so my question sounds a bit stupid... now i\'m using LPC2102, and the watchdog...

hello, i\'m a newbie (and also an outsider of electronics) so my question sounds a bit stupid... now i\'m using LPC2102, and the watchdog works perfectly (device reboots when watchdog not fed within the preset time) when i2c is not in use. however, when i2c is in use the device will keep rebooting again and again. it seems that the watchdog crashes with the i2c interrupt. please kindly ad...


Watchdog defeated on LPC1766

Started by Kevin in LPC20006 years ago 3 replies

Hello, I have enabled the watchdog on the LPC1766 and its working fine on most occasions. However I have been able to let the controller crash...

Hello, I have enabled the watchdog on the LPC1766 and its working fine on most occasions. However I have been able to let the controller crash in such a way that the watchdog doesn't reset the controller. I like to know if this is my own fault or just a bad watchdog. Unfortunately I am not able to use a debugger on this, my hardware doesn't have the connector. An easy way to crash it is by d...


i need to know WatchDog.c

Started by omkar vyas in LPC200011 years ago 1 reply

have any one have written watchdog program for LPC2104 please guide me! source code. or how to write n calculate for watchdog how to determine...

have any one have written watchdog program for LPC2104 please guide me! source code. or how to write n calculate for watchdog how to determine reload time ??? Thanking you! With best regards Omkar! --------------------------------- Do you Yahoo!? Next-gen email? Have it all with the all-new Yahoo! Mail Beta. ------------------------ Yahoo! Groups Sponsor --------------------~--...


Watchdog and external Interrupt problem

Started by itsjustimpossible in LPC200013 years ago 6 replies

Hi I am nearing the end of our first project with the LPC2294 and need to implement the watchdog. I am pretty sure I have...

Hi I am nearing the end of our first project with the LPC2294 and need to implement the watchdog. I am pretty sure I have it setup correctly, and with it in its debug mode I can cause a jump to the watchDog IRQ routine when I put the uP into an endless loop.


watchdog

Started by Joe McCarron in LPC200013 years ago 1 reply

Using kickstart card with 2106 with the IAR tools. I can't get watchdog timer to count down. Running with resident monitor and...

Using kickstart card with 2106 with the IAR tools. I can't get watchdog timer to count down. Running with resident monitor and stepping to see watchdog reg. values. I cant seem to write to wdfeed register. It always reads 0. I can write to wdtc register and see i


Watchdog issues

Started by dozsagy in LPC200011 years ago 2 replies

All work fine with WDOG enabled. After heavy interrupt load on Timer0 (100us), watchdog sporandicaly restart the uP. Feed sequence is...

All work fine with WDOG enabled. After heavy interrupt load on Timer0 (100us), watchdog sporandicaly restart the uP. Feed sequence is enlosed betwen interrupt enable/disable functions. I read all topic about watchdog in this board, but problem still exsist. Board is with LPC2136, 60 MHz.


LPC2294 Software Reset vs. Watchdog

Started by mpwalter2005 in LPC200012 years ago 1 reply

Hi, some problem: after flashing the internal flash with IAP, i want to perform a restart. I know it works good with the watchdog,...

Hi, some problem: after flashing the internal flash with IAP, i want to perform a restart. I know it works good with the watchdog, using this commands: WDTC = 0x00FFF; WDMOD = 0x03; WDFEED= 0xAA; WDFEED= 0x55; but I don't want to use the watchdog, I will use a software reset. So i write this code: voi