From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31302 invoked by alias); 13 Jun 2006 15:50:19 -0000 Received: (qmail 31294 invoked by uid 22791); 13 Jun 2006 15:50:19 -0000 X-Spam-Check-By: sourceware.org Received: from londo.lunn.ch (HELO londo.lunn.ch) (80.238.139.98) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 13 Jun 2006 15:50:13 +0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1FqB6Z-0005Ll-00; Tue, 13 Jun 2006 17:46:59 +0200 Date: Tue, 13 Jun 2006 15:50:00 -0000 To: liu hua Cc: ecos-discuss@ecos.sourceware.org Message-ID: <20060613154659.GF15066@lunn.ch> Mail-Followup-To: liu hua , ecos-discuss@ecos.sourceware.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.11+cvs20060403 From: Andrew Lunn X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] JFFS2 and cyg_thread_delay X-SW-Source: 2006-06/txt/msg00117.txt.bz2 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