Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
19 years ago

Create a RTOS application in NiosII IDE

Hi!

I am using Nios II IDE. I want to create a RTOS project. But when I create a new project, only single thread is created. I don&#39;t know how to create a multi thread. What I should do? Please help me! Thanks!! http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/dry.gif

6 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi,

    when you create a new project, there are some project template.You could select "Hello UC/OS-II".It&#39;s a multi thread example.

    bye
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi!

    To have "Hello UC/OS-II" project template, must I have install other support software beside Nios II IDE or Nios EDS.?Only With Nios II IDE, I don&#39;t see that project. Please help me! Thanks.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi,

    I think that in the evaluation version of Nios II, there isn&#39;t UCos\II RTOS.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi!

    please, tell me What version of Nios II IDE must I install to create it. Version 6.0 (EDS)? Thanks!!
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by phithuc@Oct 10 2006, 02:15 AM

    hi!

    please, tell me what version of nios ii ide must i install to create it. version 6.0 (eds)? thanks!!

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=18610)

    --- quote end ---

    --- Quote End ---

    i have the full version of quatus6.1 and nios2 6.1,i also can see the uc/os2 template in nios2 6.1 IDE, but when i run the de2_web example downloaded from www.terasic.com ,there is always an error to say there are some mistakes in certain files:

    error:"d/altera/61/nios2eds/components/micrium_uc_osii/UCOSII/inc/ucos_ii.h:357: error: parse error before "OS_FLAGS"".also some erros in the same file.

    i don&#39;t know why.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by dylan999+dec 28 2006, 08:52 pm--><div class='quotetop'>quote (dylan999 @ dec 28 2006, 08:52 pm)</div>

    --- quote start ---

    <!--quotebegin-phithuc@Oct 10 2006, 02:15 AM

    hi!

    please, tell me what version of nios ii ide must i install to create it. version 6.0 (eds)? thanks!!

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=18610)

    --- quote end ---

    --- Quote End ---

    i have the full version of quatus6.1 and nios2 6.1,i also can see the uc/os2 template in nios2 6.1 IDE, but when i run the de2_web example downloaded from www.terasic.com ,there is always an error to say there are some mistakes in certain files:

    error:"d/altera/61/nios2eds/components/micrium_uc_osii/UCOSII/inc/ucos_ii.h:357: error: parse error before "OS_FLAGS"".also some erros in the same file.

    i don&#39;t know why.

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=20272)</div>

    [/b]

    --- Quote End ---

    I have the exact same issue. Has anyone come across a fix for this?