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.

RTOS/TMS320C6742: sysBios is not setting hwi properly

Part Number: TMS320C6742
Other Parts Discussed in Thread: SYSBIOS

Tool/software: TI-RTOS

I have configured sys bios for an interrupt.

var hwi2Params = new Hwi.Params();
hwi2Params.instance.name = "hwiUARTIsr";
hwi2Params.priority = 3;
hwi2Params.eventId = 38;
Program.global.hwiUARTIsr = Hwi.create(7, "&UARTIsr", hwi2Params);

I am using these modules

var Defaults = xdc.useModule('xdc.runtime.Defaults');
var Diags = xdc.useModule('xdc.runtime.Diags');
var Error = xdc.useModule('xdc.runtime.Error');
var Log = xdc.useModule('xdc.runtime.Log');
var LoggerBuf = xdc.useModule('xdc.runtime.LoggerBuf');
var Main = xdc.useModule('xdc.runtime.Main');
var SysMin = xdc.useModule('xdc.runtime.SysMin');
var System = xdc.useModule('xdc.runtime.System');
var Text = xdc.useModule('xdc.runtime.Text');

var BIOS = xdc.useModule('ti.sysbios.BIOS');

var Hwi = xdc.useModule('ti.sysbios.hal.Hwi');
var Task = xdc.useModule('ti.sysbios.knl.Task');
var Swi = xdc.useModule('ti.sysbios.knl.Swi');
var ti_sysbios_family_c64p_Hwi = xdc.useModule('ti.sysbios.family.c64p.Hwi');

When I go thru BIOS_start the only thing the hwi module call does is enable interrupts.

If I break at hwi 7 (I do get there) I walk right through it

ti_sysbios_family_c64p_Hwi_int7():
c00000e0: 1001E002 SWBP 0
c00000e4: 001CA35A MVK.L2 7,B0
c00000e8: 1001E002 SWBP 0
c00000ec: 00000000 NOP
c00000f0: 1001E002 SWBP 0
c00000f4: 00000362 B.S2 B0
c00000f8: 1001E002 SWBP 0
c00000fc: 00000000 NOP

and into int8.

I have manually set the event to interrupt number because bios wasn't setting this, but it is not locating a branch to my interrupt in the interrupt vector and so it never visits the dispatch hook which is why I am using bios.

What am I doing wrong?