This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TM4C1294KCPDT: How to program MAC address during app code programming

Part Number: TM4C1294KCPDT


Hi,

Do we have any solution for MAC address program during code programming?

Customer want to set differen MAC address for different TM4C. What could be a simple way to do it?

They prefere a way to program the address with code programming.

Thanks a lot.

Br, Jordan

  • The programming tools offered by Texas Instruments have the ability to program a MAC address into user registers 0 and 1, but this is a separate operation from programming the main flash. 

    Since the MAC address is unique for each device, this is often programmed as part of the application initial test. The application code reads USER0 and USER1 and sees they are blank (0xFFFFFFFF) and requests MAC address values from the test system. This may be a UART or any other interface that is used during the system test. Once provided, the application programs the MAC address using the TivaWare function FlashAllUserRegisterSet() and FlashAllUserRegisterSave(). If user registers 2 and 3 are not used, they should be set to 0xFFFFFFFF during FlashAllUserRegisterSet().