Forums Search for: Watchdog
Re: Need help setting up the watchdog timer to generate an interrupt
in> 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
inHi 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 ?
inHi 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 ...
LPC2104 Watchdog timer
inHello, 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...
does watchdog work ?
inI 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
Watchdog and external Interrupt problem
inHi 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.
LPC2294 Software Reset vs. Watchdog
inHi, 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
LPC2378 and watchdog
inHi, 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
LPC21xx Debugging with watchdog enabled
inGreetings, 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...
LPC2103 Rev A Watchdog Timer and Vectored IRQ - not functional?
inSorry 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
inI'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 Reset Question
inHello. 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
inHi. 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 ...
Watchdog problem
inHi 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
inHi 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 and ISP
inDear 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...
lpc 2214 data ram corruption when return from watchdog
inHi 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
LPC Reset..
inIs there any way to reset the processor from within the firmware? I am currently using the Watchdog feature, and I know if I...
Is there any way to reset the processor from within the firmware? I am currently using the Watchdog feature, and I know if I stop toggling the watchdog then my processor will time out and reset. However, I need to be able to do different things depending on the
WDT feed
inHello, One question about WDT feeding. The user manual is (once more) not exatcly clear about WDT refresh. It says that...
Hello, One question about WDT feeding. The user manual is (once more) not exatcly clear about WDT refresh. It says that after writing 0xAA to WDTFEED, 'the next operation in watchdog register space should be a write 0x55 to WDTFEED', otherwise the watchdog will
Diagnose watchdog through WDINT interrupt
inI am trying to diagnose watchdog timer resets on our LPC2366 parts. I think I can create a WDINT interrupt rather than to have it just reset the...
I am trying to diagnose watchdog timer resets on our LPC2366 parts. I think I can create a WDINT interrupt rather than to have it just reset the processor but does anyone here know if I can analyze where the code was when the timeout occurred ? Is this similar to diagnosing a data abort (which we do)... Is the last instruction located at address R14 -8 like it is with dabt's ? Or can someone...