Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 09, 2016, 08:11:35 20:11


Login with username, password and session length


Pages: [1]
Print
Author Topic: CCS SD CARD FAT.C- MMC.C  (Read 3685 times)
0 Members and 1 Guest are viewing this topic.
Tom1234
Junior Member
**
Offline Offline

Posts: 35

Thank You
-Given: 6
-Receive: 1


« on: March 17, 2014, 08:36:37 20:36 »

I try to program a dspic33 series microcontroller with ccs compiler.
I try to use FAT.c, MMC.c  drivers which are provided by the compiler but unfortunately these codes are buggy.

I know that there are a lot of thread here about this issue but all the links are deads.
Is anyone who has a bug free code drivers(fat.c,mmc.c)Huh
Logged
Old_but_Alive
V.I.P
Active Member
*****
Offline Offline

Posts: 211

Thank You
-Given: 154
-Receive: 56


« Reply #1 on: March 17, 2014, 08:47:01 20:47 »

you would be much better off trying the CCS bulletin board.

I tried to implement CCS's drivers, and they are rubbish.

But, there is loads of good info on the board, search "SDcard" amongst others

user asmallri has a website where he sells working drivers.
Logged
Gallymimu
Hero Member
*****
Offline Offline

Posts: 579

Thank You
-Given: 101
-Receive: 151


« Reply #2 on: March 18, 2014, 06:01:21 06:01 »

Give microchip's FAT and SD driver a try.  They were a little shaky a few years ago but most of the issues had been fixed and I used it in a production environment without any issue for data logging and bootloading.
Logged
Tom1234
Junior Member
**
Offline Offline

Posts: 35

Thank You
-Given: 6
-Receive: 1


« Reply #3 on: March 19, 2014, 01:12:31 01:12 »

Gallymimu what is the compiler version did you use (and it was fine)??
Logged
Ak_embedded
Inactive

 Muted
Offline Offline

Posts: 1

Thank You
-Given: 14
-Receive: 1


« Reply #4 on: March 19, 2014, 09:58:01 09:58 »

I good implementation that works is available at http://www.dharmanitech.com/2009/01/sd-card-interfacing-with-atmega8-fat32.html

For PIC controllers you need to port and cross compiler the available source.

Also you can have a look at http://www.sonsivri.to/forum/index.php?topic=52381.0
Logged
danifox
Newbie
*
Offline Offline

Posts: 7

Thank You
-Given: 30
-Receive: 2


« Reply #5 on: January 10, 2015, 12:27:06 12:27 »

While using CCS I would recommend you to either implement your own driver or use a freeware/shareware one, because CCS built-in SD driver doesn't work with SD v2 cards.
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC