CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 22 matches
CCS Forum Index
Author Message
  Topic: SD kart programming using elm chan PetitFat library
salih260

Replies: 41
Views: 100726

PostForum: General CCS C Discussion   Posted: Mon Feb 26, 2018 3:02 am   Subject: SD kart programming using elm chan PetitFat library
Thanks Ttelmah.

I will add these. Let's see what happens this time.

good works.
  Topic: SD kart programming using elm chan PetitFat library
salih260

Replies: 41
Views: 100726

PostForum: General CCS C Discussion   Posted: Mon Feb 26, 2018 3:01 am   Subject: SD kart programming using elm chan PetitFat library
Thanks asmallri.
I will make your gestures step by step.
  Topic: SD kart programming using elm chan PetitFat library
salih260

Replies: 41
Views: 100726

PostForum: General CCS C Discussion   Posted: Sat Feb 24, 2018 3:24 am   Subject: SD kart programming using elm chan PetitFat library
Thanks for helping Ttelmah.

check_fs() --> return 0

there is all the data here. Sorry I could not assign a picture here. I gave you a link.

image link: https://drive.google.com/open?id=1W ...
  Topic: SD kart programming using elm chan PetitFat library
salih260

Replies: 41
Views: 100726

PostForum: General CCS C Discussion   Posted: Sat Feb 24, 2018 2:47 am   Subject: SD kart programming using elm chan PetitFat library
Yeah. I did what you said. For example, in the 5th sector 0x21, 0x54, etc. I've written. Then I read them correctly. If I had not read the sectors and had not written it, pf_mount () would give an err ...
  Topic: SD kart programming using elm chan PetitFat library
salih260

Replies: 41
Views: 100726

PostForum: General CCS C Discussion   Posted: Sat Feb 24, 2018 1:47 am   Subject: SD kart programming using elm chan PetitFat library
The pic18f4431 is not specified to work below 4.2V
If you are powering it from a 3.3V regulator any number of things may intermittently not work.

Thanks, I know.
  Topic: SD kart programming using elm chan PetitFat library
salih260

Replies: 41
Views: 100726

PostForum: General CCS C Discussion   Posted: Sat Feb 24, 2018 1:46 am   Subject: SD kart programming using elm chan PetitFat library
Ttelmah i am used a lot of library for sd card. I read and wrote sd kart sectors. But FAT did not work.
Now I will design a circuit with pic18f. I'll do it by checking step by step. Sleep is forbidde ...
  Topic: SD kart programming using elm chan PetitFat library
salih260

Replies: 41
Views: 100726

PostForum: General CCS C Discussion   Posted: Fri Feb 23, 2018 7:57 am   Subject: SD kart programming using elm chan PetitFat library
thank you very much Ttelmah and temtronic..
Does the SD card draw much current? If so, it means 100% hardware problem. Because SD card + Pic + etc. It is fed from 3v3 regulator.
(Regulator max. outp ...
  Topic: SD kart programming using elm chan PetitFat library
salih260

Replies: 41
Views: 100726

PostForum: General CCS C Discussion   Posted: Fri Feb 23, 2018 3:52 am   Subject: SD kart programming using elm chan PetitFat library
I will go nuts. would you look at the following line:


\ff.c" Line 544(59,60): Undefined identifier TBL_DC


how am I going to fix this error ?
  Topic: SD kart programming using elm chan PetitFat library
salih260

Replies: 41
Views: 100726

PostForum: General CCS C Discussion   Posted: Fri Feb 23, 2018 3:48 am   Subject: SD kart programming using elm chan PetitFat library
my pull up resistor value 4.7k. this cause a problem? Also i do not think so.
Because i read/write sd card sectors.
  Topic: SD kart programming using elm chan PetitFat library
salih260

Replies: 41
Views: 100726

PostForum: General CCS C Discussion   Posted: Fri Feb 23, 2018 3:01 am   Subject: SD kart programming using elm chan PetitFat library
Why not use a CCS library?.
Are you use CCS library?
  Topic: SD kart programming using elm chan PetitFat library
salih260

Replies: 41
Views: 100726

PostForum: General CCS C Discussion   Posted: Fri Feb 23, 2018 2:57 am   Subject: SD kart programming using elm chan PetitFat library
i use it but not working. so mmcsd.c is work but fat.c not working.
  Topic: SD kart programming using elm chan PetitFat library
salih260

Replies: 41
Views: 100726

PostForum: General CCS C Discussion   Posted: Fri Feb 23, 2018 12:01 am   Subject: FatFs Library
Thanks Ttelmah.

I'm now in the FatFs library. Because PetitFat has failed most people.
When I include the Fat library, I get this error.

This error line:

FRESULT f_forward (FIL* fp, UINT ...
  Topic: SD kart programming using elm chan PetitFat library
salih260

Replies: 41
Views: 100726

PostForum: General CCS C Discussion   Posted: Thu Feb 22, 2018 11:48 pm   Subject: SD kart programming using elm chan PetitFat library
I read Datasheet, I know. first <400kHz. I'm doing the speed 2 MHz after the SD card is initialize.
  Topic: SD kart programming using elm chan PetitFat library
salih260

Replies: 41
Views: 100726

PostForum: General CCS C Discussion   Posted: Thu Feb 22, 2018 3:31 am   Subject: SD kart programming using elm chan PetitFat library
Thanks Ttelmah, for you helping.

Also my max spi speed 2 MHz. This effected on FAT or not ?
if I over 2MHz speed, sd card not respond.

I communicate with the SD card, but unfortunately it does ...
  Topic: SD kart programming using elm chan PetitFat library
salih260

Replies: 41
Views: 100726

PostForum: General CCS C Discussion   Posted: Wed Feb 21, 2018 11:50 pm   Subject: SD kart programming using elm chan PetitFat library
Thanks for reply Ttelmah and temtronic..

I did not try pic24 because there was not much time.
does Petit Fat not work?

the problem still continues... :(
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group