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.

Status of AT89S52 after reset??

Status
Not open for further replies.

Suresh R

Member level 1
Member level 1
Joined
Nov 16, 2006
Messages
34
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,535
I would like to know the status of RAM, FLASH and SFR after a Reset is applied to the reset pin of AT89S52.

What i know on this is.,
RAM contents would not be changed.
Program counter starts again from 0000H of FLASH memory.
But not clear with SFR's :(

Can i get some information on this?
 

Refer to the attached table (from 89S52 data sheet), where X =don't care ..

Regards,
IanP
 

    Suresh R

    Points: 2
    Helpful Answer Positive Rating
Thank you.
i will be reseting the AT 89S52 for every one second.
In this case, would it be safe to store the data in its internal RAM before reset occurs and retrive it after the reset and work on it??
 

Write a short code and check it out .. should work ..

The internal reset algorithm writes 0s to all the SFRs except the port latches, the Stack Pointer, and SBUF. The port latches are initialized to FFH, the Stack Pointer to 07H, and SBUF is indeterminate. Table 1 lists the SFR reset values. The internal RAM is not affected by reset. On power up the RAM content is indeterminate.
**broken link removed**
Regards,
IanP
 

    Suresh R

    Points: 2
    Helpful Answer Positive Rating
IanP said:
Write a short code and check it out .. should work ..

The internal reset algorithm writes 0s to all the SFRs except the port latches, the Stack Pointer, and SBUF. The port latches are initialized to FFH, the Stack Pointer to 07H, and SBUF is indeterminate. Table 1 lists the SFR reset values. The internal RAM is not affected by reset. On power up the RAM content is indeterminate.
**broken link removed**
Regards,
IanP

Thank you. i would do it.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top