Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

RE: [lpc2000] WDT feed

2005-02-03 by Mark Crow

Yes, disable ALL interrupts when writing the AA and 55 then re-enable them.
  -----Original Message-----
  From: extra300_it [mailto:roberto.labaa@...]
  Sent: Thursday, February 03, 2005 9:50 AM
  To: lpc2000@yahoogroups.com
  Subject: [lpc2000] WDT feed



  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 reset the cpu even if the timer is not yet elapsed.

  What happens if one interrupt triggers between 0xAA and 0x55?

  I see the wdt resets cpu, even if the ISR does not affect WDT
  register space.

  Do I need to disable interrupts before feeding WDT?

  Thank you.







----------------------------------------------------------------------------
--
  Yahoo! Groups Links

    a.. To visit your group on the web, go to:
    http://groups.yahoo.com/group/lpc2000/

    b.. To unsubscribe from this group, send an email to:
    lpc2000-unsubscribe@yahoogroups.com

    c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



[Non-text portions of this message have been removed]

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.