From: anton yakovlev <antony@inbox.ru>
To: ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] One question..
Date: Sat, 26 Jun 2004 08:49:00 -0000 [thread overview]
Message-ID: <40DD38B4.60306@inbox.ru> (raw)
In-Reply-To: <40DBE222.8040603@codito.com>
sandeep wrote:
> anton yakovlev wrote:
>
>> Hi, all!
>>
>> I have a programm:
>> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>>
>> #include <stdio.h>
>> #include <cyg/kernel/kapi.h>
>>
>> void first(cyg_addrword_t threadData) {
>>
>> (void) threadData;
>> printf("the first thread\n");
>>
>> }
>>
>> static char stack_a[4096];
>> static cyg_thread thread_a;
>> static cyg_handle_t handle_a;
>>
>> void cyg_user_start(void) {
>> cyg_thread_create(10, first, 0, "first", stack_a, 4096,
>> &handle_a, &thread_a);
>> cyg_thread_resume(handle_a);
>
> cyg_scheduler_start();
Hm.. According to eCos sources, this function invoked automatically in
cyg_start(), after return from cyg_user_start()..
>>
>> }
>> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>>
>> but when i try to executing it, i see only following:
>> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>>
>> RedBoot> load -r -m y -b 0x205000
>> Raw file loaded 0x00205000-0x00210500
>> xyzModem - CRC mode, 363(SOH)/0(STX)/0(CAN) packets, 3 retries
>> RedBoot> go 0x205000
>>
>> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>>
>> i.e. thread want not to start.. Why so?..
>>
>> I have Falcom fx35xxlsi (based on NEC V850 processors family)
>> platform with eCos 2.0.. I build eCos from the sources.. Maybe I have
>> broken configuration?..
>>
>>
>
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
next prev parent reply other threads:[~2004-06-26 8:49 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-25 8:09 anton yakovlev
2004-06-25 10:13 ` [ECOS] configtool David Lewin
2004-06-25 15:36 ` [ECOS] configtool John Dallaway
2004-06-25 15:52 ` David Lewin
2004-06-25 11:28 ` [ECOS] One question Gary Thomas
2004-06-26 8:59 ` anton yakovlev
2004-06-26 11:50 ` Gary Thomas
2004-06-26 12:26 ` anton yakovlev
2004-06-26 12:31 ` Gary Thomas
2004-06-26 15:40 ` anton yakovlev
[not found] ` <40DBE222.8040603@codito.com>
2004-06-26 8:49 ` anton yakovlev [this message]
2006-05-31 5:15 Zhao.Green
2006-05-31 6:12 ` Fabian Scheler
2006-05-31 6:28 ` Paul D. DeRocco
2006-05-31 6:50 Zhao.Green
2006-05-31 7:58 ` Michele Portolan
2006-05-31 11:49 ` Edgar Grimberg
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=40DD38B4.60306@inbox.ru \
--to=antony@inbox.ru \
--cc=ecos-discuss@sources.redhat.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).