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.

[参考译文] RTOS/TDA2EG:MSGQ 有关 Linux SVP 与 VSDK3.0 msgq 通信的问题

Guru**** 2616675 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/658394/rtos-tda2eg-msgq-question-about-linux-svp-communication-with-vsdk3-0-msgq

器件型号:TDA2EG

工具/软件:TI-RTOS

错误跟踪如下所示:

[host][IPU2 ] 26.066461 s:MSGQ:警告!! :不支持强制 waitAck = true,因为 waitAck = false。Fix 发送 cmd [0x4]到 LinkID [0x0
[host][IPU2 ] 26.066674 s:系统:通知:向[IPU2][9]发送事件失败!!! (状态=-14)
[host][IPU2 ] 26.066766 s:断言@行:232 in system_ipc_BIOS_ipc.c:(bool) false:失败!!!

e2e.ti.com/.../VSDK3.0.TXT

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好!

    我已将您的问题转交给 VisionSDK 专家。

    此致、
    Yordan
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    为什么要将 waitAck 模式从 true 更改为 false?  System_ipcMsgQSendMsg 不支持此操作。

    waitAck = true 以确保来自应用程序或任何其他链接的同步命令

     

    此致、Shiju

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    我不会将 waitAck 模式更改为 false;

    如果您知道 waitAck 代码在哪里、我想确认该代码

    谢谢
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    文件名:links_fW/src/rtos/links_common/system/system_ipc_msgq.c 和
    Links_FW/src/HLOS 系统/system_IPC_msgq.c

    函数名称:system_ipcMsgQSendMsg

    if (waitAck!=(bool) true)

    VPS_printf (" MSGQ:警告!!!! :强制 waitAck = true 作为 waitAck ="
    "不支持 false。"
    "fix send cmd [0x%x] to LinkID [0x%x"、cmd、LinkID);
    waitAck =(bool) true;


    utils_assert ((bool) true == waitAck);
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    我已检查代码:
    Links_FW/src/rtos/links_common/system/system_ipc_msgq.c
    498. if (waitAck!=(bool) true)
    499 {
    500 VPS_printf (" MSGQ:警告!!!! :强制 waitAck = true 作为 waitAck ="
    501 "不支持 false。"
    502. "fix send cmd [0x%x] to LinkID [0x%x"、cmd、LinkID);
    503. waitAck =(bool) true;
    504}
    505.
    506 utils_assert ((bool) true == waitAck);

    和 links_fW/src/HLOS 系统/system_IPC_msgq.c
    333. if (waitAck!= true)
    3334 {
    335. VPS_printf ("系统:MSGQ:警告!!! :强制 waitAck = true 作为 waitAck ="
    336. "不支持 false。"
    337. "fix send cmd [0x%x] to LinkID [0x%x]"、cmd、LinkID);
    338. waitAck = true;
    339}
    340
    341. osa_assert (true =waitAck);

    我不更改这两个块代码
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    在调用链路控制 API 时、您是否对 ACK 进行了不平衡? 如果是、则此代码有效