[PIC] Hel required with SD Card FAT32 and a PIC 18F4550

Status
Not open for further replies.

BMWMPower

Newbie level 3
Joined
Mar 10, 2014
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Visit site
Activity points
24
Help required with SD Card FAT32 and a PIC 18F4550

I am making some kind of datalogger with my PIC 18F4550 chip. And I am using the WaveShare Micro SD card. My code is the same as in LINK

For the simulation I am using Proteus.

But when I use the library (and first I am testing) I can write a file to the mmc file. And also can make a directory. When I want to append the opened file with text (string) it is not appending it?!

What could be wrong??
 
Last edited:

The code in the above link works for me.

You are doing something wrong.
Post your code, we will check it here.
Or download the project available at the bottom of the link you mention.
That is working project with working code and simulation.
 

Oke i have rar-ed the files. Mmc file is the winimage file. *.pdsprj = Proteus file. *.BMP = schematic. Project map = MicroC Pro 6 project. And I have put in the *.c file (and __Lib_FAT32.h

I do use the FAT32 library from Libstock!
 

Attachments

  • TempTimeLogger.rar
    74.8 KB · Views: 123

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…