I'm not sure if this question is suitable here or in the hardware section. But since i'm still a noob on these things i post it here.
I have retrieved my faulty Atari 520STFM for a fun project for me to learn how it works and see if i will be able to diagnose and maybe fix it. So i have been reading up on pullup-resistors. So my understanding is that pullup resistors are used to get a default value when it is not used so the line does'nt float and are'nt either logical one or zero.
If i look at MC68000 in the schematics for Atari 520stmf i see that the adresslines have pullup resistors to VCC. Does that mean that the adresslines default to 1? If you can put it in that way.
What does this mean on tristate outputs from 68000? If i'm correct those outputs are either logical 1 , 0 or floating and does not have a pullup/down resistor on the line?
And as a last question. When pressing the reset button should all datalines / adresslines go to logical 1 (high) ? If thats not the case. That some are 1 and some goes to 0 can the CPU then be faulty?
/zChris
You will not be able to post if you are still using Microsoft email addresses such as Hotmail etc
See here for more information viewtopic.php?f=20&t=7296
See here for more information viewtopic.php?f=20&t=7296
BOOKMARK THIS PAGE !
https://www.exxosforum.co.uk:8085/IP_CHECK/
You can unban yourself if needed. It also sends me reports to investigate the ban.
https://www.exxosforum.co.uk:8085/IP_CHECK/
You can unban yourself if needed. It also sends me reports to investigate the ban.
DO NOT USE MOBILE / CGNAT DEVICES WHERE THE IP CHANGES CONSTANTLY!
At this time, it is unfortunately not possible to whitelist users when your IP changes constantly.
You may inadvertently get banned because a previous attack may have used the IP you are now on.
So I suggest people only use fixed IP address devices until I can think of a solution for this problem!
At this time, it is unfortunately not possible to whitelist users when your IP changes constantly.
You may inadvertently get banned because a previous attack may have used the IP you are now on.
So I suggest people only use fixed IP address devices until I can think of a solution for this problem!
Atari 520 STFM faulty - Project
-
stephen_usher
- Site sponsor

- Posts: 7229
- Joined: 13 Nov 2017 19:19
- Location: Oxford, UK.
Re: Atari 520 STFM faulty - Project
(Most) TTL chips and memory can "short" lines to bring them down but can't supply voltage to drive them to high so you have relatively high value resistors to supply the +5V voltage to allow the lines to "float" up to a high value. Because the traces on the board have a very low capacitance the time taken to "float" up is very short.
"Tristate" lines mean that the chip can effectively isolate the pins from the rest of the chip so it's neither trying to force them high or low.
The reset switch merely puts the reset lines on the chips to low, what they do then is up to them.
Your first steps in your diagnosis should be (on the CPU):
If this is all OK you can look to see if there's activity on the address and data lines. If the CPU is not halted and is working it should be doing something, even if it's crashing.
At this point a Diag ROM may start to be useful with something listening on the serial port, though is low RAM has an issue it may not be able to run.
Anyway, good luck.
"Tristate" lines mean that the chip can effectively isolate the pins from the rest of the chip so it's neither trying to force them high or low.
The reset switch merely puts the reset lines on the chips to low, what they do then is up to them.
Your first steps in your diagnosis should be (on the CPU):
- Check the voltage.
- Check that there's a clock signal.
- Check to see if the /RESET line goes high after a short interval after switching on.
- Check to see if the /HALT line goes high.
If this is all OK you can look to see if there's activity on the address and data lines. If the CPU is not halted and is working it should be doing something, even if it's crashing.
At this point a Diag ROM may start to be useful with something listening on the serial port, though is low RAM has an issue it may not be able to run.
Anyway, good luck.
Intro retro computers since before they were retro...
ZX81->Spectrum->Memotech MTX->Sinclair QL->520STM->BBC Micro->TT030->PCs & Sun Workstations.
Added code to the MiNT kernel (still there the last time I checked) + put together MiNTOS.
Collection now with added Macs, Amigas, Suns and Acorns.
ZX81->Spectrum->Memotech MTX->Sinclair QL->520STM->BBC Micro->TT030->PCs & Sun Workstations.
Added code to the MiNT kernel (still there the last time I checked) + put together MiNTOS.
Collection now with added Macs, Amigas, Suns and Acorns.
-
zChris
- Posts: 194
- Joined: 27 Nov 2020 22:13
Re: Atari 520 STFM faulty - Project
Ive measured what you suggested @stephen_usher and here is the results:
Pin 49 VCC 5.2V
Pin 14 VCC 5.2V
Pin 15 CLK 7.813 -8.065 Mhz
Pin 17 HALT Logical Low (240mV)
Pin 18 RESET Logical High (4.08V)
Here is an image on the CLK and it doesnt look good? Never got a stable curve. /zChris
Pin 49 VCC 5.2V
Pin 14 VCC 5.2V
Pin 15 CLK 7.813 -8.065 Mhz
Pin 17 HALT Logical Low (240mV)
Pin 18 RESET Logical High (4.08V)
Here is an image on the CLK and it doesnt look good? Never got a stable curve. /zChris
You do not have the required permissions to view the files attached to this post.
-
stephen_usher
- Site sponsor

- Posts: 7229
- Joined: 13 Nov 2017 19:19
- Location: Oxford, UK.
Re: Atari 520 STFM faulty - Project
Does /HALT go high at all after reset or power on?
The image of the oscilloscope screen looks as if the 'scope isn't sampling fast enough rather than it being a problem.
Does the ROM enable go low on any of the ROMs after reset?
The image of the oscilloscope screen looks as if the 'scope isn't sampling fast enough rather than it being a problem.
Does the ROM enable go low on any of the ROMs after reset?
Intro retro computers since before they were retro...
ZX81->Spectrum->Memotech MTX->Sinclair QL->520STM->BBC Micro->TT030->PCs & Sun Workstations.
Added code to the MiNT kernel (still there the last time I checked) + put together MiNTOS.
Collection now with added Macs, Amigas, Suns and Acorns.
ZX81->Spectrum->Memotech MTX->Sinclair QL->520STM->BBC Micro->TT030->PCs & Sun Workstations.
Added code to the MiNT kernel (still there the last time I checked) + put together MiNTOS.
Collection now with added Macs, Amigas, Suns and Acorns.
-
zChris
- Posts: 194
- Joined: 27 Nov 2020 22:13
Re: Atari 520 STFM faulty - Project
The oscilioscope im using is DS1052E 2channel 50Mhz 1GSa/s.
/HALT goes high then low on a power on. It react on RESET.
OE (Pin 22 on the roms L0-L2, H0-H2) is always low.
/zChris
/HALT goes high then low on a power on. It react on RESET.
OE (Pin 22 on the roms L0-L2, H0-H2) is always low.
/zChris
-
PhilC
- Moderator

- Posts: 7310
- Joined: 23 Mar 2018 20:22
Re: Atari 520 STFM faulty - Project
@zChris tey changing your time base to say 40 or 80ns instead of 200. You’ll get a better look at the waveform then. Then also set the grid to say 2V per interval. That should give you a pretty good view of what’s really happening.
Also check the clock signals on the shifter, should get 32mhz from the oscillator and then the shifter will send out 16mhz to the rest of the system.
Also check the clock signals on the shifter, should get 32mhz from the oscillator and then the shifter will send out 16mhz to the rest of the system.
If it ain't broke, test it to Destruction.
-
stephen_usher
- Site sponsor

- Posts: 7229
- Joined: 13 Nov 2017 19:19
- Location: Oxford, UK.
Re: Atari 520 STFM faulty - Project
If the ROM select is never going high this is suspicious as it would have to go low to allow the CPU to access RAM.
Intro retro computers since before they were retro...
ZX81->Spectrum->Memotech MTX->Sinclair QL->520STM->BBC Micro->TT030->PCs & Sun Workstations.
Added code to the MiNT kernel (still there the last time I checked) + put together MiNTOS.
Collection now with added Macs, Amigas, Suns and Acorns.
ZX81->Spectrum->Memotech MTX->Sinclair QL->520STM->BBC Micro->TT030->PCs & Sun Workstations.
Added code to the MiNT kernel (still there the last time I checked) + put together MiNTOS.
Collection now with added Macs, Amigas, Suns and Acorns.
-
zChris
- Posts: 194
- Joined: 27 Nov 2020 22:13
Re: Atari 520 STFM faulty - Project
Here are the CLOCKs measurements.
EDIT: Made a misstake and measured the wrong Pin on GLUE 8MHZ. The correct pin measures correctly
M68000K
Pin 15 (DEFAULT 8Mhz) SHIFTER
Pin 2 (DEFAULT 32Mhz) Pin 39 (DEFAULT 16Mhz)
MMU
Pin 5 (DEFAULT 16Mhz) Pin 20 (DEFAULT 8Mhz) Pin 19 (DEFAULT 4Mhz)
GLUE
Pin 15 (DEFAULT 8Mhz) <--- MADE A MISTAKE. THIS IS THE WRONG PING
Pin 34 (DEFAULT 8Mhz) <--- THIS IS THE CORRECT PIN AND IT LOOKS LIKE THE OTHER 8 MHZ
Pin 54 (DEFAULT 2Mhz) Pin 43 (DEFAULT 0.5Mhz)
DMA
Pin 39 (DEFAULT 8Mhz)
WDA1772
Pin 18 (DEFAULT 8Mhz)
ACIA
Pin 3 & 4 (DEFAULT 0.5Mhz)
EDIT: Made a misstake and measured the wrong Pin on GLUE 8MHZ. The correct pin measures correctly
M68000K
Pin 15 (DEFAULT 8Mhz) SHIFTER
Pin 2 (DEFAULT 32Mhz) Pin 39 (DEFAULT 16Mhz)
MMU
Pin 5 (DEFAULT 16Mhz) Pin 20 (DEFAULT 8Mhz) Pin 19 (DEFAULT 4Mhz)
GLUE
Pin 15 (DEFAULT 8Mhz) <--- MADE A MISTAKE. THIS IS THE WRONG PING
Pin 34 (DEFAULT 8Mhz) <--- THIS IS THE CORRECT PIN AND IT LOOKS LIKE THE OTHER 8 MHZ
Pin 54 (DEFAULT 2Mhz) Pin 43 (DEFAULT 0.5Mhz)
DMA
Pin 39 (DEFAULT 8Mhz)
WDA1772
Pin 18 (DEFAULT 8Mhz)
ACIA
Pin 3 & 4 (DEFAULT 0.5Mhz)
You do not have the required permissions to view the files attached to this post.
-
PhilC
- Moderator

- Posts: 7310
- Joined: 23 Mar 2018 20:22
Re: Atari 520 STFM faulty - Project
I know I always say this but remove the DMA, it’s quite likely then that the CPU will now no longer be halted, ie /halt us 5v. Then test things like the mad lines from the mmu to ram, there should be activity on all of them. Then do the same for the address and data us lines, then whilst holding reset, all address and data lines should pull up to 5v, if they don’t do any of the above then look in that direction.
Lately I’ve had more than my fair share of 74LS244 & 373 fail, so using the data sheets for those chips and scope, check to see if they are operating as they should be.
Typing this as you’ve just posted the latest pics, if pin 15 of the glue should be 8mhz then it looks like either a corroded track or the socket and chip need the pins adjusting.
Lately I’ve had more than my fair share of 74LS244 & 373 fail, so using the data sheets for those chips and scope, check to see if they are operating as they should be.
Typing this as you’ve just posted the latest pics, if pin 15 of the glue should be 8mhz then it looks like either a corroded track or the socket and chip need the pins adjusting.
If it ain't broke, test it to Destruction.
-
stephen_usher
- Site sponsor

- Posts: 7229
- Joined: 13 Nov 2017 19:19
- Location: Oxford, UK.
Re: Atari 520 STFM faulty - Project
Before doing any soldering I’d definitely reseat all the socketed chips, especially the PLCC ones such as the MMU and use a good contact cleaner such as Electrolube EML
Intro retro computers since before they were retro...
ZX81->Spectrum->Memotech MTX->Sinclair QL->520STM->BBC Micro->TT030->PCs & Sun Workstations.
Added code to the MiNT kernel (still there the last time I checked) + put together MiNTOS.
Collection now with added Macs, Amigas, Suns and Acorns.
ZX81->Spectrum->Memotech MTX->Sinclair QL->520STM->BBC Micro->TT030->PCs & Sun Workstations.
Added code to the MiNT kernel (still there the last time I checked) + put together MiNTOS.
Collection now with added Macs, Amigas, Suns and Acorns.
Who is online
Users browsing this forum: CCBot and 63 guests