2017-06-09 11:41 AM
[reposting after 30 days of no responses]
Hello all,
I have been making great progress using CubeMX and HAL for lots of things, now I want to try ethernet. My application is very simple, I only want to send and receive raw ethernet frames -- no UDP or TCP at all. I also prefer not to use LWiP for something so basic. Can anyone point me to an example of raw ethernet frame IO using just HAL? I will be using Nucleo F429ZI.
My requirements:
[ ] send a raw frame (source and destination MAC address, type IP and payload, total less than 1500 bytes)
[ ] receive interrupt upon receipt of a raw ethernet frame
My transactions are slow and simple, I do not even need any buffer queuing.
Thanks for any tips.
#raw-ethernet-frame2022-08-09 4:23 AM
The lwIP has no problem living friendly with a custom protocols. For example, one can implement LWIP_HOOK_UNKNOWN_ETH_PROTOCOL() and process in it any custom layer 2 protocols one needs.
> Months later, we did not have a product that we could ship, because we couldn't get LWIP to work forever.
Well, then stop clicking and using Cube/HAL, which is developed by incompetent fools, and start developing real code.
2025-04-23 10:07 PM
Please watch my youtube. It may be helpful; for you even though the speaking language is Korean. https://www.youtube.com/watch?v=HVrPErX_NN0