This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Can I create tasks dynamically in DSP /BIOS 5.3x?

Other Parts Discussed in Thread: SYSBIOS

I am trying to create tasks dynamically. I found a way to do it in SYSBIOS. But what package/header files should I use to achieve this in DSP BIOS 5.33.06?

Someone please advice if you have any idea about this.

  • Yes, you can create tasks dynamically. Look up the TSK module in the BIOS documentation. There is an API called TSK_create() declared in tsk.h that does what you want.

    Best regards,

    Vincent

  • Thank you Vincent. I am able to create a Task. But I am also trying create hardware interrupt dynamically but I got errors for Hwi_create, Hwi_Params. Is it possible to create HWI objects in DSP BIOS dynamically? If so, what is the header file? <hwi.h> doesn't work for me.

    What I am trying to do is when I enter into some particular mode I want to change the ISR to the HWI object which was already created before. Our test engineers are trying to test the functionality without impacting our code base. So, they want to create objects dynamically and want to re-map ISRs to their own functions.