This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

EK-TM4C123GXL and microSD BoosterPack: read/write problem

Other Parts Discussed in Thread: EK-TM4C123GXL

Hi,

Has anybody had a chance to use EK-TM4C123GXL with microSD BoosterPack (http://boardzoo.com/index.php/boosterpacks/microsd-boosterpack.html)?

The card seems to respond to all the commands I send to it (cmd0, cmd24, cmd13, cmd9, cmd17, ...) but it does not actually write or read the data. When I write a block the write simply does not take effect. When I read a block the card returns all zeros.

For example, below is the log of writing a block # 0x756. I send cmd24 and get a valid R1 from card (0x00). Then data write (via SPI) takes place. After which the card responds with valid data_response_token 0xE5 (data accepted). Futher validation by sending CMD13 passes as well (sd card returns valid R2 = 00 00). Then I read the card from linux and it shows that the data was not changed.

block: 0x00000756
writing data (512 bytes): 00 01 02 03  ... FC FD FE FF
CMD: 58 00 0E AE 00 EB
R1:     00
(sd_write_block) crc: 40 DA
(sd_write_block) data_response_token: E5
CMD: 4D 00 00 00 00 0D
R2:     00 00

Not sure it this a problem with the boosterpack, but the code (SD protocol implementation) worked on MSP-EXP430F5529 and EK-TM4C123GXL (+ breadboard, jumper wire, resistor, capacitor).


Thanks,

-Artem