Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: help. system died per 3 days
PostPosted: Thu Jul 31, 2008 5:27 am 
Offline

Joined: Thu Jul 31, 2008 5:11 am
Posts: 2
I use AT91RM9200, memory is 32MB, kernel version is 2.6,13, compiler is arm-linux-gcc 3.3.2, lib is glibc-2.3.3.
My board died per about 3 days. Maybe the software writed too many files.
the test program is
for(i=1; i<=2000; i++) {
sprintf(filename, "/test/t%.d", i);
pf = fopen(filename, "wb");
if(NULL == pf) return;
fwrite(buffer, 1024, 1, pf);
fclose(pf);
if(0 == i%100) printf("write %d files.\n", i);
}
system died after print "write 1600 files."
I runned this program on JFFS2 and NFS. Problem is same.
when I use EP9302, linux 2.4.21, system did not died after write over :?: 10000 files.
I don't known where the error occured...
thanks a lot.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: