Welcome, Guest. Please login or register.

Author Topic: My SD/MMC interface project  (Read 4458 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline ferixTopic starter

  • Full Member
  • ***
  • Join Date: Aug 2009
  • Posts: 136
    • Show only replies by ferix
My SD/MMC interface project
« on: March 04, 2010, 08:33:21 AM »
I'm proud to present my new project, the SD/MCC card interface for old Amigas.

Some pics of the prototype:

A closer view from the top:


Another view from the bottom:


The yellow wire is a small modification for some odd mmc cards, but It works fine now :D
I coded some test programs, and I can say It works flawlessly.
I can get the SD/MMC card status and read or write to It without problems.
It can achieve up to 1Mbyte/sec. on an A500.

Now comes the hard work... to write a system driver.
Any tip or advice is wellcome.

Edit:
I forgot to say It plugs into the parallel port.
« Last Edit: March 04, 2010, 08:44:48 AM by ferix »
[Master of puppets I\'m pulling your strings  
Twisting your mind and smashing your dreams  
Blinded by me, you can\'t see a thing  
Just call my name, \'cause I\'ll hear you scream]
...
We are The Borg.
Lower your shields and surrender your ships.
We will add your biological and technological distinctiveness to our own.
Your culture will adapt to service us.
Resistance is Futile.

 

Offline mingle

  • Hero Member
  • *****
  • Join Date: Jun 2003
  • Posts: 660
    • Show only replies by mingle
Re: My SD/MMC interface project
« Reply #1 on: March 04, 2010, 08:48:07 AM »
Nice work...

One question - any reason why the SD slot is on the underside of the card?

Seems like an excellent solution for those Amiga without a PCMCIA slot...

Are you going to make a production run of these? :-)

Cheers,

Mike
 

Offline ferixTopic starter

  • Full Member
  • ***
  • Join Date: Aug 2009
  • Posts: 136
    • Show only replies by ferix
Re: My SD/MMC interface project
« Reply #2 on: March 04, 2010, 08:53:09 AM »
Quote from: mingle;546124
Nice work...

One question - any reason why the SD slot is on the underside of the card?


The card slot is for surface mount, and the board has only one layer, so the slot goes underside.

Quote
Seems like an excellent solution for those Amiga without a PCMCIA slot...
That's the point.
Quote
Are you going to make a production run of these? :-)
I have no time nor money to make a production run, but I'll free the schematics and the board layout.
« Last Edit: March 04, 2010, 08:57:29 AM by ferix »
[Master of puppets I\'m pulling your strings  
Twisting your mind and smashing your dreams  
Blinded by me, you can\'t see a thing  
Just call my name, \'cause I\'ll hear you scream]
...
We are The Borg.
Lower your shields and surrender your ships.
We will add your biological and technological distinctiveness to our own.
Your culture will adapt to service us.
Resistance is Futile.

 

Offline lauri.lotvonen

  • Full Member
  • ***
  • Join Date: Sep 2009
  • Posts: 249
    • Show only replies by lauri.lotvonen
Re: My SD/MMC interface project
« Reply #3 on: March 04, 2010, 09:10:07 AM »
Sounds very cool indeed, I always had so much problems with my A500 and null modem cable. This would make data transmission so much easier, like PCMCIA CF readers/writers.
« Last Edit: March 04, 2010, 09:15:09 AM by lauri.lotvonen »
A1200, Blizzard 1260 + 64mb, Indivision AGA, Subway USB, 8GB CF-HD, PCMCIA network card, OS 3.9.
And a couple of A600\'s :).
 

Offline ferixTopic starter

  • Full Member
  • ***
  • Join Date: Aug 2009
  • Posts: 136
    • Show only replies by ferix
Re: My SD/MMC interface project
« Reply #4 on: March 05, 2010, 02:39:32 PM »
Just a brief update of the post...

This is the log of one of my test programs:
Code: [Select]
-=[ MMC/SD interface test program ]=-
(C) 2010 by ferix

Initializing ports...Ok.
Initializing MMC/SD card...Ok.
Reading sector #0...Ok.
Read data:
fa 33 c0 8e d0 bc 00 7c 8b f4 50 07 50 1f fb fc
bf 00 06 b9 00 01 f2 a5 ea 1d 06 00 00 be be 07
b3 04 80 3c 80 74 0e 80 3c 00 75 1c 83 c6 10 fe
cb 75 ef cd 18 8b 14 8b 4c 02 8b ee 83 c6 10 fe
cb 74 1a 80 3c 00 74 f4 be 8b 06 ac 3c 00 74 0b
56 bb 07 00 b4 0e cd 10 5e eb f0 eb fe bf 05 00
bb 00 7c b8 01 02 57 cd 13 5f 73 0c 33 c0 cd 13
4f 75 ed be a3 06 eb d3 be c2 06 bf fe 7d 81 3d
55 aa 75 c7 8b f5 ea 00 7c 00 00 49 6e 76 61 6c
69 64 20 70 61 72 74 69 74 69 6f 6e 20 74 61 62
6c 65 00 45 72 72 6f 72 20 6c 6f 61 64 69 6e 67
20 6f 70 65 72 61 74 69 6e 67 20 73 79 73 74 65
6d 00 4d 69 73 73 69 6e 67 20 6f 70 65 72 61 74
69 6e 67 20 73 79 73 74 65 6d 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 03
06 00 06 0f e0 cc 65 00 00 00 9b 99 07 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa
Taken from a plain A500... ;)
[Master of puppets I\'m pulling your strings  
Twisting your mind and smashing your dreams  
Blinded by me, you can\'t see a thing  
Just call my name, \'cause I\'ll hear you scream]
...
We are The Borg.
Lower your shields and surrender your ships.
We will add your biological and technological distinctiveness to our own.
Your culture will adapt to service us.
Resistance is Futile.

 

Offline countzero

  • Hero Member
  • *****
  • Join Date: Mar 2005
  • Posts: 1938
    • Show only replies by countzero
    • http://blog.coze.org
Re: My SD/MMC interface project
« Reply #5 on: March 05, 2010, 03:44:15 PM »
very nice work !

Is there any programmed logic there ? or do you drive purely on 68k ? I'll be looking forward to schematics !
I believe in mt. Fuji
 

Offline ferixTopic starter

  • Full Member
  • ***
  • Join Date: Aug 2009
  • Posts: 136
    • Show only replies by ferix
Re: My SD/MMC interface project
« Reply #6 on: March 05, 2010, 04:41:47 PM »
Quote from: countzero;546298
very nice work !

Is there any programmed logic there ? or do you drive purely on 68k ? I'll be looking forward to schematics !

No, It's all made of standard TTL logic, and the 68k only has to read and write to the parallel port, so It's very fast.
The circuitry is a small SPI uart, and It takes advantage of the handshake capabilities of the CIA.
Just write a byte to the CIA's port B, and It will be sent through the SPI.
« Last Edit: March 05, 2010, 04:48:28 PM by ferix »
[Master of puppets I\'m pulling your strings  
Twisting your mind and smashing your dreams  
Blinded by me, you can\'t see a thing  
Just call my name, \'cause I\'ll hear you scream]
...
We are The Borg.
Lower your shields and surrender your ships.
We will add your biological and technological distinctiveness to our own.
Your culture will adapt to service us.
Resistance is Futile.

 

Offline Sourraund

  • Newbie
  • *
  • Join Date: Mar 2010
  • Posts: 3
    • Show only replies by Sourraund
Re: My SD/MMC interface project
« Reply #7 on: March 08, 2010, 08:48:01 PM »
Great! I'm working on something similar :)
 

Offline Tajmaster

  • Full Member
  • ***
  • Join Date: Jun 2009
  • Posts: 156
    • Show only replies by Tajmaster
Re: My SD/MMC interface project
« Reply #8 on: March 08, 2010, 09:07:03 PM »
This looks a great project, well done mate!! :) Maybe someone like AmigaKit could take on the design or work with you to finalise it for release. Id pay around £15 for one of these, I hope its cheap enough to manufacture :P
==================
Amiga 4000/040 25Mhz - 18MB Ram-HDD-CDRW- Picasso 2 2MB GFX OS3.9
Amiga 2000/030 25Mhz - 10MB Ram - GVP HC+8 with HDD and CDROM OS3.1 and a DKB MEGAChip
Amiga 1200/030 50Mhz - 18MB Ram - CF>IDE OS3.1 Squirrel SCSI
A500+ 000/7Mhz - 4MB Ram GVP HD+ SCSI w/40MB HDD (WOW!!)
Plus a "few" more ;) hehe
==================
 

Offline yorgle

  • Full Member
  • ***
  • Join Date: Jan 2007
  • Posts: 165
    • Show only replies by yorgle
    • http://umlautllama.com
Re: My SD/MMC interface project
« Reply #9 on: March 08, 2010, 09:08:28 PM »
Sweet!  Want!  :D
 

Offline ferixTopic starter

  • Full Member
  • ***
  • Join Date: Aug 2009
  • Posts: 136
    • Show only replies by ferix
Re: My SD/MMC interface project
« Reply #10 on: March 09, 2010, 12:05:06 PM »
Quote from: Sourraund;546729
Great! I'm working on something similar
Quote from: Tajmaster;546731
This looks a great project, well done mate!!
Quote from: yorgle
Sweet!  Want!  :D
Thanks ;)
Quote from: Tajmaster
Maybe someone like AmigaKit could take on the design or work with you
to finalise it for release. Id pay around £15 for one of these, I hope its cheap enough to manufacture :P
I guess that my prototype had cost about 20€ (or less), but It's just a prototype, so It lacks too many things, like leds (for power and card access), etc...
There are many things to change before make a batch run, like the voltage regulators, the use of smd components, etc...
[Master of puppets I\'m pulling your strings  
Twisting your mind and smashing your dreams  
Blinded by me, you can\'t see a thing  
Just call my name, \'cause I\'ll hear you scream]
...
We are The Borg.
Lower your shields and surrender your ships.
We will add your biological and technological distinctiveness to our own.
Your culture will adapt to service us.
Resistance is Futile.

 

Offline ipod_sock

  • Newbie
  • *
  • Join Date: Mar 2010
  • Posts: 6
    • Show only replies by ipod_sock
Re: My SD/MMC interface project
« Reply #11 on: March 09, 2010, 04:29:11 PM »
Quote from: yorgle;546733
Sweet! Want! :D

Ditto! :)
A500 1.3ks_1MB_Rev6
A600 3.1ks_6MB_Rev1.1
A1200 3.1ks_2MB_Rev1.D1
C64C, C64G, Super Famicom, Xbox 360 S and a partridge in a pear tree...
 

Offline save2600

  • Hero Member
  • *****
  • Join Date: Jul 2006
  • Posts: 3261
  • Country: us
    • Show only replies by save2600
Re: My SD/MMC interface project
« Reply #12 on: March 09, 2010, 05:36:36 PM »
Really nice! I'd buy one for sure if it ever gets released. Be nice to hack one inside an A1000 too  :-)   I'm sure I have a gender changer or two that could come in handy anyway. lol
 

Offline yorgle

  • Full Member
  • ***
  • Join Date: Jan 2007
  • Posts: 165
    • Show only replies by yorgle
    • http://umlautllama.com
Re: My SD/MMC interface project
« Reply #13 on: March 09, 2010, 06:39:02 PM »
Quote from: save2600;546862
Really nice! I'd buy one for sure if it ever gets released. Be nice to hack one inside an A1000 too  :-)   I'm sure I have a gender changer or two that could come in handy anyway. lol


That is EXACTLY what I want to do with mine.  Mount it internally in my A1000, with just a ribbon cable out the back to plug it in.  I just need to figure out where to put the card slot then.  I'd say the front, but i kinda need that 256k expansion on the front... and I still kinda need that DF0:

Heheh.
 

Offline amigean

  • Sr. Member
  • ****
  • Join Date: Sep 2003
  • Posts: 302
    • Show only replies by amigean
Re: My SD/MMC interface project
« Reply #14 on: March 09, 2010, 10:56:38 PM »
Great work!

I take it this will eventually support proper filesystem mounts? And what about booting from an SD card or starting an adf from it?

A way to overcome the awkard position of sd card slot would be to place the parallel connector on a ribbon cable, so one could bring the whole interface round to the front (for easier access). Add a nice plastic housing and we have a 21st century external floppy!