Troubleshooting H4

Topic for users to share their building progress.
Locked
User avatar
exxos
Site Admin
Site Admin
Posts: 23491
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Troubleshooting H4

Post by exxos »

Will list some basic troubleshooting steps and update it as time goes on. I will lock this thread to keep it clean, but people can discuss in their own builders blogs anyway.

Firstly, all faults are likely going to be a bad solder joint or short somewhere. This also assume all the chips used are known working. Also assuming all the sockets and chips are located in the correct orientations. Also after 30 seconds of "ON" time place a expendable finger on every IC and make sure they are not burning hot.

Also assumption is all fixes are done in this thread https://www.exxosforum.co.uk/forum/viewt ... =78&t=2335 and you have checked power pins on all IC's to make sure they all have 5V on them.

Also assuming you have all the jumpers in place https://www.exxosforum.co.uk/forum/viewt ... =73&t=2229



RESET.

With a meter or scope. Check the RESET signal on one of the expansion sockets. When powered up, RESET should be low for approx 1.5 seconds and then go high and stop there.

Press the reset button and reset signal should go low for approx 1.5 seconds and go high again. Voltages should switch between 0V and 5V.
https://www.exxosforum.co.uk/atari/ All my hardware guides - mods - games - STOS
https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.
viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
User avatar
exxos
Site Admin
Site Admin
Posts: 23491
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: Troubleshooting H4

Post by exxos »

PULL UPS.

With the power OFF, check with a meter on resistance (10K range ) and go down every pin on a 68K expansion socket one by one, and connect other probe to VCC.

Every pin on the CPU (with exception to GND,VCC,E,CLK) Should measure 1K or 2.2K resistance.
https://www.exxosforum.co.uk/atari/ All my hardware guides - mods - games - STOS
https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.
viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
User avatar
exxos
Site Admin
Site Admin
Posts: 23491
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: Troubleshooting H4

Post by exxos »

BUS SHORTS.

Using a meter (MACHINE POWERED OFF!) on resistance, 200R setting, check for shorts on a 68K expansion socket. Start on pin 1 and pin 2 and then move the probes to pin 2 and pin 3 etc until you have gone around the whole socket. There will likely be a resistance there, but it should not be near zero. If its below about 10R then you have a short on those pins somewhere.



LS11 SHORTS

With power off, again check for shorts visually (under magnifier) and using a meter on 200R setting, check there are no shorts between any pins on the LS11.
https://www.exxosforum.co.uk/atari/ All my hardware guides - mods - games - STOS
https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.
viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
User avatar
exxos
Site Admin
Site Admin
Posts: 23491
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: Troubleshooting H4

Post by exxos »

FIRST POWER UP VOLTAGE TEST.

Using some bodge tape, tape the reset button to keep the machine in reset. Power up the machine and check all the voltages on a 68K expansion socket.

Every pin should have 5V on it. The exceptions are GND,E,CLK,RESET,HALT E & CLK will be switching and should be checked on a scope rather than a meter. A meter will probably measure around 2 volts on those pins.
https://www.exxosforum.co.uk/atari/ All my hardware guides - mods - games - STOS
https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.
viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
User avatar
exxos
Site Admin
Site Admin
Posts: 23491
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: Troubleshooting H4

Post by exxos »

CLOCK CHECKS.

Using the H4 schematic or IC pinouts Check all the MHz clocks on every IC with a scope.

Shifter should have 32MHz into pin 2 and output 16MHz on pin 39.

MMU should have 16MHz input on 5 and output 8MHz on pin 20, and 4MHz on pin 19.

GLUE should have 8MHz on pin 34. 2MHz on pin 54 and 0.5MHz (500KHz) on pin 43.

MFP 4MHz pin 35.

WD1772 8MHz pin 18.

BAD DMA 8MHz pin 39.

ACIA 500KHz pin 3&4.

CPU PLCC 8MHz pin 15, 68K sockets pin 15.
https://www.exxosforum.co.uk/atari/ All my hardware guides - mods - games - STOS
https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.
viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
User avatar
exxos
Site Admin
Site Admin
Posts: 23491
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: Troubleshooting H4

Post by exxos »

FIRST BUS CYCLE.

This part really needs a logic analyser or a digital storage scope at the very least. This is also assuming you have a stable white video frame being generated at this point.

You need to use the RESET signal as a trigger and test the whole address bus, all at once with a LA, or one pin at a time with a scope. One probe needs to be on /AS of a 68K expansion socket, and another probe for testing A1-A23 pins.

When RESET goes HI, the CPU will put its first address on the bus and set /AS low (0v) . This is "address zero", where every address pin will be at 0V. You will need to keep pressing the reset button to check every address pin one by one on a scope. You cannot just scope out pins on after another as the CPU will only (or should) only do that cycle ONCE, after reset. One bus cycle happens in typically in less than 4x 8MHz clock cycles!

Once all the address bus is confirmed to be at all zeros on the first bus cycle, and /AS goes low after rest, the GLUE will decode address "zero" and will switch the inputs to the LS11 low (at least one should go low during the first bus cycle). The LS11 being a AND gate, only 1 input needs to go low, and the output to ROM_CE (JP13 ). This will enable the ROM IC and it will place the first 2 bytes on the databus. At this point, some datalines will be low and some high.

A couple 8MHz clocks later, /DTACK will be set low by the GLUE and a 8MHz clock later /DTACK & /AS will go high. At this point the CPU has just executed its first instruction and will (or should) go on to executing the next bytes in the ROM and start booting TOS. Assuming you get that far, really the system starting to boot TOS should get far enough to boot the diagnostic cartridge.

Things are a bit more complicated than the above, but that should at least get people started.

EDIT:

For TOS104, the start bytes are $60 $2E. So the Binary data on the bus on the first cycle (after ROM_CE goes low) should be

01100000 00101110

It would be useful if someone with a LA could verify this on real hardware.
https://www.exxosforum.co.uk/atari/ All my hardware guides - mods - games - STOS
https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.
viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
User avatar
exxos
Site Admin
Site Admin
Posts: 23491
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: Troubleshooting H4

Post by exxos »

A new test to check address zero is decoding properly.

You will need a 68K pinout (print it out)

68k.jpg
68k.jpg (55.57 KiB) Viewed 2383 times

Remove the CPU from the motherboard! Also assumption is the GLUE and other chips are fitted, but mostly this is a GLUE & ROM test anyway.

Then solder all these pins together with header pins and wire. It does not matter which IO port you do it on.

hl.JPG
hl.JPG (61.99 KiB) Viewed 1105 times
IMG_0272.JPG
IMG_0272.JPG (331.21 KiB) Viewed 2383 times

Assuming you have a properly programmed DUALTOS chip.. The DATA bits are like this..

1.JPG
1.JPG (46.7 KiB) Viewed 2383 times
2.JPG
2.JPG (46.74 KiB) Viewed 2383 times

$2E60 needs to be flipped to $602E which is %110000000101110

The arrangement of the databits on the CPU bus is:

Code: Select all

 (DATA 15..0)
 111111 
 5432109876543210
%0110000000101110
Now power up the H4/H5 (REMEMBER NO CPU FITTED!!)..

Measure the voltages on the DATA bus and write it down on the 68K paper you printed out earlier. Just the outer track of the motherboard for a easy 0V point for your probe.

For example :

D4 is 0V so write 0 on D4 on the printed paper.

IMG_0274.JPG
IMG_0274.JPG (272.91 KiB) Viewed 2383 times

D3 is 5V, so write 1 on D4 on the printed paper.

IMG_0273.JPG
IMG_0273.JPG (281.84 KiB) Viewed 2383 times

Then you *should* have this.

IMG_0275.JPG
IMG_0275.JPG (265.4 KiB) Viewed 2383 times

Which matches the binary sequence of $602E %0110000000101110.

So this board has the correct start address. The address bus appears to be working , at least to the GLUE. Which is decoding the address zero, and enabling the ROM. The ROM is placing the correct data on the bus also.
https://www.exxosforum.co.uk/atari/ All my hardware guides - mods - games - STOS
https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.
viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
Locked

Return to “MONGREL H4 USER BUILDS”