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.

How to trigger an interrupt in C55x from a debugger?

I need to test various preemption scenarios, which are very rare in real life. So I cannot wait for them to occur.  Instead I want to set up a very specific condition and trigger an interrupt from the CCS debugger by changing a value of a register.

This is very easy on other processors, but on C55x I can't set the IFR0/IFR1 registers from the debugger. Any changes are simply ignored.

Potentially I could set up one of the Timers and set the counter register to 1 so that it will trigger interrupt on the next cycle. However, I already use the TINT interrupt and I need another one to test interrupts occuring within interrupts.

So, my question is which interrupt would be best to use for the testing purposes? For example, how can I trigger the RTOS interrupt?  I need to know how to set up this interrupt and how to trigger it at will from the debugger.

Any help will be greatly appreciated.