From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27853 invoked by alias); 11 Apr 2006 08:20:14 -0000 Received: (qmail 27843 invoked by uid 22791); 11 Apr 2006 08:20:13 -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, 11 Apr 2006 08:20:10 +0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1FTE6X-0003R7-00; Tue, 11 Apr 2006 10:20:05 +0200 Date: Tue, 11 Apr 2006 08:20:00 -0000 To: ?????? Cc: ecos-discuss@ecos.sourceware.org Message-ID: <20060411082005.GD6383@lunn.ch> Mail-Followup-To: ?????? , 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] Timer tick dosen't work, when printf string > 24 X-SW-Source: 2006-04/txt/msg00136.txt.bz2 On Tue, Apr 11, 2006 at 04:10:46PM +0800, ?????? wrote: Hi ?????? > Hi, > I used Sumsung s3c2410 development board(SMDK2410) to run simple-alarm > example program. > I add LED flash function in hal_clock_reset() and add one line printf > function in cyg_user_start() in simple-alarm.c file. > > > void cyg_user_start(void) > { > printf("12345678901234567890123\n");//Add one line prinf function here > > cyg_thread_create(4, alarm_prog, (cyg_addrword_t) 0, > "alarm_thread", (void *) stack[0], > STACKSIZE, &thread[0], &thread_obj[0]); > cyg_thread_resume(thread[0]); > } > > If string lenth in prinf function is small than 24, the timer tick is > working correctly and LED flashing. > > If I modify printf("123456789012345678901234\n"), now the string lenth > become 25 then time tick dosen't work and LED dosen's flashing. > > This is very strange problem. No, not really. Try enabling CYGPKG_INFRA_DEBUG 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