Reset Cause

Discussion to talk about software related topics only.
Post Reply
SeeCwriter
Posts: 608
Joined: Mon May 12, 2008 10:55 am

Reset Cause

Post by SeeCwriter »

With the MCF54415 processor, on bootup is there a way for an application to distinguish between a power-up condition and a hardware reset by toggling the reset pin? I didn't see anything in the library manual or the MCP54415RM manual, but I may have missed it? The RM manual is over 1300 pages and the term "reset" is on many pages multiple times.
I'm using v2.9.5 with a NANO.
sulliwk06
Posts: 118
Joined: Tue Sep 17, 2013 7:14 am

Re: Reset Cause

Post by sulliwk06 »

The Reset Status Register (RSR) in section 12 of the manual has some bits that can tell you if it was a power-up or reset line event.
SeeCwriter
Posts: 608
Joined: Mon May 12, 2008 10:55 am

Re: Reset Cause

Post by SeeCwriter »

That's what I was looking for. Thank you!
Post Reply