This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE?: [ECOS] SPI usage


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]