6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Mon May 13, 2024 1:44 pm

All times are UTC




Post new topic Reply to topic  [ 14 posts ] 
Author Message
PostPosted: Wed Jun 29, 2022 7:38 am 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10800
Location: England
A useful learning experience reported in the steckschwein project: Rockwell's 65C02 in PLCC has a slightly different pinout from WDC's offering.

In this case, the Rockwell parts were relabelled as WDC, and sold as WDC, which is the sort of thing we discuss often enough, as a risk when buying from marketplaces.


Last edited by BigEd on Tue Sep 20, 2022 8:23 pm, edited 1 time in total.

Top
 Profile  
Reply with quote  
PostPosted: Wed Jun 29, 2022 7:57 am 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8433
Location: Southern California
Wow! That (the difference in pinout) is a whole lot more serious than the situation with the DIPs!

_________________
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 Jun 29, 2022 7:51 pm 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8182
Location: Midwestern USA
Well, that sucks! Fortunately, it seems likely nothing else on the board was damaged.

Once again, I must remind everyone that the only safe sources for genuine WDC product are their authorized distributors. With a few exceptions, that does not include eBay sellers.

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
PostPosted: Tue Sep 20, 2022 4:13 pm 
Offline

Joined: Sun Dec 28, 2014 11:04 pm
Posts: 81
Location: Munich, Germany
BigEd wrote:
A useful learning experience reported in the steckschwein project: Rockwell's 65C02 in PLCC has a slightly different pinout from WDC's offering.

In this case, the Rockwell parts were relabelled as WDC, and sold as WDC, which is the sort of thing we discuss often enough, as a risk when buying from marketplaces.


Wow, cool, always nice to see that our site is actually being read! :-)
And yes, that one hit very hard after hours of debugging. Also, debugging is still in progress as the wrong CPU is not the only problem with the new board.. a long way indeed.


Top
 Profile  
Reply with quote  
PostPosted: Tue Sep 20, 2022 6:37 pm 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8182
Location: Midwestern USA
ArnoldLayne wrote:
BigEd wrote:
A useful learning experience reported in the steckschwein project: Rockwell's 65C02 in PLCC has a slightly different pinout from WDC's offering.

In this case, the Rockwell parts were relabelled as WDC, and sold as WDC, which is the sort of thing we discuss often enough, as a risk when buying from marketplaces.

Wow, cool, always nice to see that our site is actually being read! :-)

I went to revisit that page to refresh my memory on what happened and instead got a 404.

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
PostPosted: Tue Sep 20, 2022 6:50 pm 
Online

Joined: Sun Jun 29, 2014 5:42 am
Posts: 337
BigDumbDinosaur wrote:
I went to revisit that page to refresh my memory on what happened and instead got a 404.[/color]

https://www.steckschwein.de/post/its-a- ... emory-top/


Top
 Profile  
Reply with quote  
PostPosted: Wed Sep 21, 2022 5:40 am 
Offline

Joined: Sun Dec 28, 2014 11:04 pm
Posts: 81
Location: Munich, Germany
hoglet wrote:
BigDumbDinosaur wrote:
I went to revisit that page to refresh my memory on what happened and instead got a 404.[/color]

https://www.steckschwein.de/post/its-a- ... emory-top/


Yep, thanks. We redid our Site recently.


Top
 Profile  
Reply with quote  
PostPosted: Wed Sep 21, 2022 6:03 pm 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8182
Location: Midwestern USA
ArnoldLayne wrote:
And yes, that one hit very hard after hours of debugging. Also, debugging is still in progress as the wrong CPU is not the only problem with the new board.. a long way indeed.

That’s why the good Lord gave us logic probes, oscilloscopes and coffee (sorry, tea just doesn't cut it). :D

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
PostPosted: Wed Sep 21, 2022 6:24 pm 
Offline

Joined: Sun Dec 28, 2014 11:04 pm
Posts: 81
Location: Munich, Germany
BigDumbDinosaur wrote:
ArnoldLayne wrote:
And yes, that one hit very hard after hours of debugging. Also, debugging is still in progress as the wrong CPU is not the only problem with the new board.. a long way indeed.

That’s why the good Lord gave us logic probes, oscilloscopes and coffee (sorry, tea just doesn't cut it). :D


We got logic probes, we got oscilloscopes, we got coffee. What we (I) need is time and patience. I was really hoping for the CPU pinout to be the only problem.
Fortunately, we are already a little bit further as we discovered the /OE signal is somehow off. Which is the reason the CPU is reading garbage from the EEPROM.
/OE is generated by the CPLD, so at least this shoud be fixable without making a new board..


Top
 Profile  
Reply with quote  
PostPosted: Wed Sep 21, 2022 7:02 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10800
Location: England
(If you haven't yet looked into @hoglet's 6502 protocol decoder, I recommend you do so. For some kinds of bugs, it's just the thing.)


Top
 Profile  
Reply with quote  
PostPosted: Wed Sep 21, 2022 7:38 pm 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8182
Location: Midwestern USA
ArnoldLayne wrote:
Fortunately, we are already a little bit further as we discovered the /OE signal is somehow off. Which is the reason the CPU is reading garbage from the EEPROM.

In what way is /OE “off?” Is this a timing issue?

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
PostPosted: Thu Sep 22, 2022 7:51 am 
Offline

Joined: Sun Dec 28, 2014 11:04 pm
Posts: 81
Location: Munich, Germany
BigDumbDinosaur wrote:
ArnoldLayne wrote:
Fortunately, we are already a little bit further as we discovered the /OE signal is somehow off. Which is the reason the CPU is reading garbage from the EEPROM.

In what way is /OE “off?” Is this a timing issue?


We haven't quite pinpointed what exactly is wrong, and if /OE is the only problem (since that was my first attempt at anything in VHDL, anything could be wrong). For the time being, "timing problem" is what we are suspecting. Also, maybe a 7ns XC9572 is just too much faster than the 74HCTxxx and GAL stuff we used before.


Top
 Profile  
Reply with quote  
PostPosted: Thu Sep 22, 2022 8:06 am 
Offline

Joined: Sun Dec 28, 2014 11:04 pm
Posts: 81
Location: Munich, Germany
BigEd wrote:
(If you haven't yet looked into @hoglet's 6502 protocol decoder, I recommend you do so. For some kinds of bugs, it's just the thing.)


As it seems to support the Saleae Logic 16 Logic analyzers we use, this seems exactly what we need. Thanks for the hint!


Top
 Profile  
Reply with quote  
PostPosted: Tue Oct 25, 2022 6:59 pm 
Offline

Joined: Sun Dec 28, 2014 11:04 pm
Posts: 81
Location: Munich, Germany
BigDumbDinosaur wrote:
ArnoldLayne wrote:
Fortunately, we are already a little bit further as we discovered the /OE signal is somehow off. Which is the reason the CPU is reading garbage from the EEPROM.

In what way is /OE “off?” Is this a timing issue?


To wrap this up - we found the culprit. As a first, we listened to advice and added 74HCT245 buffers between the CPU Board components and the rest of the system...
And that's where I screwed up. The experienced viewer will notice that I tied the /CE pin for the data bus buffer to ground, having it drive the bus when r/w is high.
That's what you get for skipping the breadboarding part.


Attachments:
245.png
245.png [ 36.73 KiB | Viewed 922 times ]
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 7 guests


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: