Basic Troubleshooting - Diagnostic Cartridge basics

The place to visit to learn tips on how to troubleshoot your machine.
Locked
User avatar
rubber_jonnie
Moderator
Moderator
Posts: 2848
Joined: Thu Aug 17, 2017 7:40 pm
Location: Essex
Contact:

Basic Troubleshooting - Diagnostic Cartridge basics

Post by rubber_jonnie » Fri Jul 24, 2020 9:35 am

Whilst the other troubleshooting techniques mentioned in this section are all extremely useful, sometimes a look into the hardware can be a big help, and this is precisely what the Atari diagnostics tools, a ROM based toolkit you can plug into the cartridge port allows you to do.

This is my quite well used example:

Cart.jpg
Cart.jpg (133.88 KiB) Viewed 244 times

And as a modern equivalent it has the Atari diagnostics kits for ST/STE/TT/Falcon built in and selectable via the yellow rotary switch, but also has Emutos, Ulitmate Ripper and VT100 software also built in. The version sold here: https://www.exxoshost.co.uk/atari/store2/#0165 has a similar, if slightly different and perhaps slightly more useful toolkit with the inclusion of Gembench and YAART memory testing software.

Also available from gossuin.be is this dedicated Atari multi diag cartridge: http://www.gossuin.be/index.php/shop which also has the option of additional test harnesses for the likes of the joystick/mouse, external DMA, Midi, serial and printer ports.

We will only look at basics here though, firstly because I don't have the test harnesses at present, and secondly because it's a subject I intend to add once I do have the test harnesses.

Why do we need a diagnostic cartridge anyway? Well, the cartridge allows us to run Atari specific diagnostics, which were intended for use by field or repair centre engineers when repairing faulty machines. This means we can diagnose problems in the same manner as Atari engineers would, and in conjunction with the field service manuals available here: https://docs.dev-docs.org/, we are in a very good position.

To start, make sure your machine is powered off, and plug the cartridge into the slot on the left hand side of the machine:

Cart_in.jpg
Cart_in.jpg (87.49 KiB) Viewed 244 times

My cart requires the ROM to be facing upwards as in this picture, but ensure you check the instructions with your own cart to be sure you plug it in correctly, and thus avoiding damage to both the ST and the cart

On boot, you can see the following menu:

ST_Menu.jpg
ST_Menu.jpg (94.94 KiB) Viewed 244 times

Simply select the test you wish to run by typing the letter and pressing 'Return'. Note that without the test harnesses, tests for joystick/mouse, external DMA, Midi, serial and printer ports cannot be run successfully. It should be noted that the keyboard test will test for mouse activity, but the test harness will do a full test.

In addition, if you do not have a hard drive, nor a Blitter chip, those tests cannot be run either, and in this case,the machine was not a Mega, so the real time clock test cannot be run either!

This still leaves us with plenty to test though, with crucial items such as chip timings, floppy disk tests and RAM to mention a few. Typically the results appear on screen with error codes, and with the right field service manual, we can match these codes to something useful and narrow down our search for a faulty component.

The diagnostic cart does have a useful trick up it's sleeve too for situations where the machine is seemingly not booting, shows nothing on screen or does not have a working keyboard.

If we connect a null modem cable to our STs serial port as below, and connect the other end to a PC, we can get to the same menu over serial using a terminal program on the PC.

Null_Modem.jpg
Null_Modem.jpg (109.23 KiB) Viewed 244 times


In this example I'm using Teraterm with the following settings:

Com_Settings.jpg
Com_Settings.jpg (119.78 KiB) Viewed 244 times

An on pressing return in Teraterm a few times, I receive the same menu:

Diag_Term.jpg
Diag_Term.jpg (109.41 KiB) Viewed 244 times

This gives us the opportunity to run all the exact same diagnostics via our terminal without actually hooking the ST up to a display of any sort.

In addition, during boot,if there are any problems, diagnostics data will be sent over the serial port and will be visible in the terminal.

To give an example, I had a problematic Mega 4 which gave this screen on boot:

Naughty_Mega.jpg
Naughty_Mega.jpg (59.41 KiB) Viewed 244 times

I installed the diagnostic cart and during boot was able to see the following diagnostics stream over serial on my PC terminal as below:

RAM_Error.jpg
RAM_Error.jpg (152.91 KiB) Viewed 244 times

Thus enabling me to home in on an error with data lines that I subsequently narrowed down to 2 data lines using a logic probe and continuity testing. The machine is now fixed and running.


It should be noted that there are situations whereby neither the on screen menu nor the serial terminal mode do not work. If there is a problem with ROM space on an ST, generally speaking you will see a plain white screen when booting to low/med res.

Because the diagnostic cart maps into ROM space, a problem with the onboard ROM space will prevent this from happening. On a positive note, it means you can focus on fixing what's wrong with the on-board ROMS, so at least this sitll points you in the right direction.

If you plan to repair STs, then the diagnostic cartridge is an essential tool.
Collector of old Atari things:
800XL + Ultimate 1MB, 2x 1010 cassette, 1050 + Happy mod, 65XE (128k +APE Warp) & XC12, SIO2SD, 2600jr, 7800 and Lynx II
Atari 520ST (1Meg), 1040STF long button floppy, 2x 1040 STFMs + Gotek, 2x 4160STE with 32Mhz booster, ROM switcher, Mega ST1, Mega ST4, not to mention various bare ST boards for testing including a PAK 68/2 :)
Plus the rest..
Amiga stuff, Mac stuff, Sinclair stuff etc...
www.electronicnothingness.co.uk

User avatar
exxos
Site Admin
Site Admin
Posts: 11705
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
YouTube: https://www.youtube.com/user/exxosuk
Contact:

Re: Basic Troubleshooting - Diagnostic Cartridge basics

Post by exxos » Mon Aug 31, 2020 12:10 pm

Just as a actual screenshot ( @rubber_jonnie feel free to hack this post about )

Capture.PNG
Capture.PNG (11.05 KiB) Viewed 220 times

On the left is written values D15 - D0, Then read values D15 - D0, Then the address the errors happend in hex.

So in the above example, all zeroes are written, but bit 14 (data line 14) is "stuck" high indicating a error at address 8 bit 14.
https://www.exxoshost.co.uk/atari/ All my hardware guides - mods - games - STOS
https://www.exxoshost.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.

User avatar
rubber_jonnie
Moderator
Moderator
Posts: 2848
Joined: Thu Aug 17, 2017 7:40 pm
Location: Essex
Contact:

Re: Basic Troubleshooting - Diagnostic Cartridge basics

Post by rubber_jonnie » Mon Aug 31, 2020 9:50 pm

Great example @exxos😁
Collector of old Atari things:
800XL + Ultimate 1MB, 2x 1010 cassette, 1050 + Happy mod, 65XE (128k +APE Warp) & XC12, SIO2SD, 2600jr, 7800 and Lynx II
Atari 520ST (1Meg), 1040STF long button floppy, 2x 1040 STFMs + Gotek, 2x 4160STE with 32Mhz booster, ROM switcher, Mega ST1, Mega ST4, not to mention various bare ST boards for testing including a PAK 68/2 :)
Plus the rest..
Amiga stuff, Mac stuff, Sinclair stuff etc...
www.electronicnothingness.co.uk

Locked

Return to “BASIC TROUBLESHOOTING”