Forum Discussion
Altera_Forum
Honored Contributor
14 years agoTrying to understand MicroC/OS-II
Hello i have a NEEK Board and i've runned web server example with sucess. However now i want to do other stuffs in my program, like a PIO read. i don't know how can i do it, i took a look at ...
Altera_Forum
Honored Contributor
13 years agoHi aprado
you should check "WSInitialTask" thread as slacker written but answer of your question "Where should my C code go? Before OSStart? Is the ethernet set up and running before it? How can i manipulate it? I can't see OSStart function in the code." Before OS start it is initialize the Hardware but it is not running Ethernet setup for communication if you want to use Ethernet and using InterNiche Stack then you should use netmain() function after OSStart(); in other task this function initialize Ethernet You can find OSStart code in you BSP package in ucos folder. Cheers, Meet shah