UK Vintage Radio Repair and Restoration Powered By Google Custom Search Vintage Radio and TV Service Data

Go Back   UK Vintage Radio Repair and Restoration Discussion Forum > Specific Vintage Equipment > Vintage Computers

Notices

Vintage Computers Any vintage computer systems, calculators, video games etc., but with an emphasis on 1980s and earlier equipment.

Closed Thread
 
Thread Tools
Old 28th Jan 2021, 8:05 pm   #301
SiriusHardware
Dekatron
 
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,547
Default Re: Non-working Commodore PET 3016

Yes, that one I missed - held high by a 1K resistor - and I am not sure we have ever asked Colin to check that for us, so, before anything else just check that the 'SO' pin (38) is at or close to +5V with the power on. We aren't expecting to see a waveform or frequency on that one, just a steady voltage.

If pin 38 has ~5V on it then try running the CPU with only the following pins connected:

-5V supply (pin 8) - 5V
-0V supply (pins 1 and 21) - 0V
-Clock in (Pin 37) - 1MHz clock
-RDY (Pin 2) (Held high)
-IRQ (pin 4) (Held high)
-NMI (Pin 6) (Held high)
-SO(Pin 38) (Held high)
-Reset (Pin 40) (Momentarily low, then held high. The reset circuit takes care of that.)

The main thing we want to see is activity on address pin A0 (pin 9).
SiriusHardware is online now  
Old 28th Jan 2021, 8:08 pm   #302
ScottishColin
Octode
 
Join Date: May 2012
Location: Perth, Scotland
Posts: 1,802
Default Re: Non-working Commodore PET 3016

I bought spare 40 pin sockets so I'll do the doings with that. I'll wait a while to see if others chip in
ScottishColin is online now  
Old 28th Jan 2021, 8:16 pm   #303
SiriusHardware
Dekatron
 
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,547
Default Re: Non-working Commodore PET 3016

Quote:
Originally Posted by Mark1960 View Post
It probably is worth setting up the 6502 to run a nop test, but better to do it on a breadboard or protoboard
Only problem is, where does Colin get a clock from then, unless he jumpers it across from the mainboard to the breadboard? That's why I suggested doing it in situ, where there is already a clock and all the required pullups on INT, NMI, RDY, SO, etc, and there is a reset circuit to generate a proper start up reset signal in case the CPU actually needs that.

A NOP test would generate a nice progressive count on the address lines but random / unspecified data should still cause activity on the address lines as the CPU will try to execute it anyway. That's all I'm looking for really, any address line activity at all.

I think Colin did say he bought both types of socket so a conventional socket would be OK for this and the 'unwanted' socket contacts could perhaps be removed altogether by pushing them out from below, to leave only the ones used for the minimum pin set.
SiriusHardware is online now  
Old 28th Jan 2021, 8:35 pm   #304
SiriusHardware
Dekatron
 
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,547
Default Re: Non-working Commodore PET 3016

Quote:
Originally Posted by Mark1960 View Post
What I was thinking was to connect pin 36 to 5v, preferably through a resistor somewhere between 3k and 10k. Maybe link pin 36 to pin 2 is easier.
To enlarge on this: Mark is suggesting that your apparently genuine looking 6502 may possibly be some other variant which has been rebadged to look like an original 6502. On an original 6502 some of the pins including pin 36 are marked 'NC' (no connection, or 'do not connect') on the pinout diagram, but some later variants added features to these unused pins, such as 'BE' on pin 36. So Mark is saying try taking that pin 'high' (to +5V either directly or via a resistor) to see if that brings the address lines to life.

If you are going to try that, do it (and also check the voltage on pin 38 for us) before trying to run the CPU with only essential connections.
SiriusHardware is online now  
Old 28th Jan 2021, 8:36 pm   #305
ajgriff
Nonode
 
ajgriff's Avatar
 
Join Date: May 2004
Location: Halifax, West Yorkshire, UK.
Posts: 2,587
Default Re: Non-working Commodore PET 3016

Quote:
Originally Posted by Mark1960 View Post
On later 65C02, I think including the rockwell, pin 36 was BE, bus enable.
The original MOS 6502 and Rockwell 6502 datasheets show pin 36 as NC (not connected). Only the WDC65C02 is shown as BE (bus enable). Is there a more recent Rockwell version of the 65C02?

Alan

Last edited by ajgriff; 28th Jan 2021 at 9:03 pm. Reason: Added question
ajgriff is offline  
Old 28th Jan 2021, 9:40 pm   #306
ScottishColin
Octode
 
Join Date: May 2012
Location: Perth, Scotland
Posts: 1,802
Default Re: Non-working Commodore PET 3016

Just so I have this right, first thing is the following:

Turn PET on and measure voltage on pin 38.

Then turn PET off

Connect pin 36 to 5v by linking pin 36 to pin 2 with a resistor (between 3k and 10k) in the link.

Then power on.

Then see what frequency and activity there is on pin 9 with my scope.

That sound right?
ScottishColin is online now  
Old 28th Jan 2021, 10:05 pm   #307
SiriusHardware
Dekatron
 
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,547
Default Re: Non-working Commodore PET 3016

Yes please.
SiriusHardware is online now  
Old 28th Jan 2021, 10:31 pm   #308
ScottishColin
Octode
 
Join Date: May 2012
Location: Perth, Scotland
Posts: 1,802
Default Re: Non-working Commodore PET 3016

OK - pin 38 with power on is 5.173V

Pin 2 connected to pin 36 with a 10K Ohm resistor

Power on

Pin 36 measures 5.08V

Pin 9 no frequency or wave pattern.

https://drive.google.com/file/d/19-w...ew?usp=sharing
ScottishColin is online now  
Old 28th Jan 2021, 10:34 pm   #309
ScottishColin
Octode
 
Join Date: May 2012
Location: Perth, Scotland
Posts: 1,802
Default Re: Non-working Commodore PET 3016

Again, for confirmation,

1. remove 10k resistor between pins 2 and 36

2. take an ordinary 40 pin socket, remove al pins except the ones listed below:

pin 8
pins 1 and 21
pin 37
pin 2
pin 4
pin 6
pin 38
pin 40

Then measure frequency and any wave on pin 9.

Have I got that right?
ScottishColin is online now  
Old 28th Jan 2021, 10:40 pm   #310
SiriusHardware
Dekatron
 
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,547
Default Re: Non-working Commodore PET 3016

Thanks for doing that - if you are up for it can you now try the 'minimal CPU pins connected' check either by clipping the unwanted pins from a conventional socket, or by removing the unwanted contacts from a conventional socket, or by bending out the 'unwanted' pins on the CPU so they fall outside the mainboard socket.

The last way is obviously the simplest way to do it, but offers the greater possibility of damage to the IC.

Using a socket requires no modification to or bending of the IC pins but sacrifices a socket - but there are plenty more where that came from.

Edit: Just caught your post #309. Yes, that's right. However you do it be sure there is no connection between any of the other pins and the associated contacts on the mainboard socket. In case it's not clear, we mean for you to plug the modified socket into the mainboard socket and then plug the CPU into the modified socket.
SiriusHardware is online now  
Old 28th Jan 2021, 11:57 pm   #311
ScottishColin
Octode
 
Join Date: May 2012
Location: Perth, Scotland
Posts: 1,802
Default Re: Non-working Commodore PET 3016

Right. Progress. See attached file.

I took an ordinary 40 pin socket and pushed through all the pins we didn't want and tested with success on pins 9, 10 and 11.
ScottishColin is online now  
Old 29th Jan 2021, 12:03 am   #312
SiriusHardware
Dekatron
 
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,547
Default Re: Non-working Commodore PET 3016

Again, I can't view that right now (no office suite of any sort here) but I gather from the positive tone that we finally did get something on the address lines?
SiriusHardware is online now  
Old 29th Jan 2021, 12:08 am   #313
ajgriff
Nonode
 
ajgriff's Avatar
 
Join Date: May 2004
Location: Halifax, West Yorkshire, UK.
Posts: 2,587
Default Re: Non-working Commodore PET 3016

Looks really promising.

Alan
ajgriff is offline  
Old 29th Jan 2021, 12:11 am   #314
ScottishColin
Octode
 
Join Date: May 2012
Location: Perth, Scotland
Posts: 1,802
Default Re: Non-working Commodore PET 3016

Quote:
Originally Posted by SiriusHardware View Post
Again, I can't view that right now (no office suite of any sort here) but I gather from the positive tone that we finally did get something on the address lines?

Yes. Definitive square waves and detected frequencies on 9, 10 and 11
ScottishColin is online now  
Old 29th Jan 2021, 12:13 am   #315
SiriusHardware
Dekatron
 
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,547
Default Re: Non-working Commodore PET 3016

OK. Could you check the voltages on pins 1 and 19 of IC UC3 and pins 1 and 19 of IC UB2 (Both 74LS244). The voltage expected on all four pins is 0V. You can do this either with the CPU plugged in normally or with it still half disconnected, makes no difference.
SiriusHardware is online now  
Old 29th Jan 2021, 12:26 am   #316
ScottishColin
Octode
 
Join Date: May 2012
Location: Perth, Scotland
Posts: 1,802
Default Re: Non-working Commodore PET 3016

Pins 1 and 19 of UC3 - 0.102V

Pins 1 and 19 of UB3 (I'm assuming you meant UB3 not UB2) - 0.102V and .2V respectively
ScottishColin is online now  
Old 29th Jan 2021, 12:30 am   #317
SiriusHardware
Dekatron
 
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,547
Default Re: Non-working Commodore PET 3016

Quote:
Pins 1 and 19 of UB3 (I'm assuming you meant UB3 not UB2) - 0.102V and .2V respectively
Indeed I did, sorry.

As the pin1 / pin 19 voltages on those buffers are correct,

Power off, CPU removed, please measure...

-The resistance between each of the following CPU socket pins (see below) and 0V, with the black lead on 0V.

-The resistance between each of the same CPU socket pins and +5V, with the red lead on +5V.

Suggest you use your old meter for these resistance measurements. Use whatever range you need to to get a meaningful reading. I would expect the readings from all sixteen pins to 0V to be roughly the same, and the readings from all sixteen pins to +5V to be a different resistance, but again they should all be pretty similar to each other.

9
10
11
12
13
14
15
16
17
18
19
20
..........Not 21!)
22
23
24
25

Let us know how that goes.
SiriusHardware is online now  
Old 29th Jan 2021, 12:46 am   #318
ScottishColin
Octode
 
Join Date: May 2012
Location: Perth, Scotland
Posts: 1,802
Default Re: Non-working Commodore PET 3016

Ok. I'll get on with those measurements in the morning.

As a matter of interest are these tests part of a process of elimination, or do you suspect we might find something? Just curious.
ScottishColin is online now  
Old 29th Jan 2021, 3:35 am   #319
Mark1960
Octode
 
Join Date: Mar 2020
Location: Kitchener, Ontario, Canada
Posts: 1,294
Default Re: Non-working Commodore PET 3016

Hi Colin, as it looks like the 6502 is working when its address lines are not connected to the pcb, next step Sirius described is to try and find out if something on the board is shorting them to 0v or 5v
Mark1960 is offline  
Old 29th Jan 2021, 10:02 am   #320
SiriusHardware
Dekatron
 
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,547
Default Re: Non-working Commodore PET 3016

Indeed, also to see if there is any significant difference between identical devices UC3 / UB3 which might indicate that one is possibly faulty.
SiriusHardware is online now  
Closed Thread

Thread Tools



All times are GMT +1. The time now is 9:44 am.


All information and advice on this forum is subject to the WARNING AND DISCLAIMER located at https://www.vintage-radio.net/rules.html.
Failure to heed this warning may result in death or serious injury to yourself and/or others.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright ©2002 - 2023, Paul Stenning.