SD-Card Interface

Go To Last Post
14 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello,

i've started to modify some MMC Routines (from Project 21) to work with SD-Cards. Card Informations i can read out correct, but the stored on the card i can not read out. If i read sector 0 of the card only the last two bytes of the 512 Bytes sized block are read correct. All other sectors and all other bytes are read as 0x00.

Does anybody know what's going wrong?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

WEll i've really no idea, but i'm busy 2 with an SD-Card interface. Maybe we can keep eachother up2date.

admin's test signature
 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Why don't you look at
FlashFile SD/MMC FAT12/16 File System Source Code Solution
from
Progressive Resources LLC

??

admin's test signature
 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Because they won't money...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

It's funny, there are Fat32/cdrom/ide/mmc drivers for free for AVR GCC, and there is people who sell it. What is the difference between the AVRLib which is free and include more drivers, and this Progressive Resources lib?
Thanks
Ezequiel

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

The Progressive Resources lib supports SD-Cards. Show me an open-source AVR (or other uC) project that supports SD-Cards...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Tobias,
you wrote "i've started to modify some MMC Routines (from Project 21) to work with SD-Cards". Where did you get the information for
this. I´m interested in SD-cards, too. Could you give me the information, you have?
And of course, if you get it to work, I´m very interested! ;)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Probably I'm diverting the subject - does anyone know if/how AVR can be used to implement a SDIO card side controller?

Calvin

admin's test signature
 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Card Side controller ???

Do you mean slave ???

The cardside is always a slave. No matter what device is inside.

hamilton

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi,

You can check on my web site I have done MMC with AVR, and it's free www.microsyl.com
:D

Yours truly,
Sylvain Bissonnette
www.microsyl.com

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

calvinma (Calvin Ma) wrote:
Probably I'm diverting the subject - does anyone know if/how AVR can be used to implement a SDIO card side controller?

Calvin

Phenostream sells an SDIO card with an ATtiny84 on it - might do the trick for you

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Nice try - but just four years too late

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello Sylvain Bissonnette

I am interested in Interfacing a 1 GB SD Card (SanDisk) with ATmega16L for Datalogging Application.

I have refered to www.microsyl.com for MMC Card interface.

Can I use the same code for SD card interfacing ??.

Is there any other point or hint related to SD Card interfacing that you would like to Share

Thanks for all the Help

Mandar Bagul.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Mandar,

Did you not understand my comment above? - you are replying to a four year old, dead thread. But if you want to attach SD/MMC to an AVR then just Google "FatFs" (and do a thread search here for the same - tons of prior traffic on this.