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.

DM8148 HWIs

Other Parts Discussed in Thread: SYSBIOS

Hi,

I'm working with EZSDK on DM8148 EVM.

1. How can I receive HWIs in the dsp?

2. I've tried to use the function Hwi_eventMap, but I get "undefined symbol" linking error:

undefined first referenced
symbol in file
--------- ----------------
HWI_eventMap ../obj/Temp.obj

I tried adding the following to the linker command, but it didn't solve the problem:

-l /ezsdk/component-sources/bios_6_33_05_46/packages/ti/sysbios/lib/instrumented_e674/sysbios/sysbios.lib \
-l /ezsdk/component-sources/bios_6_33_05_46/packages/ti/sysbios/lib/debug/ti.sysbios.ae674 \
-l /ezsdk/component-sources/bios_6_33_05_46/packages/ti/bios/lib/release/ti.bios.ae674 \

Can I use the function Hwi_eventMap? How can I map event to hwi?

3. Looking on dsp/bios 5.31 API Reference Guid (spru403n.pdf), I see "HWI Module" section. However, in Sys Bios 6.33, I didn't see such document, is there HWI module in sys/bios? how can I use it? Does it have a document describing it?

Thanks,

Gilad

  • Hi,

    Also - I didn't see HWI module in Sys Bios document, but it does mention "Hwi_create" function:

    3.3.1 Creating Hwi Objects

    Hwi_Handle hwi0;
    Hwi_Params hwiParams;
    Error_Block eb;
    Error_init(&eb);
    Hwi_Params_init(&hwiParams);
    hwiParams.arg = 5;
    hwi0 = Hwi_create(id, hwiFunc, &hwiParams, &eb);
    if (hwi0 == NULL) {
    System_abort("Hwi create failed");
    }

    Is this the way to create HWIs? How can I use Hwi_eventMap with it?

    Thanks,

    Gilad

  • Gilad,

    Please ask your questions in our RTOS/BIOS forum:

    http://e2e.ti.com/support/embedded/bios/f/355.aspx

    Regards,
    Pavel