SD/MMC card Simulation Model

S

Stephen Williams

Guest
Hi,

I'm working on an system (in Verilog) that I want to interact with
MMC and/or SD memory cards, so I'm looking for a Verilog model for
any MMC card (or a generic model of an MMC card) that I can use for
system-level test benches.

I need it to work under Icarus Verilog. Samsung has models of their
MMC cards, but they are `protect'ed so they do me no good. Other
vendors use Denali, which also seems closed to Icarus Verilog.

--
Steve Williams "The woods are lovely, dark and deep.
steve at icarus.com But I have promises to keep,
http://www.icarus.com and lines to code before I sleep,
http://www.picturel.com And lines to code before I sleep."
 
Looks like this MMC design from "opencores" can be used as MMC model:

http://www.opencores.org/cvsweb.shtml/mmcfpgaconfig/rtl/verilog/xmsmmc_core.v

-Alex


Stephen Williams wrote:
Hi,

I'm working on an system (in Verilog) that I want to interact with
MMC and/or SD memory cards, so I'm looking for a Verilog model for
any MMC card (or a generic model of an MMC card) that I can use for
system-level test benches.

I need it to work under Icarus Verilog. Samsung has models of their
MMC cards, but they are `protect'ed so they do me no good. Other
vendors use Denali, which also seems closed to Icarus Verilog.

--
Steve Williams "The woods are lovely, dark and deep.
steve at icarus.com But I have promises to keep,
http://www.icarus.com and lines to code before I sleep,
http://www.picturel.com And lines to code before I sleep."
 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alex wrote:
Looks like this MMC design from "opencores" can be used as MMC model:

http://www.opencores.org/cvsweb.shtml/mmcfpgaconfig/rtl/verilog/xmsmmc_core.v
I'm not seeing in that a model for an MMC *card*, this is a design
that controls a card to cause it to program an FPGA. I would think
that the design was simulated, but I do not see the MMC model that
is used.

I'm going to be writing a block device controller, so I need a model
for the *card* against which I can test my controller.

Stephen Williams wrote:
Hi,

I'm working on an system (in Verilog) that I want to interact with
MMC and/or SD memory cards, so I'm looking for a Verilog model for
any MMC card (or a generic model of an MMC card) that I can use for
system-level test benches.

I need it to work under Icarus Verilog. Samsung has models of their
MMC cards, but they are `protect'ed so they do me no good. Other
vendors use Denali, which also seems closed to Icarus Verilog.

--
Steve Williams "The woods are lovely, dark and deep.
steve at icarus.com But I have promises to keep,
http://www.icarus.com and lines to code before I sleep,
http://www.picturel.com And lines to code before I sleep."

- --
Steve Williams "The woods are lovely, dark and deep.
steve at icarus.com But I have promises to keep,
http://www.icarus.com and lines to code before I sleep,
http://www.picturel.com And lines to code before I sleep."
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFFZMpgrPt1Sc2b3ikRAnl7AJ9mAyBVWUqH8sVMFK9szyxhlaixIwCgjnIX
JyKRkdWqjsH7J8WyMfLO4OI=
=TYpk
-----END PGP SIGNATURE-----
 
The SD format is significantly protected. You'd think it was entirely
proprietary but the technology sharing method I understand is used is
"membership only" and the reason you won't find a Linux driver.

You might be able to find an MMC resource but our guy here who's tried to
get closer to the SD/MMC specs hasn't come across one in his travels.

Stop looking for SD and start looking exclusively for MMC. Luck be with
you.


"Stephen Williams" <spamtrap@icarus.com> wrote in message
news:DKOdnYdz2ZZ6NvnYnZ2dnUVZ_vKdnZ2d@giganews.com...
Hi,

I'm working on an system (in Verilog) that I want to interact with
MMC and/or SD memory cards, so I'm looking for a Verilog model for
any MMC card (or a generic model of an MMC card) that I can use for
system-level test benches.

I need it to work under Icarus Verilog. Samsung has models of their
MMC cards, but they are `protect'ed so they do me no good. Other
vendors use Denali, which also seems closed to Icarus Verilog.

--
Steve Williams "The woods are lovely, dark and deep.
steve at icarus.com But I have promises to keep,
http://www.icarus.com and lines to code before I sleep,
http://www.picturel.com And lines to code before I sleep."
 
John_H wrote:
The SD format is significantly protected. You'd think it was entirely
proprietary but the technology sharing method I understand is used is
"membership only" and the reason you won't find a Linux driver.

You might be able to find an MMC resource but our guy here who's tried to
get closer to the SD/MMC specs hasn't come across one in his travels.

Stop looking for SD and start looking exclusively for MMC. Luck be with
you.
My plan has indeed been to focus on mmc because of the absurd
restrictions of the SD standard, but I understand that SD cards
should support the MMC command set.

A lot about the MMC standard can be gleaned from datasheets for
parts. For example, the Samsung datasheet seems quite thorough and
if all else fails I'd code up a Verilog model based on that. If
my design (which I will test against this model) doesn't work when
talking to real cards, then I'll (meaning my company) spring for the
MMC standard, which is a mere $500.00.

(FWIW I've got approval to open-source the Verilog for the device
I'm working on, so the next guy won't have this struggle.)

(I wonder where I can get a devel board that is an FPGA with an
attached MMC socket...)

"Stephen Williams" <spamtrap@icarus.com> wrote in message
news:DKOdnYdz2ZZ6NvnYnZ2dnUVZ_vKdnZ2d@giganews.com...
Hi,

I'm working on an system (in Verilog) that I want to interact with
MMC and/or SD memory cards, so I'm looking for a Verilog model for
any MMC card (or a generic model of an MMC card) that I can use for
system-level test benches.

I need it to work under Icarus Verilog. Samsung has models of their
MMC cards, but they are `protect'ed so they do me no good. Other
vendors use Denali, which also seems closed to Icarus Verilog.

--
Steve Williams "The woods are lovely, dark and deep.
steve at icarus.com But I have promises to keep,
http://www.icarus.com and lines to code before I sleep,
http://www.picturel.com And lines to code before I sleep."

--
Steve Williams "The woods are lovely, dark and deep.
steve at icarus.com But I have promises to keep,
http://www.icarus.com and lines to code before I sleep,
http://www.picturel.com And lines to code before I sleep."
 
Stephen Williams <spamtrap@icarus.com> writes:
(I wonder where I can get a devel board that is an FPGA with an
attached MMC socket...)
Here's one which might be a bit OTT!
http://www.enterpoint.co.uk/moelbryn/broaddown4.html

These have miniSD - is that the same electrically?
http://www.eubus.net/hydraXC/

Cheers,
Martin

--
martin.j.thompson@trw.com
TRW Conekt - Consultancy in Engineering, Knowledge and Technology
http://www.conekt.net/electronics.html
 

Welcome to EDABoard.com

Sponsor

Back
Top