6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sat Nov 23, 2024 2:44 pm

All times are UTC




Post new topic Reply to topic  [ 70 posts ]  Go to page Previous  1, 2, 3, 4, 5
Author Message
PostPosted: Sun Aug 29, 2021 3:42 am 
Offline

Joined: Wed Jun 17, 2020 10:51 am
Posts: 60
I had a DS1813 working for about 2 months in my SBC and suddenly it died - maybe something similar happened here?

_________________
No simulation survives contact with reality!


Top
 Profile  
Reply with quote  
PostPosted: Sun Aug 29, 2021 10:57 pm 
Offline
User avatar

Joined: Fri Dec 11, 2009 3:50 pm
Posts: 3367
Location: Ontario, Canada
Individual_Solid wrote:
It all works. [...] this revision has fully come to life.
Wow -- really? I'm glad, of course. But you seemed to have some pretty strange glitches on SYNC. These could perhaps be an artifact of your 'scope setup, and have no functional implications. But unless these can be explained I'm left with a nagging feeling that all is not yet well. :|

-- Jeff


Attachments:
DS1Z_QuickPrint4 .png
DS1Z_QuickPrint4 .png [ 8.56 KiB | Viewed 795 times ]
DS1Z_QuickPrint5.png
DS1Z_QuickPrint5.png [ 5.36 KiB | Viewed 795 times ]

_________________
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: Mon Aug 30, 2021 12:49 am 
Offline
User avatar

Joined: Fri Jun 25, 2021 5:38 am
Posts: 72
Location: Portland, Oregon, USA
Dr Jefyll wrote:
Individual_Solid wrote:
It all works. [...] this revision has fully come to life.
Wow -- really? I'm glad, of course. But you seemed to have some pretty strange glitches on SYNC. These could perhaps be an artifact of your 'scope setup, and have no functional implications. But unless these can be eliminated or at least explained I'm left with a nagging feeling that all is not yet well. :|

-- Jeff


I think that weirdness (at least, in the second screenshot you posted) comes from the CPU starting up and then being pulled back into RESET.

I just took some shots of a trace with the now functioning RESET circuit.
Attachment:
DS1Z_QuickPrint8.png
DS1Z_QuickPrint8.png [ 50.09 KiB | Viewed 786 times ]

Attachment:
DS1Z_QuickPrint7.png
DS1Z_QuickPrint7.png [ 48.45 KiB | Viewed 786 times ]


This is showing mostly NOPs with an occasional register decrement. This is a little noisy, but I'm definitely attaching the probe grounds a little far from the signal source. Do you still see something I should be worried about? I can do a trace from power-on again, if that's worth while.

_________________
https://github.com/Individual-Solid/


Top
 Profile  
Reply with quote  
PostPosted: Mon Aug 30, 2021 12:54 am 
Offline
User avatar

Joined: Fri Dec 11, 2009 3:50 pm
Posts: 3367
Location: Ontario, Canada
No, I don't notice any problem with these latest traces. SYNC should go high for one entire cycle at a time -- never a fraction of one cycle. And yet, fractional-cycle glitches is what the previous traces seemed to show.

-- 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: Mon Aug 30, 2021 1:01 am 
Offline
User avatar

Joined: Fri Jun 25, 2021 5:38 am
Posts: 72
Location: Portland, Oregon, USA
Dr Jefyll wrote:
No, I don't notice any problem with these latest traces. SYNC should go high for one entire cycle at a time -- never a fraction of one cycle. And yet, fractional-cycle glitches is what the previous traces seemed to show.


Thanks for double checking for me! I'm getting pretty quick at setting up these experiments on the scope!

_________________
https://github.com/Individual-Solid/


Top
 Profile  
Reply with quote  
PostPosted: Mon Aug 30, 2021 4:46 am 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8509
Location: Midwestern USA
Individual_Solid wrote:
Dr Jefyll wrote:
No, I don't notice any problem with these latest traces. SYNC should go high for one entire cycle at a time -- never a fraction of one cycle. And yet, fractional-cycle glitches is what the previous traces seemed to show.

Thanks for double checking for me! I'm getting pretty quick at setting up these experiments on the scope!

Just for grins, try inserting some series resistance into the clock circuit to see if you can dampen some of the over-/undershoot in the signal. The degree of over-/undershoot shouldn't be detrimental to your application, but dampening it may also reduce noise in other places.

If you try this, place the resistor as close to the clock source as you can. I'd start at 100 ohms. BTW, you're likely to see better results with a metal film resistor than a carbon one.

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


Top
 Profile  
Reply with quote  
PostPosted: Thu Sep 02, 2021 1:49 am 
Offline
User avatar

Joined: Fri Jun 25, 2021 5:38 am
Posts: 72
Location: Portland, Oregon, USA
After a lot of thinking, I am pretty convinced I am going to switch the expansion connector from 1x40 to 2x25. I wrote up the new bus layout over here: https://github.com/Individual-Solid/f1m ... /s50Bus.md. A majority of the differences from the 1x40 pinout are...more ground lines! And only two unassigned signal lines, since I decided to put SYNC/RDY/ML/BE all on the bus.

It means a lot of redesign, but much easier to keep the board down to 102x102mm and the connections are mechanically much more secure than the 1x40.

I'm interested in adding clock stretching circuit where an expansion card could request the CPU get a slow clock (while the VIAs and any expansions would still have PHI2 as their main system clock).

Any bus feedback? Otherwise, I'll be back with more drawings soon!

_________________
https://github.com/Individual-Solid/


Top
 Profile  
Reply with quote  
PostPosted: Thu Sep 09, 2021 12:35 am 
Offline
User avatar

Joined: Fri Jun 25, 2021 5:38 am
Posts: 72
Location: Portland, Oregon, USA
Realizing I don't have a good idea of how to draw a schematic in KiCad that uses either a 30 or 32 pin storage device. I appreciate the pinout diagram that kernelthread posted, and I have an idea of how I'd lay out the traces if I was just doing a PCB layout, but I'd like to actually capture and document the circuit. I'll probably use a hierarchical page off of the main page that breaks out to show BOTH rom devices, set up the jumpers, and then overlap them on the pcb? I'm just not sure. I'll look around for some tutorials on KiCad that discuss something like this.

_________________
https://github.com/Individual-Solid/


Top
 Profile  
Reply with quote  
PostPosted: Thu Sep 09, 2021 9:40 pm 
Offline

Joined: Thu Mar 10, 2016 4:33 am
Posts: 181
Individual_Solid wrote:
Realizing I don't have a good idea of how to draw a schematic in KiCad that uses either a 30 or 32 pin storage device. I appreciate the pinout diagram that kernelthread posted, and I have an idea of how I'd lay out the traces if I was just doing a PCB layout, but I'd like to actually capture and document the circuit. I'll probably use a hierarchical page off of the main page that breaks out to show BOTH rom devices, set up the jumpers, and then overlap them on the pcb? I'm just not sure. I'll look around for some tutorials on KiCad that discuss something like this.


The simplest option is to just use the 32-pin symbol. If you want it to be better documented than that, you could create your own symbol and label the pins accordingly. It would mostly look like the 32-pin device with some pins with double labels. I did this for a socket that could accept either a 65C02 or 65C816, which is a bit more complex than your memory case. I labelled pins that differed in function with labels like NC_VPB (pin 2), with the 65C02 label on the left and 65C816 on the right. Another example is pin 43 (PLCC) PHI2_VDA. I used 0 ohm resistors (or pull-ups in some cases) to connect the correct signals for each option, but jumpers are another way to do it.


Top
 Profile  
Reply with quote  
PostPosted: Tue Sep 14, 2021 12:20 pm 
Offline
User avatar

Joined: Tue Oct 25, 2016 8:56 pm
Posts: 362
An aside, and apologies for reopening the topic (I don't check this forum very often these days: lack of time :( ) but I noticed you're using the 6502-kicad-library I made a few years ago in your schematic, which makes me happy. I hope you found it useful, and best of luck with the project, it is looking good!

_________________
Want to design a PCB for your project? I strongly recommend KiCad. Its free, its multiplatform, and its easy to learn!
Also, I maintain KiCad libraries of Retro Computing and Arduino components you might find useful.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 70 posts ]  Go to page Previous  1, 2, 3, 4, 5

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 29 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: