public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Andrew Lunn <andrew@lunn.ch>
To: ?????? <yozhong@gmail.com>
Cc: ecos-discuss@ecos.sourceware.org
Subject: Re: [ECOS] Timer tick dosen't work, when printf string > 24
Date: Tue, 11 Apr 2006 08:20:00 -0000	[thread overview]
Message-ID: <20060411082005.GD6383@lunn.ch> (raw)
In-Reply-To: <dd9328150604110110h2d6b918chbeb2fca1bf063985@mail.gmail.com>

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

  reply	other threads:[~2006-04-11  8:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <dd9328150604110059j6587149ek81a127cff19e286@mail.gmail.com>
2006-04-11  8:10 ` 廖友鍾
2006-04-11  8:20   ` Andrew Lunn [this message]
2006-04-11  8:42     ` Luke Liao

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=20060411082005.GD6383@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=ecos-discuss@ecos.sourceware.org \
    --cc=yozhong@gmail.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).