Oops! It appears that you have disabled your Javascript. In order for you to see this page as it is meant to appear, we ask that you please re-enable your Javascript!

Reply To: Interfacing micro SD Card and PIC18F4550

Home Forums MPLAB XC8 Tutorial Discussions Interfacing micro SD Card and PIC18F4550 Reply To: Interfacing micro SD Card and PIC18F4550

#2691

SALOMON ROJAS
Participant

I wanted start only with PIC18f45k50 and doing  the same Project like your tutorial.

I am configuring with MCC, the copiler versión is XC8 V1.43.

i only wrote this:

 

#include “mcc_generated_files/mcc.h”
#include “ff.h”

FATFS w_area; /* FatFs work area needed for each volume */
FIL Fil; /* File object needed for each open file */

void main(void)
{
UINT bw;
// Initialize the device
SYSTEM_Initialize();

if (f_mount(&w_area, “”, 1) == FR_OK) { /* Mount SD */
}
while (1)
{ }
}
/**
End of File
*/

 

 

 

 

 

 

 

 

Attachments:
You must be logged in to view attached files.