Forum Discussion

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

Anyone using Eclipse with MicroC/OS-II?

I'm working on a fairly complicated NiosII SW project using Eclipse / SBT. We use MicroC/OS-II to run multiple threads (~20).

I'm curious what others experience with this is. It seems as though the 'Thread Aware' part of Eclipse part doesn't work, as only the 'active

thread is every displayed. Suspended threads don't show up.

Also, interested how others are handling Makefile / Eclipse Project integration. Our project has 3 different BSP's (different fpga implementations) and half a dozen targets. This causes problems when we try to manage the Makefile directly.

We are struggling with a few other 'features' of the environment and would like to start a thread to discuss 'Best Way' to handle this type of project.

9 Replies

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

    I would choose "separate as much as possible" strategy instead of taking all bsps, elf, etc files into one project messing up with Makefile generation... I do use Eclipse with uCOS, but I don't use any suspending yet. InterNiche + some other tasks work well.

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

    --- Quote Start ---

    I'm working on a fairly complicated NiosII SW project using Eclipse / SBT. We use MicroC/OS-II to run multiple threads (~20).

    I'm curious what others experience with this is. It seems as though the 'Thread Aware' part of Eclipse part doesn't work, as only the 'active

    thread is every displayed. Suspended threads don't show up.

    Also, interested how others are handling Makefile / Eclipse Project integration. Our project has 3 different BSP's (different fpga implementations) and half a dozen targets. This causes problems when we try to manage the Makefile directly.

    We are struggling with a few other 'features' of the environment and would like to start a thread to discuss 'Best Way' to handle this type of project.

    --- Quote End ---

    Did you have any success displaying suspended tasks? I am having the same problem.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    The NIOS EDS (even the latest 11.1sp1) does not show the suspended tasks. At some point in the NIOS EDS Release notes Altera claimed that it has been fixed, but it was not.

    I've reported this to Altera. They couldn't explain why it was documented as fixed when it clearly was not.

    But at least they are aware of the problem and hopefully it will be fixed someday (or someyear more likely :-) ...

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

    Their product literature still claims the Nios EDS is "thread aware". I guess one could claim it is "aware" of at least one thread. :D

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

    Has this been fixed? If so what do we need to do?

    We've just upgraded to Quartus 12.1 and when pausing / breaking only the active thread is displayed.

    This is a real PITA and a significant loss in functionality.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Yes, the suspend and breakpoint problem in Eclipse seems to be fixed in 12.1sp1 (at least the quick test that I did worked much better than with plain 12.1).

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

    Does it also restore the ability to see the call stack on all ucos threads?