2015-03-06 05:57 PM
hi
i used two stm32f429 eval board's as udp server that connected to one pc client and use STM32Cube_FW_F4_V1.3.0(LwIP_UDP_Echo_Server) code
pc(as client)<------>(ethernet hub switch)|<----->server-1(stm32f429 as udp server)
|<----->server-2(stm32f429 as udp server)
i set pc ip as 192.168.0.11server-1(stm32f429) ip = 192.168.0.2server-2(stm32f429) ip = 192.168.0.3
and Gateway Address for 2 severs#define GW_ADDR0 192#define GW_ADDR1 168#define GW_ADDR2 0#define GW_ADDR3 1when i connect all them to a ethernet hub switch .server-1 & server-2 not work correct but when i connect them to router with gateway address (192.168.0.1 ).two servers work Properlypc(as client)<------>( router ''192.168.0.1'')|<----->server-1(stm32f429 as udp server)
|<----->server-2(stm32f429 as udp server)do need ethernet communication between 2 STMf429 devices to router modem?
why lwip don't work with hubswitch.set
Gateway Address for servers in lwip code mean them need to connect
router with ip =192.168.0.1 ??????