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.

ROV does not show HWI Handle

Other Parts Discussed in Thread: SYSBIOS, AM3359

It appears that when I look at my dynamically created HWIs in the ROV tool, the HWI handle is blank.  The timer HWI which is statically created doe show a handle.

If I get a data abort in the HWI, the handle,r register dump shows the handle as 0.

What do I have to do in configuration to have the handle show up in ROV and/or the error register display?

This is SYSBIOS for ARM on a AM3359.

Gerry Belanger

  • Gerard,

    Which version of SYS/BIOS are you using?

    Which Hwi module did you use to create the dynamic Hwi?

    Was it "ti.sysbios.hal.Hwi"?

    Or was it the "ti.sysbios.family.arm.a8.intcps.Hwi" module?

    Alan

  • Alan,

    SYS/BIOS 6.34.3.19

    As far as which module, I do not know how to answer that.  I am not intentionally picking one over the other.

    The configuration file has both:

    var Hwi = xdc.useModule('ti.sysbios.hal.Hwi');
    var ti_sysbios_family_arm_a8_intcps_Hwi = xdc.useModule('ti.sysbios.family.arm.a8.intcps.Hwi');

    And to create my HWIs I use, for example:

    tempHwiHandler  = Hwi_create(intNum ,hwiFuncPointer , &hwiParams, &eb);

    I do get a valid handle back, and the functions work. 

    All of the other modules I use return a handle in ROV, so I figured I might be doing something wrong that might have unknown repercussions.

    Gerry Belanger



  • Gerry,

    I'm asking which Hwi.h header file you're including in your C file that creates the Hwi.

    If you use "ti/sysbios/hal/Hwi.h", I would expect you to see a 'halHwiHandle' in the Hwi ROV view in addition to the 'address' field.

    If you use "ti/sysbios/family/arm/a8/intcps/Hwi.h", there won't be a 'halHwiHandle', only an 'address' field.

    The 'address' field is the address of the created ti/sysbios/family/arm/a8/intcps/Hwi object.

    Alan

  • Alan,

    I am using the latter, so it is behaving as you expected. 

    Which brings up the question of what functional difference would I expect to see if I changed to the "ti/sysbios/hal/Hwi.h"?

    Gerry Belanger

  • Gerry,

    For A8 devices, there is very little benefit to using the ti/sysbios/family/arm/a8/intcps/Hwi module over the ti/sysbios/hal/Hwi version.

    They are likely to be functionally identical for your purposes.

    Alan