Amiga.org

Amiga computer related discussion => Amiga Hardware Issues and discussion => Topic started by: BR on July 14, 2003, 08:49:52 PM

Title: battery replacement question
Post by: BR on July 14, 2003, 08:49:52 PM
After replacing the battery in an A4000
desktop, the system boots ok, SysInfo
show's "Battery Backed Up Clock Found",
but when I save the date and time setting's
with OS3.9 TimePrefs, the setting's aren't
retained for cold bootup, or warm reboot.
I get ??/??/2011. Am I missing something
obvious? I bought the new battery from
Jaycar after seeing them and the product
code for the battery mentioned here.
Thanks.
Title: Re: battery replacement question
Post by: redrumloa on July 14, 2003, 08:53:57 PM
After you set the time and date you must remember to do the SETCLOCK SAVE command to save it.

OOPS this pertains to using the DATE command in a shell. Not sure about OS3.9 off the top of my head.
Title: Re: battery replacement question
Post by: redrumloa on July 14, 2003, 09:47:44 PM
-BUMP-

Someone have some help for this gentleman(or lady) ?
Title: Re: battery replacement question
Post by: Vincent on July 14, 2003, 10:27:45 PM
Make sure the saved settings are in SYS:Prefs/Env-Archive/Time.prefs (or ENVARC:Time.prefs if you know your assigns ;-) )

It might be (but highly unlikely) that it's saving the prefs into ENV: instead of ENVARC:

Failing that boot from the Emergency disk and change and save the prefs on that then reboot.  If that works, copy DF0:Prefs/Env-Arhive/Time.prefs to SYS:Prefs/Env-Archive/Time.prefs then reboot from your HD and see if that's worked.

These are the only two things I can suggest.  Hope it helps.
Title: Re: battery replacement question
Post by: BR on July 15, 2003, 10:32:44 AM
Didn't think of this when I chose
a handle. Bob was already used,
but BR is kind of vague. I better
start signing every post. >:)

Bob
Title: Re: battery replacement question
Post by: BR on July 15, 2003, 10:36:11 AM
I tried SetClock Save with no luck. Someone
on the OS3.9 mailing list suggested
SetClock Reset then SetClock ??:??/??
07/15/2003 then SetClock Save. I'll
try this sometime today and see what
happens.

Bob
Title: Re: battery replacement question
Post by: tonyw on July 15, 2003, 11:15:35 AM
Hey, Bob,

How have you been setting the clock? Using the WB Prefs "Time" program in the Prefs drawer? That should be all you need.

Did you install the battery on the MB? Or hanging out on wires? Have you tested the voltage across the battery with a meter? Are you sure the battery isn't connected back to front (it can't be if it's soldered onto the MB)?

Where do you live?

tony
Title: Re: battery replacement question
Post by: BR on July 15, 2003, 03:27:43 PM
Yes, I used the Prefs/TimePrefs before I
tried SetClock. Yes, the battery is installed
on the motherboard, no wires, I have a meter
but 1 of my son's lost the leads, there's
no way to install this type of battery
backwards, it has 2 leg's on 1 end and
1 leg on the other. Someone on the OS3.9
mailing list said I could've "lost a trace
to the okidata clock chip" and this is
probably what happened because nothing
I've tried fixed the problem. Oh well,
at least the computer still works.
I live in Illinois in the USA.

Bob
Title: Re: battery replacement question
Post by: melott on July 16, 2003, 05:23:42 AM
Sounds like you have the same problem I have.
I replaced the battery on my A3K but on a re-boot
it lost the time and date.
I had to open the machine up again for another
reason so checked out the battery while I had it
open.
The voltage to the battery circuit was dead.
So the only way mine will work is to trace the
circuit find where the circuit died.
I'm not that good, so its just dead.
You could download 'Atomic Clock' from Aminet
and set it up to set your clock whenever you go
on-line.

Mel Ott
 :-)  :-)
Title: Re: battery replacement question
Post by: Castellen on July 16, 2003, 08:02:11 AM

Saving the time from the standard WB time program (in prefs) should write the time and date to the RTC.

If you have a multimeter handy, turn the machine off and check for at least 3V between pins 18 and 9 of the RTC device, U178.

If you have a scope or counter, check for approx 32kHz on pins 16 or 17 with the machine off.  That gives a good indication if there is battery power there and the clock is running.


You might also try replacing the clock's data latch, U177, as this sometimes causes clock read/write problems.
Obviously you'll need access to SMD rework equipment for this.

Hopefully you haven't damaged the RP5C01 clock, as these are obsolete and can be hard to get.


Anthony.
Title: Re: battery replacement question
Post by: Tygre on July 16, 2003, 04:05:20 PM
Hi there!

How are you? I also replaced the battery of my Amiga 4000, but I could net get it to work!? The previous battery had leaked, do you think something might be broken? Did I miss something? :-(

Thanks!
Tygre  :-)  
Title: Re: battery replacement question
Post by: redrumloa on July 16, 2003, 05:04:08 PM
@Tygre

Hey there, welcome to Amiga.org:-) Did you check what was mentioned in this thread? Do you have a barrel type?
Title: Re: battery replacement question
Post by: Castellen on July 17, 2003, 07:37:09 AM
@ Tygre:
Can you be a little more specific?

If the "save" button in the Time Preferences is ghosted out, it means the system cannot see the real time clock (RTC).
If this is the case, then probably one of the PCB tracks around the RTC have gone open circuit due to corrosion.  Sometimes the data latch U177 can die due to corrosion damage.


If you have the trouble of the RTC working, but not remembering the time due to the battery not charging up, then one of the tracks that charge the battery (via the +12V line) is probably open circuit.


I have schematics and stuff you can use if you have a reasnoble electronics knowledge.  The circuit is very simple.
Title: Re: battery replacement question
Post by: Dr_Righteous on July 17, 2003, 10:23:39 AM
Some things go without saying, thus I have to say them... But, make sure to leave the system running for a while to ensure a full battery charge. If the battery doesn't get a full charge, it won't hold the time settings.
Title: Re: battery replacement question
Post by: BR on July 17, 2003, 10:32:48 AM
It save's and keeps correct time until
I reboot or turn the power off. It read's
slighty below 3.6v with power off, slightly
above 3.6v with power on. And I wish I knew
enough about this stuff to use your advise
on troubleshooting. You know your in the
right place when you get more information
then you know what to do with. >:)

Bob
Title: Re: battery replacement question
Post by: BR on July 17, 2003, 10:35:58 AM
I did a search on Jaycar with the product
code they posted in that battery replacement
thread. It is the barrel type and fit
perfect when the old battery was removed.

Bob
Title: Re: battery replacement question
Post by: BR on July 17, 2003, 10:41:14 AM
Yes, it save's time until a reboot or
reset, and the save button isn't ghosted.
Thanks for the offer of the schematics
but I should probably leave that kind
of diagnosing and repairing to someone
more experienced.

Bob
Title: Re: battery replacement question
Post by: BR on July 17, 2003, 10:45:59 AM
Next time I have it out I'll leave it
plugged in for a day or so just to
play it safe. After a reboot or reset
it think's it's 2011 so at least this
doesn't interfere with cold or warm
booting.

Bob
Title: Re: battery replacement question
Post by: BR on July 17, 2003, 10:49:08 AM
I am fine. Thanks for asking. I lucked
out and caught this before any leakage
got to the motherboard. I'd guess that's
what determine's how much more need's
to be repaired. The way I understand it
that leakage can ruin a motherbaord, or
at least that part of it.

Bob
Title: Re: battery replacement question
Post by: Tygre on November 20, 2011, 11:30:39 PM
Quote from: Castellen;41030
@ Tygre:
If the "save" button in the Time Preferences is ghosted out, it means the system cannot see the real time clock (RTC).
If this is the case, then probably one of the PCB tracks around the RTC have gone open circuit due to corrosion.  Sometimes the data latch U177 can die due to corrosion damage.


If you have the trouble of the RTC working, but not remembering the time due to the battery not charging up, then one of the tracks that charge the battery (via the +12V line) is probably open circuit.


I have schematics and stuff you can use if you have a reasnoble electronics knowledge.  The circuit is very simple.


Hi Castellen!

Yes, 9 years ago, I am back! :-)

Could you post or send me the schematics, the battery works but the "Save" button is ghosted so something must be wrong...

Thanks!
Tygre
Title: Re: battery replacement question
Post by: Castellen on November 20, 2011, 11:51:25 PM
Quote from: Tygre;668531
Hi Castellen!
Could you post or send me the schematics, the battery works but the "Save" button is ghosted so something must be wrong...

Tygre



A revival of a 2003 thread; talk about scraping off the dust!

Anyway, you'll find all the information you need on my webserver here (http://amiga.serveftp.net/RTCrepair.html).
Title: Re: battery replacement question
Post by: Tygre on November 21, 2011, 02:02:44 AM
Quote from: Castellen;668532
A revival of a 2003 thread; talk about scraping off the dust!

Anyway, you'll find all the information you need on my webserver here (http://amiga.serveftp.net/RTCrepair.html).


Isn't it cool ;-) That really tells something about the Internet never forgetting (forgiving?) anything...

Anyway, thanks a lot for the link! I am going to check it out and I'll keep you posted (hopefully in less than 8 years...)

Cheers!
Tygre
Title: Re: battery replacement question
Post by: Tygre on November 21, 2011, 04:04:26 AM
Quote from: Castellen;668532
A revival of a 2003 thread; talk about scraping off the dust!

Anyway, you'll find all the information you need on my webserver here (http://amiga.serveftp.net/RTCrepair.html).


I started to check the resistance measurements of the U177 following your great page and here are my results so far:

Code: [Select]

Resistance measurements on U177 (latch)
Pin 1 1k ohm between pin 1 and 16 (+5V)            OK
Pin 2 10k to ground,                               5k
        connects to U178 pin 7                       NO
Pin 3 2.5-3k to ground,                            10k
        connects to U175 pin 6
Pin 4 2.5-3k to ground,                            10k
        connects to U175 pin 7
Pin 5 10k to ground,                               4k
        connects to U178 pin 6                       5k
Pin 6 2.5-3k to ground,                            2k
        connects to U175 pin 8
Pin 7 10k to ground,                               2.5k
        connects to U178 pin 5                       YES
Pin 8 less than 1 ohm (approx) to ground           OK
Pin 9 High resistance (greater than 1M ohm),       3.5k
        connects to U150 pin 72 (via 47 ohms)
Pin 10 10k to ground,                               3k
        connects to U178 pin 4                       YES
Pin 11 2.5-3k to ground,                            NO
        connects to U175 pin 9
Pin 12 not connected
Pin 13 not connected
Pin 14 not connected
Pin 15 not connected
Pin 16 Less than 1 ohm (approx) between U975/U976
        (located next to U177) pin 16 (+5V)


So, it seems that either I am missing something or my U177 is really destroyed! What do you think? What else could I test to find what is wrong (including me!) to get back my clock :-)

Cheers!
Tygre