Developing a custom SDIO card



Hello everyone.

I am developing a custom SDIO card for interfacing a PDA to a
microcontroller in a research project. I got the SDIO docs and I have
implemented some physical layer code that allows me to receive
commands sent by the SDIO host (PDA) and to send the necessary
response.
I am stuck in the initialization phase of the card, after the SDIO
host sends the CMD7 to address the card. I send the response to the
host, but then the host sends a CMD20, which the documentation says is
reserved to SD memory cards!
Of course, the OCR describes a card with 1 I/O functions and 0 memory
functions.
I am using one of the SPI ports in the microcontroller wired to the
CLK and CMD lines to send and receive data. I am emulating 1-bit SDIO
mode, *NOT* SPI.

The sequence of commands I receive from the SDIO host is:
CMD5
CMD5
CMD3
CMD7
CMD20 <--???

I can send the complete dump of every packet if you need them.

My setup is:

PDA: HP iPax hx2700 and iPaq rx5900 (Windows CE 5.0)

"SDIO card"
Microcontroller: CC2431 (8051 core @ 33 MHz)

Thanks in advance
Nahuel
.



Relevant Pages

  • Re: Developing a custom SDIO card
    ... I got the SDIO docs and I have ... I am stuck in the initialization phase of the card, ... host sends the CMD7 to address the card. ... I am using one of the SPI ports in the microcontroller wired to the ...
    (comp.arch.embedded)
  • Re: SDIO drivers?
    ... Wondering whats the difference between SD and SDIO. ... Basically - SD and MMC are not really 'normal' memory - due to their connection, they act more like USB, or even network attached stuff. ... A SDIO card is a SD-I/O card - it does input or output. ... So - briefly, an SD card can have up to 8 functions, with varying bandwidth back to the host, depending on card and connection from a shared 32KiB/s to unshared 25MiB/s. ...
    (Linux-Kernel)
  • Re: PCI Addressing
    ... (through a DMA engine -or- possibly by a processor on the device ... card), then, ... the device that will provide the valid PCI address that is accessible ... it has been configured by software on the host. ...
    (comp.arch.embedded)
  • SDIO CRC error after send CMD5
    ... I wrote one SD memory card driver and it work fine. ... I try to port my SD controller driver to support SDIO ... HandleErrors - ERROR INT wMMCStatus0=0x280 ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Recent and not-so problems with tifm_sd driver
    ... When the card is pulled out, I mark the host as "ejected", ... sleep beforehand, and "after remove" message is printed immediately after it. ... Feb 12 22:06:56 mortug printk: 137 messages suppressed. ...
    (Linux-Kernel)