LPC2378 and watchdog

Started by remsilicon in LPC200012 years ago 7 replies

Hi, The erratasheet of the LPC2378 explain that feed the watchdog cause a reset, so how use the watchdog with the LPC2378 ??? :s Thanks

Hi, The erratasheet of the LPC2378 explain that feed the watchdog cause a reset, so how use the watchdog with the LPC2378 ??? :s Thanks


LPC236x watchdog timer problem

Started by jcooklis in LPC200012 years ago

Hello, I just started using the watchdog timer in my application, and I discovered that it was resetting the chip (LPC2364 and LPC2368) even...

Hello, I just started using the watchdog timer in my application, and I discovered that it was resetting the chip (LPC2364 and LPC2368) even though the counter was not expiring. It turns out my code was giving the watchdog the 0xAA 0x55 "feed" sequence too frequently. I put a small delay in the main loop of my application, and it started working. On a conference call with a coupl...


Re: LPC2138 Watchdog

Started by Jayasooriah in LPC200013 years ago

Thanks Guile and Shah-lascaux. Yes the watchdog on LPC has features that allows it to be used just as an interval timer. There is your...

Thanks Guile and Shah-lascaux. Yes the watchdog on LPC has features that allows it to be used just as an interval timer. There is your answer Jurgen. >Message: 5 > Date: Thu, 16 Mar 2006 13:29:30 -0500 > From: "K B Shah-lascaux" >Subject: Re: Re: LPC2138 Watchdog > >Hi, >Philips Semiconductors Preliminary User Manual > >LP


LPC21xx Debugging with watchdog enabled

Started by Ananda Regmi in LPC20007 years ago 6 replies

Greetings, Has somebody discovered a way to debug with debugger enabled on LPC2106? Reading through what google could find, it seems like it...

Greetings, Has somebody discovered a way to debug with debugger enabled on LPC2106? Reading through what google could find, it seems like it is not possible to disable the watchdog just for debugging. I am using an Amontec JTAGtiny with openocd V0.4 to debug LPC2106 program. I can debug it fine if I comment out my watchdog initialization routine. But, if I leave it in the code, it resets...


Internal Watchdog - pros and cons

Started by mjbcswitzerland in LPC200015 years ago 6 replies

Hi All I am thinking about the protection provided by the internal watchdog in the LPC210x. There is a brown-out reset controller on my...

Hi All I am thinking about the protection provided by the internal watchdog in the LPC210x. There is a brown-out reset controller on my board which ensure that the processor received a good reset when the power supply is turned on or dips. Then I have activated the internal watchdog to reset the processor should the software make an error and get stuck in an interrupt routine or loop...


LPC2103 Rev A Watchdog Timer and Vectored IRQ - not functional?

Started by ftsol1962 in LPC200010 years ago 5 replies

Sorry if this has been visited before, but my searches haven't turned it up. I am using the IAR WorkBench 5.4 (Kickstart Edition) Basically I...

Sorry if this has been visited before, but my searches haven't turned it up. I am using the IAR WorkBench 5.4 (Kickstart Edition) Basically I want to have the WatchDog operate in INT mode, not RESET, so that I can do some housekeeping in the interrupt routine before system reset. I want to use IRQ Vector 0 so the WatchDog INT takes priority over all other IRQs in the system. I am running...


LPC213x/01 watchdog issue

Started by Mike Harrison in LPC200011 years ago 10 replies

I'm seeing some odd WDT behaviour - need a reality check please.... According to the UM : "Once 0xAA is written to the WDFEED register the...

I'm seeing some odd WDT behaviour - need a reality check please.... According to the UM : "Once 0xAA is written to the WDFEED register the next operation in the Watchdog register space should be a WRITE (0x55) to the WDFFED register otherwise the watchdog is triggered." My reading of this is that as long as the 55 is the next thing written into the WDT register space, the delay between w...


watchdog restart - WDTR vs BODR

Started by remsilicon in LPC200010 years ago

Hi, When I restart the MCU (LPC 2378) with the watchdog, the WDTR flag is never set, there is only the BODR flag... POR and EXTR works...

Hi, When I restart the MCU (LPC 2378) with the watchdog, the WDTR flag is never set, there is only the BODR flag... POR and EXTR works properly. It is written that the flag WDTR is cleared by any of the other sources of Reset, but there is no change on the Power supply and the BrownOutReser is disabled. Simple to test it * enable watchdog * while(1) * read at start up the RSIR re...


Watchdog Reset Question

Started by xxavatarxx in LPC20008 years ago 4 replies

Hello. I'm looking at a project at our company that was done on an LPC 2468. One of the things these folks did is write a FLAG in the USB...

Hello. I'm looking at a project at our company that was done on an LPC 2468. One of the things these folks did is write a FLAG in the USB RAM space, force a watchdog reset, and when the board boots back up see what the FLAG is set to. The FLAG determines weather to boot into a primary or secondary image basically. Apparently doing a watchdog reset does not clear the USB RAM I'm doing a ...


Programming LPC2103 via Philips flash Utility locks after enable watchdog

Started by mkoniarz in LPC200012 years ago 2 replies

Hi. First, sorry for my poor english. I programmed my LPC2103 several times succesfully, but after I enabled a watchdog, the chip lock and...

Hi. First, sorry for my poor english. I programmed my LPC2103 several times succesfully, but after I enabled a watchdog, the chip lock and no more responded for programming command, it also stop speaking via JTAG. So I replaced LPC2103 on by board and then I can work with it, but again when I enabled a watchdog, chip stop talking. Now what I can do? What to check? What can be wrong ...


Does value of variable in SRAM save after watchdog reset?

Started by Ivza...@yandex.ru in LPC200012 years ago 2 replies

Hello! I have one question for membership of this group. In my programm i want to save value of variable, that is situated in SRAM, after...

Hello! I have one question for membership of this group. In my programm i want to save value of variable, that is situated in SRAM, after watchdog reset. I declare my variable by this way: char g_chWDTimerReset __attribute__ ((section (".noinit"))); and in the Main function i do this: chWDTimerReset = 5; But after watchdog reset the value of chWDTimerReset is zero. What did i...


Watchdog problem

Started by Sagaert Johan in LPC200010 years ago 9 replies

Hi When i execute : WDTC=0x3FFFFFFF; WDMOD= 3; WDFEED = 0xAA; // First Watchdog feed sequence WDFEED = 0x55; the cpu seems te...

Hi When i execute : WDTC=0x3FFFFFFF; WDMOD= 3; WDFEED = 0xAA; // First Watchdog feed sequence WDFEED = 0x55; the cpu seems te reset almost immediate, Any Idea? ------------------------------------


Options for Software Reset in LPC2148

Started by y3peng in LPC200013 years ago 6 replies

Hi there, The project I am working on requires a software reset after a firmware upgrade. One possible solution is to setup a really short...

Hi there, The project I am working on requires a software reset after a firmware upgrade. One possible solution is to setup a really short watchdog timer. However, the firmware design already has a watchdog timer with it, so it would be harder to distinguish between a real watchdog reset and our intentional reset. Is there any other ways to cause a software reset in LPC2148? The pro...


WatchDog

Started by mikefra1013 in LPC200013 years ago 1 reply

Has anyone had any problems using the watchdog in the LPC2138?? I can not seem to keep it updated reliably. Thanks, Mike

Has anyone had any problems using the watchdog in the LPC2138?? I can not seem to keep it updated reliably. Thanks, Mike


Watchdog and ISP

Started by ssk2k4 in LPC200012 years ago 3 replies

Dear Forum Members, I am using LPC2106 for time attendance application. I have enabled WATCHDOG at the start of my code. It is working fine....

Dear Forum Members, I am using LPC2106 for time attendance application. I have enabled WATCHDOG at the start of my code. It is working fine. Sometimes I need to upgrade the application on site. So I have included code to switch the LPC to ISP mode for programming the flash. This is also working as LPC switches to ISP mode and programming starts through Flash Magic. But the watchdog is...


Watchdog problem

Started by Helge Fabricius-Hansen in LPC200015 years ago 2 replies

Hi! I tried to use the watchdog, but it looks like I can't set a long timeout or it ignores my kicking. I am getting a reset...

Hi! I tried to use the watchdog, but it looks like I can't set a long timeout or it ignores my kicking. I am getting a reset right away... WDTC = 7500000L; // Set for ca. 2 seconds at 60 MHz and devide by 4 WDMOD = 0x03; while(1) {


lpc 2214 data ram corruption when return from watchdog

Started by Alberto Ferrari in LPC20009 years ago 3 replies

Hi everyboby, I'm working with lpc2214 and I've got a problem coming back from watchdog: the ram location 0x40000128 is corrupted (ie its value...

Hi everyboby, I'm working with lpc2214 and I've got a problem coming back from watchdog: the ram location 0x40000128 is corrupted (ie its value is changed). Does someone have the same problem? Do you know some fix or workaround? Thanks Alberto


WatchDoggy

Started by cm296pip in LPC200012 years ago 2 replies

Hi lpc'ers, Thanks for letting me into the group! .. this is my first postin .. Forgive me if I am totally wrong in my (at present)...

Hi lpc'ers, Thanks for letting me into the group! .. this is my first postin .. Forgive me if I am totally wrong in my (at present) assumption, I am VERY new to the arm cpu world, am only just arriving from other cpu worlds. Question 1 .. Does the watchdog 'really' have to be enabled in software ? .. Can't see any watchdog fuse options in the philips flasher - am i missin s...


Re: Watchdog in LPC2000

Started by Nagaraju in LPC200011 years ago 3 replies

Thanks Mr.Derbaier and Mr.Robert , Its a good way to kick the watchdog as you guys explained.Its far better way than simply feeding the...

Thanks Mr.Derbaier and Mr.Robert , Its a good way to kick the watchdog as you guys explained.Its far better way than simply feeding the watch dog in timer isr without having any knowledge of status of master loop execution.Just go through the following code sequence which i am going to implement.Plz tell me any further modification in the theme if requires. Mr.Robert , I did n...


Watchdog interrupt on lpc24xx

Started by tclarke1 in LPC20009 years ago

I'd like to have some control on watchdog events, so I can record some specifics and set some pin states in the ISR. Based on a configuration...

I'd like to have some control on watchdog events, so I can record some specifics and set some pin states in the ISR. Based on a configuration option, I then want to do a real reset as the WDT would normally do, or just halt. I am not sure from the datasheet that I can do both of these things. Halting would just be a loop, and the reset should be doable as long as I can write the WDRESET insid...