6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Thu Apr 18, 2024 7:57 am

All times are UTC




Post new topic Reply to topic  [ 180 posts ]  Go to page Previous  1 ... 7, 8, 9, 10, 11, 12  Next
Author Message
PostPosted: Wed Nov 16, 2022 8:19 pm 
Offline
User avatar

Joined: Tue Mar 05, 2013 4:31 am
Posts: 1373
Just to chime in... attached is a pic of an old CPU only (2-layer) PCB I did over a decade ago. The actual design dates back to the 80's... but it's quite similar to what you have. 7400, 7430, 74138, RAM, ROM, CPU. The layout is compact and there's a 30-pin dual header for attaching I/O.

Attachment:
65C02_CPU.jpeg
65C02_CPU.jpeg [ 117.69 KiB | Viewed 3938 times ]


I built up 3 of these with an I/O board that uses a 65C22 and 65C51... I've run them at 4MHz without issue (with a Rockwell R65C51P4). I've also used the same Alliance memory on this board along with both 74HCT and 74HC logic chips without issues. The full design is on my github.

It's still quite odd that you're having such problems. The design is almost identical and I've never had a single issue... go figure.

_________________
Regards, KM
https://github.com/floobydust


Top
 Profile  
Reply with quote  
PostPosted: Wed Nov 16, 2022 8:24 pm 
Offline

Joined: Sat Apr 30, 2022 7:13 pm
Posts: 159
Location: Devon. UK
floobydust wrote:
Just to chime in... attached is a pic of an old CPU only (2-layer) PCB I did over a decade ago.
They used to say about Star Trek repeats "Stories about the future dragged up from the past". My project is the mirror image of that "Stories from the past, dragged into the future" :-)
floobydust wrote:
It's still quite odd that you're having such problems. The design is almost identical and I've never had a single issue... go figure.

Well, since the old board no longer exists (I scavanged (most) of the parts from it for the new one), technically I'm not having any problems at the moment. But we shall see...


Top
 Profile  
Reply with quote  
PostPosted: Thu Nov 17, 2022 6:55 pm 
Offline

Joined: Sat Apr 30, 2022 7:13 pm
Posts: 159
Location: Devon. UK
Quick question.

I'm just finishing the glue logic wiring. On my schematic I have drawn the CS1 pins of my VIAs (and CS0 of my ACIAs) as pulled high to 5V - no resistor. Is this okay or should I really connect ALL pulled high signals via resistors? Do they have their own current limiting resistors internally?

Thanks!


Top
 Profile  
Reply with quote  
PostPosted: Thu Nov 17, 2022 7:18 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8422
Location: Southern California
adrianhudson wrote:
I'm just finishing the glue logic wiring. On my schematic I have drawn the CS1 pins of my VIAs (and CS0 of my ACIAs) as pulled high to 5V - no resistor. Is this okay or should I really connect ALL pulled high signals via resistors? Do they have their own current limiting resistors internally?

The reason to use a resistor in the pull-up of an unused input is so if you change your mind later and want to connect it to a signal, you don't have to cut the connection to Vcc, something which can be difficult on PCBs, especially if it's on an internal layer. Otherwise there is no harm in connecting it directly to Vcc.

_________________
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?


Top
 Profile  
Reply with quote  
PostPosted: Thu Nov 17, 2022 10:13 pm 
Offline

Joined: Sat Apr 30, 2022 7:13 pm
Posts: 159
Location: Devon. UK
Thanks Garth. Did you mean "unused" I was talking about CS0 on the 65C51 or CS1 on the 65C22. Not so much unused as pulled to logic 1. I am selecting thise devices with just CS1B and CS2B respectively.


Top
 Profile  
Reply with quote  
PostPosted: Thu Nov 17, 2022 10:37 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8422
Location: Southern California
I meant unused in the sense that you're not connecting it to an output from something else. The ACIA or VIA definitely takes the logic state into account to determine when it's being selected and de-selected though. The fact that these have more than one select input allows you to simplify your address-decode logic.

_________________
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?


Top
 Profile  
Reply with quote  
PostPosted: Thu Nov 17, 2022 11:04 pm 
Offline

Joined: Sat Apr 30, 2022 7:13 pm
Posts: 159
Location: Devon. UK
Thank you Garth


Top
 Profile  
Reply with quote  
PostPosted: Tue Nov 22, 2022 8:50 pm 
Offline

Joined: Sat Apr 30, 2022 7:13 pm
Posts: 159
Location: Devon. UK
I have completed my rebuild.

It works.

Attachment:
IMG_20221123_072315 (Large).jpg
IMG_20221123_072315 (Large).jpg [ 412.77 KiB | Viewed 3783 times ]


I don't (yet) have theory why it works - or rather, why the old one didn't.

The old one worked with a Rockwell 65C02 so its wiring was correct as per the schematic. It did'nt work with the WDC 65C02.

This one works and is steady as a rock. It has run a memory test program for 48 hours now.

I will think about it some more and post my thoughts soon.
EDIT: I may have found the issue. I made one change in the new build. I replaced the Alliance AS 6C62256 RAM chip with a Samsung KM62256CLP-7L which as far as I can see is pretty much identical in spec. This is the one that has just undergone 48 hrs testing.If I replace it with the Alliance chip, I get errors. I have two other Alliance chips, all the same - 6C62256 - various levels of crash.

I can't determine if it is timing problems or all three Alliance chips are damaged. I will make a ram tester with some breadboard and an Arduino when I get a moment.

Thank you once again for all the help and thoughts from everyone.


Last edited by adrianhudson on Wed Nov 23, 2022 7:41 am, edited 1 time in total.

Top
 Profile  
Reply with quote  
PostPosted: Wed Nov 23, 2022 1:09 am 
Offline

Joined: Wed Nov 11, 2020 10:42 pm
Posts: 96
Location: Kelowna Canada
Glad to hear that you are successful. Also interested that you have had the same experience with the Alliance chips that I did in my reply on Nov7. It would be interesting to understand exactly why this is the case as you have 3 and I have 2 that would make us very skeptical of where and how to use them in future designs. It is also interesting that floobydust and plasmo have not noted these issues in their experience. My hardware skills are limited so I don't expect to solve this on my own but will follow any future discussion with interest.


Top
 Profile  
Reply with quote  
PostPosted: Wed Nov 23, 2022 3:11 am 
Offline

Joined: Fri Mar 18, 2022 6:33 pm
Posts: 427
Hi Adrian,

I'd love to see the wire wrap side of your completed working board!

_________________
"The key is not to let the hardware sense any fear." - Radical Brad


Top
 Profile  
Reply with quote  
PostPosted: Wed Nov 23, 2022 3:11 am 
Offline
User avatar

Joined: Fri Dec 11, 2009 3:50 pm
Posts: 3342
Location: Ontario, Canada
adrianhudson wrote:
I can't determine if it is timing problems or all three Alliance chips are damaged.
It's perhaps neither a timing problem nor damaged chips. Instead, we might be circling back to the question of whether or not the RAM's output levels sufficiently exceed their spec (which promises only TTL levels). If not, then the non-TTL-compatible WDC CPU can't be expected to operate reliably.

You didn't mention whether the Alliance chips work properly when the TTL-compatible Rockwell CPU is in use... Might be interesting to try that if you haven't already. Just a suggestion...

-- Jeff

_________________
In 1988 my 65C02 got six new registers and 44 new full-speed instructions!
https://laughtonelectronics.com/Arcana/ ... mmary.html


Top
 Profile  
Reply with quote  
PostPosted: Wed Nov 23, 2022 4:50 am 
Offline
User avatar

Joined: Fri Dec 11, 2009 3:50 pm
Posts: 3342
Location: Ontario, Canada
adrianhudson wrote:
I will make a ram tester with some breadboard and an Arduino when I get a moment.
Hmmm... So, will the tester be satisfied with mere TTL logic levels from the RAM? Or will it, like a WDC CPU, require something beyond TTL spec? Seems like a pertinent question, I'd say.

It would be interesting if the tester included a socket for a '245 transceiver on the RAM's data bus. Then you'd have the option to put either an 'HC245 or an 'HCT245 in there, and compare results. (You might find this idea preferable to swapping WDC vs Rockwell CPU's in your SBC... a process with which you understandably may've grown frustrated!)

Alternatively, you could 'scope the RAM's output levels while the test runs (presumably at fairly low frequency). I expect you'd get much cleaner traces than those taken from the SBC.

-- Jeff

_________________
In 1988 my 65C02 got six new registers and 44 new full-speed instructions!
https://laughtonelectronics.com/Arcana/ ... mmary.html


Top
 Profile  
Reply with quote  
PostPosted: Wed Nov 23, 2022 5:46 am 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8422
Location: Southern California
Adding to Jeff's post: See his post at viewtopic.php?f=4&t=6594 which graphically shows the differences in signal voltage thresholds, and his subsequent posts at viewtopic.php?p=83609#p83609 and viewtopic.php?p=83654#p83654 .

_________________
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?


Top
 Profile  
Reply with quote  
PostPosted: Wed Nov 23, 2022 7:44 am 
Offline

Joined: Sat Apr 30, 2022 7:13 pm
Posts: 159
Location: Devon. UK
Dr Jefyll wrote:
adrianhudson wrote:
I can't determine if it is timing problems or all three Alliance chips are damaged.
It's perhaps neither a timing problem nor damaged chips. Instead, we might be circling back to the question of whether or not the RAM's output levels sufficiently exceed their spec (which promises only TTL levels). If not, then the non-TTL-compatible WDC CPU can't be expected to operate reliably.

You didn't mention whether the Alliance chips work properly when the TTL-compatible Rockwell CPU is in use... Might be interesting to try that if you haven't already. Just a suggestion...

-- Jeff

Sorry Jeff, my barin [edit: whats's a barin?? ] brain wasn't working. I was thinking about "signal levels" and all your help when I posted that above and "typed timing problems"! Unlikely to be timing problems at 1mHz.


Last edited by adrianhudson on Wed Nov 23, 2022 5:47 pm, edited 2 times in total.

Top
 Profile  
Reply with quote  
PostPosted: Wed Nov 23, 2022 7:46 am 
Offline

Joined: Sat Apr 30, 2022 7:13 pm
Posts: 159
Location: Devon. UK
Paganini wrote:
Hi Adrian,

I'd love to see the wire wrap side of your completed working board!

Your wish is my command:
Attachment:
IMG_20221123_072508 (Large).jpg
IMG_20221123_072508 (Large).jpg [ 680.36 KiB | Viewed 3785 times ]


Still have a few wires on the output of VIA2 to do but pretty well complete


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 180 posts ]  Go to page Previous  1 ... 7, 8, 9, 10, 11, 12  Next

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: