Sign in

username:

password:



Not a member?

Search lpc2000



Search tips

Subscribe to lpc2000



lpc2000 by Keywords

2106 | ADC | ARM7 | Atmel | Bootloader | CAN | CrossStudio | CrossWorks | DDS | ECos | Ethernet | ETM | FIFO | FLASH | FPGA | GCC | GDB | GNU | GNUARM | GPIO | I2C | IAP | IAR | JTAG | Kickstart | LCD | Linux | LPC | LPC-E2294 | LPC2000 | LPC2100 | LPC2104 | Lpc2106 | Lpc210x | LPC2114 | LPC2119 | LPC2124 | LPC2129 | Lpc2138 | LPC213x | LPC21xx | LPC2210 | LPC2212 | LPC2214 | LPC2292 | LPC2294 | LPC2xxx | LPC3128 | MCB2100 | Olimex | Philips | PWM | Rowley | RTC | RTOS | SPI | SSP | UART | UART0 | UART1 | ULINK | USB | Watchdog | Wiggler

Ads

Discussion Groups

Discussion Groups | LPC2000 | Re: Watchdog in LPC2000

Discussion group dedicated to the Philips LPC2000 family of ARM MCUs

Re: Watchdog in LPC2000 - derbaier - Nov 30 9:01:31 2007

--- In l...@yahoogroups.com, "Nishant Agrawal" wrote:
>
> Hi Nagaraju,
>
> I think the watchdog can be disabled by accessing the CPSR &
changing the
> value of bit I in it. Use asm mode __asm{}, i.e. for KEIL & there are
> special instructions for accessing CPSR MSR & ...look in the manual,
or ARM
> programming techniques.
>
>
>
> Bye
>
> With Regards
>
> Nishant Agrawal
>
>

The CPSR contains status information of the ARM core, and has nothing
to do with the watchdog, which is not part of the ARM core. Interrupts
can be disabled in the CPSR, but not the watchdog RESET. However, at
least in the LPC2148, the watchdog timer can be configured in a DEBUG
mode, where it only generates an interrupt, but no reset. That can be
setup during initialization by the write once bits in the WDMOD
register. Since doing that turns the watchdog timer into just another
timer generated interrupt, the watchdog timer is no longer a watchdog,
so it really should only be configured that way for debugging, or in
cases where you really are not going to be using a watchdog anyway.

Any watchdog that can be disabled by software is NOT a watchdog, since
it's function is to protect against errant software operation.

--Dave



(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )