Page 1 of 1

Task Example for Nios 2

Posted: Tue Dec 09, 2008 8:53 pm
by Nautilus85
Hello

In your API Toutorial for the nios 2 processor (DEMO)(Christmas Tree)
the task 2 only works by pressing a button.
How must i make it that it is automatically switching between task 1 and task 2. (without pressing a button)

best regards

Re:Task Example for Nios 2

Posted: Tue Dec 09, 2008 9:42 pm
by paolo.gai
To activate Task2 from Task1, you can:

- call ActivateTask to activate at any point the other task
- if using BCC1, BCC2, ECC1, ECC2, you can substitute the TerminateTask with a ChainTask

Ciao,

PJ