Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

how can I detect uC reset p89lpc9221 ?

Status
Not open for further replies.

drdigital

Junior Member level 3
Joined
Apr 13, 2009
Messages
31
Helped
5
Reputation
10
Reaction score
4
Trophy points
1,288
Activity points
1,525
Hello every one,
I'm testing my code and I need to check if the uC reseted in the middle or not as I leave it runing for 7 hours and not setting beside it.

I tried writting a value to the ROM :
Code:
code unsigned char RSTDetect = 0;
but it is unmodifiable during the code, so I cant update it .

so, any other ways ??
 

Oscilloscopes can be set to count events or trigger at specific events.
 

further to add. Adjust the sweep of the scope to suit to your requirement. You can use a roll mode also, usually seen with HP oscilloscopes. You should be able to see the reset happen.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top