AnsweredAssumed Answered

How to set a MAC address

Question asked by biafra on Feb 22, 2017
Latest reply on Dec 27, 2017 by Gustavo Costa

Hi everyone,


I'm new in unsing lwIP.

I'm developing a board using NXP Kinetis K65 device, with FreeRTOS and lwIP, and IAR EWARM compiler/debugger.
I'm testing my application and everything seems woking fine.

Now my problem is how to set a different MAC address for every physical device: I've browsed the source code and it seems that the MAC address is hardcoded in the source file (ethernetif.h).
My idea is to read the MAC address from an otp memory and set it during the initialization phase.


Has anyone some suggestion to solve my problem?


Many thanks