Yahoo Groups archive

Lpc2000

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

Message

Re: Bootloader not always invoked after reset with P0.14 low

2006-02-23 by Jayasooriah

Hi Guile,

If you look at the user manual for WTOF bit which the boot loader checks, 
it is quite clear that "external reset" will clear this bit.

Can you try without arming the watchdog to see if the problem goes away?

Jaya

--- In lpc2000@yahoogroups.com, "Guillermo Prandi" <yahoo.messenger@...> wrote:
 >
 > My code is clearing the RISR flags at boot time by doing:
 >
 > #define RSIR (*((volatile unsigned char *) 0xE01FC180))
 >
 > RSIR = 0x0f;
 >
 > After that, the boards still ignores P0.14 after a watchdog reset.
 > Since I cleared the watchdog reset flag, I expected the bootloader to
 > invoke ISP. Is there anything else I could do from software in order
 > to make the bootloader honor the P0.14 pin?
 >
 > Guille
 >
 > --- In lpc2000@yahoogroups.com, "philips_apps" <philips_apps@>
 > wrote:
 > >
 > > Hello Guille,
 > >
 > > In case of a watchdog triggered reset, P0.14 pin is ignored by the
 > > bootloader and the valid user application is executed. If valid user
 > > application is not found then only isp is entered. In LPC2138 the
 > WDT
 > > flag is not cleared by pin reset. POR reset clears the WDT flag.
 > What
 > > you are observing is expected behavior. I am assuming that WD reset
 > > happened since you have mention it.
 > >
 > > Regards
 > > Philips Apps

Send instant messages to your online friends http://au.messenger.yahoo.com

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.