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.

error when i compile sd card library on pic18f8722 mcu using microC

Status
Not open for further replies.

addisualemayehu

Newbie level 5
Joined
May 24, 2015
Messages
9
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Location
ADDIS ABEBA, ETHIOPIA
Activity points
158
i am working on project that uses sd card for storing data. for programming c code i am using micro c for pic 2011 version is 4.60. And micro-controller that i used pic18f8722 but when i compile the code it gives me an error says: (Undeclared identifier 'Mmc_Read_Sector' in expression). pleas tell me what should i do.
 

The first thing to do is to install the latest version of your compiler.
 

Are you trying the FAT16 or FAT32 code ?

You need to declare that variable and I guess it is a array of char type.
 

As far as I know, Mmc_Read_Sector() is a built-in mikroC MMC library function. I'm not using mikroC and had thought the library routines would be visible all time. But may you are missing the SPI pin definitions required for operation of the library, review compiler manual. In case of doubt start with a sd card example provided for the compiler.
 

If it is a function then you have not checked MMC library in the library manager.
 

it is indeed a function in the MMC library.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top