Interfacing SD card with 18F4520 using MikroC

Status
Not open for further replies.

sree_8191

Newbie level 2
Joined
Mar 10, 2013
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,294
Hi,

I am having trouble getting MMC initialised using mmc_fat_init() function. Initialisation fails due to an unknown reason.
I tried simulating it in Proteus and used LEDs to check if MMC is getting initialised. I am attaching the program config settings and ISIS file.
Actually I have edited the library example to include LEDs for debugging, and removed UART commands.
My logic is that LEDs D3, D4 turns off if MMC is initialised successfully otherwise D1 goes off
All suggestions are welcome.
Thanks in advance
Regards,

SreerajView attachment MMC_TEST.rar

- - - Updated - - -

Hi,
Hereby I am attaching the screenshots of my config settings.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…