Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

PIC RAM DATA GETS CLEARED 1

Status
Not open for further replies.

ljubex

Electrical
Joined
Nov 6, 2005
Messages
5
Location
SK
Hi people,
I tried on many forums, and had no luck. I work with PIC18F452 microcontroller and have strange problem. In some momment all RAM data goes to 0. I guess that it could be bad power supply (tried many types...). Does anyone know WHY is this happening?

Thanks a lot!
 
So everything is working as designed?

If you're trying retain volatile data through a brown-out, then you need either a battery to keep the controller powered-up or non-volatile memory that you write to periodically and read upon power-up.

TTFN



 
Like I said:
Seems like a small battery would be in order here.

Assure that the battery is large enough to power the
board alone, then use the existing supply as a
charger, and connect the board directly to the
battery. Power any ancillery relays, displays,
etc. from the original supply.

smoked; have to disagree here -- a properly sized
and designed battery inclusion should be trouble-
free for years. And one can always use a holder
if end-user service is desirable.
<als>

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top