6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Thu Mar 28, 2024 2:08 pm

All times are UTC




Post new topic Reply to topic  [ 52 posts ]  Go to page Previous  1, 2, 3, 4  Next
Author Message
PostPosted: Sun Nov 06, 2016 11:38 pm 
Offline

Joined: Thu Mar 10, 2016 4:33 am
Posts: 169
I just checked and it looks like SPI-10 would be sufficient to connect the popular ENC28J60 SPI ethernet controller, so for systems with enough RAM and software this could be a useful addition.

http://ww1.microchip.com/downloads/en/DeviceDoc/39662e.pdf


Top
 Profile  
Reply with quote  
PostPosted: Thu Nov 17, 2016 8:19 am 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8412
Location: Southern California
I have my first run of SPI-10 boards made, the revision per the final spec (two posts up) of the flash memory module for W25X40CL, 25VF016, 25VF032, 26VF032, 25VF064, 26VF064, CY15B104Q, or any other SPI flash ICs in narrow or wide SO-8 packages with the same pinout. (The 32's are four megabytes, and the 64's are eight.)

Here in the picture are:
  • upper-left corner: the dual-row socket, stood up on end (neither keying position blocked yet)
  • center-left: bare board, top
  • next to the right of it: a completed assembly, bottom side (showing 1206-size 0.1µF bypass capacitor)
  • further to the right: two completed assemblies, top side, with labeling area still blank, one with and one without the shunt on the 90° 2-pin header for write-protect
  • top center: CF (Compact Flash) card for size comparison
  • bottom center: SD card for size comparison
Attachment:
25VFrevBcompare.jpg
25VFrevBcompare.jpg [ 63.89 KiB | Viewed 5088 times ]

Granted, 4MB or 8MB is very little storage compared to what comes in CF of SD cards; but it's a lot for a 6502 system where you won't be storing and watching videos or doing photo editing and probably won't even be listening to music on it; but the home-made modules are much easier to work with in terms of writing your own software drivers, and also a lot cheaper than the standard consumer-electronics memory cards. You can make your own file system, or use them with no file system at all (as in my first use of one, for recording audio, in a loop). They are not as small as microSD.

For my own use, I might coat these in epoxy again for protection. Or maybe not.

Here's a screenshot from the gerber viewer. It does not show the holes, but does show the copper layers, soldermask, etc..
Attachment:
25VF032revAsmall.gif
25VF032revAsmall.gif [ 17.7 KiB | Viewed 5088 times ]

and here's the schematic. The socket is viewed from the back, not looking into the holes. It's like looking into the pins it plugs onto.
Attachment:
WM-2schem.gif
WM-2schem.gif [ 42.99 KiB | Viewed 5060 times ]

I got 264 boards made at a super low price, obviously far more than I have any personal use for. I'll make them available to others. The price of the bare board will be well below that of the IC, probably even including shipping if it's to U.S. addresses. As for selling pre-assembled units: The amount of assembly time required is fine for small quantities for personal use, but if I assemble them for others, I'd probably need to charge more than they will want to pay; so I might just sell the bare boards, with an exception for the few customers who can't see well enough to assemble one, or have other limitations. I still need to figure out the details, which I plan to apply to more future boards as well. Input invited.

I want to re-visit the consortium idea in another topic, where various ones of us cooperate to make compatible modules to facilitate computer-building for the group.

_________________
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, 2016 6:57 pm 
Offline

Joined: Wed Jan 08, 2014 3:31 pm
Posts: 556
If I understand this it is basically a breakout board that adapts a SOIC-8 to your socket spec. It includes a decoupling cap and possibly a 3.3 volt regulator?

But bit banging SPI is the host processors job.


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

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8412
Location: Southern California
Yes, it adapts the flash chip to the socket spec, and can be swapped out in a second or two.

I just added the schematic to my post above. There's no regulator on the module. This one is for 3.3V SPI-10. One of the holes in the socket (when assembled) is plugged to keep it from getting plugged into a 5V SPI-10 port. The spec (above, four posts up) shows either pin 3 or pin 4 of the port cut or removed on the master, for 5V or 3.3V, respectively. One of the goals was to keep the modules really simple, in order to reduce the size, cost, and assembly time so it's practical to build up many different modules for different uses; so rather than burdening every single module with voltage-translation circuitry for the signal lines, the master has separate SPI-10 ports for 3.3V and 5V, and the master has the voltage-translation circuitry if any is needed. If you only expect to use one voltage, there's no need to have ports in both voltages; and if the voltage you want (like 3.3V for the flashes which are not available in 5V and the master works at the same voltage, there's no need for voltage-translation circuitry at all.

Bit-banging is one way to get the SPI-10 signals, and it is very easy to do with any I/O port (unlike trying to bit-bang RS-232 which has strict timing requirements). There's also Daryl's 65SPI IC that he sells which is a 6502-bus-compatible IC that does all the shifting and so on internally, relieving the processor of that burden and increasing the communication speed. Some people will do the SPI signaling in programmable logic, or by using a microcontroller. So far, with the 6502, I myself have only done it by bit-banging.

_________________
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: Fri Nov 18, 2016 12:10 pm 
Offline

Joined: Wed Jan 08, 2014 3:31 pm
Posts: 556
Thanks, it will be interesting to see what you do with it.


Top
 Profile  
Reply with quote  
PostPosted: Mon Nov 21, 2016 2:13 am 
Offline

Joined: Tue Feb 24, 2015 11:07 pm
Posts: 81
GARTHWILSON wrote:
..but the home-made modules are much easier to work with in terms of writing your own software drivers.

Definitely. Reading the data sheet for an SPI flash chip is much easier than digesting the SD card specification. And then there's the worry about SPI mode going away for SD cards.

GARTHWILSON wrote:
I got 264 boards made at a super low price, obviously far more than I have any personal use for. I'll make them available to others. The price of the bare board will be well below that of the IC, probably even including shipping if it's to U.S. addresses. As for selling pre-assembled units: The amount of assembly time required is fine for small quantities for personal use, but if I assemble them for others, I'd probably need to charge more than they will want to pay; so I might just sell the bare boards, with an exception for the few customers who can't see well enough to assemble one, or have other limitations. I still need to figure out the details, which I plan to apply to more future boards as well. Input invited.

Would it be economical to include the parts along with the board, i.e. a kit rather than a finished product? I'd like a few for sure.


Top
 Profile  
Reply with quote  
PostPosted: Mon Nov 21, 2016 11:22 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8412
Location: Southern California
unclouded wrote:
GARTHWILSON wrote:

I got 264 boards made at a super low price, obviously far more than I have any personal use for. I'll make them available to others. The price of the bare board will be well below that of the IC, probably even including shipping if it's to U.S. addresses. As for selling pre-assembled units: The amount of assembly time required is fine for small quantities for personal use, but if I assemble them for others, I'd probably need to charge more than they will want to pay; so I might just sell the bare boards, with an exception for the few customers who can't see well enough to assemble one, or have other limitations. I still need to figure out the details, which I plan to apply to more future boards as well. Input invited.

Would it be economical to include the parts along with the board, i.e. a kit rather than a finished product? I'd like a few for sure.

That's a consideration, and depending on how much I decide to invest by buying in quantity, I may be able to get the parts (mainly the connector and the IC) far cheaper than an individual just buying three or five. I've already used the 25VF032, so since I already have my software written for that, I bought 15 for myself, even though they're out of production now since the 26VF... line has taken over and the software to operate them would be slightly different. So far, I'm aware of the 4MB and 8MB ones, and I suppose denser ones are coming. Which ones are you interested in? I can supply the bare boards right now of course.

I'll look into getting a quantity of 10-position sockets. They'll be used for other SPI-10 modules anyway. So far for my own use however, I've just been cutting sections off longer socket strips and filing the ends down smooth and square, which again is fine for just a few for personal use but has been too labor-intensive to do in quantity.

_________________
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 24, 2016 5:36 am 
Offline

Joined: Tue Feb 24, 2015 11:07 pm
Posts: 81
GARTHWILSON wrote:
unclouded wrote:
Would it be economical to include the parts along with the board, i.e. a kit rather than a finished product? I'd like a few for sure.

That's a consideration, and depending on how much I decide to invest by buying in quantity, I may be able to get the parts (mainly the connector and the IC) far cheaper than an individual just buying three or five. I've already used the 25VF032, so since I already have my software written for that, I bought 15 for myself, even though they're out of production now since the 26VF... line has taken over and the software to operate them would be slightly different. So far, I'm aware of the 4MB and 8MB ones, and I suppose denser ones are coming. Which ones are you interested in? I can supply the bare boards right now of course.

I suppose the male header could be left out since (unless they can be sourced in 2-way then) it would be labour to cut two positions off from a longer length. The jumper would be nice though. I have much more in the way of R/A 40-way male headers on hand than jumper blocks. I'd be interested in whatever's going for the chips. If there's 6502 code to drive them then that would be awesome, otherwise a data sheet will be fine since they can't be that different from other SPI flash memories that I've integrated with.

GARTHWILSON wrote:
I'll look into getting a quantity of 10-position sockets. They'll be used for other SPI-10 modules anyway. So far for my own use however, I've just been cutting sections off longer socket strips and filing the ends down smooth and square, which again is fine for just a few for personal use but has been too labor-intensive to do in quantity.

If the price difference is negligible then would keyed sockets be preferable?

When you're cutting and filing, do you always lose one pin position to the cut? How do you make it square? I always end up with a bow in the end no matter how carefully I sand the end.


Top
 Profile  
Reply with quote  
PostPosted: Thu Nov 24, 2016 6:47 am 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8412
Location: Southern California
unclouded wrote:
I suppose the male header could be left out since (unless they can be sourced in 2-way then) it would be labour to cut two positions off from a longer length.

Snipping off 2 positions of a male strip and then doing a quick file job on the right end goes very quickly compared to doing the socket. You could go without it, but it's kind of like the sliding write-protect gizmo on SD cards or on 3.5" floppy discs. There's a write-protect in software too, but the hardware one is an extra protection.

Quote:
The jumper would be nice though. I have much more in the way of R/A 40-way male headers on hand than jumper blocks. I'd be interested in whatever's going for the chips. If there's 6502 code to drive them then that would be awesome, otherwise a data sheet will be fine since they can't be that different from other SPI flash memories that I've integrated with.

Again, I'm using the 25VF032 just because I got some and developed code for them before they were discontinued. You're welcome to my code (in fact, maybe I'll just post it on my website), but I imagine you'll want to use the newer, current-production 26VF... which has some small differences in how you talk to them. The PCB can handle any of the 25VF's or 26VF's.

Quote:
GARTHWILSON wrote:
I'll look into getting a quantity of 10-position sockets. They'll be used for other SPI-10 modules anyway. So far for my own use however, I've just been cutting sections off longer socket strips and filing the ends down smooth and square, which again is fine for just a few for personal use but has been too labor-intensive to do in quantity.

If the price difference is negligible then would keyed sockets be preferable?

My apologies. I have not looked into the pricing yet. I still need to do that. I'll look into types with and without the external key. I've bought directly from Samtec before. They let you do that, or at least let businesses do that. I do have a legitimate business, although it's just for fun. It pretty much pays for itself but I don't make any money at it. My job for income is separate. They know it's not possible for a distributor to stock every combination of types, of numbers and lengths of pins, plating options, etc., so they make them up when you order (if you order enough to make it worth setting up the machine). Come to think of it, I haven't checked my own stock yet! I have thousands of pin headers and sockets. With some luck, I won't have to buy any! (I estimate that I have between a quarter and a half million parts here at home in my office and garage.)

Quote:
When you're cutting and filing, do you always lose one pin position to the cut?

Yes, partly because the Dremell cut-off wheel takes away some thickness.

Quote:
How do you make it square? I always end up with a bow in the end no matter how carefully I sand the end.

I'm just careful to keep the socket perpendicular to the file, and it comes out pretty good.

Happy Thanksgiving!

_________________
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: Tue Dec 06, 2016 2:25 am 
Offline

Joined: Sat Jan 04, 2003 10:03 pm
Posts: 1706
This reminds me of PMod interfaces used on Digilent and other FPGA development boards. They use either a 6- or 12-pin configuration, arranged 1x6 or 2x6. See https://www.digilentinc.com/Pmods/Digil ... cation.pdf

I'm going to add to this an unrecognized "type 7" pinout, for running IEEE-1355 / SpaceWire serial interfaces:

Code:
1  DO  Output
2  SO  Output
3  DI  Input
4  SI  Input
5  GND
6  3V3


This allows self-clocked, yet asynchronous, peer-to-peer communications between modules. This is intended to link computers together, not slave peripherals.


Top
 Profile  
Reply with quote  
PostPosted: Tue Dec 13, 2016 6:44 pm 
Offline
User avatar

Joined: Sun Jun 30, 2013 10:26 pm
Posts: 1918
Location: Sacramento, CA, USA
Someone on a different forum told me that the designer of the USB interface died. At the funeral, they were having problems putting him in the ground, so they had to flip the coffin over, and all was well.

Thanks ... I'll show myself out ...

Mike B.


Top
 Profile  
Reply with quote  
PostPosted: Tue Dec 13, 2016 6:45 pm 
Offline
User avatar

Joined: Tue Nov 16, 2010 8:00 am
Posts: 2353
Location: Gouda, The Netherlands
I always have to flip the USB connector over twice before it fits.


Top
 Profile  
Reply with quote  
PostPosted: Tue Dec 13, 2016 7:21 pm 
Offline
User avatar

Joined: Fri Dec 11, 2009 3:50 pm
Posts: 3327
Location: Ontario, Canada
Arlet wrote:
I always have to flip the USB connector over twice before it fits.
Same here. :roll: Glad I'm not the only one!

_________________
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: Tue Dec 13, 2016 7:36 pm 
Offline

Joined: Tue Feb 24, 2015 11:07 pm
Posts: 81
Dr Jefyll wrote:
Arlet wrote:
I always have to flip the USB connector over twice before it fits.
Same here. :roll: Glad I'm not the only one!

I look for the seam in the shroud. It should face towards the centre of the planet.


Top
 Profile  
Reply with quote  
PostPosted: Tue Dec 13, 2016 9:15 pm 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8114
Location: Midwestern USA
barrym95838 wrote:
...so they had to flip the coffin over, and all was well.

And after that little wisecrack he's spinning in his grave. :D

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


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 6 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: