views:

24

answers:

0

Hello guys,

i´m trying to access to a sd card with a tms320f28335, i´m using the physical layer 2.0, the problem is that i have a full access with a 1gb card but when i try to access with a sd 2gb the card answers me a 0x05 when i send:

spi_xmit_command(READ_OCR(0x7A), STUFF_BITS, DUMMY_CRC); //Transmit READ_OCR command
//Wait until card responds with SUCCESS response
while(response != SUCCESS)  
    sd_command_response();

when a send READ_OCR the card answers me an invalid response, i was trying to find out the problem but i don´t know if it is a voltage problem or an address problem and how can i fix it.

i beg you an answer, my degree depends on it.

Best regards.

my mail is [email protected]

thanks