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.

F28235 SYSBIOS Hwi_plug() leads to Illegal Opcode Trap

Other Parts Discussed in Thread: SYSBIOS

Hello,

i am trying to implement a fast ADC interrupt routine avoiding the Hwi dispatcher of SYSBIOS.

For that reason i want to use the Hwi_Plug() to insert the isr into the Pie Vector. This works without problems, the correct address is written to the Vector and after Enabling the Interrupt with Hwi_enableInterrupt(37);
 the isr is executed. But then when returning the DSP somehow jumps to a wrong location in memory which leads to a  Illegal Opcode Trap (unplugged interrupt flagged: intr# 19)


I have modified the provided Example Code to show you my problem, please see attached zip file.
Please help me to solve this Problem as it is very important for the Project that i am currently working on.

Thank you

Michael

sysbios_adc_f28335_Hwi_plug.zip