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.

TDA2: Can DCAN1 run simultaneously with capture and display links?

Part Number: TDA2

The problem is similar to this “e2e.ti.com/.../716329

[IPU1-1] 97.623528 s: Assertion @ Line: 505 in D:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/src/rtos/modules/dcan/utils_dcan.c: status == 0 : failed !!!
[IPU1-1] 97.623741 s:
[IPU1-1] 97.623802 s: ### XDC ASSERT - ERROR CALLBACK START ###
[IPU1-1] 97.623863 s:
[IPU1-1] 97.624016 s: assertion failure: A_badContext: bad calling context. See GateMutex API doc for details.
[IPU1-1] 97.624107 s:
[IPU1-1] 97.624168 s: ### XDC ASSERT - ERROR CALLBACK END ###

static Void Utils_dcanQuePut(Utils_QueHandle * handle, struct dcanQueMsgs_s *msg,
dcanQueMsgState_e state)
{
Int32 status;

msg->state = state;
status = Utils_quePut(handle,msg,BIOS_NO_WAIT);

UTILS_assert(status == 0);// this assert  status == 0 : failed !!!
}

  • Hi Yuling,

    DCAN can run along with capture and display links.
    In previous threads, user was able to get some message before seeing this error. Is your observation same?
    If yes, can you try doing changes suggested in attached thread(in your previous reply).
    Please let know your results.

    Thanks & Regards,
    Vivek Dhande.
    Texas Instruments (India) Pvt Ltd