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.

AM5716: Sysbios/IPC GateMP Scan for errors message 'Caught exception in view init code: Problem fetching remoteCustom2InUseError: fetchArray called with length 0.'

Part Number: AM5716

Hi,

We are having the above mentioned error message in CCS ROV view. Or if the below is added to app.cfg remoteCustom2InUseError is replaced by remoteCustom1InUseError...

var GateMP = xdc.useModule('ti.sdo.ipc.GateMP');
GateMP.RemoteSystemProxy = xdc.useModule('ti.sdo.ipc.gates.GateHWSpinlock');
GateMP.RemoteCustom1Proxy = xdc.useModule('ti.sdo.ipc.gates.GateMPSupportNull');
GateMP.RemoteCustom2Proxy = xdc.useModule('ti.sdo.ipc.gates.GateMPSupportNull');

When I checked the code under '..\ti\ipc_3_50_04_08\packages\ti\sdo\ipc\GateMP.xs' I found the TODO comments. hinting that this is a XDC/ROV problem only:

function viewInitModule(view, mod)
{
    // ...

    if (mod.proxyMap[1] == 1) {
        view.numGatesCustom1 = mod.numRemoteCustom1;

        try {
            var remoteCustom1InUse = Program.fetchArray(
                mod.remoteCustom1InUse$fetchDesc,
                mod.remoteCustom1InUse.$addr,
                mod.numRemoteCustom1);
        }
        catch (e) {
            throw("Problem fetching remoteCustom1InUse" + e); //TODO

Can we ignore this error message or is there another reason causing this?

Thanks,

André

  • Hi Andre,

    In the below e2e thread you mentioned that scan for errors have been resolved. Please let me know if there are any issues still present from the current thread.

    e2e thread: https://e2e.ti.com/support/processors/f/791/t/950051

    "but the ROV -> BIOS -> Scan for errors has been mostly resolved. It was a ROV problem. By adding ROV only  _start__ & _end__ defines for the whole address range the errors dissapeared, except one, which is most likely also related to ROV (unused GateMP custom proxy defined to NULL)."

    Thanks & Regards,

    Sunita.

  • Hi Sunita,
    this thread has been opened because the above problem still persists after solving the ones in the other thread!

    I believe it is a pure ROV viewer problem because of the hint in the above mentioned TI code. Can you please check if this issue is somewhere documented? I could not find a way to file a bug/issue for this. Either the provided links to a Jira board are not accessible or the issue trackers are not maintained by TI ...

    Thanks,

    André

  • Hello Andre,

    Sorry for the delay. I have followed up with the team that supports ROV and waiting for a response. As soon as I her anything I will let you know.

    Thanks

    ki

  • Sorry for the delayed response. Initial engineering analysis feels the it does appear to be an issue with ROV or more specifically the script that provides visualization for Gate module in ROV. The other possibility is that Gate module in firmware program is misconfigured somehow and that is causing the error. Additional investigation ongoing.

    I have filed a bug for this issue. Tracking link: https://sir.ext.ti.com/jira/browse/EXT_EP-10246

    Thanks

    ki