This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: JFFS2 and cyg_thread_delay


On Tue, Jun 13, 2006 at 11:31:13PM +0800, liu hua wrote:
> hi,
> 
> I have met a trouble problem when using JFFS2 file system.
> 
> My platform is ARM9 , 16M FLASH (Intel 28F128). First, it run eCos with 
> JFFS2 nomally (mount/read/write/umount,etc).
> 
> But recent I find that when I create a file or write a file, the 
> cyg_thread_delay cannot run normally. Before I write a 
> file,cyg_thread_delay(100) can delay about 1 second. But after I write a 
> file and close it, cyg_thread_delay(100) or cyg_thread_delay(10000) return 
> without any delay!
> 
> What happen? How I solve it? I wish get help from anyone!

You have probably overflowed your stack and corrupted a thread
structure. Enable stack checking in the infra package.

           Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]