Searching \ for '[PIC]: Puzzling MMC read failure' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: massmind.org/techref/microchip/devices.htm?key=pic
Search entire site for: 'Puzzling MMC read failure'.

Exact match. Not showing close matches.
PICList Thread
'[PIC]: Puzzling MMC read failure'
2003\07\29@125349 by Ishaan Dalal

flavicon
face
Working with an MMC, here's what I do:

Initialize:
CMD0, delay, response 0x01
CMD1, delay---loop until response 0x00, response 0x00

Then, I send the card read command with address 0000 0000, i.e. CMD17. I
should be getting 0x00 after delay and then 0xFE after delay as the start
data token. If there was a failure with the command, I should be getting a
standard R1 error byte. Instead, after sending CMD17, here's what I get in
the next couple response bytes:
0xFF (expected)
0xFE (??!!!; 0x00 skipped)
0x03 (R1 or data error token? If data error token, what would both "Error"
and "CC controller" error mean?)
0xFF
0xFF
0xFF
0xFF
0x0B (R1 or data error?)
0xFF.....continuously

The card works perfectly well in a USB reader for both read/write.

Any clues?

Thanks,
Ishaan

--
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email spam_OUTlistservTakeThisOuTspammitvma.mit.edu with SET PICList DIGEST in the body

2003\07\29@132924 by Tom

flavicon
face
You don't mention sending a crc; isn't one required?

Tom M.

--
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email .....listservKILLspamspam@spam@mitvma.mit.edu with SET PICList DIGEST in the body

2003\07\29@135348 by Ishaan Dalal

flavicon
face
In SPI mode, a CRC is only required for the reset (CMD0) command, which
initializes the card in SPI mode. By default, CRC is disabled in SPI mode,
and a dummy CRC byte (byte 6 of 6 in each command) of FFh is sent with each
command.

Cheers,
Ishaan

{Original Message removed}

More... (looser matching)
- Last day of these posts
- In 2003 , 2004 only
- Today
- New search...