Speed & EEPROMs

For discussing the 65xx hardware itself or electronics projects.
nyef
Posts: 235
Joined: 28 Jul 2013

Re: Speed & EEPROMs

Post by nyef »

GARTHWILSON wrote:
Oneironaut wrote:
Once you solder the 4 bent legs, the IC is pretty well affixed since it seats nice in the socket.
Here is a closeup of the operation...

viewtopic.php?f=4&t=3329
You can put the &start=__ on the end to make the desired post show up at the top, in this case viewtopic.php?f=4&t=3329&start=9 . The posts leading up to it won't show. There's a way to show the normal page but have it pre-scrolled down to the right post, but I don't know how to do it short of finding something to do a search on and using the search results, then taking out the &hilit up to the # which holds the search terms to highlight. In this case, we get viewtopic.php?f=4&t=3329&p=38423#p38423 .
Looks like the little icon to the left of the "Posted:" timestamp in the top right of the post is a direct like to the post in precisely this style.
User avatar
GARTHWILSON
Forum Moderator
Posts: 8773
Joined: 30 Aug 2002
Location: Southern California
Contact:

Re: Speed & EEPROMs

Post by GARTHWILSON »

Perfect. Thanks!
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?
User avatar
BigDumbDinosaur
Posts: 9425
Joined: 28 May 2009
Location: Midwestern USA (JB Pritzker’s dystopia)
Contact:

Re: Speed & EEPROMs

Post by BigDumbDinosaur »

Oneironaut wrote:
Once you solder the 4 bent legs, the IC is pretty well affixed since it seats nice in the socket.
Have you had any trouble with legs breaking off when you "straighten" them? They always seem to be pretty fragile.
x86?  We ain't got no x86.  We don't NEED no stinking x86!
User avatar
BigDumbDinosaur
Posts: 9425
Joined: 28 May 2009
Location: Midwestern USA (JB Pritzker’s dystopia)
Contact:

Re: Speed & EEPROMs

Post by BigDumbDinosaur »

banedon wrote:
For my next design I'm planning to use bank swapping which has the ability to specify the FROM bank and the TO bank separately when specifying READ and WRITE operations (basically for code copying).
If you are running the 65C816 none of that is necessary, as the MVN and MVP instructions will copy up to 64KB from anywhere to anywhere. You can also use MVN as a very fast block fill instruction, such as for clearing storage, initializing a bitmap, etc. Disregarding the time consumed in servicing interrupts (MVN and MVP are interruptible instructions), the '816 can copy/fill at the rate of seven clock cycles per byte, much faster than can be accomplished with conventional load/store code.
x86?  We ain't got no x86.  We don't NEED no stinking x86!
User avatar
GARTHWILSON
Forum Moderator
Posts: 8773
Joined: 30 Aug 2002
Location: Southern California
Contact:

Re: Speed & EEPROMs

Post by GARTHWILSON »

BigDumbDinosaur wrote:
Oneironaut wrote:
Once you solder the 4 bent legs, the IC is pretty well affixed since it seats nice in the socket.
Have you had any trouble with legs breaking off when you "straighten" them? They always seem to be pretty fragile.
My first effort at a 4Mx8 SRAM module was to straighten out the SOJ pins like a DIP's pins and stack them, as shown below. I was careful of course but sensed no tendency for them to break. (This one had a '138 stuck on the end.)

Image

Image

Image

The module I actually ended up with takes even less board space.
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?
User avatar
banedon
Posts: 742
Joined: 08 Sep 2013
Location: A missile silo somewhere under southern England

Re: Speed & EEPROMs

Post by banedon »

Does the wide metal strip which goes length ways over the entire stack function as the common ground?
User avatar
banedon
Posts: 742
Joined: 08 Sep 2013
Location: A missile silo somewhere under southern England

Re: Speed & EEPROMs

Post by banedon »

BigDumbDinosaur wrote:
banedon wrote:
For my next design I'm planning to use bank swapping which has the ability to specify the FROM bank and the TO bank separately when specifying READ and WRITE operations (basically for code copying).
If you are running the 65C816 none of that is necessary, as the MVN and MVP instructions will copy up to 64KB from anywhere to anywhere. You can also use MVN as a very fast block fill instruction, such as for clearing storage, initializing a bitmap, etc. Disregarding the time consumed in servicing interrupts (MVN and MVP are interruptible instructions), the '816 can copy/fill at the rate of seven clock cycles per byte, much faster than can be accomplished with conventional load/store code.
My next project is still going to be a 65C02, but the project after that will probably be a 65C816.
User avatar
GARTHWILSON
Forum Moderator
Posts: 8773
Joined: 30 Aug 2002
Location: Southern California
Contact:

Re: Speed & EEPROMs

Post by GARTHWILSON »

Quote:
Does the wide metal strip which goes length ways over the entire stack function as the common ground?
Yes, it's adhesive-backed copper ribbon I got a roll of at a swap meet many years ago, cheap, that I use to hold the ground inductance to a minimum. It's not for shielding. I also put it down the length of solder-type breadboards like this one,
RS276-170.jpg
RS276-170.jpg (31.87 KiB) Viewed 2471 times
down the middle, on the solder side, between the ICs' rows of pins, since that area is usually empty, to give them a shorter connection to ground than they would get by going out the the strip at the edge, and to give them a lower inductance in the ground connection between ICs even at opposite ends of the breadboard, if it's a kind of circuit where it would matter.
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?
User avatar
banedon
Posts: 742
Joined: 08 Sep 2013
Location: A missile silo somewhere under southern England

Re: Speed & EEPROMs

Post by banedon »

Oneironaut wrote:
Once you solder the 4 bent legs, the IC is pretty well affixed since it seats nice in the socket.
Here is a closeup of the operation...

viewtopic.php?f=4&t=3329

Brad

banedon wrote:
Looking now :).

Brad, how do you normally keep the IC in place? A dab of hot glue? Blutack? (:D)
Cool - many thanks. The one I'm doing at the moment is going to need to be pin compatible with the HY62256 so achoring that particular one can't be done that way easily (the pins don't align for the most part). This isud eot needing to into my exsting project, but future ones can obviosuly be put in the way you say.
It does look a bit fiddly, though. Mostly due to how small the ICs are.
User avatar
banedon
Posts: 742
Joined: 08 Sep 2013
Location: A missile silo somewhere under southern England

Re: Speed & EEPROMs

Post by banedon »

GARTHWILSON wrote:
Quote:
Does the wide metal strip which goes length ways over the entire stack function as the common ground?
Yes, it's adhesive-backed copper ribbon I got a roll of at a swap meet many years ago, cheap, that I use to hold the ground inductance to a minimum. It's not for shielding. I also put it down the length of solder-type breadboards like this one,
6502.org wrote:
Image no longer available: http://demandware.edgesuite.net/sits_pod26/dw/image/v2/AASR_PRD/on/demandware.static/Sites-radioshack-Site/Sites-master-catalog/default/v1425184152678/images/02760170_00.jpg?sw=350&sh=350&sm=fit
down the middle, on the solder side, between the ICs' rows of pins, since that area is usually empty, to give them a shorter connection to ground than they would get by going out the the strip at the edge, and to give them a lower inductance in the ground connection between ICs even at opposite ends of the breadboard, if it's a kind of circuit where it would matter.
I thought it might be something like that (rather than for shielding) - definitely a good idea. I'll have to have a mooch around Farnell or Mouser to see if they have any.
User avatar
ttlworks
Posts: 1464
Joined: 09 Nov 2012
Contact:

Re: Speed & EEPROMs

Post by ttlworks »

Sorry for unexpectedly bumping in: I just noticed an old posting about PHI2 and WDC parts
when following Jeff's link in the Newbie's section of the forum:
BigDumbDinosaur wrote:
In other words, WDC does not recommend the use of PHIO1 and PHIO2 in new designs.
You should also consider the fact that PHI1O and PHI2O lag Ø2 by an amount that is not specified.
To be more precisely:

In the datasheets of most of the 6502 manufacturers, bus timing is specified relative to PHI20,
the PHI2 clock output of the CPU.

Maybe the delay from PHI0I to PHI1O and PHI2 is mentioned, maybe not...
For instance, the Rockwell R65C02 datasheet, page 12:
http://archive.6502.org/datasheets/rock ... essors.pdf
r65C02_bustiming.png
;---

Now to take a look at a W65C02 datasheet from WDC, year 2000, page 25:
http://archive.6502.org/datasheets/wdc_ ... r_2000.pdf
In this datasheet, the bus timing is relative to "PHI0I", the clock input of the CPU,
which went renamed to PHI2 by WDC somehow...
w65C02_bustiming.png
BTW: the datasheet from 2000 says max. 22ns propagation delay from clock input to clock outputs,
in the W65C02S datasheet from 2013 this little remark about the delay is missing on page 26.
http://archive.6502.org/datasheets/wdc_ ... 7_2013.pdf

At 20MHz, 22ns would be nearly half a clock cycle.

;---

Conclusion:

For non_WDC CPUs, use the PHI2O output.
For WDC CPUs, you better stick with the clock input to avoid trouble.

Depending on the chip manufacturer, "PHI2" ain't always 'PHI2'.
dwight
Posts: 213
Joined: 08 Jun 2004

Re: Speed & EEPROMs

Post by dwight »

I just stumbled on this thread. I'm not sure you fully understand the
concept of a starred ground.
It will not speed things up. It is intended to isolate ground currents.
In digital, you need to keep grounds clumped together, not isolate
them.
Dwight
User avatar
BigEd
Posts: 11463
Joined: 11 Dec 2008
Location: England
Contact:

Re: Speed & EEPROMs

Post by BigEd »

Could you add a little quoted text Dwight? I have no idea whose post or which statement you're addressing. Thanks!
Tor
Posts: 597
Joined: 10 Apr 2011
Location: Norway/Japan

Re: Speed & EEPROMs

Post by Tor »

I think Dwight talks about this sentence (see below) from the first post in the thread:
Quote:
To help address the speed issue, I'll be using a star ground plane in my next project [..]
And yes, I don't see how a star ground can help with speed issues either..
dwight
Posts: 213
Joined: 08 Jun 2004

Re: Speed & EEPROMs

Post by dwight »

BigEd wrote:
Could you add a little quoted text Dwight? I have no idea whose post or which statement you're addressing. Thanks!
Sorry, it was from the first post. I hadn't noticed how far things had gone through several
pages.
I was noticing the soldering on the SOIC part earlier.
I attach a wire to each pin and then use hot glue as a strain relief.
I find that I need to put a code on each wire with a point sharpie.
A narrow band for 0 and wide for a one, to make a binary number.
I'm using a 28C64.
The next will be a PC board if I can figure out KiCad. The beginner help
could use a little help.
Dwight
Post Reply