| View previous topic :: View next topic |
| Author |
Message |
andrewg
Joined: 17 Aug 2005 Posts: 316 Location: Perth, Western Australia
|
|
Posted: Thu Nov 18, 2010 9:20 pm |
|
|
It's good to hear you got it going. If you ever do figure out what the problem was, I'll be interested to hear about it.
I don't know how to force the creation of a partitioned card. All my cards are partitioned and I assume a camera did it or that's just how they came. Maybe fdisk or the Windows Disk Management tool? _________________ Andrew |
|
 |
Prefekt
Joined: 21 Oct 2010 Posts: 85
|
|
Posted: Fri Nov 26, 2010 6:58 am |
|
|
Hi,
I will try to find out the problem next week. At the moment I am busy. But I'm very interested why the card could't read from the pc.
andrewq: you wrote:
| Quote: | Edit, I've realized the above works because I've slightly altered the "fat_init" function too. The following in "fat_init":Code:
#ifdef FAT32
Data_Start = Bytes_Per_Cluster + Root_Dir;
#else // FAT16
needs to have "Bytes_Per_Cluster +" deleted. |
so I make:
| Quote: | #ifdef FAT32
Data_Start = Root_Dir;
#else // FAT16
|
Is this ok?
Volker |
|
 |
andrewg
Joined: 17 Aug 2005 Posts: 316 Location: Perth, Western Australia
|
|
Posted: Fri Nov 26, 2010 7:02 am |
|
|
Yes. _________________ Andrew |
|
 |
eid44
Joined: 07 Dec 2010 Posts: 1
|
|
Posted: Tue Dec 07, 2010 5:22 pm |
|
|
| Prefekt wrote: | Hi,
I will try to find out the problem next week. At the moment I am busy. But I'm very interested why the card could't read from the pc.
andrewq: you wrote:
| Quote: | Edit, I've realized the above works because I've slightly altered the "fat_init" function too. The following in "fat_init":Code:
#ifdef FAT32
Data_Start = Bytes_Per_Cluster + Root_Dir;
#else // FAT16
needs to have "Bytes_Per_Cluster +" deleted. |
so I make:
| Quote: | #ifdef FAT32
Data_Start = Root_Dir;
#else // FAT16
|
Is this ok?
Volker |
I have same your problem.
you edit it.
what is result ? It work? |
|
 |
|