2018-06-04 11:29 AM
Hello Everyone,
I need help to send data packets on Ethernet but i want to broadcast it to all the other device on network. For now i want to send hardcoded data which later could be changed. In STMcubeMx i've checked Ethernet, RCC and SYS. Do i need to add any middleware for Layer 2 broadcast? I'm confused with all the API's provided and couldn't figure out a proper way to do it. I'm using STM32F2207ZG(Nucleo-144). Any sort of help is appreciated. Thank You.
2018-06-05 05:59 AM
Hello
abhishek.anand
,Have a look at this
user manual, in paragraph 'B.3.6 LwIP' for the STM32CubeMX LwIP configuration side.
You'll probably want to review Ethernet application available in the STM32CubeF2 firmware package:
STM32Cube_FW_F2_V1.7.0\Projects\STM32F207ZG-Nucleo\Applications\LwIP.
Hope this bring you some help.
With Regards,Imen
2018-06-05 07:09 AM
Thank You
DAHMEN.IMEN
, that helps.2018-06-06 10:33 AM
Hey
DAHMEN.IMEN
,Thank You very much for your help but I guess LwIP middleware is used if i'm trying to assign an ip to my board or want it to work with TCP/IP protocols, correct me if i'm wrong i'm new to this? But what i'm trying to do is to send an ethernet packet just using the mac address assigned to mydevkit and flood all the other devices on the network using destination address ff:ff:ff:ff:ff:ff. I don't want to assign any ip address to my board i want to transfer ethernet packet just by the mac address(Mac address broadcast). Do i need to include LwIP for this?