efsl-devel Mailing List for Embedded Filesystems Library (Page 4)
Brought to you by:
flecxie,
lennartyseboodt
You can subscribe to this list here.
| 2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(4) |
Sep
(7) |
Oct
(14) |
Nov
(14) |
Dec
(8) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2006 |
Jan
(8) |
Feb
(5) |
Mar
|
Apr
|
May
|
Jun
(3) |
Jul
(17) |
Aug
|
Sep
(6) |
Oct
(6) |
Nov
|
Dec
|
| 2007 |
Jan
(1) |
Feb
|
Mar
(2) |
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
(8) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2008 |
Jan
|
Feb
|
Mar
|
Apr
(2) |
May
(2) |
Jun
(4) |
Jul
(5) |
Aug
(2) |
Sep
(12) |
Oct
(8) |
Nov
(24) |
Dec
(32) |
| 2009 |
Jan
(14) |
Feb
(15) |
Mar
(11) |
Apr
(32) |
May
(25) |
Jun
(14) |
Jul
(32) |
Aug
(7) |
Sep
(4) |
Oct
(4) |
Nov
(5) |
Dec
(9) |
| 2010 |
Jan
(8) |
Feb
(7) |
Mar
(12) |
Apr
(2) |
May
|
Jun
(8) |
Jul
(8) |
Aug
(18) |
Sep
(17) |
Oct
|
Nov
|
Dec
|
| 2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
|
From: Lennart Y. <len...@sk...> - 2006-09-06 07:35:03
|
Hi Etienne, I'm forwarding this mail to the mailinglist. Almost every case where you get a low level error from the driver means some problem with the hardware, badly connected cables being most notorious. Michael wrote this driver, maybe he has some insight to share. Regarding devel version: it offers few benefits to 0.2.x at the moment and is best avoided, unless you want to develop for it/do tests. Regards, Lennart Etienne Force-A wrote: > Hello, > > I'm curently developping software for an application on a ATmega128 > (an optical sensor for agriculture). I needed space to backup data and > first used the mmc.c from the AVRlib to manage a 128 Mo SD card. That > work nice but I decided to go further and implementing a filesystem. I > get the EFSL and try using it, I have some questions about it : > _ and first one : does the EFSL-mailing-list exist ? > _ How stable is the dev version of EFSL (0.3.5) ? > _ I have problems with the hardware functions for the AVR/SD, I get a > "Unknown error 0xe0 (see SanDisk docs p5-13)." from the sd_Init > function : which documentation should I get to debug ? (And have you > ever see this error ? I try to slow down the SPI clock without a > success... I don't know where could be the 'bug' : the sources are > very similar to the AVRlib which work well). > > Anyway, the source code is very clear, I think I will add the AVRlib > functions as a new endpoint even if I had prefered to use the EFSL > globally. > > Thanks again for your support, > Etienne Besan=E7on > > |
|
From: Steve F. <ste...@ie...> - 2006-07-11 20:25:27
|
> Message: 1 > Date: Tue, 11 Jul 2006 10:51:44 -0400 > From: Daniel Medeiros <da...@ma...> > Subject: Re: [Efsl-devel] 127 file limit in a subdirectory > To: efs...@li... > Message-ID: <44B...@ma...> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Also, on an unrelated note, I saw on the forums a while back someone > with a thread about getting the usb mass storage class working with > efsl. I found this project that uses some of the efsl components to > implement just that (although I havent tested it). Its called LPCUSB, > http://sourceforge.net/projects/lpcusb > Just FYI, I've built both efsl and lpcusb with gcc-arm on the lpc2148, and both worked impeccably. I never found time for combining the two, unfortunately. Steve -- Steve Franks, KE7BTE Staff Engineer La Palma Devices, LLC http://www.lapalmadevices.com (520) 312-0089 |
|
From: Dan W. <dw...@2w...> - 2006-07-11 19:42:50
|
Hi Lennart- Thanks for the info. However for blank media I'll also need to create = an initial valid partition. Is there somewhere a code snippet that = shows the proper means to create the first partition and then format = completely blank media? Thanks Dan |
|
From: Daniel M. <da...@ma...> - 2006-07-11 14:51:52
|
After much checking, I believe I found the problem. Looks like somehow, in a subfunction of dir.c (looking for clusters in a directory), a line got moved out of a for loop (how I am not entirely sure), but I went back and did a string compare on all the files and found the discrepancy. Once fixed, I was able to write it out fine. I thank you guys again for your input. Also, on an unrelated note, I saw on the forums a while back someone with a thread about getting the usb mass storage class working with efsl. I found this project that uses some of the efsl components to implement just that (although I havent tested it). Its called LPCUSB, http://sourceforge.net/projects/lpcusb I'll probably look at it and get a port done for the atmel arm7 core at some point in the near future. Daniel Daniel Medeiros wrote: > Like most complex problems, it can be hard to find the cause. I do > have an Olimex board somewhere in which I can try the code to at least > get a different hardware solution to see if its repeatable. The more > information I can get (if this is indeed a known issue), the quicker > I'll find a solution to the problem. Anyways, I thank you guys for > your time in helping me narrow down the issue. Thanks > > Daniel > > M. Bester wrote: >> Hello Daniel, >> >> I did the subdirectory test on an ARM7 (Atmel AT91SAM7S) with a 256MB >> SD card. I was able to create 513 files in a single subdirectory >> without any error. All files are accessible in the Explorer and >> Windows ScanDisk doesn't complain about anything. So maybe this is >> not an EFSL issue. >> >> >> Marko >> >> Daniel Medeiros schrieb: >> >>> I am using an ARM7 to do the writing - like i said on the notes, it >>> writes it fine to the root (200 files), but not to a subdir. >>> I am using a card reader from sandisk to read it into windows2k. >>> >>> >>> I re-formatted the card to use 16 sectors per cluster, it still wont >>> work - it seems that the code aborts after writing only a few files. >>> Ill have to spend a bit more time to get some meaningful detail on >>> the issue. >>> >>> Daniel >>> >>> >>> >>> >>> >>> M. Bester wrote: >>> >>>> Hello Daniel, >>>> >>>> Daniel Medeiros schrieb: >>>> >>>>> Here is a bit more of information. I have tried two 256M SD cards, >>>>> both with the same result. >>>>> efs.myFs.volumeId.SectorsPerCluster=8 >>>>> >>>>> Here is a quick snippet of code: >>>>> >>>>> >>>>> for(i=0;i<200;i++) { >>>>> get_filename(&state,1); >>>>> strcpy(&tmpstr,state.file_data); >>>>> strcpy(state.file_data,"DATA/"); >>>>> strcat(state.file_data,tmpstr); >>>>> file_fopen(&file_gpx,&efs.myFs,state.file_data,'w'); >>>>> file_write(&file_gpx,1,"2"); >>>>> delay_ms(10); >>>>> file_fclose(&file_gpx); >>>>> } >>>>> fs_umount(&efs.myFs); >>>>> >>>>> >>>> For me this looks okay. >>>> I'm testing on a PC where I load an image file as medium. I've just >>>> put >>>> the image file on a 256MB SD card and it looks fine under WinXP. >>>> The format is 16 sectors per cluster. >>>> What hardware are you using? >>>> >>>> >>>>> The get_filename function just formats and creates my files >>>>> (currently an index of 1up numbers). >>>>> I append the directory info to it, then write 1 character, close >>>>> the file, and loop. >>>>> I am including a link of a screenshot of that directory (so you >>>>> can see the corruption). >>>>> http://www.marslabs.com/dir1.jpg >>>>> http://www.marslabs.com/dir2.jpg >>>>> >>>>> Now, if I execute the same code on the root directory, I can write >>>>> out the 200 files without a problem. >>>>> >>>>> >>>>> Any ideas off hand? Thanks >>>>> >>>>> Daniel Medeiros wrote: >>>>> >>>>>> I am using 0.2.7 to create the files. I assumed 512 was for all >>>>>> dirs (including the root). The issue for me still remains that >>>>>> for some reason, after creating the 127th file, it trashes the >>>>>> fat table in the subdir in question. Ill run some more tests on >>>>>> it to try to narrow where the corruption is happening. >>>>>> >>>>>> >>>>>> M. Bester wrote: >>>>>> >>>>>>> Hello, >>>>>>> >>>>>>> what EFSL version are you using? >>>>>>> I'm using 0.2.7 and I've just created 513 files in a single >>>>>>> subdirectory without a problem. >>>>>>> To my knowledge the limit of 512 files applies only to the root >>>>>>> directory. >>>>>>> >>>>>>> Marko >>>>>>> >>>>>>> Daniel Medeiros schrieb: >>>>>>> >>>>>>>> I will check the FAT, and look at the # of clusters. I know >>>>>>>> that FAT16 has a limit of 512, and for the application I am >>>>>>>> making its possible that there will be more files created than >>>>>>>> that over time, so Ill have to roll them into directories >>>>>>>> anyway. The issue then would become is it 100+ files per dir or >>>>>>>> 500+ files per dir. >>>>>>>> Have a great Holiday >>>>>>>> >>>>>>>> Daniel >>>>>>>> >>>>>>>> Lennart Yseboodt wrote: >>>>>>>> >>>>>>>>> Hi Daniel, >>>>>>>>> >>>>>>>>> Sounds like a bug to me. 127 is like 128, and 128/16=8. >>>>>>>>> Is it possible you have 8 sectors per cluster ? >>>>>>>>> >>>>>>>>> I will try to look into this issue, but I will be honest, I'm >>>>>>>>> leaving for >>>>>>>>> hollidays on the 11th and have a lot of things to do until >>>>>>>>> then, so >>>>>>>>> if you need this fix fast you will have to do it yourself I'm >>>>>>>>> afraid :) >>>>>>>>> >>>>>>>>> Maybe Michael has time ? >>>>>>>>> >>>>>>>>> Regards, >>>>>>>>> >>>>>>>>> Lennart >>>>>>>>> >>>>>>>>> Daniel Medeiros wrote: >>>>>>>>> >>>>>>>>>> I am running into a problem and before I spend too much time >>>>>>>>>> on it I wanted to get your opinions as someone may put me on >>>>>>>>>> the right track. >>>>>>>>>> Inside a subdirectory off the root of the SD, as soon as I >>>>>>>>>> write out 127 files, the contents of that directory get too >>>>>>>>>> garbled (it puts trash data/directories). >>>>>>>>>> I verified this with two different SD cards (so I dont think >>>>>>>>>> the issue is the SD in question). Everything works fine until >>>>>>>>>> I hit that limit. I know that FAT 16 has a limit of 512 files >>>>>>>>>> per directory, so I wouldn't have though I would hit it this >>>>>>>>>> soon. Any suggestions as to what may be going on? Thanks >>>>>>>>>> >>>>>>>>>> Daniel >>>>>>>>>> >>>>>>>>>> Using Tomcat but need to do more? Need to support web >>>>>>>>>> services, security? >>>>>>>>>> Get stuff done quickly with pre-integrated technology to make >>>>>>>>>> your job easier >>>>>>>>>> Download IBM WebSphere Application Server v.1.0.1 based on >>>>>>>>>> Apache Geronimo >>>>>>>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>>>>>>>>> >>>>>>>>>> _______________________________________________ >>>>>>>>>> Efsl-devel mailing list >>>>>>>>>> Efs...@li... >>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/efsl-devel >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>> Using Tomcat but need to do more? Need to support web >>>>>>>>> services, security? >>>>>>>>> Get stuff done quickly with pre-integrated technology to make >>>>>>>>> your job easier >>>>>>>>> Download IBM WebSphere Application Server v.1.0.1 based on >>>>>>>>> Apache Geronimo >>>>>>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>>>>>>>> >>>>>>>>> _______________________________________________ >>>>>>>>> Efsl-devel mailing list >>>>>>>>> Efs...@li... >>>>>>>>> https://lists.sourceforge.net/lists/listinfo/efsl-devel >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>> Using Tomcat but need to do more? Need to support web services, >>>>>>>> security? >>>>>>>> Get stuff done quickly with pre-integrated technology to make >>>>>>>> your job easier >>>>>>>> Download IBM WebSphere Application Server v.1.0.1 based on >>>>>>>> Apache Geronimo >>>>>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> Efsl-devel mailing list >>>>>>>> Efs...@li... >>>>>>>> https://lists.sourceforge.net/lists/listinfo/efsl-devel >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> Using Tomcat but need to do more? Need to support web services, >>>>>>> security? >>>>>>> Get stuff done quickly with pre-integrated technology to make >>>>>>> your job easier >>>>>>> Download IBM WebSphere Application Server v.1.0.1 based on >>>>>>> Apache Geronimo >>>>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Efsl-devel mailing list >>>>>>> Efs...@li... >>>>>>> https://lists.sourceforge.net/lists/listinfo/efsl-devel >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> Using Tomcat but need to do more? Need to support web services, >>>>>> security? >>>>>> Get stuff done quickly with pre-integrated technology to make >>>>>> your job easier >>>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache >>>>>> Geronimo >>>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>>>>> >>>>>> _______________________________________________ >>>>>> Efsl-devel mailing list >>>>>> Efs...@li... >>>>>> https://lists.sourceforge.net/lists/listinfo/efsl-devel >>>>>> >>>>>> >>>>>> >>>>>> >>>>> Using Tomcat but need to do more? Need to support web services, >>>>> security? >>>>> Get stuff done quickly with pre-integrated technology to make your >>>>> job easier >>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache >>>>> Geronimo >>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>>>> >>>>> _______________________________________________ >>>>> Efsl-devel mailing list >>>>> Efs...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/efsl-devel >>>>> >>>>> >>>>> >>>>> >>>> >>>> >>>> Using Tomcat but need to do more? Need to support web services, >>>> security? >>>> Get stuff done quickly with pre-integrated technology to make your >>>> job easier >>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache >>>> Geronimo >>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>>> >>>> _______________________________________________ >>>> Efsl-devel mailing list >>>> Efs...@li... >>>> https://lists.sourceforge.net/lists/listinfo/efsl-devel >>>> >>>> >>>> >>>> >>> Using Tomcat but need to do more? Need to support web services, >>> security? >>> Get stuff done quickly with pre-integrated technology to make your >>> job easier >>> Download IBM WebSphere Application Server v.1.0.1 based on Apache >>> Geronimo >>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>> >>> _______________________________________________ >>> Efsl-devel mailing list >>> Efs...@li... >>> https://lists.sourceforge.net/lists/listinfo/efsl-devel >>> >>> >>> >>> >> >> >> >> Using Tomcat but need to do more? Need to support web services, >> security? >> Get stuff done quickly with pre-integrated technology to make your >> job easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache >> Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> Efsl-devel mailing list >> Efs...@li... >> https://lists.sourceforge.net/lists/listinfo/efsl-devel >> >> !DSPAM:44ae076c194851210916249! >> >> > |
|
From: Lennart Y. <le...@be...> - 2006-07-09 19:49:18
|
Hi Dan, Yes, you can use mkfs_makevfat() which takes a partition as an argument. It will format it FAT32, with the largest possible clustersize. Regards, Lennart Yseboodt Dan Wright wrote: > Hi- > > I'm guessing that I just haven't been able to find the right place in > your documentation but does efsl have the ability to create a brand > new valid file system on new blank media? > > Thanks > Dan Wright > > > ------------------------------------------------------------------------ > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > ------------------------------------------------------------------------ > > _______________________________________________ > Efsl-devel mailing list > Efs...@li... > https://lists.sourceforge.net/lists/listinfo/efsl-devel > |
|
From: Dan W. <dan...@sb...> - 2006-07-09 16:55:54
|
Hi- I'm guessing that I just haven't been able to find the right place in your documentation but does efsl have the ability to create a brand new valid file system on new blank media? Thanks Dan Wright |
|
From: Daniel M. <da...@ma...> - 2006-07-07 13:33:50
|
Like most complex problems, it can be hard to find the cause. I do have
an Olimex board somewhere in which I can try the code to at least get a
different hardware solution to see if its repeatable. The more
information I can get (if this is indeed a known issue), the quicker
I'll find a solution to the problem. Anyways, I thank you guys for your
time in helping me narrow down the issue. Thanks
Daniel
M. Bester wrote:
> Hello Daniel,
>
> I did the subdirectory test on an ARM7 (Atmel AT91SAM7S) with a 256MB SD
> card. I was able to create 513 files in a single subdirectory without
> any error. All files are accessible in the Explorer and Windows ScanDisk
> doesn't complain about anything. So maybe this is not an EFSL issue.
>
>
> Marko
>
> Daniel Medeiros schrieb:
>
>> I am using an ARM7 to do the writing - like i said on the notes, it
>> writes it fine to the root (200 files), but not to a subdir.
>> I am using a card reader from sandisk to read it into windows2k.
>>
>>
>> I re-formatted the card to use 16 sectors per cluster, it still wont
>> work - it seems that the code aborts after writing only a few files. Ill
>> have to spend a bit more time to get some meaningful detail on the issue.
>>
>> Daniel
>>
>>
>>
>>
>>
>> M. Bester wrote:
>>
>>> Hello Daniel,
>>>
>>> Daniel Medeiros schrieb:
>>>
>>>
>>>> Here is a bit more of information. I have tried two 256M SD cards, both
>>>> with the same result.
>>>> efs.myFs.volumeId.SectorsPerCluster=8
>>>>
>>>> Here is a quick snippet of code:
>>>>
>>>>
>>>> for(i=0;i<200;i++) {
>>>> get_filename(&state,1);
>>>> strcpy(&tmpstr,state.file_data);
>>>> strcpy(state.file_data,"DATA/");
>>>> strcat(state.file_data,tmpstr);
>>>> file_fopen(&file_gpx,&efs.myFs,state.file_data,'w');
>>>> file_write(&file_gpx,1,"2");
>>>> delay_ms(10);
>>>> file_fclose(&file_gpx);
>>>> }
>>>> fs_umount(&efs.myFs);
>>>>
>>>>
>>>>
>>> For me this looks okay.
>>> I'm testing on a PC where I load an image file as medium. I've just put
>>> the image file on a 256MB SD card and it looks fine under WinXP. The
>>> format is 16 sectors per cluster.
>>> What hardware are you using?
>>>
>>>
>>>
>>>> The get_filename function just formats and creates my files (currently
>>>> an index of 1up numbers).
>>>> I append the directory info to it, then write 1 character, close the
>>>> file, and loop.
>>>> I am including a link of a screenshot of that directory (so you can see
>>>> the corruption).
>>>> http://www.marslabs.com/dir1.jpg
>>>> http://www.marslabs.com/dir2.jpg
>>>>
>>>> Now, if I execute the same code on the root directory, I can write out
>>>> the 200 files without a problem.
>>>>
>>>>
>>>> Any ideas off hand? Thanks
>>>>
>>>> Daniel Medeiros wrote:
>>>>
>>>>
>>>>> I am using 0.2.7 to create the files. I assumed 512 was for all dirs
>>>>> (including the root). The issue for me still remains that for some
>>>>> reason, after creating the 127th file, it trashes the fat table in the
>>>>> subdir in question. Ill run some more tests on it to try to narrow where
>>>>> the corruption is happening.
>>>>>
>>>>>
>>>>> M. Bester wrote:
>>>>>
>>>>>
>>>>>
>>>>>> Hello,
>>>>>>
>>>>>> what EFSL version are you using?
>>>>>> I'm using 0.2.7 and I've just created 513 files in a single subdirectory
>>>>>> without a problem.
>>>>>> To my knowledge the limit of 512 files applies only to the root directory.
>>>>>>
>>>>>> Marko
>>>>>>
>>>>>> Daniel Medeiros schrieb:
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>> I will check the FAT, and look at the # of clusters. I know that FAT16
>>>>>>> has a limit of 512, and for the application I am making its possible
>>>>>>> that there will be more files created than that over time, so Ill have
>>>>>>> to roll them into directories anyway. The issue then would become is it
>>>>>>> 100+ files per dir or 500+ files per dir.
>>>>>>> Have a great Holiday
>>>>>>>
>>>>>>> Daniel
>>>>>>>
>>>>>>> Lennart Yseboodt wrote:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>> Hi Daniel,
>>>>>>>>
>>>>>>>> Sounds like a bug to me. 127 is like 128, and 128/16=8.
>>>>>>>> Is it possible you have 8 sectors per cluster ?
>>>>>>>>
>>>>>>>> I will try to look into this issue, but I will be honest, I'm leaving for
>>>>>>>> hollidays on the 11th and have a lot of things to do until then, so
>>>>>>>> if you need this fix fast you will have to do it yourself I'm afraid :)
>>>>>>>>
>>>>>>>> Maybe Michael has time ?
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>>
>>>>>>>> Lennart
>>>>>>>>
>>>>>>>> Daniel Medeiros wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>> I am running into a problem and before I spend too much time on it I
>>>>>>>>> wanted to get your opinions as someone may put me on the right track.
>>>>>>>>> Inside a subdirectory off the root of the SD, as soon as I write out 127
>>>>>>>>> files, the contents of that directory get too garbled (it puts trash
>>>>>>>>> data/directories).
>>>>>>>>> I verified this with two different SD cards (so I dont think the issue
>>>>>>>>> is the SD in question). Everything works fine until I hit that limit. I
>>>>>>>>> know that FAT 16 has a limit of 512 files per directory, so I wouldn't
>>>>>>>>> have though I would hit it this soon. Any suggestions as to what may be
>>>>>>>>> going on? Thanks
>>>>>>>>>
>>>>>>>>> Daniel
>>>>>>>>>
>>>>>>>>> Using Tomcat but need to do more? Need to support web services, security?
>>>>>>>>> Get stuff done quickly with pre-integrated technology to make your job easier
>>>>>>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>>>>>>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>>>>>>>> _______________________________________________
>>>>>>>>> Efsl-devel mailing list
>>>>>>>>> Efs...@li...
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/efsl-devel
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>> Using Tomcat but need to do more? Need to support web services, security?
>>>>>>>> Get stuff done quickly with pre-integrated technology to make your job easier
>>>>>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>>>>>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>>>>>>> _______________________________________________
>>>>>>>> Efsl-devel mailing list
>>>>>>>> Efs...@li...
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/efsl-devel
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>> Using Tomcat but need to do more? Need to support web services, security?
>>>>>>> Get stuff done quickly with pre-integrated technology to make your job easier
>>>>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>>>>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>>>>>> _______________________________________________
>>>>>>> Efsl-devel mailing list
>>>>>>> Efs...@li...
>>>>>>> https://lists.sourceforge.net/lists/listinfo/efsl-devel
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>> Using Tomcat but need to do more? Need to support web services, security?
>>>>>> Get stuff done quickly with pre-integrated technology to make your job easier
>>>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>>>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>>>>> _______________________________________________
>>>>>> Efsl-devel mailing list
>>>>>> Efs...@li...
>>>>>> https://lists.sourceforge.net/lists/listinfo/efsl-devel
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>> Using Tomcat but need to do more? Need to support web services, security?
>>>>> Get stuff done quickly with pre-integrated technology to make your job easier
>>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>>>> _______________________________________________
>>>>> Efsl-devel mailing list
>>>>> Efs...@li...
>>>>> https://lists.sourceforge.net/lists/listinfo/efsl-devel
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>> Using Tomcat but need to do more? Need to support web services, security?
>>>> Get stuff done quickly with pre-integrated technology to make your job easier
>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>>> _______________________________________________
>>>> Efsl-devel mailing list
>>>> Efs...@li...
>>>> https://lists.sourceforge.net/lists/listinfo/efsl-devel
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>> Using Tomcat but need to do more? Need to support web services, security?
>>> Get stuff done quickly with pre-integrated technology to make your job easier
>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>> _______________________________________________
>>> Efsl-devel mailing list
>>> Efs...@li...
>>> https://lists.sourceforge.net/lists/listinfo/efsl-devel
>>>
>>>
>>>
>>>
>>>
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> Efsl-devel mailing list
>> Efs...@li...
>> https://lists.sourceforge.net/lists/listinfo/efsl-devel
>>
>>
>>
>>
>
>
>
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Efsl-devel mailing list
> Efs...@li...
> https://lists.sourceforge.net/lists/listinfo/efsl-devel
>
> !DSPAM:44ae076c194851210916249!
>
>
|
|
From: M. B. <m.b...@mi...> - 2006-07-07 07:09:15
|
Hello Daniel,
I did the subdirectory test on an ARM7 (Atmel AT91SAM7S) with a 256MB SD
card. I was able to create 513 files in a single subdirectory without
any error. All files are accessible in the Explorer and Windows ScanDisk
doesn't complain about anything. So maybe this is not an EFSL issue.
Marko
Daniel Medeiros schrieb:
> I am using an ARM7 to do the writing - like i said on the notes, it
> writes it fine to the root (200 files), but not to a subdir.
> I am using a card reader from sandisk to read it into windows2k.
>
>
> I re-formatted the card to use 16 sectors per cluster, it still wont
> work - it seems that the code aborts after writing only a few files. Ill
> have to spend a bit more time to get some meaningful detail on the issue.
>
> Daniel
>
>
>
>
>
> M. Bester wrote:
>> Hello Daniel,
>>
>> Daniel Medeiros schrieb:
>>
>>> Here is a bit more of information. I have tried two 256M SD cards, both
>>> with the same result.
>>> efs.myFs.volumeId.SectorsPerCluster=8
>>>
>>> Here is a quick snippet of code:
>>>
>>>
>>> for(i=0;i<200;i++) {
>>> get_filename(&state,1);
>>> strcpy(&tmpstr,state.file_data);
>>> strcpy(state.file_data,"DATA/");
>>> strcat(state.file_data,tmpstr);
>>> file_fopen(&file_gpx,&efs.myFs,state.file_data,'w');
>>> file_write(&file_gpx,1,"2");
>>> delay_ms(10);
>>> file_fclose(&file_gpx);
>>> }
>>> fs_umount(&efs.myFs);
>>>
>>>
>> For me this looks okay.
>> I'm testing on a PC where I load an image file as medium. I've just put
>> the image file on a 256MB SD card and it looks fine under WinXP. The
>> format is 16 sectors per cluster.
>> What hardware are you using?
>>
>>
>>> The get_filename function just formats and creates my files (currently
>>> an index of 1up numbers).
>>> I append the directory info to it, then write 1 character, close the
>>> file, and loop.
>>> I am including a link of a screenshot of that directory (so you can see
>>> the corruption).
>>> http://www.marslabs.com/dir1.jpg
>>> http://www.marslabs.com/dir2.jpg
>>>
>>> Now, if I execute the same code on the root directory, I can write out
>>> the 200 files without a problem.
>>>
>>>
>>> Any ideas off hand? Thanks
>>>
>>> Daniel Medeiros wrote:
>>>
>>>> I am using 0.2.7 to create the files. I assumed 512 was for all dirs
>>>> (including the root). The issue for me still remains that for some
>>>> reason, after creating the 127th file, it trashes the fat table in the
>>>> subdir in question. Ill run some more tests on it to try to narrow where
>>>> the corruption is happening.
>>>>
>>>>
>>>> M. Bester wrote:
>>>>
>>>>
>>>>> Hello,
>>>>>
>>>>> what EFSL version are you using?
>>>>> I'm using 0.2.7 and I've just created 513 files in a single subdirectory
>>>>> without a problem.
>>>>> To my knowledge the limit of 512 files applies only to the root directory.
>>>>>
>>>>> Marko
>>>>>
>>>>> Daniel Medeiros schrieb:
>>>>>
>>>>>
>>>>>
>>>>>> I will check the FAT, and look at the # of clusters. I know that FAT16
>>>>>> has a limit of 512, and for the application I am making its possible
>>>>>> that there will be more files created than that over time, so Ill have
>>>>>> to roll them into directories anyway. The issue then would become is it
>>>>>> 100+ files per dir or 500+ files per dir.
>>>>>> Have a great Holiday
>>>>>>
>>>>>> Daniel
>>>>>>
>>>>>> Lennart Yseboodt wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>> Hi Daniel,
>>>>>>>
>>>>>>> Sounds like a bug to me. 127 is like 128, and 128/16=8.
>>>>>>> Is it possible you have 8 sectors per cluster ?
>>>>>>>
>>>>>>> I will try to look into this issue, but I will be honest, I'm leaving for
>>>>>>> hollidays on the 11th and have a lot of things to do until then, so
>>>>>>> if you need this fix fast you will have to do it yourself I'm afraid :)
>>>>>>>
>>>>>>> Maybe Michael has time ?
>>>>>>>
>>>>>>> Regards,
>>>>>>>
>>>>>>> Lennart
>>>>>>>
>>>>>>> Daniel Medeiros wrote:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>> I am running into a problem and before I spend too much time on it I
>>>>>>>> wanted to get your opinions as someone may put me on the right track.
>>>>>>>> Inside a subdirectory off the root of the SD, as soon as I write out 127
>>>>>>>> files, the contents of that directory get too garbled (it puts trash
>>>>>>>> data/directories).
>>>>>>>> I verified this with two different SD cards (so I dont think the issue
>>>>>>>> is the SD in question). Everything works fine until I hit that limit. I
>>>>>>>> know that FAT 16 has a limit of 512 files per directory, so I wouldn't
>>>>>>>> have though I would hit it this soon. Any suggestions as to what may be
>>>>>>>> going on? Thanks
>>>>>>>>
>>>>>>>> Daniel
>>>>>>>>
>>>>>>>> Using Tomcat but need to do more? Need to support web services, security?
>>>>>>>> Get stuff done quickly with pre-integrated technology to make your job easier
>>>>>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>>>>>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>>>>>>> _______________________________________________
>>>>>>>> Efsl-devel mailing list
>>>>>>>> Efs...@li...
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/efsl-devel
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>> Using Tomcat but need to do more? Need to support web services, security?
>>>>>>> Get stuff done quickly with pre-integrated technology to make your job easier
>>>>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>>>>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>>>>>> _______________________________________________
>>>>>>> Efsl-devel mailing list
>>>>>>> Efs...@li...
>>>>>>> https://lists.sourceforge.net/lists/listinfo/efsl-devel
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>> Using Tomcat but need to do more? Need to support web services, security?
>>>>>> Get stuff done quickly with pre-integrated technology to make your job easier
>>>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>>>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>>>>> _______________________________________________
>>>>>> Efsl-devel mailing list
>>>>>> Efs...@li...
>>>>>> https://lists.sourceforge.net/lists/listinfo/efsl-devel
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>> Using Tomcat but need to do more? Need to support web services, security?
>>>>> Get stuff done quickly with pre-integrated technology to make your job easier
>>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>>>> _______________________________________________
>>>>> Efsl-devel mailing list
>>>>> Efs...@li...
>>>>> https://lists.sourceforge.net/lists/listinfo/efsl-devel
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>> Using Tomcat but need to do more? Need to support web services, security?
>>>> Get stuff done quickly with pre-integrated technology to make your job easier
>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>>> _______________________________________________
>>>> Efsl-devel mailing list
>>>> Efs...@li...
>>>> https://lists.sourceforge.net/lists/listinfo/efsl-devel
>>>>
>>>>
>>>>
>>>>
>>>>
>>> Using Tomcat but need to do more? Need to support web services, security?
>>> Get stuff done quickly with pre-integrated technology to make your job easier
>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>> _______________________________________________
>>> Efsl-devel mailing list
>>> Efs...@li...
>>> https://lists.sourceforge.net/lists/listinfo/efsl-devel
>>>
>>>
>>>
>>>
>>
>>
>>
>>
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> Efsl-devel mailing list
>> Efs...@li...
>> https://lists.sourceforge.net/lists/listinfo/efsl-devel
>>
>> !DSPAM:44ad2504197521497611852!
>>
>>
>
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Efsl-devel mailing list
> Efs...@li...
> https://lists.sourceforge.net/lists/listinfo/efsl-devel
>
>
>
|
|
From: Daniel M. <da...@ma...> - 2006-07-06 17:48:55
|
I am using an ARM7 to do the writing - like i said on the notes, it
writes it fine to the root (200 files), but not to a subdir.
I am using a card reader from sandisk to read it into windows2k.
I re-formatted the card to use 16 sectors per cluster, it still wont
work - it seems that the code aborts after writing only a few files. Ill
have to spend a bit more time to get some meaningful detail on the issue.
Daniel
M. Bester wrote:
> Hello Daniel,
>
> Daniel Medeiros schrieb:
>
>> Here is a bit more of information. I have tried two 256M SD cards, both
>> with the same result.
>> efs.myFs.volumeId.SectorsPerCluster=8
>>
>> Here is a quick snippet of code:
>>
>>
>> for(i=0;i<200;i++) {
>> get_filename(&state,1);
>> strcpy(&tmpstr,state.file_data);
>> strcpy(state.file_data,"DATA/");
>> strcat(state.file_data,tmpstr);
>> file_fopen(&file_gpx,&efs.myFs,state.file_data,'w');
>> file_write(&file_gpx,1,"2");
>> delay_ms(10);
>> file_fclose(&file_gpx);
>> }
>> fs_umount(&efs.myFs);
>>
>>
> For me this looks okay.
> I'm testing on a PC where I load an image file as medium. I've just put
> the image file on a 256MB SD card and it looks fine under WinXP. The
> format is 16 sectors per cluster.
> What hardware are you using?
>
>
>> The get_filename function just formats and creates my files (currently
>> an index of 1up numbers).
>> I append the directory info to it, then write 1 character, close the
>> file, and loop.
>> I am including a link of a screenshot of that directory (so you can see
>> the corruption).
>> http://www.marslabs.com/dir1.jpg
>> http://www.marslabs.com/dir2.jpg
>>
>> Now, if I execute the same code on the root directory, I can write out
>> the 200 files without a problem.
>>
>>
>> Any ideas off hand? Thanks
>>
>> Daniel Medeiros wrote:
>>
>>> I am using 0.2.7 to create the files. I assumed 512 was for all dirs
>>> (including the root). The issue for me still remains that for some
>>> reason, after creating the 127th file, it trashes the fat table in the
>>> subdir in question. Ill run some more tests on it to try to narrow where
>>> the corruption is happening.
>>>
>>>
>>> M. Bester wrote:
>>>
>>>
>>>> Hello,
>>>>
>>>> what EFSL version are you using?
>>>> I'm using 0.2.7 and I've just created 513 files in a single subdirectory
>>>> without a problem.
>>>> To my knowledge the limit of 512 files applies only to the root directory.
>>>>
>>>> Marko
>>>>
>>>> Daniel Medeiros schrieb:
>>>>
>>>>
>>>>
>>>>> I will check the FAT, and look at the # of clusters. I know that FAT16
>>>>> has a limit of 512, and for the application I am making its possible
>>>>> that there will be more files created than that over time, so Ill have
>>>>> to roll them into directories anyway. The issue then would become is it
>>>>> 100+ files per dir or 500+ files per dir.
>>>>> Have a great Holiday
>>>>>
>>>>> Daniel
>>>>>
>>>>> Lennart Yseboodt wrote:
>>>>>
>>>>>
>>>>>
>>>>>> Hi Daniel,
>>>>>>
>>>>>> Sounds like a bug to me. 127 is like 128, and 128/16=8.
>>>>>> Is it possible you have 8 sectors per cluster ?
>>>>>>
>>>>>> I will try to look into this issue, but I will be honest, I'm leaving for
>>>>>> hollidays on the 11th and have a lot of things to do until then, so
>>>>>> if you need this fix fast you will have to do it yourself I'm afraid :)
>>>>>>
>>>>>> Maybe Michael has time ?
>>>>>>
>>>>>> Regards,
>>>>>>
>>>>>> Lennart
>>>>>>
>>>>>> Daniel Medeiros wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>> I am running into a problem and before I spend too much time on it I
>>>>>>> wanted to get your opinions as someone may put me on the right track.
>>>>>>> Inside a subdirectory off the root of the SD, as soon as I write out 127
>>>>>>> files, the contents of that directory get too garbled (it puts trash
>>>>>>> data/directories).
>>>>>>> I verified this with two different SD cards (so I dont think the issue
>>>>>>> is the SD in question). Everything works fine until I hit that limit. I
>>>>>>> know that FAT 16 has a limit of 512 files per directory, so I wouldn't
>>>>>>> have though I would hit it this soon. Any suggestions as to what may be
>>>>>>> going on? Thanks
>>>>>>>
>>>>>>> Daniel
>>>>>>>
>>>>>>> Using Tomcat but need to do more? Need to support web services, security?
>>>>>>> Get stuff done quickly with pre-integrated technology to make your job easier
>>>>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>>>>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>>>>>> _______________________________________________
>>>>>>> Efsl-devel mailing list
>>>>>>> Efs...@li...
>>>>>>> https://lists.sourceforge.net/lists/listinfo/efsl-devel
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>> Using Tomcat but need to do more? Need to support web services, security?
>>>>>> Get stuff done quickly with pre-integrated technology to make your job easier
>>>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>>>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>>>>> _______________________________________________
>>>>>> Efsl-devel mailing list
>>>>>> Efs...@li...
>>>>>> https://lists.sourceforge.net/lists/listinfo/efsl-devel
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>> Using Tomcat but need to do more? Need to support web services, security?
>>>>> Get stuff done quickly with pre-integrated technology to make your job easier
>>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>>>> _______________________________________________
>>>>> Efsl-devel mailing list
>>>>> Efs...@li...
>>>>> https://lists.sourceforge.net/lists/listinfo/efsl-devel
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>> Using Tomcat but need to do more? Need to support web services, security?
>>>> Get stuff done quickly with pre-integrated technology to make your job easier
>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>>> _______________________________________________
>>>> Efsl-devel mailing list
>>>> Efs...@li...
>>>> https://lists.sourceforge.net/lists/listinfo/efsl-devel
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>> Using Tomcat but need to do more? Need to support web services, security?
>>> Get stuff done quickly with pre-integrated technology to make your job easier
>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>> _______________________________________________
>>> Efsl-devel mailing list
>>> Efs...@li...
>>> https://lists.sourceforge.net/lists/listinfo/efsl-devel
>>>
>>>
>>>
>>>
>>>
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> Efsl-devel mailing list
>> Efs...@li...
>> https://lists.sourceforge.net/lists/listinfo/efsl-devel
>>
>>
>>
>>
>
>
>
>
>
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Efsl-devel mailing list
> Efs...@li...
> https://lists.sourceforge.net/lists/listinfo/efsl-devel
>
> !DSPAM:44ad2504197521497611852!
>
>
|
|
From: Jim L. <lo...@gm...> - 2006-07-06 15:10:24
|
I had a similar issue with an AVR 128L microprocessor and 8 sectors. The
computer that I was using to read the files was running WinXP with an
internal multi-card reader.
After beating my head against the wall for a period of time the problem just
went away. The only things that I changed were changing the sectors to 16
and moving to an external USB SD card reader.
In hind sight, I should have gone back and found the root cause ;-)
Sorry for the interruption.
Jim Lowe
On 7/6/06, M. Bester <m.b...@mi...> wrote:
>
> Hello Daniel,
>
> Daniel Medeiros schrieb:
> > Here is a bit more of information. I have tried two 256M SD cards, both
> > with the same result.
> > efs.myFs.volumeId.SectorsPerCluster=8
> >
> > Here is a quick snippet of code:
> >
> >
> > for(i=0;i<200;i++) {
> > get_filename(&state,1);
> > strcpy(&tmpstr,state.file_data);
> > strcpy(state.file_data,"DATA/");
> > strcat(state.file_data,tmpstr);
> > file_fopen(&file_gpx,&efs.myFs,state.file_data,'w');
> > file_write(&file_gpx,1,"2");
> > delay_ms(10);
> > file_fclose(&file_gpx);
> > }
> > fs_umount(&efs.myFs);
> >
> For me this looks okay.
> I'm testing on a PC where I load an image file as medium. I've just put
> the image file on a 256MB SD card and it looks fine under WinXP. The
> format is 16 sectors per cluster.
> What hardware are you using?
>
> > The get_filename function just formats and creates my files (currently
> > an index of 1up numbers).
> > I append the directory info to it, then write 1 character, close the
> > file, and loop.
> > I am including a link of a screenshot of that directory (so you can see
> > the corruption).
> > http://www.marslabs.com/dir1.jpg
> > http://www.marslabs.com/dir2.jpg
> >
> > Now, if I execute the same code on the root directory, I can write out
> > the 200 files without a problem.
> >
> >
> > Any ideas off hand? Thanks
> >
> > Daniel Medeiros wrote:
> >> I am using 0.2.7 to create the files. I assumed 512 was for all dirs
> >> (including the root). The issue for me still remains that for some
> >> reason, after creating the 127th file, it trashes the fat table in the
> >> subdir in question. Ill run some more tests on it to try to narrow
> where
> >> the corruption is happening.
> >>
> >>
> >> M. Bester wrote:
> >>
> >>> Hello,
> >>>
> >>> what EFSL version are you using?
> >>> I'm using 0.2.7 and I've just created 513 files in a single
> subdirectory
> >>> without a problem.
> >>> To my knowledge the limit of 512 files applies only to the root
> directory.
> >>>
> >>> Marko
> >>>
> >>> Daniel Medeiros schrieb:
> >>>
> >>>
> >>>> I will check the FAT, and look at the # of clusters. I know that
> FAT16
> >>>> has a limit of 512, and for the application I am making its possible
> >>>> that there will be more files created than that over time, so Ill
> have
> >>>> to roll them into directories anyway. The issue then would become is
> it
> >>>> 100+ files per dir or 500+ files per dir.
> >>>> Have a great Holiday
> >>>>
> >>>> Daniel
> >>>>
> >>>> Lennart Yseboodt wrote:
> >>>>
> >>>>
> >>>>> Hi Daniel,
> >>>>>
> >>>>> Sounds like a bug to me. 127 is like 128, and 128/16=8.
> >>>>> Is it possible you have 8 sectors per cluster ?
> >>>>>
> >>>>> I will try to look into this issue, but I will be honest, I'm
> leaving for
> >>>>> hollidays on the 11th and have a lot of things to do until then, so
> >>>>> if you need this fix fast you will have to do it yourself I'm afraid
> :)
> >>>>>
> >>>>> Maybe Michael has time ?
> >>>>>
> >>>>> Regards,
> >>>>>
> >>>>> Lennart
> >>>>>
> >>>>> Daniel Medeiros wrote:
> >>>>>
> >>>>>
> >>>>>
> >>>>>> I am running into a problem and before I spend too much time on it
> I
> >>>>>> wanted to get your opinions as someone may put me on the right
> track.
> >>>>>> Inside a subdirectory off the root of the SD, as soon as I write
> out 127
> >>>>>> files, the contents of that directory get too garbled (it puts
> trash
> >>>>>> data/directories).
> >>>>>> I verified this with two different SD cards (so I dont think the
> issue
> >>>>>> is the SD in question). Everything works fine until I hit that
> limit. I
> >>>>>> know that FAT 16 has a limit of 512 files per directory, so I
> wouldn't
> >>>>>> have though I would hit it this soon. Any suggestions as to what
> may be
> >>>>>> going on? Thanks
> >>>>>>
> >>>>>> Daniel
> >>>>>>
> >>>>>> Using Tomcat but need to do more? Need to support web services,
> security?
> >>>>>> Get stuff done quickly with pre-integrated technology to make your
> job easier
> >>>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> >>>>>>
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> >>>>>> _______________________________________________
> >>>>>> Efsl-devel mailing list
> >>>>>> Efs...@li...
> >>>>>> https://lists.sourceforge.net/lists/listinfo/efsl-devel
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>> Using Tomcat but need to do more? Need to support web services,
> security?
> >>>>> Get stuff done quickly with pre-integrated technology to make your
> job easier
> >>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> >>>>>
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> >>>>> _______________________________________________
> >>>>> Efsl-devel mailing list
> >>>>> Efs...@li...
> >>>>> https://lists.sourceforge.net/lists/listinfo/efsl-devel
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>> Using Tomcat but need to do more? Need to support web services,
> security?
> >>>> Get stuff done quickly with pre-integrated technology to make your
> job easier
> >>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> >>>>
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> >>>> _______________________________________________
> >>>> Efsl-devel mailing list
> >>>> Efs...@li...
> >>>> https://lists.sourceforge.net/lists/listinfo/efsl-devel
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>
> >>> Using Tomcat but need to do more? Need to support web services,
> security?
> >>> Get stuff done quickly with pre-integrated technology to make your job
> easier
> >>> Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> >>>
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> >>> _______________________________________________
> >>> Efsl-devel mailing list
> >>> Efs...@li...
> >>> https://lists.sourceforge.net/lists/listinfo/efsl-devel
> >>>
> >>>
> >>>
> >>>
> >>>
> >> Using Tomcat but need to do more? Need to support web services,
> security?
> >> Get stuff done quickly with pre-integrated technology to make your job
> easier
> >> Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> >>
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> >> _______________________________________________
> >> Efsl-devel mailing list
> >> Efs...@li...
> >> https://lists.sourceforge.net/lists/listinfo/efsl-devel
> >>
> >> !DSPAM:44ad0ce1155888644242515!
> >>
> >>
> >
> > Using Tomcat but need to do more? Need to support web services,
> security?
> > Get stuff done quickly with pre-integrated technology to make your job
> easier
> > Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > _______________________________________________
> > Efsl-devel mailing list
> > Efs...@li...
> > https://lists.sourceforge.net/lists/listinfo/efsl-devel
> >
> >
> >
>
>
>
>
>
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Efsl-devel mailing list
> Efs...@li...
> https://lists.sourceforge.net/lists/listinfo/efsl-devel
>
|
|
From: M. B. <m.b...@mi...> - 2006-07-06 15:03:12
|
Hello Daniel,
Daniel Medeiros schrieb:
> Here is a bit more of information. I have tried two 256M SD cards, both
> with the same result.
> efs.myFs.volumeId.SectorsPerCluster=8
>
> Here is a quick snippet of code:
>
>
> for(i=0;i<200;i++) {
> get_filename(&state,1);
> strcpy(&tmpstr,state.file_data);
> strcpy(state.file_data,"DATA/");
> strcat(state.file_data,tmpstr);
> file_fopen(&file_gpx,&efs.myFs,state.file_data,'w');
> file_write(&file_gpx,1,"2");
> delay_ms(10);
> file_fclose(&file_gpx);
> }
> fs_umount(&efs.myFs);
>
For me this looks okay.
I'm testing on a PC where I load an image file as medium. I've just put
the image file on a 256MB SD card and it looks fine under WinXP. The
format is 16 sectors per cluster.
What hardware are you using?
> The get_filename function just formats and creates my files (currently
> an index of 1up numbers).
> I append the directory info to it, then write 1 character, close the
> file, and loop.
> I am including a link of a screenshot of that directory (so you can see
> the corruption).
> http://www.marslabs.com/dir1.jpg
> http://www.marslabs.com/dir2.jpg
>
> Now, if I execute the same code on the root directory, I can write out
> the 200 files without a problem.
>
>
> Any ideas off hand? Thanks
>
> Daniel Medeiros wrote:
>> I am using 0.2.7 to create the files. I assumed 512 was for all dirs
>> (including the root). The issue for me still remains that for some
>> reason, after creating the 127th file, it trashes the fat table in the
>> subdir in question. Ill run some more tests on it to try to narrow where
>> the corruption is happening.
>>
>>
>> M. Bester wrote:
>>
>>> Hello,
>>>
>>> what EFSL version are you using?
>>> I'm using 0.2.7 and I've just created 513 files in a single subdirectory
>>> without a problem.
>>> To my knowledge the limit of 512 files applies only to the root directory.
>>>
>>> Marko
>>>
>>> Daniel Medeiros schrieb:
>>>
>>>
>>>> I will check the FAT, and look at the # of clusters. I know that FAT16
>>>> has a limit of 512, and for the application I am making its possible
>>>> that there will be more files created than that over time, so Ill have
>>>> to roll them into directories anyway. The issue then would become is it
>>>> 100+ files per dir or 500+ files per dir.
>>>> Have a great Holiday
>>>>
>>>> Daniel
>>>>
>>>> Lennart Yseboodt wrote:
>>>>
>>>>
>>>>> Hi Daniel,
>>>>>
>>>>> Sounds like a bug to me. 127 is like 128, and 128/16=8.
>>>>> Is it possible you have 8 sectors per cluster ?
>>>>>
>>>>> I will try to look into this issue, but I will be honest, I'm leaving for
>>>>> hollidays on the 11th and have a lot of things to do until then, so
>>>>> if you need this fix fast you will have to do it yourself I'm afraid :)
>>>>>
>>>>> Maybe Michael has time ?
>>>>>
>>>>> Regards,
>>>>>
>>>>> Lennart
>>>>>
>>>>> Daniel Medeiros wrote:
>>>>>
>>>>>
>>>>>
>>>>>> I am running into a problem and before I spend too much time on it I
>>>>>> wanted to get your opinions as someone may put me on the right track.
>>>>>> Inside a subdirectory off the root of the SD, as soon as I write out 127
>>>>>> files, the contents of that directory get too garbled (it puts trash
>>>>>> data/directories).
>>>>>> I verified this with two different SD cards (so I dont think the issue
>>>>>> is the SD in question). Everything works fine until I hit that limit. I
>>>>>> know that FAT 16 has a limit of 512 files per directory, so I wouldn't
>>>>>> have though I would hit it this soon. Any suggestions as to what may be
>>>>>> going on? Thanks
>>>>>>
>>>>>> Daniel
>>>>>>
>>>>>> Using Tomcat but need to do more? Need to support web services, security?
>>>>>> Get stuff done quickly with pre-integrated technology to make your job easier
>>>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>>>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>>>>> _______________________________________________
>>>>>> Efsl-devel mailing list
>>>>>> Efs...@li...
>>>>>> https://lists.sourceforge.net/lists/listinfo/efsl-devel
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>> Using Tomcat but need to do more? Need to support web services, security?
>>>>> Get stuff done quickly with pre-integrated technology to make your job easier
>>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>>>> _______________________________________________
>>>>> Efsl-devel mailing list
>>>>> Efs...@li...
>>>>> https://lists.sourceforge.net/lists/listinfo/efsl-devel
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>> Using Tomcat but need to do more? Need to support web services, security?
>>>> Get stuff done quickly with pre-integrated technology to make your job easier
>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>>> _______________________________________________
>>>> Efsl-devel mailing list
>>>> Efs...@li...
>>>> https://lists.sourceforge.net/lists/listinfo/efsl-devel
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>> Using Tomcat but need to do more? Need to support web services, security?
>>> Get stuff done quickly with pre-integrated technology to make your job easier
>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>> _______________________________________________
>>> Efsl-devel mailing list
>>> Efs...@li...
>>> https://lists.sourceforge.net/lists/listinfo/efsl-devel
>>>
>>>
>>>
>>>
>>>
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> Efsl-devel mailing list
>> Efs...@li...
>> https://lists.sourceforge.net/lists/listinfo/efsl-devel
>>
>> !DSPAM:44ad0ce1155888644242515!
>>
>>
>
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Efsl-devel mailing list
> Efs...@li...
> https://lists.sourceforge.net/lists/listinfo/efsl-devel
>
>
>
|
|
From: Lennart Y. <le...@be...> - 2006-07-06 14:28:26
|
Hmm,
512 files limit is indeed a limit for FAT12 and FAT16 only, and even
that can be changed, but not
many fs implementations support this (efsl does) so you should avoid it.
Regards,
Lennart
Daniel Medeiros wrote:
> Here is a bit more of information. I have tried two 256M SD cards, both
> with the same result.
> efs.myFs.volumeId.SectorsPerCluster=8
>
> Here is a quick snippet of code:
>
>
> for(i=0;i<200;i++) {
> get_filename(&state,1);
> strcpy(&tmpstr,state.file_data);
> strcpy(state.file_data,"DATA/");
> strcat(state.file_data,tmpstr);
> file_fopen(&file_gpx,&efs.myFs,state.file_data,'w');
> file_write(&file_gpx,1,"2");
> delay_ms(10);
> file_fclose(&file_gpx);
> }
> fs_umount(&efs.myFs);
>
> The get_filename function just formats and creates my files (currently
> an index of 1up numbers).
> I append the directory info to it, then write 1 character, close the
> file, and loop.
> I am including a link of a screenshot of that directory (so you can see
> the corruption).
> http://www.marslabs.com/dir1.jpg
> http://www.marslabs.com/dir2.jpg
>
> Now, if I execute the same code on the root directory, I can write out
> the 200 files without a problem.
>
>
> Any ideas off hand? Thanks
>
> Daniel Medeiros wrote:
>
>> I am using 0.2.7 to create the files. I assumed 512 was for all dirs
>> (including the root). The issue for me still remains that for some
>> reason, after creating the 127th file, it trashes the fat table in the
>> subdir in question. Ill run some more tests on it to try to narrow where
>> the corruption is happening.
>>
>>
>> M. Bester wrote:
>>
>>
>>> Hello,
>>>
>>> what EFSL version are you using?
>>> I'm using 0.2.7 and I've just created 513 files in a single subdirectory
>>> without a problem.
>>> To my knowledge the limit of 512 files applies only to the root directory.
>>>
>>> Marko
>>>
>>> Daniel Medeiros schrieb:
>>>
>>>
>>>
>>>> I will check the FAT, and look at the # of clusters. I know that FAT16
>>>> has a limit of 512, and for the application I am making its possible
>>>> that there will be more files created than that over time, so Ill have
>>>> to roll them into directories anyway. The issue then would become is it
>>>> 100+ files per dir or 500+ files per dir.
>>>> Have a great Holiday
>>>>
>>>> Daniel
>>>>
>>>> Lennart Yseboodt wrote:
>>>>
>>>>
>>>>
>>>>> Hi Daniel,
>>>>>
>>>>> Sounds like a bug to me. 127 is like 128, and 128/16=8.
>>>>> Is it possible you have 8 sectors per cluster ?
>>>>>
>>>>> I will try to look into this issue, but I will be honest, I'm leaving for
>>>>> hollidays on the 11th and have a lot of things to do until then, so
>>>>> if you need this fix fast you will have to do it yourself I'm afraid :)
>>>>>
>>>>> Maybe Michael has time ?
>>>>>
>>>>> Regards,
>>>>>
>>>>> Lennart
>>>>>
>>>>> Daniel Medeiros wrote:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>> I am running into a problem and before I spend too much time on it I
>>>>>> wanted to get your opinions as someone may put me on the right track.
>>>>>> Inside a subdirectory off the root of the SD, as soon as I write out 127
>>>>>> files, the contents of that directory get too garbled (it puts trash
>>>>>> data/directories).
>>>>>> I verified this with two different SD cards (so I dont think the issue
>>>>>> is the SD in question). Everything works fine until I hit that limit. I
>>>>>> know that FAT 16 has a limit of 512 files per directory, so I wouldn't
>>>>>> have though I would hit it this soon. Any suggestions as to what may be
>>>>>> going on? Thanks
>>>>>>
>>>>>> Daniel
>>>>>>
>>>>>> Using Tomcat but need to do more? Need to support web services, security?
>>>>>> Get stuff done quickly with pre-integrated technology to make your job easier
>>>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>>>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>>>>> _______________________________________________
>>>>>> Efsl-devel mailing list
>>>>>> Efs...@li...
>>>>>> https://lists.sourceforge.net/lists/listinfo/efsl-devel
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>> Using Tomcat but need to do more? Need to support web services, security?
>>>>> Get stuff done quickly with pre-integrated technology to make your job easier
>>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>>>> _______________________________________________
>>>>> Efsl-devel mailing list
>>>>> Efs...@li...
>>>>> https://lists.sourceforge.net/lists/listinfo/efsl-devel
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>> Using Tomcat but need to do more? Need to support web services, security?
>>>> Get stuff done quickly with pre-integrated technology to make your job easier
>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>>> _______________________________________________
>>>> Efsl-devel mailing list
>>>> Efs...@li...
>>>> https://lists.sourceforge.net/lists/listinfo/efsl-devel
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>> Using Tomcat but need to do more? Need to support web services, security?
>>> Get stuff done quickly with pre-integrated technology to make your job easier
>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>> _______________________________________________
>>> Efsl-devel mailing list
>>> Efs...@li...
>>> https://lists.sourceforge.net/lists/listinfo/efsl-devel
>>>
>>>
>>>
>>>
>>>
>>>
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> Efsl-devel mailing list
>> Efs...@li...
>> https://lists.sourceforge.net/lists/listinfo/efsl-devel
>>
>> !DSPAM:44ad0ce1155888644242515!
>>
>>
>>
>
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Efsl-devel mailing list
> Efs...@li...
> https://lists.sourceforge.net/lists/listinfo/efsl-devel
>
>
>
|
|
From: Daniel M. <da...@ma...> - 2006-07-06 14:03:15
|
Here is a bit more of information. I have tried two 256M SD cards, both
with the same result.
efs.myFs.volumeId.SectorsPerCluster=8
Here is a quick snippet of code:
for(i=0;i<200;i++) {
get_filename(&state,1);
strcpy(&tmpstr,state.file_data);
strcpy(state.file_data,"DATA/");
strcat(state.file_data,tmpstr);
file_fopen(&file_gpx,&efs.myFs,state.file_data,'w');
file_write(&file_gpx,1,"2");
delay_ms(10);
file_fclose(&file_gpx);
}
fs_umount(&efs.myFs);
The get_filename function just formats and creates my files (currently
an index of 1up numbers).
I append the directory info to it, then write 1 character, close the
file, and loop.
I am including a link of a screenshot of that directory (so you can see
the corruption).
http://www.marslabs.com/dir1.jpg
http://www.marslabs.com/dir2.jpg
Now, if I execute the same code on the root directory, I can write out
the 200 files without a problem.
Any ideas off hand? Thanks
Daniel Medeiros wrote:
> I am using 0.2.7 to create the files. I assumed 512 was for all dirs
> (including the root). The issue for me still remains that for some
> reason, after creating the 127th file, it trashes the fat table in the
> subdir in question. Ill run some more tests on it to try to narrow where
> the corruption is happening.
>
>
> M. Bester wrote:
>
>> Hello,
>>
>> what EFSL version are you using?
>> I'm using 0.2.7 and I've just created 513 files in a single subdirectory
>> without a problem.
>> To my knowledge the limit of 512 files applies only to the root directory.
>>
>> Marko
>>
>> Daniel Medeiros schrieb:
>>
>>
>>> I will check the FAT, and look at the # of clusters. I know that FAT16
>>> has a limit of 512, and for the application I am making its possible
>>> that there will be more files created than that over time, so Ill have
>>> to roll them into directories anyway. The issue then would become is it
>>> 100+ files per dir or 500+ files per dir.
>>> Have a great Holiday
>>>
>>> Daniel
>>>
>>> Lennart Yseboodt wrote:
>>>
>>>
>>>> Hi Daniel,
>>>>
>>>> Sounds like a bug to me. 127 is like 128, and 128/16=8.
>>>> Is it possible you have 8 sectors per cluster ?
>>>>
>>>> I will try to look into this issue, but I will be honest, I'm leaving for
>>>> hollidays on the 11th and have a lot of things to do until then, so
>>>> if you need this fix fast you will have to do it yourself I'm afraid :)
>>>>
>>>> Maybe Michael has time ?
>>>>
>>>> Regards,
>>>>
>>>> Lennart
>>>>
>>>> Daniel Medeiros wrote:
>>>>
>>>>
>>>>
>>>>> I am running into a problem and before I spend too much time on it I
>>>>> wanted to get your opinions as someone may put me on the right track.
>>>>> Inside a subdirectory off the root of the SD, as soon as I write out 127
>>>>> files, the contents of that directory get too garbled (it puts trash
>>>>> data/directories).
>>>>> I verified this with two different SD cards (so I dont think the issue
>>>>> is the SD in question). Everything works fine until I hit that limit. I
>>>>> know that FAT 16 has a limit of 512 files per directory, so I wouldn't
>>>>> have though I would hit it this soon. Any suggestions as to what may be
>>>>> going on? Thanks
>>>>>
>>>>> Daniel
>>>>>
>>>>> Using Tomcat but need to do more? Need to support web services, security?
>>>>> Get stuff done quickly with pre-integrated technology to make your job easier
>>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>>>> _______________________________________________
>>>>> Efsl-devel mailing list
>>>>> Efs...@li...
>>>>> https://lists.sourceforge.net/lists/listinfo/efsl-devel
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>> Using Tomcat but need to do more? Need to support web services, security?
>>>> Get stuff done quickly with pre-integrated technology to make your job easier
>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>>> _______________________________________________
>>>> Efsl-devel mailing list
>>>> Efs...@li...
>>>> https://lists.sourceforge.net/lists/listinfo/efsl-devel
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>> Using Tomcat but need to do more? Need to support web services, security?
>>> Get stuff done quickly with pre-integrated technology to make your job easier
>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>> _______________________________________________
>>> Efsl-devel mailing list
>>> Efs...@li...
>>> https://lists.sourceforge.net/lists/listinfo/efsl-devel
>>>
>>>
>>>
>>>
>>>
>>
>>
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> Efsl-devel mailing list
>> Efs...@li...
>> https://lists.sourceforge.net/lists/listinfo/efsl-devel
>>
>>
>>
>>
>>
>
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Efsl-devel mailing list
> Efs...@li...
> https://lists.sourceforge.net/lists/listinfo/efsl-devel
>
> !DSPAM:44ad0ce1155888644242515!
>
>
|
|
From: Daniel M. <da...@ma...> - 2006-07-06 13:20:14
|
I am using 0.2.7 to create the files. I assumed 512 was for all dirs (including the root). The issue for me still remains that for some reason, after creating the 127th file, it trashes the fat table in the subdir in question. Ill run some more tests on it to try to narrow where the corruption is happening. M. Bester wrote: > Hello, > > what EFSL version are you using? > I'm using 0.2.7 and I've just created 513 files in a single subdirectory > without a problem. > To my knowledge the limit of 512 files applies only to the root directory. > > Marko > > Daniel Medeiros schrieb: > >> I will check the FAT, and look at the # of clusters. I know that FAT16 >> has a limit of 512, and for the application I am making its possible >> that there will be more files created than that over time, so Ill have >> to roll them into directories anyway. The issue then would become is it >> 100+ files per dir or 500+ files per dir. >> Have a great Holiday >> >> Daniel >> >> Lennart Yseboodt wrote: >> >>> Hi Daniel, >>> >>> Sounds like a bug to me. 127 is like 128, and 128/16=8. >>> Is it possible you have 8 sectors per cluster ? >>> >>> I will try to look into this issue, but I will be honest, I'm leaving for >>> hollidays on the 11th and have a lot of things to do until then, so >>> if you need this fix fast you will have to do it yourself I'm afraid :) >>> >>> Maybe Michael has time ? >>> >>> Regards, >>> >>> Lennart >>> >>> Daniel Medeiros wrote: >>> >>> >>>> I am running into a problem and before I spend too much time on it I >>>> wanted to get your opinions as someone may put me on the right track. >>>> Inside a subdirectory off the root of the SD, as soon as I write out 127 >>>> files, the contents of that directory get too garbled (it puts trash >>>> data/directories). >>>> I verified this with two different SD cards (so I dont think the issue >>>> is the SD in question). Everything works fine until I hit that limit. I >>>> know that FAT 16 has a limit of 512 files per directory, so I wouldn't >>>> have though I would hit it this soon. Any suggestions as to what may be >>>> going on? Thanks >>>> >>>> Daniel >>>> >>>> Using Tomcat but need to do more? Need to support web services, security? >>>> Get stuff done quickly with pre-integrated technology to make your job easier >>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>>> _______________________________________________ >>>> Efsl-devel mailing list >>>> Efs...@li... >>>> https://lists.sourceforge.net/lists/listinfo/efsl-devel >>>> >>>> >>>> >>>> >>>> >>> Using Tomcat but need to do more? Need to support web services, security? >>> Get stuff done quickly with pre-integrated technology to make your job easier >>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>> _______________________________________________ >>> Efsl-devel mailing list >>> Efs...@li... >>> https://lists.sourceforge.net/lists/listinfo/efsl-devel >>> >>> >>> >>> >>> >> Using Tomcat but need to do more? Need to support web services, security? >> Get stuff done quickly with pre-integrated technology to make your job easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> Efsl-devel mailing list >> Efs...@li... >> https://lists.sourceforge.net/lists/listinfo/efsl-devel >> >> >> >> > > > > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Efsl-devel mailing list > Efs...@li... > https://lists.sourceforge.net/lists/listinfo/efsl-devel > > !DSPAM:44ad0be1155007785432198! > > |
|
From: M. B. <m.b...@mi...> - 2006-07-06 13:15:58
|
Hello, what EFSL version are you using? I'm using 0.2.7 and I've just created 513 files in a single subdirectory without a problem. To my knowledge the limit of 512 files applies only to the root directory. Marko Daniel Medeiros schrieb: > I will check the FAT, and look at the # of clusters. I know that FAT16 > has a limit of 512, and for the application I am making its possible > that there will be more files created than that over time, so Ill have > to roll them into directories anyway. The issue then would become is it > 100+ files per dir or 500+ files per dir. > Have a great Holiday > > Daniel > > Lennart Yseboodt wrote: >> Hi Daniel, >> >> Sounds like a bug to me. 127 is like 128, and 128/16=8. >> Is it possible you have 8 sectors per cluster ? >> >> I will try to look into this issue, but I will be honest, I'm leaving for >> hollidays on the 11th and have a lot of things to do until then, so >> if you need this fix fast you will have to do it yourself I'm afraid :) >> >> Maybe Michael has time ? >> >> Regards, >> >> Lennart >> >> Daniel Medeiros wrote: >> >>> I am running into a problem and before I spend too much time on it I >>> wanted to get your opinions as someone may put me on the right track. >>> Inside a subdirectory off the root of the SD, as soon as I write out 127 >>> files, the contents of that directory get too garbled (it puts trash >>> data/directories). >>> I verified this with two different SD cards (so I dont think the issue >>> is the SD in question). Everything works fine until I hit that limit. I >>> know that FAT 16 has a limit of 512 files per directory, so I wouldn't >>> have though I would hit it this soon. Any suggestions as to what may be >>> going on? Thanks >>> >>> Daniel >>> >>> Using Tomcat but need to do more? Need to support web services, security? >>> Get stuff done quickly with pre-integrated technology to make your job easier >>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>> _______________________________________________ >>> Efsl-devel mailing list >>> Efs...@li... >>> https://lists.sourceforge.net/lists/listinfo/efsl-devel >>> >>> >>> >>> >> >> Using Tomcat but need to do more? Need to support web services, security? >> Get stuff done quickly with pre-integrated technology to make your job easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> Efsl-devel mailing list >> Efs...@li... >> https://lists.sourceforge.net/lists/listinfo/efsl-devel >> >> !DSPAM:44acc82c63151395111844! >> >> > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Efsl-devel mailing list > Efs...@li... > https://lists.sourceforge.net/lists/listinfo/efsl-devel > > > |
|
From: Daniel M. <da...@ma...> - 2006-07-06 13:05:03
|
I will check the FAT, and look at the # of clusters. I know that FAT16 has a limit of 512, and for the application I am making its possible that there will be more files created than that over time, so Ill have to roll them into directories anyway. The issue then would become is it 100+ files per dir or 500+ files per dir. Have a great Holiday Daniel Lennart Yseboodt wrote: > Hi Daniel, > > Sounds like a bug to me. 127 is like 128, and 128/16=8. > Is it possible you have 8 sectors per cluster ? > > I will try to look into this issue, but I will be honest, I'm leaving for > hollidays on the 11th and have a lot of things to do until then, so > if you need this fix fast you will have to do it yourself I'm afraid :) > > Maybe Michael has time ? > > Regards, > > Lennart > > Daniel Medeiros wrote: > >> I am running into a problem and before I spend too much time on it I >> wanted to get your opinions as someone may put me on the right track. >> Inside a subdirectory off the root of the SD, as soon as I write out 127 >> files, the contents of that directory get too garbled (it puts trash >> data/directories). >> I verified this with two different SD cards (so I dont think the issue >> is the SD in question). Everything works fine until I hit that limit. I >> know that FAT 16 has a limit of 512 files per directory, so I wouldn't >> have though I would hit it this soon. Any suggestions as to what may be >> going on? Thanks >> >> Daniel >> >> Using Tomcat but need to do more? Need to support web services, security? >> Get stuff done quickly with pre-integrated technology to make your job easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> Efsl-devel mailing list >> Efs...@li... >> https://lists.sourceforge.net/lists/listinfo/efsl-devel >> >> >> >> > > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Efsl-devel mailing list > Efs...@li... > https://lists.sourceforge.net/lists/listinfo/efsl-devel > > !DSPAM:44acc82c63151395111844! > > |
|
From: Lennart Y. <le...@be...> - 2006-07-06 08:27:06
|
Hi Daniel, Sounds like a bug to me. 127 is like 128, and 128/16=8. Is it possible you have 8 sectors per cluster ? I will try to look into this issue, but I will be honest, I'm leaving for hollidays on the 11th and have a lot of things to do until then, so if you need this fix fast you will have to do it yourself I'm afraid :) Maybe Michael has time ? Regards, Lennart Daniel Medeiros wrote: > I am running into a problem and before I spend too much time on it I > wanted to get your opinions as someone may put me on the right track. > Inside a subdirectory off the root of the SD, as soon as I write out 127 > files, the contents of that directory get too garbled (it puts trash > data/directories). > I verified this with two different SD cards (so I dont think the issue > is the SD in question). Everything works fine until I hit that limit. I > know that FAT 16 has a limit of 512 files per directory, so I wouldn't > have though I would hit it this soon. Any suggestions as to what may be > going on? Thanks > > Daniel > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Efsl-devel mailing list > Efs...@li... > https://lists.sourceforge.net/lists/listinfo/efsl-devel > > > |
|
From: Daniel M. <da...@ma...> - 2006-07-05 22:30:39
|
I am running into a problem and before I spend too much time on it I wanted to get your opinions as someone may put me on the right track. Inside a subdirectory off the root of the SD, as soon as I write out 127 files, the contents of that directory get too garbled (it puts trash data/directories). I verified this with two different SD cards (so I dont think the issue is the SD in question). Everything works fine until I hit that limit. I know that FAT 16 has a limit of 512 files per directory, so I wouldn't have though I would hit it this soon. Any suggestions as to what may be going on? Thanks Daniel |
|
From: Steve F. <ste...@ie...> - 2006-06-29 21:38:25
|
Oh, sorry, didn't realize you were using Keil. Consider that my pitch for GCCARM then. I also have a efsl built on a lpc2148 that worked flawlessly. Don't remeber what the code size was in my initial stand-alone test, but with GCC it didn't matter. I'll try and dig it up. Steve On 6/29/06, efs...@li... < efs...@li...> wrote: > > Send Efsl-devel mailing list submissions to > efs...@li... > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/efsl-devel > or, via email, send a message with subject or body 'help' to > efs...@li... > > You can reach the person managing the list at > efs...@li... > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Efsl-devel digest..." > > > Today's Topics: > > 1. ARM7TDMI LPC2138 or LPC2148 (Koen Buys) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 29 Jun 2006 14:34:48 +0200 > From: "Koen Buys" <buy...@ed...> > Subject: [Efsl-devel] ARM7TDMI LPC2138 or LPC2148 > To: <efs...@li...> > Message-ID: <000001c69b78$6ede96e0$0209a8c0@KoenLaptop> > Content-Type: text/plain; charset="us-ascii" > > Has anyone ported the EFSL to keil, keeping the footprint under 16k? > Because I'm trying to use the EFSL that's posted on the LPC group, but > The footprint is 33k and my version of Keil won't accept that. > > Greetz, > > Koen Buys > > > > > > ------------------------------ > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > ------------------------------ > > _______________________________________________ > Efsl-devel mailing list > Efs...@li... > https://lists.sourceforge.net/lists/listinfo/efsl-devel > > > End of Efsl-devel Digest, Vol 1, Issue 35 > ***************************************** > -- Steve Franks, KE7BTE Staff Engineer La Palma Devices, LLC http://www.lapalmadevices.com (520) 312-0089 |
|
From: Steve F. <ste...@ie...> - 2006-06-29 20:38:16
|
I'm going to hazard a guess that that's mostly vfprintf code from the stdlib.h file bloating it up there. I don't know about GCCARM, but the GCCAVR folks dealt with that a while back and stripped down the libs to several versions you could spec in your makefile - full, reduced, or miniature. Knocks out an easy 16k sometimes. Steve On 6/29/06, efs...@li... < efs...@li...> wrote: > > Send Efsl-devel mailing list submissions to > efs...@li... > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/efsl-devel > or, via email, send a message with subject or body 'help' to > efs...@li... > > You can reach the person managing the list at > efs...@li... > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Efsl-devel digest..." > > > Today's Topics: > > 1. ARM7TDMI LPC2138 or LPC2148 (Koen Buys) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 29 Jun 2006 14:34:48 +0200 > From: "Koen Buys" <buy...@ed...> > Subject: [Efsl-devel] ARM7TDMI LPC2138 or LPC2148 > To: <efs...@li...> > Message-ID: <000001c69b78$6ede96e0$0209a8c0@KoenLaptop> > Content-Type: text/plain; charset="us-ascii" > > Has anyone ported the EFSL to keil, keeping the footprint under 16k? > Because I'm trying to use the EFSL that's posted on the LPC group, but > The footprint is 33k and my version of Keil won't accept that. > > Greetz, > > Koen Buys > > > > > > ------------------------------ > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > ------------------------------ > > _______________________________________________ > Efsl-devel mailing list > Efs...@li... > https://lists.sourceforge.net/lists/listinfo/efsl-devel > > > End of Efsl-devel Digest, Vol 1, Issue 35 > ***************************************** > -- Steve Franks, KE7BTE Staff Engineer La Palma Devices, LLC http://www.lapalmadevices.com (520) 312-0089 |
|
From: Koen B. <buy...@ed...> - 2006-06-29 12:35:20
|
Has anyone ported the EFSL to keil, keeping the footprint under 16k? Because I'm trying to use the EFSL that's posted on the LPC group, but The footprint is 33k and my version of Keil won't accept that. Greetz, Koen Buys |
|
From: Steve F. <ste...@ie...> - 2006-02-08 23:54:49
|
Yea Efsl! I downloaded, read the manual, compiled on GCC for arm and tested inside an hour, no problems. That's what I call smooth code. Efsl tested on IAR/Olimex LPC2148 Kickstart board built with current GCC-Arm (4.0.2) and old SanDisk 32MB SD with FAT16; status: no problems encountered. Only edits were to rename LPC2138-ROM.ld to LPC2148-ROM.ld, change processor from lpc2138 to lpc2148 in makefile, and rename lpc-config.h to config.h. Steve |
|
From: Steve F. <ste...@ie...> - 2006-02-07 21:52:32
|
1) Isn't stdint.h now part of the C99 standard? It seems available everywhere (ARM, AVR, Win32, Linux). Does it make sense to use that for future versions (i.e. change euint8 to uint8_t)? That would be one less custom type floating around to cause warnings. I was hesitant to place a feature request as this doesn't add any value to the end user, unless they're hard-core ;) I am a big fan of standards, though... 2) The stable version of the manual has the section for write file filled with the text from readfile. Someone will want to catch it sooner or later, no doubt. 3) Do the PLibC funtions crash down to the stdlib.h functions if they are defined, or do they contain their own atomic code? I suspect some machines might have 'fast' implementations for memcpy & the like in their own stdlib's. Obviously I just looked into the efsl. Looks very complete from the get-go= . Steve |
|
From: Koen B. <buy...@ed...> - 2006-02-06 17:11:27
|
I'm not sure if it's the version I got from the site or the version I got from this mailing list, it's a been a long time I downloaded it. I just found the time to look at it. Greetz, Koen -----Oorspronkelijk bericht----- Van: efs...@li... [mailto:efs...@li...]Namens Joel Winarske Verzonden: maandag 6 februari 2006 10:43 Aan: efs...@li... Onderwerp: RE: [Efsl-devel] EFSL License Change proposal Hi Koen, The path to the linker config file is off. You need to reselect linker config file. This is standard procedure to switch between debugging in RAM or Flash. You can use use "$PROJ_DIR$\" at start of pathname for relative path to project root. Where did you download project file, so I can update? Regards, Joel ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Efsl-devel mailing list Efs...@li... https://lists.sourceforge.net/lists/listinfo/efsl-devel |
|
From: Joel W. <jo...@in...> - 2006-02-06 09:43:02
|
Hi Koen, The path to the linker config file is off. You need to reselect linker config file. This is standard procedure to switch between debugging in RAM or Flash. You can use use "$PROJ_DIR$\" at start of pathname for relative path to project root. Where did you download project file, so I can update? Regards, Joel |