--- In lpc2000@yahoogroups.com, "Guillermo Prandi" <yahoo.messenger@...> wrote: > > Yes, with LPC you can tell the source of the startup, but in this > case the startup is hardware-originated, so I am pretty sure it is > hardware. You suggest that the processor doesn't clear the proper > bits for the bootloader to tell? I'm suggesting it needs to be verified one way or the other. Certainly the observed behaviour suggests that as a possibility. There are, of course, many ways to implement this reset source recognition but one way is to write a bit into a register for occurances other than power on. These bits are then never cleared and so are always set the way they were last set. A power on automatically clears the register. ISTR a Motorola micro that behaved in that fashion, there was an explicit line in the user manual saying that the reset source register should be cleared in order to properly recognize the source of subsequent resets. Consider that an incentive to throughly read the user manual, miss one line and spend days tracking down what seems to be odd behaviour ;) Robert " 'Freedom' has no meaning of itself. There are always restrictions, be they legal, genetic, or physical. If you don't believe me, try to chew a radio signal. " -- Kelvin Throop, III http://www.aeolusdevelopment.com/
Message
Re: Fwd: Bootloader not always invoked after reset with P0.14 low
2006-02-07 by robertadsett
Attachments
- No local attachments were found for this message.