Welcome, Guest. Please login or register.

Author Topic: Clock running too fast..  (Read 1434 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline MalakieTopic starter

  • Full Member
  • ***
  • Join Date: Apr 2007
  • Posts: 142
  • Country: us
  • Gender: Male
  • 'Karma' doesn't choose. It just is! (2020 -T.B.)
    • Show only replies by Malakie
    • Streaming Channel (including Amiga stuff)
Clock running too fast..
« on: December 19, 2021, 04:05:32 AM »
This machine is driving me nuts.. one thing after another.. but I AM going to get it fixed and running properly.. someday.

This one is the real time clock running too fast.  It is counting seconds way too fast in fact.  2 minutes on my watch or a pc, is coming out to about 3 minutes 15 seconds on this unit.  Figured I would ask to see if anyone has come across this one before I go diving into components and schematics.



Take it light...... :-D

Malakie
 

Offline Pat the Cat

Re: Clock running too fast..
« Reply #1 on: December 19, 2021, 06:20:56 AM »
Trim pot just in front of the CPU card slot, left of the RTC battery.

OK, it's a varicap really, Labelled VC880 or similar.

EDIT: It's further over to the left on a rev 6 A2000, in front of the first Zorro socket. But I recall you had V4.
« Last Edit: December 19, 2021, 06:27:20 AM by Pat the Cat »
"To recurse is human. To iterate, divine."

A1200, Vanilla, Surf Squirrel, SD Card, KS 3.0/3.z, PCMCIA dev
A500, Vanilla, A570, Rev 5, KS 1.2/1.3 Testbench system
Rasp Pi, UAE4ARM, 3D laser scanner, experimental, hoping for AmigaOS4Arm, based on Watterott Fabscan Pi
 

Offline kolla

Re: Clock running too fast..
« Reply #2 on: December 19, 2021, 10:48:28 AM »
Doesn’t A2000 use PSU "tick"? Is this a PAL A2000 in NTSC land? :)
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS
 

Offline Pat the Cat

Re: Clock running too fast..
« Reply #3 on: December 19, 2021, 01:19:58 PM »
Doesn’t A2000 use PSU "tick"? Is this a PAL A2000 in NTSC land? :)

No, Malakie did specify real time clock, fitted in all A2000s.
"To recurse is human. To iterate, divine."

A1200, Vanilla, Surf Squirrel, SD Card, KS 3.0/3.z, PCMCIA dev
A500, Vanilla, A570, Rev 5, KS 1.2/1.3 Testbench system
Rasp Pi, UAE4ARM, 3D laser scanner, experimental, hoping for AmigaOS4Arm, based on Watterott Fabscan Pi
 

Offline Thomas

Re: Clock running too fast..
« Reply #4 on: December 19, 2021, 05:38:13 PM »

I find the term "real time clock" misleading. The CIA TOD clock also measures real time, once it's set. "battery-backed up clock" is more precise. That's also the wording SetClock uses if it does not find one.


Offline Castellen

Re: Clock running too fast..
« Reply #5 on: December 19, 2021, 07:06:25 PM »
I'd agree with Thomas; the battery backed up clock is read once by the system at startup (if found), and from then the time of day counter is responsible for maintaining the system time after startup.

If the problem is that the time drift happens with the computer is powered off, then it's likely to be a battery backed up clock issue.  I've written test/calibration procedures for that here:
http://amiga.serveftp.net/RTCrepair.html#OscillatorCalibration

If the time drift is while the computer is powered on, then it could be a problem with the hardware timers.  Use Amiga Test Kit to sanity check the CIA timers:
https://github.com/keirf/Amiga-Stuff

There could be an issue with the 28.3MHz oscillator, as the time of day counter is derived from this on many Amiga models; though if the clock is drifting that much, you'd probably have seen video issues if the 28.3MHz reference was that far out.
 

Offline MalakieTopic starter

  • Full Member
  • ***
  • Join Date: Apr 2007
  • Posts: 142
  • Country: us
  • Gender: Male
  • 'Karma' doesn't choose. It just is! (2020 -T.B.)
    • Show only replies by Malakie
    • Streaming Channel (including Amiga stuff)
Re: Clock running too fast..
« Reply #6 on: December 19, 2021, 10:41:59 PM »
Trim pot just in front of the CPU card slot, left of the RTC battery.

OK, it's a varicap really, Labelled VC880 or similar.

EDIT: It's further over to the left on a rev 6 A2000, in front of the first Zorro socket. But I recall you had V4.




ahh that's right.. I knew that but until you said something, I had completely forgot about that..  This board I will be able to correct I hope but the next one.. I will have to replace that as the battery exploded on that board I got from someone and that pot is corroded badly.   

The good news, my V6 boards, I have two, are in the best shape of everything I have thankfully.   What I am trying to get going are older 4.x boards with various problems.  Two so far running good, one with v1.3 OS/A2090 w/st-506 drives,  the second 2.04 OS and A2091 with SCSI drives, this nightmare unit is supposed to be 3.2 os with A2091 SCSI, another identical board has a GVP HD board and GVP 68030 w/daughter ram board (note identical rev 4.x and this one runs perfectly with SCSI drives which makes me think you are right and it is either a scsi.device issue in KS3.2 or the 7.0 roms) and then the two rev 6 units, one using the PI-Raspberry upgrade, the other I had intended on doing another A2091 SCSI setup with 3.5/3.9 updates to it.


So thanks for the help and reminders!   Amazing how much one does not really forget but gets pushed to the archives of long term memory until nudged!  LOL



Take it light...... :-D

Malakie
 

Offline MalakieTopic starter

  • Full Member
  • ***
  • Join Date: Apr 2007
  • Posts: 142
  • Country: us
  • Gender: Male
  • 'Karma' doesn't choose. It just is! (2020 -T.B.)
    • Show only replies by Malakie
    • Streaming Channel (including Amiga stuff)
Re: Clock running too fast..
« Reply #7 on: December 19, 2021, 10:43:06 PM »
I'd agree with Thomas; the battery backed up clock is read once by the system at startup (if found), and from then the time of day counter is responsible for maintaining the system time after startup.

If the problem is that the time drift happens with the computer is powered off, then it's likely to be a battery backed up clock issue.  I've written test/calibration procedures for that here:
http://amiga.serveftp.net/RTCrepair.html#OscillatorCalibration

If the time drift is while the computer is powered on, then it could be a problem with the hardware timers.  Use Amiga Test Kit to sanity check the CIA timers:
https://github.com/keirf/Amiga-Stuff

There could be an issue with the 28.3MHz oscillator, as the time of day counter is derived from this on many Amiga models; though if the clock is drifting that much, you'd probably have seen video issues if the 28.3MHz reference was that far out.


Something I should have clarified, the drift does happen at power off.  BUT while the unit is running, it is also running fast.



Take it light...... :-D

Malakie
 

Offline MalakieTopic starter

  • Full Member
  • ***
  • Join Date: Apr 2007
  • Posts: 142
  • Country: us
  • Gender: Male
  • 'Karma' doesn't choose. It just is! (2020 -T.B.)
    • Show only replies by Malakie
    • Streaming Channel (including Amiga stuff)
Re: Clock running too fast..
« Reply #8 on: December 22, 2021, 04:21:17 PM »
Just an update.  Whatever caused this, fixed itself.   Powered up again the next day, problem was gone.  So far it has not returned...
Take it light...... :-D

Malakie