Other Parts Discussed in Thread: TVP5158
Tool/software: Linux
Hello,
We are trying to capture TVP5158 video on a TI8148 Board using IPNC 3.8.
Since there is no use-case for TVP5158, I have used the existing ipnc demo application, I made the following changes
in ti_mcfw_ipnc_main.c as follows:
vsysParams.systemUseCase = VSYS_USECASE_MULTICHN_PROGRESSIVE_VCAP_VDIS_VENC_VDEC;
/* Vcam_init(&vcamParams); */
Vsys_create();
Vcap_start();
In ipnc_mcfw/mcfw/src_linux/mcfw_api, made the following change
// #ifdef TI_816X_BUILD /* Commented because this is a TI814X board */
#if 1 /* Added for TI_814X */
if(gVsysModuleContext.vsysConfig.systemUseCase == VSYS_USECASE_MULTICHN_PROGRESSIVE_VCAP_VDIS_VENC_VDEC)
scdAlgLinkId = gVcapModuleContext.dspAlgId[1];
else
#endif
What i see is, the Application hangs after printing the following:
[host] Starting App LoadDemo
[host] Send Command
[c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
[m3video] Remote Debug Shared Memory @ 0xbff05020
[m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
[host] Send Command m3video
[c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
[m3video] Remote Debug Shared Memory @ 0xbff05020
[m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
[host] Send Command c6xdsp
[c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
[m3video] Remote Debug Shared Memory @ 0xbff05020
[m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
[host] Waiting m3vpss
[c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
[m3video] Remote Debug Shared Memory @ 0xbff05020
[m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
The related application code is as follows:
OSA_printf("Send Command\n");
system("./scripts/send_cmd.sh T m3vpss");
OSA_printf("Send Command m3video\n");
system("./scripts/send_cmd.sh T m3video");
#ifdef IPNC_DSP_ON
OSA_printf("Send Command c6xdsp\n");
system("./scripts/send_cmd.sh T c6xdsp");
#endif
OSA_printf("Waiting m3vpss\n");
system("./scripts/wait_cmd.sh t m3vpss"); <=== Hang
OSA_printf("Waiting m3video\n");
system("./scripts/wait_cmd.sh t m3video");
#ifdef IPNC_DSP_ON
OSA_printf("Waiting c6xdsp\n");
system("./scripts/wait_cmd.sh t c6xdsp");
Am i missing something. Can i use IPNC to get TVP5158 video?
Is the mcfw_api's different for DVR package when compared to IPNC Software for TVP5158 support
in terms of usecases supported.
Where can i find tested usecases for capturing Video from TVP5158 for IPNC package?
Thanks,