View previous topic :: View next topic |
Author |
Message |
andreluizeng
Joined: 04 Apr 2006 Posts: 117 Location: Brasil
|
Problem with MMC mobile kingston 2gb |
Posted: Wed Jan 16, 2008 7:05 am |
|
|
Hi people,
Im trying to put this memory to work a several days, but im not having success.
when i send a CMD0 command, the memory just respond with a 0x80 value, and i need 0x01 to step it out.
when i send a CMD1, the memory must respond with 0x00 value, but i always got a 0x80.
im using in SPI mode with 312.5khz clock (20mhz osc. / 64)
did anybody work with this memory ?
thanks in advance.
regards. _________________ Andre |
|
|
ckielstra
Joined: 18 Mar 2004 Posts: 3680 Location: The Netherlands
|
|
Posted: Thu Jan 17, 2008 7:09 pm |
|
|
Sorry but you have to provide us with more info.
You say you are receiving 0x80, this is not a valid MMC response so it must be your driver returning this value.
1) Which MMC driver library are you using? Please be as specific as possible, including version number, etc.
2) What is your CCS compiler version number?
3) Describe into more detail when you are sending the CMD0 command. Is this at power up or at a later time?
4) Have you tried another driver library, for example the CCS supplied driver is tested code (PICC\drivers\mmcsd.c).
I'm off for a week vacation now. Hopefully someone else can jump in? |
|
|
andreluizeng
Joined: 04 Apr 2006 Posts: 117 Location: Brasil
|
|
Posted: Thu Jan 17, 2008 8:01 pm |
|
|
Hi dude, i´ve already fixed the problem... and that was not in the code but a kind of noise in my protoboard.
thanks for the reply.
regards. _________________ Andre |
|
|
|