From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25155 invoked by alias); 11 Apr 2006 08:10:50 -0000 Received: (qmail 25147 invoked by uid 22791); 11 Apr 2006 08:10:49 -0000 X-Spam-Check-By: sourceware.org Received: from pproxy.gmail.com (HELO pproxy.gmail.com) (64.233.166.182) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 11 Apr 2006 08:10:48 +0000 Received: by pproxy.gmail.com with SMTP id c63so1195970pyc for ; Tue, 11 Apr 2006 01:10:46 -0700 (PDT) Received: by 10.35.101.9 with SMTP id d9mr160748pym; Tue, 11 Apr 2006 01:10:46 -0700 (PDT) Received: by 10.35.43.2 with HTTP; Tue, 11 Apr 2006 01:10:46 -0700 (PDT) Message-ID: Date: Tue, 11 Apr 2006 08:10:00 -0000 From: "=?BIG5?B?ufmkzcHp?=" To: ecos-discuss@ecos.sourceware.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: 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: [ECOS] Timer tick dosen't work, when printf string > 24 X-SW-Source: 2006-04/txt/msg00135.txt.bz2 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. -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss