Author |
Message |
Topic: ex_fat.c: nothing to see on the PC (solved) |
electr0dave
Replies: 8
Views: 12366
|
Forum: General CCS C Discussion Posted: Mon Apr 13, 2015 7:19 am Subject: ex_fat.c: nothing to see on the PC (solved) |
I also spent some time around this problem ...
I recently had to do the same and I lost a lot of time.
So I decided to let it all together for future reference ...
I am happy to help! |
Topic: ex_fat.c: nothing to see on the PC (solved) |
electr0dave
Replies: 8
Views: 12366
|
Forum: General CCS C Discussion Posted: Mon Apr 13, 2015 4:34 am Subject: ex_fat.c: nothing to see on the PC (solved) |
Hello ...
Change the files for these link and test again ...
http://www.ccsinfo.com/forum/viewtopic.php?t=53787
First is "format xxxx" then create the file and check on the computer . ... |
Topic: mmcsd.c and fat.c modified and fully functional |
electr0dave
Replies: 14
Views: 101892
|
Forum: Code Library Posted: Fri Apr 10, 2015 3:24 pm Subject: mmcsd.c and fat.c modified and fully functional |
fat.c - part2
/*
signed int get_short_file_name(int32 file_entry_addr, char sname |
Topic: mmcsd.c and fat.c modified and fully functional |
electr0dave
Replies: 14
Views: 101892
|
Forum: Code Library Posted: Fri Apr 10, 2015 3:13 pm Subject: mmcsd.c and fat.c modified and fully functional |
fat.c - part1
/////////////////////////////////////////////////////////////////////////
//// FAT_PIC.C ////
//// ... |
Topic: mmcsd.c and fat.c modified and fully functional |
electr0dave
Replies: 14
Views: 101892
|
Forum: Code Library Posted: Fri Apr 10, 2015 3:08 pm Subject: mmcsd.c and fat.c modified and fully functional |
As you know, this forum there are many scattered versions, on this subject.
I went back again in need of it and basically had to re-join all parts ...
For future reference of all, here I leave it al ... |
Topic: DS18S20 & DS18B20 Codes |
electr0dave
Replies: 54
Views: 633980
|
Forum: Code Library Posted: Fri Aug 15, 2014 4:11 am Subject: DS18S20 & DS18B20 Codes |
The code below is based on "ds1820.c" made by hansolo.
I made some changes according to the
float ds1820_read()
{
int8 c, SCRATCHPAD[8];
int8 busy=0;
sign ... |
Topic: MMC SD libraries - yap this topic again |
electr0dave
Replies: 35
Views: 94672
|
Forum: General CCS C Discussion Posted: Wed Aug 13, 2014 7:03 am Subject: MMC SD libraries - yap this topic again |
I'm making some changes.
1st - fat.c file in line 221
#define FAT16
// # define FAT32
2nd - gives error while compiling
3rd - change line 1342 to
if (write_fat (Next_F ... |
Topic: MMC SD libraries - yap this topic again |
electr0dave
Replies: 35
Views: 94672
|
Forum: General CCS C Discussion Posted: Tue Aug 12, 2014 2:41 pm Subject: MMC SD libraries - yap this topic again |
OK, I added something written to the file and apparently works even after reset.
PCM programmer your help was invaluable!
Obviously, I also thank all those who came here to answer!
I will cont ... |
Topic: MMC SD libraries - yap this topic again |
electr0dave
Replies: 35
Views: 94672
|
Forum: General CCS C Discussion Posted: Tue Aug 12, 2014 2:21 pm Subject: MMC SD libraries - yap this topic again |
In fact it works like you said ....
But I tried to do something else .... I did reset the circuit and "dir" again so I can see if the file was still there.
The answer is no :(.
http ... |
Topic: MMC SD libraries - yap this topic again |
electr0dave
Replies: 35
Views: 94672
|
Forum: General CCS C Discussion Posted: Tue Aug 12, 2014 12:04 pm Subject: MMC SD libraries - yap this topic again |
Oh God ...
I will test the sample program again .... but I still do not understand the reason for all this mess ...
You have pull-up in SD_DO?
I will do everything as you say!
I'm curren ... |
Topic: MMC SD libraries - yap this topic again |
electr0dave
Replies: 35
Views: 94672
|
Forum: General CCS C Discussion Posted: Tue Aug 12, 2014 9:44 am Subject: MMC SD libraries - yap this topic again |
The breadboard photograph shows an SD card protruding from the breadboard but no signs of how the connection was made between the board and the card.
http://s27.postimg.org/v42s5zilv/IMG_2014081 ... |
Topic: MMC SD libraries - yap this topic again |
electr0dave
Replies: 35
Views: 94672
|
Forum: General CCS C Discussion Posted: Tue Aug 12, 2014 7:02 am Subject: MMC SD libraries - yap this topic again |
I tried again to create a file, but failed ...
http://s8.postimg.org/jb9pq2izp/Capture.png
[url=http://postimage.org/]image upload no size limit |
Topic: MMC SD libraries - yap this topic again |
electr0dave
Replies: 35
Views: 94672
|
Forum: General CCS C Discussion Posted: Tue Aug 12, 2014 6:57 am Subject: MMC SD libraries - yap this topic again |
Hmmm .....
I made some changes ...
I put:
* Pull-down resistor in SD_DO;
* Pull-up resistor in CS, DAT1 and DAT2;
http://s17.postimg.org/yosp12z7j/IMG_20140812_134938.jpghttp://s17.pos ... |
Topic: MMC SD libraries - yap this topic again |
electr0dave
Replies: 35
Views: 94672
|
Forum: General CCS C Discussion Posted: Tue Aug 12, 2014 6:33 am Subject: MMC SD libraries - yap this topic again |
Hello.
I replaced library mmcsd.c by that which is in the link.
But I only get "begin initialization" ....
After this, it seems that he is trapped in an infinite loop.
This occu ... |
Topic: MMC SD libraries - yap this topic again |
electr0dave
Replies: 35
Views: 94672
|
Forum: General CCS C Discussion Posted: Mon Aug 11, 2014 5:18 pm Subject: MMC SD libraries - yap this topic again |
Okay.
Keep me informed, please. |
|