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: Issue running host app from eth_virtmac_app on ubuntu virutal machine

Part Number: TDA4VM

application on mcu2_1 gets stuck in EthVirtmacApp_test_0001 and host app stays in state waiting for DUT.

The host computer is windows 10, but host app is ran from virtual ubuntu machine 

  • Hi,

    1.Please provide logs for the application running on MCU 2_1.

    2. Is this on EVM or custom board ?

    3. Which port have you connected ?

    4. Do you see any link/traffic on EVM ?

    We do not recommend using VM's for network traffic, typically the network traffic can be firewalled. Is it possible for you to check with a native linux machine ?

    Regards

    Vineet

  • Hello Vineet, I too am facing the issue. I did change the network traffic from VM to dedicated Linux machine and yet see the same issue. Currently, we are using the EVM J721E board and we are connecting the host pc to the MCU ENET port as mentioned in the demo.

    please find the log from the console MCU 2_1 where our ethernetVmac application is running.

    *******************************************************

    [MCU_Cortex_R5_0] SCICLIENT_CCS_INIT: Mar 12 2021, 10:52:58Sciclient_Init Passed.
    =================================================================
    DEVGRP = 1
    =================================================================
    SYSFW Common Board Configuration with Debug enabled... PASSED
    SYSFW PM Board Configuration... PASSED
    SYSFW Security Board Configuration... PASSED
    =================================================================
    Sciclient Dev Group 01 initilization started
    Power on the WKUPMCU to MAIN and MAIN to WKUPMCU VDs... PASSED
    =================================================================
    DEVGRP = 2
    =================================================================
    SYSFW Common Board Configuration with Debug enabled... PASSED
    SYSFW PM Board Configuration... PASSED
    SYSFW Security Board Configuration... PASSED
    =================================================================
    DMSC Firmware Version 21.1.1--v2021.01a (Terrific Lla
    Firmware revision 0x15
    ABI revision 3.1
    =================================================================
    Sciclient_ccs_init Passed.
    SCISERVER Board Configuration header population... PASSED
    [MAIN_Cortex_R5_0_1] Eth Application Starts

    CDD IPC MCAL Version Info
    ---------------------
    Vendor ID : 44
    Module ID : 255
    SW Major Version : 1
    SW Minor Version : 3
    SW Patch Version : 2

    MAC Port 1 Address: 70:ff:76:1d:92:c3


    -----------------------------------------------------------
    test_0001: START

    The below log is captured when Ethernet FW is running on MCU 2_0

    ..**************************************************************************

    ETHFW Version : 0.01.01
    ETHFW Build Date: Apr 4, 2021
    ETHFW Build Time: 15:32:37
    ETHFW Commit SHA: bdb1c075

    Host MAC address: 70:ff:76:1d:92:c2
    IPC_echo_test (core : mcu2_0) .....
    [NIMU_NDK] ENET has been started successfully
    Remote demo device (core : mcu2_0) .....
    Function:CpswProxyServer_attachExtHandlerCb,HostId:4,CpswType:6
    Function:CpswProxyServer_ioctlHandlerCb,HostId:4,Handle:a2b3600c,CoreKey:38acb97 6, Cmd:1010201,InArgsLen:24, OutArgsLen:4
    Function:CpswProxyServer_registerMacHandlerCb,HostId:4,Handle:a2b3600c,CoreKey:3 8acb976, MacAddress:70:ff:76:1d:92:c3, FlowIdx:178, FlowIdxOffset:6
    Cpsw_ioctlInternal: CPSW: Registered MAC address.ALE entry:11, Policer Entry:0Fu nction:CpswProxyServer_ioctlHandlerCb,HostId:4,Handle:a2b3600c,CoreKey:38acb976, Cmd:1010202,InArgsLen:24, OutArgsLen:4
    Function:CpswProxyServer_registerMacHandlerCb,HostId:4,Handle:a2b3600c,CoreKey:3 8acb976, MacAddress:1:2:3:4:5:6, FlowIdx:178, FlowIdxOffset:6
    Cpsw_ioctlInternal: CPSW: Registered MAC address.ALE entry:12, Policer Entry:1Fu nction:CpswProxyServer_ioctlHandlerCb,HostId:4,Handle:a2b3600c,CoreKey:38acb976, Cmd:1010202,InArgsLen:24, OutArgsLen:4

    DHCP client timed out. Retrying.....
    DHCP client timed out. Retrying.....
    DHCP client timed out. Retrying.....
    DHCP client timed out. Retrying.....
    DHCP client timed out. Retrying.....
    DHCP client timed out. Retrying.....

  • Hi Girish,

    Apologies for the delay. Were you able to resolve the issue ? Is your requirement specific to EthVirtMACApp ? Can you check with EthFW remote client application ?

    Regards

    Vineet