CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Problem with MMC mobile kingston 2gb

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
andreluizeng



Joined: 04 Apr 2006
Posts: 117
Location: Brasil

View user's profile Send private message Send e-mail MSN Messenger

Problem with MMC mobile kingston 2gb
PostPosted: Wed Jan 16, 2008 7:05 am     Reply with quote

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

View user's profile Send private message

PostPosted: Thu Jan 17, 2008 7:09 pm     Reply with quote

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

View user's profile Send private message Send e-mail MSN Messenger

PostPosted: Thu Jan 17, 2008 8:01 pm     Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group