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: Runing singleCAM in R5 Mcu2_0 host is starting too late

Part Number: TDA4VM

Tool/software:

Hello,

After porting patches  to run single_cam with TIOVX host in R5 (no A72 is used), we observe that it is taking too much time to provide an image to display (8s)

Currently, we are in the fastest solution, SBL, TIFS and APP in OSPI. Although it would be expected to be a good improvement, it is not. (with SD card is taking 11s).

I assure SBL is not providing UART debug messages, to speed up the process.

To understand where is taking most of the time in MCU2_0, I can see MCu2_0 is taking almost 5s since starting till image is in Display (4s from enumerating sensor to sensor initialization finishes)

Besides the possibility that I2C commands can be hard optimized to speed up sensor initialization, could you give any suggestion why is whole thing taking so long? Could you give tips to reduce this amount of time to achieve no more than 2-3 as it is achieved in SRV (e2e.ti.com/.../faq-tda4vm-how-to-optimize-surround-view-use-case-to-2-3-seconds-from-power-on)

Many thanks

  • Hi Pablo,

    Could you share the full remote core logs that you are receiving currently in a text format (instead of screenshot)?

    Regards,

    Nikhil

  • Hi Nikhil, this is the full log of MCU_2_0.

    Thank you very much,

    Marco

    [MCU2_0] 4.356596 s: CIO: Init ... Done !!!
    [MCU2_0] 4.356665 s: ### CPU Frequency = 1000000000 Hz
    [MCU2_0] 4.356708 s: CPU is running FreeRTOS
    [MCU2_0] 4.356733 s: APP: Init ... !!!
    [MCU2_0] 4.356755 s: SCICLIENT: Init ... !!!
    [MCU2_0] 4.357000 s: SCICLIENT: DMSC FW version [8.6.3--v08.06.03 (Chill Capybar]
    [MCU2_0] 4.357052 s: SCICLIENT: DMSC FW revision 0x8
    [MCU2_0] 4.357089 s: SCICLIENT: DMSC FW ABI revision 3.1
    [MCU2_0] 4.357125 s: SCICLIENT: Init ... Done !!!
    [MCU2_0] 4.357153 s: UDMA: Init ... !!!
    [MCU2_0] 4.358416 s: UDMA: Init ... Done !!!
    [MCU2_0] 4.358482 s: MEM: Init ... !!!
    [MCU2_0] 4.358525 s: MEM: Created heap (DDR_LOCAL_MEM, id=0, flags=0x00000004) @ d9000000 of size 16777216 bytes !!!
    [MCU2_0] 4.358598 s: MEM: Created heap (L3_MEM, id=1, flags=0x00000000) @ 3600000 of size 262144 bytes !!!
    [MCU2_0] 4.358660 s: MEM: Init ... Done !!!
    [MCU2_0] 4.358685 s: IPC: Init ... !!!
    [MCU2_0] 4.358745 s: IPC: 6 CPUs participating in IPC !!!
    [MCU2_0] 4.358792 s: IPC: Waiting for HLOS to be ready ... !!!
    [MCU2_0] 16.171737 s: IPC: HLOS is ready !!!
    [MCU2_0] 16.186956 s: IPC: Init ... Done !!!
    [MCU2_0] 16.187020 s: APP: Syncing with 5 CPUs ... !!!
    [MCU2_0] 16.488870 s: APP: Syncing with 5 CPUs ... Done !!!
    [MCU2_0] 16.489096 s: REMOTE_SERVICE: Init ... !!!
    [MCU2_0] 16.490631 s: REMOTE_SERVICE: Init ... Done !!!
    [MCU2_0] 16.490696 s: ETHFW: Init ... !!!
    [MCU2_0] 16.495776 s: Warning: Using 6 MAC address(es) from static pool
    [MCU2_0] 16.495894 s: ETHFW: Shared multicasts (software fanout):
    [MCU2_0] 16.495941 s: ETHFW: Reserved multicasts:
    [MCU2_0] 16.495968 s: 01:80:c2:00:00:0e
    [MCU2_0] 16.496016 s: 01:1b:19:00:00:00
    [MCU2_0] 16.496361 s: EnetMcm: CPSW_9G on MAIN NAVSS
    [MCU2_0] 16.505783 s: Mdio_open: MDIO manual mode enabled
    [MCU2_0] 16.509777 s: PHY 16 is alive
    [MCU2_0] 16.509931 s: PHY 17 is alive
    [MCU2_0] 16.510046 s: PHY 18 is alive
    [MCU2_0] 16.510155 s: PHY 19 is alive
    [MCU2_0] 16.513386 s:
    [MCU2_0] ETHFW Version : 0.02.00
    [MCU2_0] 16.513466 s: ETHFW Build Date: Aug 2, 2024
    [MCU2_0] 16.513500 s: ETHFW Build Time: 12:47:49
    [MCU2_0] 16.513525 s: ETHFW Commit SHA:
    [MCU2_0] 16.513595 s: ETHFW: Init ... DONE !!!
    [MCU2_0] 16.513631 s: ETHFW: Remove server Init ... !!!
    [MCU2_0] 16.513808 s: CpswProxyServer: Virtual port configuration:
    [MCU2_0] 16.513867 s: mpu_1_0 <-> Switch port 0: mpu_1_0_ethswitch-device-0
    [MCU2_0] 16.513914 s: mcu_2_1 <-> Switch port 1: mcu_2_1_ethswitch-device-1
    [MCU2_0] 16.513957 s: mpu_1_0 <-> MAC port 1: mpu_1_0_ethmac-device-1
    [MCU2_0] 16.513999 s: mcu_2_1 <-> MAC port 4: mcu_2_1_ethmac-device-4
    [MCU2_0] 16.515020 s: CpswProxyServer: initialization completed (core: mcu2_0)
    [MCU2_0] 16.515088 s: ETHFW: Remove server Init ... DONE !!!
    [MCU2_0] 16.516247 s: Starting lwIP, local interface IP is dhcp-enabled
    [MCU2_0] 16.524170 s: Host MAC address: 70:ff:76:1d:92:c3
    [MCU2_0] 16.528496 s: [LWIPIF_LWIP] Enet LLD netif initialized successfully
    [MCU2_0] 16.528595 s: Added interface 'ti1', IP is 0.0.0.0
    [MCU2_0] 16.564318 s: FVID2: Init ... !!!
    [MCU2_0] 16.564423 s: FVID2: Init ... Done !!!
    [MCU2_0] 16.564480 s: DSS: Init ... !!!
    [MCU2_0] 16.564508 s: DSS: Display type is eDP !!!
    [MCU2_0] 16.564536 s: DSS: M2M Path is enabled !!!
    [MCU2_0] 16.564564 s: DSS: SoC init ... !!!
    [MCU2_0] 16.564587 s: SCICLIENT: Sciclient_pmSetModuleState module=152 state=2
    [MCU2_0] 16.564815 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0] 16.564857 s: SCICLIENT: Sciclient_pmSetModuleState module=297 state=2
    [MCU2_0] 16.565059 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0] 16.565096 s: SCICLIENT: Sciclient_pmSetModuleState module=151 state=2
    [MCU2_0] 16.565250 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0] 16.565382 s: SCICLIENT: Sciclient_pmSetModuleClkParent module=152 clk=9 parent=11
    [MCU2_0] 16.565534 s: SCICLIENT: Sciclient_pmSetModuleClkParent success
    [MCU2_0] 16.565580 s: SCICLIENT: Sciclient_pmSetModuleClkParent module=152 clk=13 parent=18
    [MCU2_0] 16.565580 s: SCICLIENT: Sciclient_pmSetModuleClkParent module=152 clk=13 parent=18
    [MCU2_0] 16.565709 s: SCICLIENT: Sciclient_pmSetModuleClkParent success
    [MCU2_0] 16.565709 s: SCICLIENT: Sciclient_pmSetModuleClkParent success
    [MCU2_0] 16.565748 s: SCICLIENT: Sciclient_pmSetModuleClkParent module=152 clk=1 parent=2
    [MCU2_0] 16.565748 s: SCICLIENT: Sciclient_pmSetModuleClkParent module=152 clk=1 parent=2
    [MCU2_0] 16.565855 s: SCICLIENT: Sciclient_pmSetModuleClkParent success
    [MCU2_0] 16.565855 s: SCICLIENT: Sciclient_pmSetModuleClkParent success
    [MCU2_0] 16.565893 s: SCICLIENT: Sciclient_pmSetModuleClkFreq module=152 clk=1 freq=148500000
    [MCU2_0] 16.565893 s: SCICLIENT: Sciclient_pmSetModuleClkFreq module=152 clk=1 freq=148500000
    [MCU2_0] 16.567130 s: SCICLIENT: Sciclient_pmSetModuleClkFreq success
    [MCU2_0] 16.567130 s: SCICLIENT: Sciclient_pmSetModuleClkFreq success
    [MCU2_0] 16.567181 s: SCICLIENT: Sciclient_pmModuleClkRequest module=152 clk=1 state=2 flag=0
    [MCU2_0] 16.567181 s: SCICLIENT: Sciclient_pmModuleClkRequest module=152 clk=1 state=2 flag=0
    [MCU2_0] 16.567371 s: SCICLIENT: Sciclient_pmModuleClkRequest success
    [MCU2_0] 16.567371 s: SCICLIENT: Sciclient_pmModuleClkRequest success
    [MCU2_0] 16.567422 s: DSS: SoC init ... Done !!!
    [MCU2_0] 16.567452 s: DSS: Board init ... !!!
    [MCU2_0] 16.567452 s: DSS: Board init ... !!!
    [MCU2_0] 16.567476 s: DSS: Board init ... Done !!!
    [MCU2_0] 16.567476 s: DSS: Board init ... Done !!!
    [MCU2_0] 16.586515 s: DSS: Init ... Done !!!
    [MCU2_0] 16.586515 s: DSS: Init ... Done !!!
    [MCU2_0] 16.586584 s: VHWA: VPAC Init ... !!!
    [MCU2_0] 16.586584 s: VHWA: VPAC Init ... !!!
    [MCU2_0] 16.586619 s: SCICLIENT: Sciclient_pmSetModuleState module=290 state=2
    [MCU2_0] 16.586619 s: SCICLIENT: Sciclient_pmSetModuleState module=290 state=2
    [MCU2_0] 16.586839 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0] 16.586839 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0] 16.586881 s: VHWA: LDC Init ... !!!
    [MCU2_0] 16.586881 s: VHWA: LDC Init ... !!!
    [MCU2_0] 16.590837 s: VHWA: LDC Init ... Done !!!
    [MCU2_0] 16.590837 s: VHWA: LDC Init ... Done !!!
    [MCU2_0] 16.590907 s: VHWA: MSC Init ... !!!
    [MCU2_0] 16.590907 s: VHWA: MSC Init ... !!!
    [MCU2_0] 16.603280 s: VHWA: MSC Init ... Done !!!
    [MCU2_0] 16.603280 s: VHWA: MSC Init ... Done !!!
    [MCU2_0] 16.603459 s: VHWA: NF Init ... !!!
    [MCU2_0] 16.603459 s: VHWA: NF Init ... !!!
    [MCU2_0] 16.605438 s: VHWA: NF Init ... Done !!!
    [MCU2_0] 16.605438 s: VHWA: NF Init ... Done !!!
    [MCU2_0] 16.605504 s: VHWA: VISS Init ... !!!
    [MCU2_0] 16.605504 s: VHWA: VISS Init ... !!!
    [MCU2_0] 16.617456 s: VHWA: VISS Init ... Done !!!
    [MCU2_0] 16.617456 s: VHWA: VISS Init ... Done !!!
    [MCU2_0] 16.617519 s: VHWA: VPAC Init ... Done !!!
    [MCU2_0] 16.617519 s: VHWA: VPAC Init ... Done !!!
    [MCU2_0] 16.617566 s: VX_ZONE_INIT:Enabled
    [MCU2_0] 16.617566 s: VX_ZONE_INIT:Enabled
    [MCU2_0] 16.617594 s: VX_ZONE_ERROR:Enabled
    [MCU2_0] 16.617594 s: VX_ZONE_ERROR:Enabled
    [MCU2_0] 16.617620 s: VX_ZONE_WARNING:Enabled
    [MCU2_0] 16.617620 s: VX_ZONE_WARNING:Enabled
    [MCU2_0] 16.619151 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target MCU2-0
    [MCU2_0] 16.619151 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target MCU2-0
    [MCU2_0] 16.619537 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target VPAC_NF
    [MCU2_0] 16.619537 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target VPAC_NF
    [MCU2_0] 16.619856 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target VPAC_LDC1
    [MCU2_0] 16.619856 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target VPAC_LDC1
    [MCU2_0] 16.620099 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target VPAC_MSC1
    [MCU2_0] 16.620099 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target VPAC_MSC1
    [MCU2_0] 16.620504 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target VPAC_MSC2
    [MCU2_0] 16.620504 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target VPAC_MSC2
    [MCU2_0] 16.620804 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target VPAC_VISS1
    [MCU2_0] 16.620804 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target VPAC_VISS1
    [MCU2_0] 16.621070 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE1
    [MCU2_0] 16.621070 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE1
    [MCU2_0] 16.621471 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE2
    [MCU2_0] 16.621471 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE2
    [MCU2_0] 16.621765 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DISPLAY1
    [MCU2_0] 16.621765 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DISPLAY1
    [MCU2_0] 16.622039 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DISPLAY2
    [MCU2_0] 16.622039 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DISPLAY2
    [MCU2_0] 16.622428 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CSITX
    [MCU2_0] 16.622428 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CSITX
    [MCU2_0] 16.622740 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE3
    [MCU2_0] 16.622740 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE3
    [MCU2_0] 16.623018 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE4
    [MCU2_0] 16.623018 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE4
    [MCU2_0] 16.623404 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE5
    [MCU2_0] 16.623404 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE5
    [MCU2_0] 16.623717 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE6
    [MCU2_0] 16.623717 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE6
    [MCU2_0] 16.623996 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE7
    [MCU2_0] 16.623996 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE7
    [MCU2_0] 16.624260 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE8
    [MCU2_0] 16.624260 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE8
    [MCU2_0] 16.624649 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DSS_M2M1
    [MCU2_0] 16.624649 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DSS_M2M1
    [MCU2_0] 16.624904 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DSS_M2M2
    [MCU2_0] 16.624904 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DSS_M2M2
    [MCU2_0] 16.625152 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DSS_M2M3
    [MCU2_0] 16.625152 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DSS_M2M3
    [MCU2_0] 16.625570 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DSS_M2M4
    [MCU2_0] 16.625570 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DSS_M2M4
    [MCU2_0] 16.625636 s: VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
    [MCU2_0] 16.625672 s: APP: OpenVX Target kernel init ... !!!
    [MCU2_0] 16.646869 s: APP: OpenVX Target kernel init ... Done !!!
    [MCU2_0] 16.646869 s: APP: OpenVX Target kernel init ... Done !!!
    [MCU2_0] 16.646939 s: CSI2RX: Init ... !!!
    [MCU2_0] 16.646939 s: CSI2RX: Init ... !!!
    [MCU2_0] 16.646967 s: SCICLIENT: Sciclient_pmSetModuleState module=25 state=2
    [MCU2_0] 16.646967 s: SCICLIENT: Sciclient_pmSetModuleState module=25 state=2
    [MCU2_0] 16.647090 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0] 16.647090 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0] 16.647134 s: SCICLIENT: Sciclient_pmSetModuleState module=26 state=2
    [MCU2_0] 16.647134 s: SCICLIENT: Sciclient_pmSetModuleState module=26 state=2
    [MCU2_0] 16.647396 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0] 16.647396 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0] 16.647451 s: SCICLIENT: Sciclient_pmSetModuleState module=27 state=2
    [MCU2_0] 16.647451 s: SCICLIENT: Sciclient_pmSetModuleState module=27 state=2
    [MCU2_0] 16.647598 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0] 16.647598 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0] 16.647641 s: SCICLIENT: Sciclient_pmSetModuleState module=147 state=2
    [MCU2_0] 16.647641 s: SCICLIENT: Sciclient_pmSetModuleState module=147 state=2
    [MCU2_0] 16.647750 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0] 16.647750 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0] 16.647784 s: SCICLIENT: Sciclient_pmSetModuleState module=148 state=2
    [MCU2_0] 16.647784 s: SCICLIENT: Sciclient_pmSetModuleState module=148 state=2
    [MCU2_0] 16.647873 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0] 16.647873 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0] 16.648115 s: CSI2RX: Init ... Done !!!
    [MCU2_0] 16.648115 s: CSI2RX: Init ... Done !!!
    [MCU2_0] 16.648157 s: CSI2TX: Init ... !!!
    [MCU2_0] 16.648157 s: CSI2TX: Init ... !!!
    [MCU2_0] 16.648182 s: SCICLIENT: Sciclient_pmSetModuleState module=25 state=2
    [MCU2_0] 16.648182 s: SCICLIENT: Sciclient_pmSetModuleState module=25 state=2
    [MCU2_0] 16.648278 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0] 16.648278 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0] 16.648456 s: SCICLIENT: Sciclient_pmSetModuleState module=28 state=2
    [MCU2_0] 16.648456 s: SCICLIENT: Sciclient_pmSetModuleState module=28 state=2
    [MCU2_0] 16.648619 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0] 16.648619 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0] 16.648659 s: SCICLIENT: Sciclient_pmSetModuleState module=296 state=2
    [MCU2_0] 16.648659 s: SCICLIENT: Sciclient_pmSetModuleState module=296 state=2
    [MCU2_0] 16.648794 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0] 16.648794 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0] 16.648893 s: CSI2TX: Init ... Done !!!
    [MCU2_0] 16.648893 s: CSI2TX: Init ... Done !!!
    [MCU2_0] 16.648932 s: ISS: Init ... !!!
    [MCU2_0] 16.648932 s: ISS: Init ... !!!
    [MCU2_0] 16.648972 s: IssSensor_Init ... Done !!!
    [MCU2_0] 16.648972 s: IssSensor_Init ... Done !!!
    [MCU2_0] 16.649055 s: IttRemoteServer_Init ... Done !!!
    [MCU2_0] 16.649055 s: IttRemoteServer_Init ... Done !!!
    [MCU2_0] 16.649091 s: VISS REMOTE SERVICE: Init ... !!!
    [MCU2_0] 16.649091 s: VISS REMOTE SERVICE: Init ... !!!
    [MCU2_0] 16.649160 s: VISS REMOTE SERVICE: Init ... Done !!!
    [MCU2_0] 16.649160 s: VISS REMOTE SERVICE: Init ... Done !!!
    [MCU2_0] 16.649194 s: UDMA Copy: Init ... !!!
    [MCU2_0] 16.651186 s: UDMA Copy: Init ... Done !!!
    [MCU2_0] 16.651186 s: UDMA Copy: Init ... Done !!!
    [MCU2_0] 16.651412 s: APP: Init ... Done !!!
    [MCU2_0] 16.651412 s: APP: Init ... Done !!!
    [MCU2_0] 16.651464 s: APP: Run ... !!!
    [MCU2_0] 16.651464 s: APP: Run ... !!!
    [MCU2_0] 16.651492 s: IPC: Starting echo test ...
    [MCU2_0] 16.651492 s: IPC: Starting echo test ...
    [MCU2_0] 16.654483 s: APP: Run ... Done !!!
    [MCU2_0] 16.654483 s: APP: Run ... Done !!!
    [MCU2_0] 16.656105 s: IPC: Echo status: mpu1_0[x] mcu2_0[s] mcu2_1[.] C66X_1[P] C66X_2[.] C7X_1[.]
    [MCU2_0] 16.656105 s: IPC: Echo status: mpu1_0[x] mcu2_0[s] mcu2_1[.] C66X_1[P] C66X_2[.] C7X_1[.]
    [MCU2_0] 16.656280 s: IPC: Echo status: mpu1_0[x] mcu2_0[s] mcu2_1[.] C66X_1[P] C66X_2[P] C7X_1[.]
    [MCU2_0] 16.656280 s: IPC: Echo status: mpu1_0[x] mcu2_0[s] mcu2_1[.] C66X_1[P] C66X_2[P] C7X_1[.]
    [MCU2_0] 16.656567 s: IPC: Echo status: mpu1_0[x] mcu2_0[s] mcu2_1[.] C66X_1[P] C66X_2[P] C7X_1[P]
    [MCU2_0] 16.656567 s: IPC: Echo status: mpu1_0[x] mcu2_0[s] mcu2_1[.] C66X_1[P] C66X_2[P] C7X_1[P]
    [MCU2_0] 16.656680 s: IPC: Echo status: mpu1_0[x] mcu2_0[s] mcu2_1[P] C66X_1[P] C66X_2[P] C7X_1[P]
    [MCU2_0] 16.656680 s: IPC: Echo status: mpu1_0[x] mcu2_0[s] mcu2_1[P] C66X_1[P] C66X_2[P] C7X_1[P]
    [MCU2_0] 16.670407 s: Function:CpswProxyServer_attachExtHandlerCb,HostId:0,CpswType:6
    [MCU2_0] 16.670407 s: Function:CpswProxyServer_attachExtHandlerCb,HostId:0,CpswType:6
    [MCU2_0] 16.782616 s: Function:CpswProxyServer_attachExtHandlerCb,HostId:0,CpswType:6
    [MCU2_0] 16.782616 s: Function:CpswProxyServer_attachExtHandlerCb,HostId:0,CpswType:6
    [MCU2_0] 19.157545 s: Function:CpswProxyServer_registerMacHandlerCb,HostId:0,Handle:a3ac6144,CoreKey:38acb7e6, MacAddress:70:ff:76:1d:92:c2, FlowIdx:173, FlowIdxOffset:1
    [MCU2_0] 19.157545 s: Function:CpswProxyServer_registerMacHandlerCb,HostId:0,Handle:a3ac6144,CoreKey:38acb7e6, MacAddress:70:ff:76:1d:92:c2, FlowIdx:173, FlowIdxOffset:1
    [MCU2_0] 19.203084 s: Function:CpswProxyServer_setPromiscModeHandlerCb,HostId:0,Handle:a3ac6144,CoreKey:38acb7e6,mode:disable
    [MCU2_0] 19.203084 s: Function:CpswProxyServer_setPromiscModeHandlerCb,HostId:0,Handle:a3ac6144,CoreKey:38acb7e6,mode:disable
    [MCU2_0] 19.203525 s: Function:CpswProxyServer_setPromiscModeHandlerCb,HostId:0,Handle:a3ac6144,CoreKey:38acb7e6,mode:disable
    [MCU2_0] 19.203525 s: Function:CpswProxyServer_setPromiscModeHandlerCb,HostId:0,Handle:a3ac6144,CoreKey:38acb7e6,mode:disable
    [MCU2_0] 19.203867 s: Function:CpswProxyServer_setPromiscModeHandlerCb,HostId:0,Handle:a3ac6144,CoreKey:38acb7e6,mode:disable
    [MCU2_0] 19.203867 s: Function:CpswProxyServer_setPromiscModeHandlerCb,HostId:0,Handle:a3ac6144,CoreKey:38acb7e6,mode:disable
    [MCU2_0] 19.228395 s: Function:CpswProxyServer_registerMacHandlerCb,HostId:0,Handle:a3ac6144,CoreKey:38acb7e6, MacAddress:70:ff:76:1d:92:c1, FlowIdx:172, FlowIdxOffset:0
    [MCU2_0] 19.228395 s: Function:CpswProxyServer_registerMacHandlerCb,HostId:0,Handle:a3ac6144,CoreKey:38acb7e6, MacAddress:70:ff:76:1d:92:c1, FlowIdx:172, FlowIdxOffset:0
    [MCU2_0] 19.231583 s: Cpsw_ioctlInternal: CPSW: Registered MAC address. ALE entry:11, Policer Entry:2
    [MCU2_0] 19.231583 s: Cpsw_ioctlInternal: CPSW: Registered MAC address. ALE entry:11, Policer Entry:2
    [MCU2_0] 19.285362 s: Function:CpswProxyServer_filterAddMacHandlerCb,HostId:0,Handle:a3ac6144,CoreKey:38acb7e6, MacAddress:33:33:0:0:0:1, vlanId:0, FlowIdx:172, FlowIdOffset:0
    [MCU2_0] 19.285362 s: Function:CpswProxyServer_filterAddMacHandlerCb,HostId:0,Handle:a3ac6144,CoreKey:38acb7e6, MacAddress:33:33:0:0:0:1, vlanId:0, FlowIdx:172, FlowIdOffset:0
    [MCU2_0] 19.288856 s: Function:CpswProxyServer_filterAddMacHandlerCb,HostId:0,Handle:a3ac6144,CoreKey:38acb7e6, MacAddress:1:0:5e:0:0:1, vlanId:0, FlowIdx:172, FlowIdOffset:0
    [MCU2_0] 19.292386 s: Function:CpswProxyServer_filterAddMacHandlerCb,HostId:0,Handle:a3ac6144,CoreKey:38acb7e6, MacAddress:33:33:ff:1d:92:c1, vlanId:0, FlowIdx:172, FlowIdOffset:0
    [MCU2_0] 19.292386 s: Function:CpswProxyServer_filterAddMacHandlerCb,HostId:0,Handle:a3ac6144,CoreKey:38acb7e6, MacAddress:33:33:ff:1d:92:c1, vlanId:0, FlowIdx:172, FlowIdOffset:0
    [MCU2_0] 19.423843 s: Function:CpswProxyServer_setPromiscModeHandlerCb,HostId:0,Handle:a3ac6144,CoreKey:38acb7e6,mode:disable
    [MCU2_0] 19.423843 s: Function:CpswProxyServer_setPromiscModeHandlerCb,HostId:0,Handle:a3ac6144,CoreKey:38acb7e6,mode:disable
    [MCU2_0] 19.424237 s: Function:CpswProxyServer_setPromiscModeHandlerCb,HostId:0,Handle:a3ac6144,CoreKey:38acb7e6,mode:disable
    [MCU2_0] 19.424237 s: Function:CpswProxyServer_setPromiscModeHandlerCb,HostId:0,Handle:a3ac6144,CoreKey:38acb7e6,mode:disable
    [MCU2_0] 19.435977 s: Function:CpswProxyServer_filterAddMacHandlerCb,HostId:0,Handle:a3ac6144,CoreKey:38acb7e6, MacAddress:1:80:c2:0:0:0, vlanId:0, FlowIdx:172, FlowIdOffset:0
    [MCU2_0] 19.435977 s: Function:CpswProxyServer_filterAddMacHandlerCb,HostId:0,Handle:a3ac6144,CoreKey:38acb7e6, MacAddress:1:80:c2:0:0:0, vlanId:0, FlowIdx:172, FlowIdOffset:0
    [MCU2_0] 19.439678 s: Function:CpswProxyServer_filterAddMacHandlerCb,HostId:0,Handle:a3ac6144,CoreKey:38acb7e6, MacAddress:1:80:c2:0:0:3, vlanId:0, FlowIdx:172, FlowIdOffset:0
    [MCU2_0] 19.439678 s: Function:CpswProxyServer_filterAddMacHandlerCb,HostId:0,Handle:a3ac6144,CoreKey:38acb7e6, MacAddress:1:80:c2:0:0:3, vlanId:0, FlowIdx:172, FlowIdOffset:0
    [MCU2_0] 19.443235 s: Function:CpswProxyServer_filterAddMacHandlerCb,HostId:0,Handle:a3ac6144,CoreKey:38acb7e6, MacAddress:1:80:c2:0:0:e, vlanId:0, FlowIdx:172, FlowIdOffset:0
    [MCU2_0] 19.443235 s: Function:CpswProxyServer_filterAddMacHandlerCb,HostId:0,Handle:a3ac6144,CoreKey:38acb7e6, MacAddress:1:80:c2:0:0:e, vlanId:0, FlowIdx:172, FlowIdOffset:0
    [MCU2_0] 19.443459 s: CpswProxyServer_isRsvdMcast: Reserved mcast cannot be added to filter
    [MCU2_0] 19.443459 s: CpswProxyServer_isRsvdMcast: Reserved mcast cannot be added to filter
    [MCU2_0] 19.586527 s: Function:CpswProxyServer_setPromiscModeHandlerCb,HostId:0,Handle:a3ac6144,CoreKey:38acb7e6,mode:disable
    [MCU2_0] 19.586527 s: Function:CpswProxyServer_setPromiscModeHandlerCb,HostId:0,Handle:a3ac6144,CoreKey:38acb7e6,mode:disable
    [MCU2_0] 19.586827 s: Function:CpswProxyServer_filterAddMacHandlerCb,HostId:0,Handle:a3ac6144,CoreKey:38acb7e6, MacAddress:33:33:0:0:0:fb, vlanId:0, FlowIdx:172, FlowIdOffset:0
    [MCU2_0] 19.586827 s: Function:CpswProxyServer_filterAddMacHandlerCb,HostId:0,Handle:a3ac6144,CoreKey:38acb7e6, MacAddress:33:33:0:0:0:fb, vlanId:0, FlowIdx:172, FlowIdOffset:0
    [MCU2_0] 20.296669 s: Function:CpswProxyServer_setPromiscModeHandlerCb,HostId:0,Handle:a3ac6144,CoreKey:38acb7e6,mode:disable
    [MCU2_0] 20.296669 s: Function:CpswProxyServer_setPromiscModeHandlerCb,HostId:0,Handle:a3ac6144,CoreKey:38acb7e6,mode:disable
    [MCU2_0] 21.220771 s: Function:CpswProxyServer_filterAddMacHandlerCb,HostId:0,Handle:a3ac6144,CoreKey:38acb7e6, MacAddress:33:33:0:1:0:3, vlanId:0, FlowIdx:172, FlowIdOffset:0
    [MCU2_0] 21.220771 s: Function:CpswProxyServer_filterAddMacHandlerCb,HostId:0,Handle:a3ac6144,CoreKey:38acb7e6, MacAddress:33:33:0:1:0:3, vlanId:0, FlowIdx:172, FlowIdOffset:0

  • Hi,

    Please share the log shown in the screenshot where you have done the sensor configuration. The above logs do not have the same

    Regards,

    Nikhil

  • Sorry , I was on vacation. My colleague Marco Moroni thought it was another branch and he pasted results from other execution. I will send you log ASAP.

    Thanks for understanding

  • Hello. Here the log (is observed using SD card, SPL and Linux in order to see MCU2_0 logs). Total amount of time is taking more than 11s.

    Log_UART_when_SPL_SD_Tivoxx_MCU2_0_host_singlecam.log

    I hope you can give some tips to reduce MCU2_0 singlecam execution to much less starting time.

    Thanks

  • Hi,

    In the SPL flow, you could see a u-boot count down while booting. 

    setenv bootdelay 0

    The GTC is enabled in the R5SPL which is before this count down, hence the first log on R5 is at 4 sec. 

    I would suggest using the SBL flow here as mentioned in the SRV optimization guide. 

    Regards,

    Nikhil

  • Now I am runing from SBL and with UART messages in MCU2_0 (no linux)

    I would like to meassure time since SBL starts till MCU2_0 starts. For the moment, using timer (I could go to detail using testpoints...)

    But I guess GTC mapped in MCU2_0's app (Main domain) can not be launched by SBL (MCU domain), at least using same mapping. 

    Correct me I f I am wrong...

    About your comment:

    The GTC is enabled in the R5SPL which is before this count down, hence the first log on R5 is at 4 sec. 

    I am a little bit confused, because if I use R5SPL, GTC seems to be running...

    Where is exactly this GTC activated in R5SPL?

    How can I meassure this time using SBL?

    Can I use any System clock that can is counting in SBL (MCU domain) and MCU2_0(Main_domain) and pring it's value using MCU & MAIN UART?

    Thanks

  • Hi,

    Are you currently of SDK 8.4 or SDK 8.6? 

    In SDK 8.6, you can see the GTC being enabled in the main() in sbl_main.c.

    You can search for "Initializing GTC" here. This is just a register write to the GTC register to enable the counter.

    You can use this GTC to measure the time.

    Regards,

    Nikhil

  • Uups...Yeah, you are right. It is obvious. Sorry.

    But I don't understand why my app was not reflecting counter change...some mistake I made to prepare on UART the strings with timestamp....

    Anyway, I moved to TestPoint solution, and it is useful enough. I will investigate and probably ask you for optimization. 

    After running from SBL-OSPI I observe these timmings

    I am aware on time T4-T7. Mcu2_0 is wasting 5s in prepare image, so I guess this is optimizable.

    BR

  • Hi,

    What is from T5 to T6? I believe this is your application right? which involves configuration of sensor and deserializer?

    Regards,

    Nikhil

  • Hi Nikhil. Sorry for the delay ( I was sick...)

    No, this time is taken for the operation done by SDK solution (enumeration, deser init, ser init, send sensor configuration, etc) in J721EVM. I was warning you time ago:

    Any suggestion to reduce it in SDK?

    BR

  • Hi,

    I would suggest referring the below FAQ for the same.

    (+) [FAQ] TDA4VM: How to optimize surround view use case to 2-3 Seconds from power on - Processors forum - Processors - TI E2E support forums

    In this, there are some optimizations done in the imaging and vision_apps folder regarding the camera and des initialization. Can you try these changes at your end?

    Regards,

    Nikhil