public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: "Julien Stéphane" <Stephane.Julien@he-arc.ch>
To: "Gary Thomas" <gary@mlbassoc.com>
Cc: <ecos-discuss@ecos.sourceware.org>,
		"Etique Philippe" <Philippe.Etique@he-arc.ch>
Subject: [ECOS] RE : [ECOS] SPI usage
Date: Mon, 26 Feb 2007 15:01:00 -0000	[thread overview]
Message-ID: <F7620004260C5D4DB836EDBF8CC6872D2FDAA2@neptune.intra.eiaj.ch> (raw)
In-Reply-To: <45E2F53A.7090403@mlbassoc.com>

OK it works!! Thank you very much... It's a big reassurance! 

---------------------------------------------------------------

Julien Stéphane wrote:
> sorry, here is my code...

The kernel, more importantly, interrupts are not running when
'cyg_user_start()' is called.  That's why your code hangs.

Try putting these functions into 'main()', which is called
with a proper thread environment and the kernel+interrupts
running.

--
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



--
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:[~2007-02-26 15:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-26 14:51 Julien Stéphane
2007-02-26 14:57 ` Gary Thomas
2007-02-26 15:01   ` Julien Stéphane [this message]
2007-02-27  4:56   ` [ECOS] Proper Thread Environment (was Re: [ECOS] SPI usage) Chuck McManis
2007-02-27 12:06     ` Gary Thomas
2007-03-01  6:08       ` Chuck McManis

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=F7620004260C5D4DB836EDBF8CC6872D2FDAA2@neptune.intra.eiaj.ch \
    --to=stephane.julien@he-arc.ch \
    --cc=Philippe.Etique@he-arc.ch \
    --cc=ecos-discuss@ecos.sourceware.org \
    --cc=gary@mlbassoc.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).