Spaces:
Sleeping
Sleeping
Ticket Name: TDA3XEVM: DCAN Assertion issue.. | |
Query Text: | |
Part Number: TDA3XEVM Other Parts Discussed in Thread: TDA2, SYSBIOS Hello team, One of my customer who are using TDA2/TDA3x is facing issue for DCAN assertion. The issue is similar to the below e2e issue. But they are not resolved after modified that below post recommended. Here're the logs below. [IPU1-1] 30.071188 s: Id[0x739] [IPU1-1] 30.071646 s: Id[0x73A] [IPU1-1] 30.073110 s: Id[0x73B] [IPU1-1] 30.101201 s: Id[0x73C] [IPU1-1] 30.101659 s: Id[0x73D] [IPU1-1] 30.103123 s: Id[0x73E] [IPU1-1] 30.131184 s: Id[0x73F] [IPU1-1] 30.171201 s: Id[0x739] [IPU1-1] 30.171628 s: Id[0x73A] [IPU1-1] 30.173122 s: Id[0x73B] [IPU1-1] 30.201213 s: Id[0x73C] [IPU1-1] 30.202403 s: Id[0x73D] [IPU1-1] 31.102360 s: Assertion @ Line: 400 in C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/src/rtos/modules/dcan/utils_dcan.c: status == 0 : failed !!! [IPU1-1] 31.102574 s: [IPU1-1] 31.102635 s: ### XDC ASSERT - ERROR CALLBACK START ### [IPU1-1] 31.102696 s: [IPU1-1] 31.102848 s: assertion failure: A_badContext: bad calling context. See GateMutex API doc for details. [IPU1-1] 31.102940 s: [IPU1-1] 31.102970 s: ### XDC ASSERT - ERROR CALLBACK END ### [IPU1-1] 31.103062 s: [IPU1-1] 31.103367 s: ti.sysbios.gates.GateMutex: line 99: ti.sysbios.gates.GateMutex: line 99: assertion failure: A_badContext: bad calling context. See GateMutex API doc for details. [IPU1-1] 31.103580 s: xdc.runtime.Error.raise: terminating execution Could you please to guide how to fix it? Best Regards, Ernest | |
Responses: | |
Hi Ernest, Can you please ask the customer to step through the code and see where exactly it is failing? Also ask them to increase 'freeQ' and 'rxMsgQ' size to 50 and try it. Please let me know their observation after this. Thanks & Regards, Vivek Dhande. Texas Instruments (India) Pvt Ltd | |
H Ernest, I haven't heard back from you, I'm assuming you were able to resolve your issue. If not, just post a reply below (or create a new thread if the thread has locked due to time-out). Thanks & Regards, Vivek Dhande. Texas Instruments (India) Pvt Ltd | |
Hi Vivek, Sorry for late response and thank you for your consideration. They already did your guides but the issue still happened. But they solved this issue by modifying below. - SDK reference CAN source use 1 mailbox and receive 1 message, so they modified it to use 8 mailbox and changed msgIdentifierMask. Thank you. Best Regards, Ernest | |