cancel
Showing results for 
Search instead for 
Did you mean: 

H7 UDP example

APasi
Associate II

Hello,

We run on platform STM32H743ZI and I made new UdpEchoClient application using source STM32H743ZI _EVAL\Applications\LwIP (in other word UdpEchoClient for Nucleo144) without RTOS!

Unfortunately , it doesn't work ...

Maybe you know about any working UdpEchoClient /Server without RTOS (location, download ?

Other question, if Udp (not TCP/Web) example RTOS is available?

PS: When I try to built trivial Ethernet sample using MX (STM32CubeIDE/MX) it says me that LwIP cannot be attached if RTOS is not enabled - ?

Thanks Alexp

18 REPLIES 18
Pavel A.
Evangelist III

What exactly means "doesn't work"? How do you configure the IP address: DHCP? static? does the board reply to pings?

Here on a different eval board (H7543 EVAL2) several LWIP examples work well, with RTOS and without.

-- pa

APasi
Associate II

Hi Pavel'

Thank you for your answerf,

  • IP address static 192.168.0.10
  • Don't reply to pings from PC (echoserver 192.168.0.11)
  • Dont make connect

Hi Pavel'

Thank you for your answer,

  • IP address static 192.168.0.10
  • Don't reply to pings from PC (echoserver 192.168.0.11)
  • Dont make connect

Maybe dou have any working example for STM32H743ZI ?

La1
Associate III

Hi, did you find a solution ?

I'm trying to run UDP_Echo_Server example from STM32H743I-EVAL on STM32H743ZI board and i have the same problem. Application don't replay to pings and ip scanners can't find it. Doesn't matter if i use DHCP or static connection.

Pavel A.
Evangelist III

I have Nucleo STM32H743ZI and STM32H753 EVAL2 which should be very similar to H743 EVAL2 - note the 2.

On both boards, the UDP & TCP echo and HTTP server examples in Cube H7 package v 1.5.0 worked as is,

we've only converted them from SW4STM32 to Atollic True Studio and changed the static IP address to match our private network.

All these examples are ridden with horrible bugs (see the recent threads about ethernet and LwIP),

and CubeMX-generated code is buggy. These examples, however, are not generated with CubeMX.

What's available is enough to keep the examples basically working *on isolated network* with very limited traffic.

We also noticed that after breaking into debugger for more than couple of minutes, ethernet stops receiving. This may be caused by the mentioned bugs, or not. So let the code run freely and don't connect this thing to a public LAN.

Use a 10/100 hub or switch, not a GBit.

-- pa

> Use a 10/100 hub or switch, not a GBit.

As Ethernet is backwards compatible, that really doesn't matter. Faster switch will work with slower devices and vice versa.

Hi,

thanks about the information,

can you explain how you  converted them from SW4STM32 to Atollic True Studio ?

thanks for your reply,

do you have maybe an udp echo server/client for nucleo h743zi on github ?

i couldn't raise this unfortunately , I appreciate your help