Simple Electon MMC Interface

discuss both original and modern hardware for the bbc micro/electron
User avatar
flaxcottage
Posts: 5721
Joined: Thu Dec 13, 2012 8:46 pm
Location: Derbyshire
Contact:

Re: Simple Electon MMC Interface

Post by flaxcottage »

=D> =D> =D>
- John

Check out the Educational Software Archive at www.flaxcottage.com
User avatar
davidb
Posts: 3398
Joined: Sun Nov 11, 2007 10:11 pm
Contact:

Re: Simple Electon MMC Interface

Post by davidb »

That looks very useful. I'm sure there are a few people with Electrons but no Plus 1 expansions who would be interested in getting one of those. :)

With four spare I/O pins, surely you could connect directly to the SD card, or is level shifting needed?
Ramtop
Posts: 388
Joined: Tue Oct 23, 2018 1:40 pm
Contact:

Re: Simple Electon MMC Interface

Post by Ramtop »

An improved and more polished design with a few added features I something I'd like to do, this one was really just designed as a way for me to learn about the Elk and it is pretty rough in all honesty. It has a couple of missing traces that I only noticed after the PCBs arrived :oops:

The SD card could be direct attached, the CPLD is an XC9536XL so the I/O is 3.3v. But this was really just a quick hack with the parts I had to hand, which happened to include a level-shifted MicroSD board.
Gary
User avatar
daveejhitchins
Posts: 7886
Joined: Wed Jun 13, 2012 6:23 pm
Location: Newton Aycliffe, County Durham
Contact:

Re: Simple Electon MMC Interface

Post by daveejhitchins »

Ramtop wrote: Mon Nov 12, 2018 4:52 pmYes, indeedy, it does :D
=D> =D> =D> =D>

Dave H :D
Available: ARA II : ARA III-JR/PR : ABR : AP5 : AP6 : ABE : ATI : MGC : Plus 1 Support ROM : Plus 3 2nd DA : Prime's Plus 3 ROM/RAM : Pegasus 400 : Prime's MRB : ARCIN32 : Cross-32
User avatar
myelin
Posts: 1068
Joined: Tue Apr 26, 2016 10:17 pm
Location: Mountain View, CA, USA
Contact:

Re: Simple Electon MMC Interface

Post by myelin »

Ramtop wrote: Mon Nov 12, 2018 4:52 pm After acquiring my first Electron less than a month ago I set out to design a bit of hardware to bung in the back of it. Working on the old principle of walking before you run, I decided on a very simple one-socket sideways ROM card. At the weekend I got the board up and running and was pleased to be able to declare 'mission accomplished'!
Nice work! Great to see a new Electron CPLD project -- it's so rewarding to boot the machine and see everything come to life :)

Did you find a new source for the plug to connect your board to the Electron's expansion port? I bought a few old-stock ones from CJE/4D on eBay a couple of years back, but have never been able to find a modern model number for those.
Last edited by myelin on Tue Nov 13, 2018 6:40 pm, edited 1 time in total.
SW/EE from New Zealand, now in Mountain View, CA, making Beeb/Elk/Arc hardware projects for fun.
Most interesting: Arcflash, POST Box, Ultimate Electron Upgrade
Ramtop
Posts: 388
Joined: Tue Oct 23, 2018 1:40 pm
Contact:

Re: Simple Electon MMC Interface

Post by Ramtop »

I have to admit to doing a bit of a happy dance when the board fired up first time :)

Alas, no new source for connectors. I bought some cheap ones on Ebay that are intended for vertical through-hole mounting and just bent the pins inward and soldered the ends to the PCB pads. It looks ugly and probably won't stand up to more than a few tens of insertions, but for a test board it does ok. The sheer kludgery of it vaguely irritates me, though.

I've found a current 50-way socket with a right-angle through hole mounting that I'd like to use in future (CR22-50D-2.54DSA is the model) but it's out of stock everywhere and on a 16-week lead time. There's also the Sullins EBC25DREH which is sporadically available in small quantities from Digikey and may be usable as it has solder eyelets 1.57mm apart.
Gary
smokey
Posts: 24
Joined: Mon Mar 04, 2019 5:52 pm
Contact:

Re: Simple Electon MMC Interface

Post by smokey »

Is anyone going to build these to sell as i am interested in one for my electron

James
User avatar
1024MAK
Posts: 12800
Joined: Mon Apr 18, 2011 5:46 pm
Location: Looking forward to summer in Somerset, UK...
Contact:

Re: Simple Electon MMC Interface

Post by 1024MAK »

smokey wrote: Wed Mar 27, 2019 4:46 pm Is anyone going to build these to sell as i am interested in one for my electron

James
Do you mean the gadget from Ramtop?
His sales thread is here but currently he’s sold out. I don’t know if he plans to make any more.

Mark
Last edited by 1024MAK on Thu Mar 28, 2019 1:44 pm, edited 1 time in total.
Ramtop
Posts: 388
Joined: Tue Oct 23, 2018 1:40 pm
Contact:

Re: Simple Electon MMC Interface

Post by Ramtop »

smokey wrote: Wed Mar 27, 2019 4:46 pm Is anyone going to build these to sell as i am interested in one for my electron
You've missed the boat for the moment; I've built loads of these cards, but just sold the last one yesterday.

More cards will be coming, but they'll be of an improved design that isn't quite ready yet.
Gary
User avatar
DaveLecky
Posts: 554
Joined: Mon Jul 08, 2019 7:52 am
Location: Tullibody, Scotland
Contact:

Re: Simple Electon MMC Interface

Post by DaveLecky »

Hi Folks,

I’m trying to source a plug connection for the printer port of the Plus 1 for this project.

I’ve looked online and in the forum but can’t find anything.

My cables keep popping of at the worst times.

Can anyone help please.

Dave
Electron, Plus 3 and plus 1, AP6 and Home made MMFS PP SD interface
Electron Plus 1 Pres AP3/4 AP5 MGC ELKWiFi MRB
Beeb issue 7 with IFEL 16 socket Rom/Ram board
Master 128,CoPro
Master Compact
StrongA RPC,
Atom, Music 5000 and Keyboard
User avatar
daveejhitchins
Posts: 7886
Joined: Wed Jun 13, 2012 6:23 pm
Location: Newton Aycliffe, County Durham
Contact:

Re: Simple Electon MMC Interface

Post by daveejhitchins »

DaveLecky wrote: Sun Oct 27, 2019 8:06 pm Hi Folks,

I’m trying to source a plug connection for the printer port of the Plus 1 for this project.

I’ve looked online and in the forum but can’t find anything.

My cables keep popping of at the worst times.

Can anyone help please.

Dave
Let me look, tomorrow, and I'll see what I have . . .

If you don't hear back from me please drop me a PM.

Dave H :D
Available: ARA II : ARA III-JR/PR : ABR : AP5 : AP6 : ABE : ATI : MGC : Plus 1 Support ROM : Plus 3 2nd DA : Prime's Plus 3 ROM/RAM : Pegasus 400 : Prime's MRB : ARCIN32 : Cross-32
User avatar
1024MAK
Posts: 12800
Joined: Mon Apr 18, 2011 5:46 pm
Location: Looking forward to summer in Somerset, UK...
Contact:

Re: Simple Electon MMC Interface

Post by 1024MAK »

DaveLecky wrote: Sun Oct 27, 2019 8:06 pm I’m trying to source a plug connection for the printer port of the Plus 1 for this project.

I’ve looked online and in the forum but can’t find anything.
Hi Dave

They are widely available, but the trick is knowing the correct search terms. Do you just want the connector, or do you want it already connected to a length of grey ribbon cable?
Try 26-way IDC like this on eBay

Mark
User avatar
DaveLecky
Posts: 554
Joined: Mon Jul 08, 2019 7:52 am
Location: Tullibody, Scotland
Contact:

Re: Simple Electon MMC Interface

Post by DaveLecky »

Hi Mark,

Found them thanks.

For some reason I presumed the printer port connector was a D-Type ...should have gone to Specsavers....

Thanks

Dave
Electron, Plus 3 and plus 1, AP6 and Home made MMFS PP SD interface
Electron Plus 1 Pres AP3/4 AP5 MGC ELKWiFi MRB
Beeb issue 7 with IFEL 16 socket Rom/Ram board
Master 128,CoPro
Master Compact
StrongA RPC,
Atom, Music 5000 and Keyboard
User avatar
daveejhitchins
Posts: 7886
Joined: Wed Jun 13, 2012 6:23 pm
Location: Newton Aycliffe, County Durham
Contact:

Re: Simple Electon MMC Interface

Post by daveejhitchins »

DaveLecky wrote: Sun Oct 27, 2019 8:06 pm Hi Folks,

I’m trying to source a plug connection for the printer port of the Plus 1 for this project.

I’ve looked online and in the forum but can’t find anything.

My cables keep popping of at the worst times.

Can anyone help please.

Dave
Sorry . . . I don't seem to have an Electron Printer Port connector :shock: yet . . .

Dave H :D
Available: ARA II : ARA III-JR/PR : ABR : AP5 : AP6 : ABE : ATI : MGC : Plus 1 Support ROM : Plus 3 2nd DA : Prime's Plus 3 ROM/RAM : Pegasus 400 : Prime's MRB : ARCIN32 : Cross-32
User avatar
DaveLecky
Posts: 554
Joined: Mon Jul 08, 2019 7:52 am
Location: Tullibody, Scotland
Contact:

Re: Simple Electon MMC Interface

Post by DaveLecky »

Hi Dave

Now I know what to order, I’ve got one coming from eBay......thanks for looking.

Dave
Electron, Plus 3 and plus 1, AP6 and Home made MMFS PP SD interface
Electron Plus 1 Pres AP3/4 AP5 MGC ELKWiFi MRB
Beeb issue 7 with IFEL 16 socket Rom/Ram board
Master 128,CoPro
Master Compact
StrongA RPC,
Atom, Music 5000 and Keyboard
User avatar
DaveLecky
Posts: 554
Joined: Mon Jul 08, 2019 7:52 am
Location: Tullibody, Scotland
Contact:

Re: Simple Electon MMC Interface

Post by DaveLecky »

Finally completed this project, I decided to go for an internal design.....

70C858EE-2F1F-42E0-9894-0D8DAD6806FE.jpeg

Dave
Electron, Plus 3 and plus 1, AP6 and Home made MMFS PP SD interface
Electron Plus 1 Pres AP3/4 AP5 MGC ELKWiFi MRB
Beeb issue 7 with IFEL 16 socket Rom/Ram board
Master 128,CoPro
Master Compact
StrongA RPC,
Atom, Music 5000 and Keyboard
User avatar
daveejhitchins
Posts: 7886
Joined: Wed Jun 13, 2012 6:23 pm
Location: Newton Aycliffe, County Durham
Contact:

Re: Simple Electon MMC Interface

Post by daveejhitchins »

=D>

Dave H :D
Available: ARA II : ARA III-JR/PR : ABR : AP5 : AP6 : ABE : ATI : MGC : Plus 1 Support ROM : Plus 3 2nd DA : Prime's Plus 3 ROM/RAM : Pegasus 400 : Prime's MRB : ARCIN32 : Cross-32
User avatar
roland
Posts: 5149
Joined: Thu Aug 29, 2013 9:29 pm
Location: Born (NL)
Contact:

Re: Simple Electon MMC Interface

Post by roland »

Superb idea :idea:
FPGAtom: 512 KB RAM, Real Time Clock and 64 colours
MAN WOMAN :shock:
User avatar
0xC0DE
Posts: 1302
Joined: Tue Mar 19, 2019 7:52 pm
Location: The Netherlands
Contact:

Re: Simple Electon MMC Interface

Post by 0xC0DE »

Very nice!
0xC0DE
"I program my home computer / Beam myself into the future"
:arrow: Follow me on Twitter
:arrow: Visit my YouTube channel featuring my games and demos for Acorn Electron and BBC Micro
mr-macrisc
Posts: 510
Joined: Wed Feb 07, 2018 3:35 pm
Contact:

Re: Simple Electon MMC Interface

Post by mr-macrisc »

That’s very cool indeed :)
pmul128
Posts: 44
Joined: Sun Jan 17, 2021 9:09 pm
Contact:

Re: Simple Electon MMC Interface

Post by pmul128 »

Hi,
Just built this for my Electron+Plus1, works great! Took the 5V from pin 1 of the joystick port. Really excellent work. I did have some differences between SD cards, I have a 32Gb microSD (with adapter) working fine. An older 2Gb (also with adapter) gives me the error "Card format?". I tried the debug version, the output is in the image. Is there anything you would like me to try with this card?
emmfs.png
User avatar
hoglet
Posts: 12679
Joined: Sat Oct 13, 2012 7:21 pm
Location: Bristol
Contact:

Re: Simple Electon MMC Interface

Post by hoglet »

pmul128 wrote: Thu Mar 18, 2021 6:04 pm Is there anything you would like me to try with this card?
Card Format? can normally be fixed by complely reformatting the card.

The best formatter is the one from the SD Association:
https://www.sdcard.org/downloads/formatter/

Dave
pmul128
Posts: 44
Joined: Sun Jan 17, 2021 9:09 pm
Contact:

Re: Simple Electon MMC Interface

Post by pmul128 »

hoglet wrote: Thu Mar 18, 2021 6:18 pm
pmul128 wrote: Thu Mar 18, 2021 6:04 pm Is there anything you would like me to try with this card?
Card Format? can normally be fixed by complely reformatting the card.

The best formatter is the one from the SD Association:
https://www.sdcard.org/downloads/formatter/

Dave
Tnx! I will try it out.
pmul128
Posts: 44
Joined: Sun Jan 17, 2021 9:09 pm
Contact:

Re: Simple Electon MMC Interface

Post by pmul128 »

Downloaded the formatter, formatted the 2Gb Samsung MicroSD card with "Overwite format" selected (also tried with "Overwite format" and "CHS format size adjustment"), copied some SSDs to the card, still get "Card format?". The card properties look like this (Win10)
sd.png
I have three cards that do not work in the Elk, 2x2Gb and 1x4Gb, all Samsung MicroSD cards. All of them work (without reformatting) on my BBC B+ using a TurboSPI card. It's no biggie as the 32Gb card I tried works fine (also Samsung MicroSD), but if you want me to check something with the non-working cards, I will be happy to do so.
pmul128
Posts: 44
Joined: Sun Jan 17, 2021 9:09 pm
Contact:

Re: Simple Electon MMC Interface

Post by pmul128 »

Here is my take on how to do this from the wiring side (might provide inspiration for someone else):
IMG_7226.png
I used two 26-pin IDCs and some flat cable. I removed the connecting pins on the SD card reader and mounted them so that they are accessible from the bottom of the PCB. Mounted it on a piece of patchboard with a 26 pin connector, then wired the SD reader to the connector with short lengths of wire. The only thing letting me down is the 5V from the joystick port, I did not have a d-sub connector in my spares box, I will add this later, and attach the 5v wire to the patchboard such that it is not pulling on the solder joint. If I ever get into 3D-printing it would be simple enough to add a box.
Last edited by pmul128 on Sun Apr 04, 2021 2:55 pm, edited 1 time in total.
User avatar
DaveLecky
Posts: 554
Joined: Mon Jul 08, 2019 7:52 am
Location: Tullibody, Scotland
Contact:

Re: Simple Electon MMC Interface

Post by DaveLecky »

Hi there,

See.... viewtopic.php?p=163755#p163755

And... viewtopic.php?p=254503#p254503

For more info on power and alternative internal solution.

Stay safe

Dave
Electron, Plus 3 and plus 1, AP6 and Home made MMFS PP SD interface
Electron Plus 1 Pres AP3/4 AP5 MGC ELKWiFi MRB
Beeb issue 7 with IFEL 16 socket Rom/Ram board
Master 128,CoPro
Master Compact
StrongA RPC,
Atom, Music 5000 and Keyboard
pmul128
Posts: 44
Joined: Sun Jan 17, 2021 9:09 pm
Contact:

Re: Simple Electon MMC Interface

Post by pmul128 »

DaveLecky wrote: Sun Mar 21, 2021 11:50 am Hi there,

See.... viewtopic.php?p=163755#p163755

And... viewtopic.php?p=254503#p254503

For more info on power and alternative internal solution.

Stay safe

Dave
Yes, I had checked those out, but I am (was) reluctant to mod my Plus1, however after a second reading I think Hoglet's original solution adding the 5V to a spare pin on the printer port is probably the best method.
pmul128
Posts: 44
Joined: Sun Jan 17, 2021 9:09 pm
Contact:

Re: Simple Electon MMC Interface

Post by pmul128 »

Just a short footnote to this on the topic of working/non-working SD cards, in case it is of use to others. I built (using the same model of SD card reader, also the same one used by Hoglet at the start of this thread) an MMC interface for my Master Compact, connecting to the joystick port, also works really well. There I have the same combination of working/non-working SD cards as with the Elk. These cards all work OK on my B+, which has a TurboMMC connected to the user port. It looks like the non-turbo interfaces are more sensitive to the card type/brand/speed/something. Can anyone else confirm this behaviour?
User avatar
hoglet
Posts: 12679
Joined: Sat Oct 13, 2012 7:21 pm
Location: Bristol
Contact:

Re: Simple Electon MMC Interface

Post by hoglet »

pmul128 wrote: Sun Apr 04, 2021 2:53 pm Can anyone else confirm this behaviour?
Just catching up here...

Is the issue still a Card Format? error with certain cards.

This is more likely to be a software issue than a hardware issue.

Can you clarify exaclty what software version you in each case?

I'm happy to investigate further, if someone wants to post me a non-working card.

Dave
pmul128
Posts: 44
Joined: Sun Jan 17, 2021 9:09 pm
Contact:

Re: Simple Electon MMC Interface

Post by pmul128 »

I was using the most recent MMFS versions downloaded from Github a few weeks ago, I will check the exact version number(s) tomorrow, as I am away from my Acorn machines right now. Should have been more precise with my report, the actually issue is "Card Format?" on both machines, the same cards are involved each time. I can send you one of the non-working cards, no problem. PM me with the address to use please.
Post Reply

Return to “8-bit acorn hardware”