Forum Discussion
Altera_Forum
Honored Contributor
15 years agoCris, I tested your function in an example design on my Altera StratixII Devkit.
(C:\altera\91\nios2eds\examples\vhdl\niosII_stratixII_2s60_RoHS\TSE_SGDMA with the hello_ucosii software example) I have done some minor changes in your code and putted them into the example. There are two tasks which are called periodically. Before they initiated by the OS the function testcall() is called. Then every time when task2 is executed the function pkt_send() is called. Both works fine. Please check the attached projects. Is this that what you wanted to do? Jens