2025-05-08 12:31 PM
I am trying to write a ethernet loopback test and I am unable to set the destination MAC address (FF:FF:FF:FF:FF:FF) to broadcast to. Since this is for testing, we want to avoid using NetX.
Is there an example of HAL_ETH_Transmit and HAL_ETH_ReadData back to back and/or a function in the API that can set the destination MAC address?
2025-05-09 1:40 AM
You can use one Echo Server example anf trikle it; this seems the easiest for a hw test.
Without an OS you will have to write many lines of code to have your OS, using NetxDuo is faster, tested and reliable.
DHCP and DHCPv6, ICMPv6 send broadcast messages, ARP also, MAC address can be any but FF:FF:FF:FF:FF:FF is special for broadcast - any OS based exemple will receive this address, but you must also take in account that you will be connected to some external switch and switches are not protocol agnostic (some).