public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Andrew Lunn <andrew@lunn.ch>
To: liu hua <rongye_liu@hotmail.com>
Cc: ecos-discuss@ecos.sourceware.org
Subject: Re: [ECOS] JFFS2 and cyg_thread_delay
Date: Tue, 13 Jun 2006 15:50:00 -0000	[thread overview]
Message-ID: <20060613154659.GF15066@lunn.ch> (raw)
In-Reply-To: <BAY119-F2487CD4EAA56DB32B61E4E88C0@phx.gbl>

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

  reply	other threads:[~2006-06-13 15:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-13 15:31 liu hua
2006-06-13 15:50 ` Andrew Lunn [this message]
2006-06-29  3:34   ` liu hua
     [not found] <20060614075001.68080.qmail@web32411.mail.mud.yahoo.com>
2006-06-14 10:44 ` Andrew Lunn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060613154659.GF15066@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=ecos-discuss@ecos.sourceware.org \
    --cc=rongye_liu@hotmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).