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.
大家好、
我决定运行上面提到的例子,我正面临一些问题,如果可以,请帮助,谢谢:-)
Ethfw 客户端, J721E QSGMII 的服务器示例
客户端错误消息:
CpswProxy:CpswProxy_connect:无法获取 ETHFW 命令服务 Endpt:-4
CpswProxy:CpswProxy_connect:无法获取 ETHFW 命令服务 Endpt:-4
CpswProxy:CpswProxy_connect:无法获取 ETHFW 命令服务 Endpt:-4
CpswProxy:CpswProxy_connect:无法获取 ETHFW 命令服务 Endpt:-4
CpswProxy:CpswProxy_connect:无法获取 ETHFW 命令服务 Endpt:-4
CpswProxy:CpswProxy_connect:无法获取 ETHFW 命令服务 Endpt:-4
CpswProxy:CpswProxy_connect:无法获取 ETHFW 命令服务 Endpt:-4
错误原因:
在服务器端:
/*步骤5a. 等待远端初始化 remote_device */
正确
{
status = CpswProxy_connect ();
}
while ( 状态!= IPC_SOK )
cpsw_proxy.c 中定义了 cpsw_proxy.c
int32_t CpswProxy_connect (void)
{
C54200p45C*cmdSvc Proxy_Cmd =&gCpswProxy.cmdSvc;
C54200pSvc Proxy_Notify *notifySvc =&gCpswProxy.notifySvc;
int32_t status = CPSWPROXY_SOK;
/*等待 ETHFW 的命令服务激活*/
状态= RPMessage_getRemoteEndPt (RPMSSAGE_ANY、
ETHREMOTECFG_framework_service_name、
&cmdSvc->masterCoreId,
&cmdSvc->masterEndpt,
CPSWPROXY_Locate_timeout);
ETHFWTRACE_ERR_IF ((STATUS!= IPC_SOK)、STATUS、
"获取 ETHFW 命令服务 Endpt 失败");<<------------- 上面提到的错误消息??? 为什么会发生这种情况??!
谢谢。
您好!
您能否从主 UART2共享以太网固件调试日志?
我们认为 EthFw 没有运行某种说法可能会发生。
您是否符合已连接 GESI 卡的要求? 如果不是 EthFw、将无法打开端口1、因为它来自 GESI 扩展卡。
如果您不使用 GESI 扩展卡、请禁用 GESI 上的端口。
您可以连接 GESI 并使用全部8个端口、也可以从服务器 main.c 文件的"gEthAppPorts"阵列禁用映射到 GESI 的端口。
此致、
苏德黑尔