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.

TDA4VM: j721e

Part Number: TDA4VM
dear TI
I have some questions for you to ask at work.
Before that, let me first explain the background of the problem.
platform:TDA4 j721e
PSDK: rtos:ti-processor-sdk-rtos-j721e-evm-08_01_00_13
linux: ti-processor-sdk-linux-j7-evm-08_01_00_07
Please tell me what is the reason for this error.

  • Hi,

    Please let me know which application are you running? Is this a out-of-the-box SDK demo or your custom demo?

    I see that the CSI logs are from MCU2_1 whereas in the SDK, it would come from MCU2_0. 

    Hence, could you brief me what are the changes done in the SDK?

    Also, could you share me all the logs ( app logs + logs of "source ./vision_apps_init.sh") in .txt file?

    Regards,

    Nikhil

  • hi 

    I have some questions for you to ask at work.
    Before that, let me first explain the background of the problem.
    platform:TDA4 j721e
    PSDK: rtos:ti-processor-sdk-rtos-j721e-evm-08_01_00_13
    linux: ti-processor-sdk-linux-j7-evm-08_01_00_07

    In our PSDKRA, DMPAC is allocated to mcu2_1. This is done to balance to load between mcu2_0 and mcu2_1. mcu2_1 runs capture, isp, msc, ldc, display and AEWB algorithm. mcu2_0 runs dmpac and ethernet firmware.

    Now the following error appears:

    log:

    Inside the script---------
    [MCU2_0]      4.170848 s: CIO: Init ... Done !!!
    [MCU2_0]      4.170920 s: ### CPU Frequency = 1000000000 Hz
    [MCU2_0]      4.170962 s: APP: Init ... !!!
    [MCU2_0]      4.170987 s: SCICLIENT: Init ... !!!
    [MCU2_0]      4.172095 s: SCICLIENT: DMSC FW version [21.9.1--v2021.09a (Terrific Lla]
    [MCU2_0]      4.172146 s: SCICLIENT: DMSC FW revision 0x15  
    [MCU2_0]      4.172179 s: SCICLIENT: DMSC FW ABI revision 3.1
    [MCU2_0]      4.172220 s: SCICLIENT: Init ... Done !!!
    [MCU2_0]      4.172247 s: UDMA: Init ... !!!
    [MCU2_0]      4.181850 s: UDMA: Init ... Done !!!
    [MCU2_0]      4.181913 s: MEM: Init ... !!!
    [MCU2_0]      4.181956 s: MEM: Created heap (DDR_SHARED_MEM, id=0, flags=0x00000004) @ d9000000 of size 16777216 bytes !!!
    [MCU2_0]      4.182031 s: MEM: Created heap (L3_MEM, id=1, flags=0x00000000) @ 3600000 of size 262144 bytes !!!
    [MCU2_0]      4.182090 s: MEM: Init ... Done !!!
    [MCU2_0]      4.183209 s: FVID2: Init ... !!!
    [MCU2_0]      4.183304 s: FVID2: Init ... Done !!!
    [MCU2_0]      4.183357 s: CSI2RX: Init ... !!!
    [MCU2_0]      4.189068 s: CSI2RX: Init ... Done !!!
    [MCU2_0]      4.189131 s: CSI2TX: Init ... !!!
    [MCU2_0]      4.193729 s: CSI2TX: Init ... Done !!!
    [MCU2_0]      4.193790 s: IPC: Init ... !!!
    [MCU2_0]      4.193854 s: IPC: 8 CPUs participating in IPC !!!
    [MCU2_0]      4.193912 s: IPC: Waiting for HLOS to be ready ... !!!
    [MCU2_0]     14.127412 s: IPC: HLOS is ready !!!
    [MCU2_0]     14.162663 s: IPC: Init ... Done !!!
    [MCU2_0]     14.598498 s: REMOTE_SERVICE: Init ... !!!
    [MCU2_0]     14.601215 s: REMOTE_SERVICE: Init ... Done !!!
    [MCU2_0]     14.601294 s: DSS: Init ... !!!
    [MCU2_0]     14.601327 s: DSS: Display type is eDP !!!
    [MCU2_0]     14.601357 s: DSS: M2M Path is enabled !!!
    [MCU2_0]     14.601386 s: DSS: SoC init ... !!!
    [MCU2_0]     14.647900 s: DSS: SoC init ... Done !!!
    [MCU2_0]     14.647950 s: DSS: Board init ... !!!
    [MCU2_0]     14.647981 s: DSS: Board init ... Done !!!
    [MCU2_0]     14.667097 s: DSS: Init ... Done !!!
    [MCU2_0]     14.667173 s: VHWA: DMPAC: Init ... !!!
    [MCU2_0]     14.668526 s: VHWA: DOF Init ... !!!
    [MCU2_0]     14.720094 s: VHWA: DOF Init ... Done !!!
    [MCU2_0]     14.720174 s: VHWA: DMPAC: Init ... Done !!!
    [MCU2_0]     14.720228 s:  VX_ZONE_INIT:Enabled
    [MCU2_0]     14.720261 s:  VX_ZONE_ERROR:Enabled
    [MCU2_0]     14.720288 s:  VX_ZONE_WARNING:Enabled
    [MCU2_0]     14.722237 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target DMPAC_SDE
    [MCU2_0]     14.722477 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target DMPAC_DOF
    [MCU2_0]     14.722705 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target IPU1-1
    [MCU2_0]     14.722761 s:  VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
    [MCU2_0]     14.722799 s: APP: OpenVX Target kernel init ... !!!
    [MCU2_0]     14.723646 s: APP: OpenVX Target kernel init ... Done !!!
    [MCU2_0]     14.723699 s: UDMA Copy: Init ... !!!
    [MCU2_0]     14.736071 s: UDMA Copy: Init ... Done !!!
    [MCU2_0]     14.736149 s: ETHFW: Init ... !!!
    [MCU2_0]     14.773296 s: ETHFW: Shared multicasts (software fanout):
    [MCU2_0]     14.773376 s:   01:00:5e:7f:03:01
    [MCU2_0]     14.773434 s:   01:00:5e:0a:00:03
    [MCU2_0]     14.773480 s:   01:00:5e:0a:00:01
    [MCU2_0]     14.773525 s:   01:00:5e:40:ff:fb
    [MCU2_0]     14.773568 s:   ff:ff:ff:ff:ff:ff
    [MCU2_0]     14.773613 s: ETHFW: Reserved multicasts:
    [MCU2_0]     14.773639 s:   01:80:c2:00:00:0e
    [MCU2_0]     14.773683 s:   01:1b:19:00:00:00
    [MCU2_0]     14.773917 s: EnetMcm: CPSW_9G on MAIN NAVSS
    [MCU2_0]     14.794407 s: PHY 1 is alive
    [MCU2_0]     14.794831 s: Mdio_ioctl: PHY 1 is not configured for C22 access
    [MCU2_0]     14.794910 s: EnetPhyMdioDflt_readC22: PHY 1: Failed to read C22 reg: -12
    [MCU2_0]     14.795209 s: EnetPhy_bindDriver: PHY 1: OUI:2b8094 Model:03 Ver:02 <-> 'bcm89881' : OK
    [MCU2_0]     14.796973 s: 
    [MCU2_0] ETHFW Version   : 0.02.00
    [MCU2_0]     14.797046 s: ETHFW Build Date: Sep 11, 2023
    [MCU2_0]     14.797084 s: ETHFW Build Time: 16:52:46
    [MCU2_0]     14.797118 s: ETHFW Commit SHA: 103e7367
    [MCU2_0]     14.797193 s: ETHFW: Init ... DONE !!!
    [MCU2_0]     14.797224 s: ETHFW: Remove server Init ... !!!
    [MCU2_0]     14.797287 s: cfg->numVirtPorts is 2
    [MCU2_0]     14.797336 s: virtPorts 9 is mac port, and phy port is 9
    [MCU2_0]     14.797549 s: CpswProxyServer: Virtual port configuration:
    [MCU2_0]     14.797606 s:   mpu_1_0 <-> Switch port 0: mpu_1_0_ethswitch-device-0
    [MCU2_0]     14.797657 s:   mpu_1_0 <-> MAC port 6: mpu_1_0_ethmac-device-6
    [MCU2_0]     14.798662 s: CpswProxyServer: initialization completed (core: mcu2_0)
    [MCU2_0]     14.798728 s: ETHFW: Remove server Init ... DONE !!!
    [MCU2_0]     14.799996 s: Starting lwIP, local interface IP is dhcp-enabled
    [MCU2_0]     14.826704 s: Host MAC address: 70:ff:76:1d:92:63
    [MCU2_0]     14.837670 s: [LWIPIF_LWIP] Enet LLD netif initialized successfully
    [MCU2_0]     14.864781 s: Function:CpswProxyServer_attachExtHandlerCb,HostId:0,CpswType:6,VirPort:0
    [MCU2_0]     14.868890 s: [LWIPIF_LWIP_IC] Interface started successfully
    [MCU2_0]     14.869078 s: [LWIPIF_LWIP_IC] NETIF INIT SUCCESS
    [MCU2_0]     14.878986 s: APP: Init ... Done !!!
    [MCU2_0]     14.879044 s: APP: Run ... !!!
    [MCU2_0]     14.879069 s: APP: Run ... Done !!!
    [MCU2_0]     14.900435 s: [LWIPIF_LWIP_IC] Interface started successfully
    [MCU2_0]     14.900510 s: [LWIPIF_LWIP_IC] NETIF INIT SUCCESS
    [MCU2_0]     14.900624 s: Added interface 'br4', IP is 0.0.0.0
    [MCU2_0]     14.958291 s: Function:CpswProxyServer_attachExtHandlerCb,HostId:0,CpswType:6,VirPort:9
    [MCU2_1]      4.328260 s: CIO: Init ... Done !!!
    [MCU2_1]      4.328333 s: ### CPU Frequency = 1000000000 Hz
    [MCU2_1]      4.328393 s: APP: Init ... !!!
    [MCU2_1]      4.328423 s: SCICLIENT: Init ... !!!
    [MCU2_1]      4.329585 s: SCICLIENT: DMSC FW version [21.9.1--v2021.09a (Terrific Lla]
    [MCU2_1]      4.329637 s: SCICLIENT: DMSC FW revision 0x15  
    [MCU2_1]      4.329673 s: SCICLIENT: DMSC FW ABI revision 3.1
    [MCU2_1]      4.329712 s: SCICLIENT: Init ... Done !!!
    [MCU2_1]      4.329739 s: UDMA: Init ... !!!
    [MCU2_1]      4.341688 s: UDMA: Init ... Done !!!
    [MCU2_1]      4.341753 s: MEM: Init ... !!!
    [MCU2_1]      4.341802 s: MEM: Created heap (DDR_SHARED_MEM, id=0, flags=0x00000004) @ da000000 of size 16777216 bytes !!!
    [MCU2_1]      4.341880 s: MEM: Created heap (L3_MEM, id=1, flags=0x00000001) @ 3640000 of size 262144 bytes !!!
    [MCU2_1]      4.341941 s: MEM: Init ... Done !!!
    [MCU2_1]      4.341968 s: FVID2: Init ... !!!
    [MCU2_1]      4.342039 s: FVID2: Init ... Done !!!
    [MCU2_1]      4.342089 s: ISS: Init ... !!!
    [MCU2_1]      4.342324 s: ISX031 in used
    [MCU2_1]      4.342443 s: ar0233 not in used
    [MCU2_1]      6.046999 s: IssSensor_Init ... Done !!!
    [MCU2_1]      6.047087 s: IPC: Init ... !!!
    [MCU2_1]      6.047187 s: IPC: 8 CPUs participating in IPC !!!
    [MCU2_1]      6.047257 s: IPC: Waiting for HLOS to be ready ... !!!
    [MCU2_1]     14.180077 s: IPC: HLOS is ready !!!
    [MCU2_1]     14.211023 s: IPC: Init ... Done !!!
    [MCU2_1]     14.598497 s: REMOTE_SERVICE: Init ... !!!
    [MCU2_1]     14.601310 s: REMOTE_SERVICE: Init ... Done !!!
    [MCU2_1]     14.601431 s: vissRemoteServer_Init ... Done !!!
    [MCU2_1]     14.601502 s: IttRemoteServer_Init ... Done !!!
    [MCU2_1]     14.601537 s: VHWA: VPAC Init ... !!!
    [MCU2_1]     14.603384 s: VHWA: LDC Init ... !!!
    [MCU2_1]     14.663893 s: VHWA: LDC Init ... Done !!!
    [MCU2_1]     14.663978 s: VHWA: MSC Init ... !!!
    [MCU2_1]     14.737078 s: VHWA: MSC Init ... Done !!!
    [MCU2_1]     14.737146 s: VHWA: NF Init ... !!!
    [MCU2_1]     14.746353 s: VHWA: NF Init ... Done !!!
    [MCU2_1]     14.746425 s: VHWA: VISS Init ... !!!
    [MCU2_1]     14.788485 s: VHWA: VISS Init ... Done !!!
    [MCU2_1]     14.788554 s: VHWA: VPAC Init ... Done !!!
    [MCU2_1]     14.788604 s:  VX_ZONE_INIT:Enabled
    [MCU2_1]     14.788636 s:  VX_ZONE_ERROR:Enabled
    [MCU2_1]     14.788664 s:  VX_ZONE_WARNING:Enabled
    [MCU2_1]     14.790592 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target IPU1-0
    [MCU2_1]     14.790841 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target VPAC_NF
    [MCU2_1]     14.791085 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target VPAC_LDC1
    [MCU2_1]     14.791307 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target VPAC_MSC1
    [MCU2_1]     14.791576 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target VPAC_MSC2
    [MCU2_1]     14.791889 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target VPAC_VISS1
    [MCU2_1]     14.792181 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target CAPTURE1
    [MCU2_1]     14.792467 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target CAPTURE2
    [MCU2_1]     14.792752 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target DISPLAY1
    [MCU2_1]     14.793034 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target DISPLAY2
    [MCU2_1]     14.793274 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target CSITX
    [MCU2_1]     14.793573 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target CAPTURE3
    [MCU2_1]     14.793855 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target CAPTURE4
    [MCU2_1]     14.794150 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target CAPTURE5
    [MCU2_1]     14.794433 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target CAPTURE6
    [MCU2_1]     14.794708 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target CAPTURE7
    [MCU2_1]     14.794998 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target CAPTURE8
    [MCU2_1]     14.795247 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target DSS_M2M1
    [MCU2_1]     14.795498 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target DSS_M2M2
    [MCU2_1]     14.795729 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target DSS_M2M3
    [MCU2_1]     14.795971 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target DSS_M2M4
    [MCU2_1]     14.796029 s:  VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
    [MCU2_1]     14.796067 s: APP: OpenVX Target kernel init ... !!!
    [MCU2_1]     14.811834 s: APP: OpenVX Target kernel init ... Done !!!
    [MCU2_1]     14.811901 s: UDMA Copy: Init ... !!!
    [MCU2_1]     14.823183 s: UDMA Copy: Init ... Done !!!
    [MCU2_1]     14.823252 s: APP: Init ... Done !!!
    [MCU2_1]     14.823323 s: APP: Run ... !!!
    [MCU2_1]     14.823349 s: APP: Run ... Done !!!
    [MCU2_1]     15.816652 s:  VX_ZONE_ERROR:[tivxTargetKernelInstanceAlloc:115] kernel com.ti.capture has not been registered on this CPU
    [MCU2_1]     15.816729 s:  VX_ZONE_ERROR:[tivxTargetKernelInstanceAlloc:116] Please register this kernel on the appropriate target core
    [MCU2_1]     15.816796 s:  VX_ZONE_ERROR:[tivxTargetNodeDescNodeCreate:761] target_kernel_instance is NULL
    [MCU2_1]     15.918102 s: ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_STREAM_ON 
    [MCU2_1]     15.918195 s: sensor: ISX031-MAX96717F stream on start ...
    [MCU2_0]     17.098837 s: Function:CpswProxyServer_setPromiscModeHandlerCb,HostId:0,Handle:a32cd97c,CoreKey:38acb7e6,mode:disable
    [MCU2_0]     17.099403 s: Function:CpswProxyServer_setPromiscModeHandlerCb,HostId:0,Handle:a32cd97c,CoreKey:38acb7e6,mode:disable
    [MCU2_1]     17.322118 s:  VX_ZONE_ERROR:[tivxTargetKernelInstanceAlloc:115] kernel com.ti.capture has not been registered on this CPU
    [MCU2_1]     17.322201 s:  VX_ZONE_ERROR:[tivxTargetKernelInstanceAlloc:116] Please register this kernel on the appropriate target core
    [MCU2_1]     17.322268 s:  VX_ZONE_ERROR:[tivxTargetNodeDescNodeCreate:761] target_kernel_instance is NULL
    [MCU2_1]     17.423411 s: ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_PWROFF 

    Please tell me how to fix this error, thank you

  • In our PSDKRA, DMPAC is allocated to mcu2_1. This is done to balance to load between mcu2_0 and mcu2_1. mcu2_1 runs capture, isp, msc, ldc, display and AEWB algorithm. mcu2_0 runs dmpac and ethernet firmware.

    This is not exactly correct. mcu2_0 runs capture, isp, msc ldc and mcu2_1 runs dmpac. So we cannot enable capture on mcu2_1 in the released sdk.

    Regards,

    Brijesh 

  • Our current approach is to run capture, isp, msc ldc on mcu2_1, but now the following error appears

    [MCU2_1] 15.816652 s: VX_ZONE_ERROR:[tivxTargetKernelInstanceAlloc:115] kernel com.ti.capture has not been registered on this CPU
    [MCU2_1] 15.816729 s: VX_ZONE_ERROR:[tivxTargetKernelInstanceAlloc:116] Please register this kernel on the appropriate target core
    [MCU2_1] 15.816796 s: VX_ZONE_ERROR:[tivxTargetNodeDescNodeCreate:761] target_kernel_instance is NULL
    [MCU2_1] 15.918102 s: ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_STREAM_ON

    Please tell me how to fix it, thanks

  • But have you made any changes in the code to move capture and other components to mcu2_1? By default it isnot supported. 

    Regards,

    Brijesh 

  • Hello, I just changed some common configurations of the code, as follows

    app_cfg_mcu2_0.h

    app_cfg_mcu2_1.h

    tivx_platform_psdk_j7.h

    rm_cfg.c

    Which component codes still need to be modified? I want to discuss, exchange and learn with the master, thank you very much

  • Hi,

    Could you may be provide a patch over the SDK which contains your changes for moving capture to MCU2_1?

    Also additionally the below error would come if you have not done the target side registration of capture node on MCU2_1

    [MCU2_1] 15.816652 s: VX_ZONE_ERROR:[tivxTargetKernelInstanceAlloc:115] kernel com.ti.capture has not been registered on this CPU
    [MCU2_1] 15.816729 s: VX_ZONE_ERROR:[tivxTargetKernelInstanceAlloc:116] Please register this kernel on the appropriate target core

    i.e. I think you should enable ENABLE_CSI2RX on app_cfg_mcu2_1.h and disable in app_cfg_mcu2_0.h.

    Regards,

    Nikhil

  • HI TI

    Thanks for the support. Next, I will spend time studying the TDA4 visual technology solution. After I have a better understanding, I will ask your company for advice. Thank you for your previous support.

  • Sure, Thank you. Closing this thread until then. Please respond here within 30 days to reopen this thread. Else you could open a new thread referencing to this one.

    Regards,
    Nikhil