syslink版本是syslink_2_20_02_20,使用/syslink_2_20_02_20/examples/archive/TI814X_linux_elf/ex01_helloworld 这个demo做测试。
video 和 dsp的测试程序运行正常但是运行在vpss上的不正常。出问题的语句是在server.c中。返回的status始终是Notify_E_NOTINITIALIZED,是不是我在之前少配置了什么让vpss运行demo不正常,求解答!!
Int Server_run(UInt16 remoteProcId)
{
Int status;
Log_print0(Diags_ENTRY, "–> Server_exec:");
/* wait until remote core has registered notify callback */
do {
status = Notify_sendEvent(remoteProcId, SystemCfg_LineId,
SystemCfg_EventId, 0, TRUE);
if (status == Notify_E_EVTNOTREGISTERED) {
Task_sleep(200);
}
} while ( (status == Notify_E_NOTINITIALIZED)
|| (status == Notify_E_EVTNOTREGISTERED));
if (status < 0) {
goto leave;
}
Log_print0(Diags_ENTRY, "Server_exec: sent hello world event to host");
leave:
Log_print1(Diags_EXIT, "<– Server_exec: %d", (IArg)status);
return(status);
}
Robin Edson:
程序你改过?这个测试程序是让A8和这几个核通信,而你的错误是未初始化,源程序中有初始化部分。