Skip to main content
Visitor II
February 24, 2024
Question

NUCLEO F429ZI board - Ethernet over usb - zperf example communication issue

  • February 24, 2024
  • 1 reply
  • 1669 views
1

I need help running the zerpf example with USB over ethernet for the STM32 NUCLEO F429ZI board. I could run the example with an ethernet port and ping the connection using iperf-2.0.5b-win32.

However, when I have configured the proj.conf file by adding these lines for setting Ethernet over USB.

CONFIG_USB_DEVICE_STACK=y 
CONFIG_USB_DEVICE_NETWORK_ECM=n
CONFIG_USB_DEVICE_NETWORK=y
CONFIG_USB_DEVICE_NETWORK_RNDIS=y
CONFIG_NET_IPV6=n #Disabled this flag else mcu reboot again and again when the command is sent)

These configuration settings are also described here: sample.net.zperf.netusb_rndis After flashing the code, an RNDIS network is discovered via a USB connection, and I can manually set the network's IP. However, when I run iperf-2.0.5b-win32 in server mode on my Windows 11 and send zperf tcp upload 192.0.2.2 5001 10 1K 1M on the board, I get the error.

TCP upload failed (-116)

The connection is not established for TCP. Also, I am getting an error for UDP upload failed (-115). Can anyone help me understand what the problem might be?

    This topic has been closed for replies.

    1 reply

    Technical Moderator
    March 11, 2024
    msalikAuthor
    Visitor II
    March 31, 2024

    My issue is different from the ones discussed in the links you’ve shared. In my case, communication isn’t being established at all. I encounter an error right from the start, which is why I posted my question. Thank you