 |
 |
| View previous topic :: View next topic |
| Author |
Message |
asmallri
Joined: 12 Aug 2004 Posts: 1680 Location: Perth, Australia
|
|
Posted: Sun Apr 07, 2013 1:36 am |
|
|
| irilias wrote: | | ...now since the hardware setup is correct, would you please consider taking a look at the code, it was originally written for MMC memory cards, and i tried adding SD support by using the ACMD41 (CMD55+CMD41) command required for it to initialize. |
There are plenty of code examples on the CCS site to do this. Why would anyone waste their time debugging your code if you are not prepared to spend the time yourself looking at working code already on the site? _________________ Regards, Andrew
http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!! |
|
 |
ckielstra
Joined: 18 Mar 2004 Posts: 3680 Location: The Netherlands
|
|
Posted: Sun Apr 07, 2013 8:55 am |
|
|
| asmallri wrote: | | There are plenty of code examples on the CCS site to do this. Why would anyone waste their time debugging your code if you are not prepared to spend the time yourself looking at working code already on the site? | Exactly my thinking!
Even more when I see a comment like: | Quote: | | i deleted the SPI_SS_DISABLED, because the slave select pin is only present in the slave | This is a correct change to the original code, but then I'm thinking: "where did the original code come from?". The original code was flawed and most likely never worked.
Garbage in == garbage out
Please use the CCS supplied MMCSD.c as a driver or use one of the drivers from the Code Library on this forum as a starting point. |
|
 |
|
|
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
|