Other Parts Discussed in Thread: AWR1243
Tool/software: Code Composer Studio
Hello,
With reference to answer suggested in https://e2e.ti.com/support/processors/f/791/p/733266/2764399#pi320966=7, I am also facing the same issue wherein I am not able to send data packet from TDA2px to my PC. I have a 2 sensor cascaded AWR1243P radar board and I am trying to integrate it with TDA2PX EVM through FPD-Link and Fusion Board. I modified the cascade_radarobjectdetect usecase sourcecode based on my application and I am able to boot the sensors, configures and start the radar sensors successfully. I verified that I am getting CSI-2 data packets into my TDA2PX using issCaptDrvCallback(). However when I connect Ethernet cable from ethernet0 in TDA2px EVM to my PC and run the MATLAB script, it gives me an error in line 393: openConnection(tgt_ip_addr, host_ip_addr,tcp_port_num, udp_port_num) of the MATLAB script. In the cfg.mk file, I have set the target side (TDA2Px) Ip address for eth0 as static ip '192.168.1.200' and my local PC side(host side) ip address as '192.168.1.201'. I am able to ping from command prompt successfully which means the ip address should be correct. But I am still not able to open the tcp/ip connection through ethernet.
I get the following errors when I type in the command prompt
C:\PROCESSOR_SDK_VISION_03_06_00_00\vision_sdk\apps\tools\network_tools\bin>network_rx --host_ip 192.168.1.201 --target_ip 192.168.1.200 --files C:\PROCESSOR_SDK_VISION_03_06_00_00\vision_sdk\apps\src\rtos\radar\src\usecases\cascade_objectdetect_display\output.bin
# Connecting to server 192.168.1.200:29172 ...
# ERROR: NETWORK: Server connect Failed (192.168.1.200:29172)!!!
# INFO: Closing connection to Server
The difference I found in my setting from the original post link is that it was suggested "Please make sure the network stack is running on IPU1_1." Does this mean that I need to make 'NDK_PROC_TO_USE=ipu1_1' instead of a15_0? Or is there any other way to ensure network stack is set as ipu1_1?
The print statistics data after the 2 sensor cascaded board starts sending data is attached below:
/cfs-file/__key/communityserver-discussions-components-files/791/cascade_5F00_radar.txt
I think the ISS Capture Output data rate is around 7 fps here. Is this fine?
When I run the compile my TDA project with NDK_PROC_TO_USE=ipu1_1, I am getting few compilation errors which are mentioned below:
C:/PROCESSOR_SDK_VISION_03_06_00_00/vision_sdk/binaries/apps/tda2px_evm_bios_all/lib/tda2px-evm/a15_0/release/utils_common.aa15fg(network_api.oa15fg): In function `recv':
C:/PROCESSOR_SDK_VISION_03_06_00_00/ti_components/networking/ndk_2_24_02_31/packages/ti/ndk/inc/socket.h:189: undefined reference to `NDK_recv'
C:/PROCESSOR_SDK_VISION_03_06_00_00/vision_sdk/binaries/apps/tda2px_evm_bios_all/lib/tda2px-evm/a15_0/release/utils_common.aa15fg(network_api.oa15fg): In function `send':
C:/PROCESSOR_SDK_VISION_03_06_00_00/ti_components/networking/ndk_2_24_02_31/packages/ti/ndk/inc/socket.h:231: undefined reference to `NDK_send'
C:/PROCESSOR_SDK_VISION_03_06_00_00/vision_sdk/binaries/apps/tda2px_evm_bios_all/lib/tda2px-evm/a15_0/release/utils_common.aa15fg(network_api.oa15fg): In function `socket':
C:/PROCESSOR_SDK_VISION_03_06_00_00/ti_components/networking/ndk_2_24_02_31/packages/ti/ndk/inc/socket.h:281: undefined reference to `NDK_socket'
C:/PROCESSOR_SDK_VISION_03_06_00_00/vision_sdk/binaries/apps/tda2px_evm_bios_all/lib/tda2px-evm/a15_0/release/utils_common.aa15fg(network_api.oa15fg): In function `setsockopt':
C:/PROCESSOR_SDK_VISION_03_06_00_00/ti_components/networking/ndk_2_24_02_31/packages/ti/ndk/inc/socket.h:265: undefined reference to `NDK_setsockopt'
C:/PROCESSOR_SDK_VISION_03_06_00_00/vision_sdk/binaries/apps/tda2px_evm_bios_all/lib/tda2px-evm/a15_0/release/utils_common.aa15fg(network_api.oa15fg): In function `bind':
C:/PROCESSOR_SDK_VISION_03_06_00_00/ti_components/networking/ndk_2_24_02_31/packages/ti/ndk/inc/socket.h:131: undefined reference to `NDK_bind'
C:/PROCESSOR_SDK_VISION_03_06_00_00/vision_sdk/binaries/apps/tda2px_evm_bios_all/lib/tda2px-evm/a15_0/release/utils_common.aa15fg(network_api.oa15fg): In function `listen':
C:/PROCESSOR_SDK_VISION_03_06_00_00/ti_components/networking/ndk_2_24_02_31/packages/ti/ndk/inc/socket.h:181: undefined reference to `NDK_listen'
C:/PROCESSOR_SDK_VISION_03_06_00_00/vision_sdk/binaries/apps/tda2px_evm_bios_all/lib/tda2px-evm/a15_0/release/utils_common.aa15fg(network_api.oa15fg): In function `Network_open':
C:\PROCESSOR_SDK_VISION_03_06_00_00\vision_sdk\links_fw\src\rtos\utils_common\src/network_api.c:180: undefined reference to `fdClose'
C:\PROCESSOR_SDK_VISION_03_06_00_00\vision_sdk\links_fw\src\rtos\utils_common\src/network_api.c:188: undefined reference to `fdClose'
C:/PROCESSOR_SDK_VISION_03_06_00_00/vision_sdk/binaries/apps/tda2px_evm_bios_all/lib/tda2px-evm/a15_0/release/utils_common.aa15fg(network_api.oa15fg): In function `Network_close':
C:\PROCESSOR_SDK_VISION_03_06_00_00\vision_sdk\links_fw\src\rtos\utils_common\src/network_api.c:209: undefined reference to `fdClose'
C:\PROCESSOR_SDK_VISION_03_06_00_00\vision_sdk\links_fw\src\rtos\utils_common\src/network_api.c:217: undefined reference to `fdClose'
C:/PROCESSOR_SDK_VISION_03_06_00_00/vision_sdk/binaries/apps/tda2px_evm_bios_all/lib/tda2px-evm/a15_0/release/utils_common.aa15fg(network_api.oa15fg): In function `Network_waitConnect':
C:\PROCESSOR_SDK_VISION_03_06_00_00\vision_sdk\links_fw\src\rtos\utils_common\src/network_api.c:238: undefined reference to `fdPoll'
C:/PROCESSOR_SDK_VISION_03_06_00_00/vision_sdk/binaries/apps/tda2px_evm_bios_all/lib/tda2px-evm/a15_0/release/utils_common.aa15fg(network_api.oa15fg): In function `accept':
C:/PROCESSOR_SDK_VISION_03_06_00_00/ti_components/networking/ndk_2_24_02_31/packages/ti/ndk/inc/socket.h:123: undefined reference to `NDK_accept'
C:/PROCESSOR_SDK_VISION_03_06_00_00/vision_sdk/binaries/apps/tda2px_evm_bios_all/lib/tda2px-evm/a15_0/release/utils_common.aa15fg(network_api.oa15fg): In function `Network_sessionOpen':
C:\PROCESSOR_SDK_VISION_03_06_00_00\vision_sdk\links_fw\src\rtos\utils_common\src/network_api.c:291: undefined reference to `fdOpenSession'
C:\PROCESSOR_SDK_VISION_03_06_00_00\vision_sdk\links_fw\src\rtos\utils_common\src/network_api.c:291: undefined reference to `fdOpenSession'
C:/PROCESSOR_SDK_VISION_03_06_00_00/vision_sdk/binaries/apps/tda2px_evm_bios_all/lib/tda2px-evm/a15_0/release/utils_common.aa15fg(network_api.oa15fg): In function `Network_sessionClose':
C:\PROCESSOR_SDK_VISION_03_06_00_00\vision_sdk\links_fw\src\rtos\utils_common\src/network_api.c:309: undefined reference to `fdCloseSession'
C:\PROCESSOR_SDK_VISION_03_06_00_00\vision_sdk\links_fw\src\rtos\utils_common\src/network_api.c:309: undefined reference to `fdCloseSession'
gmake[7]: *** [C:/PROCESSOR_SDK_VISION_03_06_00_00/vision_sdk/binaries/apps/tda2px_evm_bios_all/vision_sdk/bin/tda2px-evm/vision_sdk_a15_0_release.xa15fg] Error 1
gmake[6]: *** [a15_0] Error 2
gmake[5]: *** [apps_a15] Error 2
gmake[4]: *** [apps] Error 2
gmake[3]: *** [apps] Error 2
gmake[2]: *** [apps_exe] Error 2
gmake[1]: *** [apps] Error 2
gmake: *** [vision_sdk] Error 2
I do not have these errors when I set NDK_PROC_TO_USE=a15_0 in the cfg.mk file. What do you suggest to rectify the above errors if you want me to change NDK_PROC_TO_USE?
I look forward to your reply. Thank you!
Best Regards,
Nishant