Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] Sd Interfacing with PIC32MX795F512L using Lucio Di Jasio Book Exploring PIC32??

Status
Not open for further replies.

xpress_embedo

Advanced Member level 4
Advanced Member level 4
Joined
Jul 5, 2011
Messages
1,154
Helped
161
Reputation
396
Reaction score
189
Trophy points
1,353
Location
India
embeddedlaboratory.blogspot.in
Activity points
10,591
Hello!! I am trying to Interface PIC32MX795F512L with the library provided by "Lucio Di Jasio", in his book Exploring PIC32.

Although i had done interfacing with the same PIC with the help of Microchips MDD Library But i want to do it with Lucio Di Jasio Library.

But due to some reason one of which is Code Size and another one is i have to use USB Host feature and write the content of SD Card to a pen drive, that's why i cant use MDD Library of Microchip.

So i thought i will use your library as the book had very good explanation.
But i am stuck in between while reading MBR.

// 6. check if the MBR sector is valid
// verify the signature word
if (( buffer[ FO_SIGN] != 0x55) ||
( buffer[ FO_SIGN +1] != 0xAA))
{
FError = FE_INVALID_MBR;
free( D); free( buffer);
return NULL;
}

My Code returns from this loop, can anyone suggest me the possible reason of this, as the same memory card is working fine with Microchip's MDD Library and mikroC Library also.

With Regards
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top