Search Engine

Mmc Mikroc

Add Question

31 Threads found on Mmc Mikroc
Hello, I am using PIC18f4520 in my project. I would like to create a folder in which my files has to be saved. I am able to create a folder using the mmc library functions for creating new directory. But when i change the directory from root to newly created directory for file creation, no file is being created in new folder. In root directory
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.
Whats the question? what are you stuck on? There are a lot of tutorials on the web on how to interface a SD and mmc card. Unfortunately most of the tutorials have errors or omissions and the manufactures data is very hard to understand. I can answer all of your questions but I will not write your software for you (unless you pay me). There is o
You have to create a FST32 type .mmc file for loading into Proteus. If testing in hardware then the SD card should be formatted as FAT32 and the size of card should not exceed 8 GB SD or SDHC.
Have you disabled ADC and other multiplexed function on RC0 and other pins used for mmc SD Card communication ? Post your complete mikroc project files. Zip and post your Proteus file. Have you created an .mmc file to load into mmc model of Proteus using winImage 8.9 ?
hi guys! below is my code in interfacing mmc and pic18f4550 #define BUFFER_SIZE 15 //Memory Card Chip Select Connection sfr sbit mmc_Chip_Select at RB2_bit; sfr sbit mmc_Chip_Select_Direction at TRISB2_bit; // // LCD module connections sbit LCD_RS at RD0_bit; sbit LCD_RW at RD1_bit; sbit LCD_EN at RD2_bit; sbit LCD_D4 at
How to read a whole line until new line occurs in a text file...using mmc Fat library........ please help me here...
hello guys ; I m trying to use a PIC 16f877a to write on an mmc 128 M , mikroc + ISIS . I initialized well my mmc . But when i try to use the command 24 to write a single block i get a parametric error as a response SPI1_WRITE(0xFF); SPI1_WRITE(0x58); // send mmc write block SPI1_WRITE(0x00); (...)
I am data logging my uC on a microSD card and everything is fine on the physical circuit. In Proteus though, everything is fine to the point when I send READ_SINGLE_BLOCK. So it goes in SPI mode at command GO_IDLE_STATE by responding 0x01 and initializations (SEND_OP_COND twice, CRC_ON_OFF OFF and SET_BLOCK_LEN 512 -- all respond 0x00) is fine to
See mmc circuit in this project. If you use that circuit for simulation it will work. What error are you getting. Post the error message. How did you create mmc image file? Post your mmc image file so that we can simulate.
Hello! Can someone provide me with a example of PIC based mmc/sd card read/write project. It should be mikroc and Proteus based. Thanks Jayanth D
Hey everyone i know this question has been posted several times , i read all the other topics but i didn't get the right answer yet well i want to interface my micro sd with pic 18f2550 , i format it with FAT 16 and i used the code in the mmc help section here is my code : // mmc module connections sbit mmc_Chip_Select at LAT
There is a Function in mmc Card Library.... mikroc Compiler to format the mmc card.. unsigned char mmc_Fat_QuickFormat(char *mmc_fat_label); We have to pass an argument mmc_fat_label.. I want to know what is this and how can i use this function to format my memory card for FAT16 File (...)
Hi all , i have this code with array of 600 the max , i have only 1% of the ram left .. 99% for the ram has been used for array this my code .. Code: Select all unsigned int M_File_Compare(){ unsigned long i, size; char file1="" ; char character; mmc_Fat_Assign("TEST.txt", 0); mmc_Fat_Reset(&size); // To r
Hi, I am doing a project(a simple datalogger) using pic 18f4620 and SD cards (2GB). I am using mikroc compiler. My problem is that the mmc_fat_assign() function hangs(It returns nothing) once the total used space on the SD card becomes128kb. ie I cannot create more files once 128 kb has been used up (however I can use the function on existing fil
Someone help me guys for the codings of my project.. specially in file handling... i want to save a jpeg image in my sd card using pic18f4550 from a serial camera, w/c is a uart interface.... Help me how to use the mmc and spi library, for saving my image data,256 bytes per package... please some one help me....:cry::cry::cry::cry::cry::idea:
Hello Everybody I have stored a file in mmc and read each byte using : mmc_Fat_Read(&character); but the speed of this function is too low. So I checked another version of the mikroc Pro this version there is function that appears to Read multiple bytes: no_bytes = mmc_Fat_ReadN
I use mikroc Pro and PICKit2. Can anybody tell me how to do this for (i=0; i<16;i++){ save (i) in mmc card } and also read saved data when necessory. thanks
use mikroc for pic , it has the library for interfacing with SD/mmc
Hello, I have been trying to write a text file in an sd card with a pic33fj128gp802, im using the mikroc for dspic mmc library but it wont work I'll paste the code in here for you to see, the code is ok until the part I try to write, i've tested the code by creating the txt but not writing to it and it is OK, but as soon a