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.

DRA710: Notfy Driver config

Part Number: DRA710
Other Parts Discussed in Thread: STRIKE, DRA756

hi, experts

i want to know whether the mailbox is used by default in platform tda2xx both for  System_sendLinkCmd and the low level of OSA_tskWaitMsg rather than NotifyDriverShm or NotifyDriverCirc.

what make me confused is notify driver config:

vision_sdk\links_fw\src\rtos\bios_app_common\tda2xx\cfg\IPC_RpMsgDrv.cfg

var NotifyDriverShm = xdc.useModule('ti.sdo.ipc.notifyDrivers.NotifyDriverShm');

Notify.SetupProxy = xdc.useModule('ti.sdo.ipc.family.vayu.NotifySetup');
NotifyDriverShm.InterruptProxy = Interrupt;

if i modify them to:


var NotifyDriverCirc = xdc.useModule('ti.sdo.ipc.notifyDrivers.NotifyDriverCirc');

Notify.SetupProxy = xdc.useModule('ti.sdo.ipc.family.vayu.NotifyCircSetup');
NotifyDriverCirc.InterruptProxy = Interrupt;

i got error js: "/home/wen_hao/t03_j6_vision_sdk_3.2/vision_sdk/links_fw/src/rtos/bios_app_common/tda2xx/cfg/IPC_RpMsgDrv.cfg", line 65: xdc.services.global.XDCException: xdc.MODULE_NOT_FOUND: xdc.module: no module named 'NotifyCircSetup' in the however 

 

vision_sdk\links_fw\src\rtos\bios_app_common\tda2xx\cfg\IPC_NotifyDrv.cfg
var useNotfyDriverMbx = 1;

if(useNotfyDriverMbx)
{
IPC_CFG_NotifyDriverMbxSetup();
}

function IPC_CFG_NotifyDriverMbxSetup()
{
var core = java.lang.System.getenv("CORE");

/* configure the notify driver for HW mailbox mode */
var NotifySetup = xdc.useModule('ti.sdo.ipc.family.vayu.NotifySetup');

if(core!="a15_0")
{
if(java.lang.System.getenv("PROC_A15_0_INCLUDE")=="yes")
{
NotifySetup.connections.$add(
new NotifySetup.Connection({
driver: NotifySetup.Driver_MAILBOX,
procName: "HOST"
})
);
xdc.print("# !!! Using NotifyDriverMbx between [" + core + "] and [a15_0] !!!" );
}
}

}

please advice if anything wrong.

vision_sdk: 3.2

ipc:3_45_00_00

thanks.

regards wen

  • Hi Wen,

    I think there is some issue in the formatting of the original post, as I see some strikethrough of certain lines, so please let me know if I have missed any question.

    Is the question about when NotifyDriverMbx is used in Vision SDK versus NotifyDriverShm? If so, by default in Vision SDK config, NotifyDriverMbx is selected when Linux is not running on A15, and NotifyDriverShm is selected when Linux is not running on A15. See IPC_common.cfg in vision sdk.

    Also, you can see the following pages for more information on the Notify drivers:

    http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/ipc/latest/docs/cdoc/ti/sdo/ipc/family/vayu/NotifyDriverMbx.html

    http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/ipc/latest/docs/cdoc/ti/sdo/ipc/notifyDrivers/NotifyDriverShm.html

    Thanks,

    Angela

  • Hi, Angela

    sorry for the strike. i have deleted the original post. and now this is a new one.

    we are using tda2xx/dra756 platform and i want to be clarified whether the mailbox is used when linux is runing on A15.

    the local fae told me mailbox is used for NotifyDrive by default, that's is the why im asking this question.

    sorry i dont know what's you mean about A72.

    “NotifyDriverShm is selected when Linux is not running on A72” that i guess NotifyDriverShm is now using for the NotifyDriver(i want to clarify first that i want to know the notify Driver mechanism, not the share mem used in queue for ipc)

    i have read the user guide and section 5.3.1 "Choosing and Configuring Notify Drivers" which told me NotifyDriverCirc can be used instead of NotifyDriverShm which is "Better", my question is how to achieve this? i have tried to modify  the config file, but failed to build, please tell me how.

    thanks.

    regards wen

  • Hi Wen,

    I meant to say A15 in my earlier post, sorry for the confusion. I have edited my previous response to correct this.

    Yes, NotifyDriver uses mailbox by default for the interrupt notification, whether using NotifyDriverMbx or NotifyDriverShm.

    NotifyDriverCirc is not a supported Notify driver for vayu/tda2xx.

    Thanks,

    Angela

  • Hi, Angela

    "Yes, NotifyDriver uses mailbox by default for the interrupt notification, whether using NotifyDriverMbx or NotifyDriverShm."

    so you are telling me definitely NotifyDriver uses mailbox by default for the interrupt notification, right? regardless of the last sentence.

    Thanks,

    regards wen.