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.

TM4C1294NCPDT: Set MAC Address(zero mac)

Part Number: TM4C1294NCPDT
Other Parts Discussed in Thread: UNIFLASH

How do I program a MAC address for a custom design using the TM4C1294?

I tried it with the following link, and the randomly entered MAC address worked well.

e2e.ti.com/.../701265


However, I set and read another MAC address, but the desired value was not written.

So I wrote 00: 00: 00: 00: 00: 00 to initialize it, but I can not write any value afterwards.

Finally, I tried to unlock (aka. Factory reset) but this also failed.

How do I resolve this problem?

Thanks in advance.

  • Hi Hokyun,
    Once the MAC address is programmed, it cannot be reprogrammed again without an unlock operation. If you want to reprogram with a new MAC address you will need to first unlock the device. Can you do a power cycle first before attempting to unlock? Please follow the instructions when you unlock. You can also use the dbgjtag.exe to unlock the device. Please follow section 5.3.2 in this app note. www.ti.com/.../spma075
  • Thanks for your reply.

    I'm following the "5.3.2 unlock sequence using uniflash and XDS Debug Probes" procedure.

    But I do not understand the following sentence.

    "Assert and hold reset while powering up the device."

    What should I do?

    As a result of ignoring the above sentence, the MAC address is still unchanged at 00: 00: 00: 00: 00: 00.

    Below is my procedure:

    1. Power on

    2. Start windows prompt and execute "dbgjtag.exe -f @xds100v2 -Y unlock,mode=tiva"

    3. Power off after execution is completed

    4. Power on

    5. Execute UniFlash

    6. Write new MAC address

    7. Read MAC address

  • I found that I had to unlock the board while holding down the reset button on the board.

    Thank you for your advice.

    Below is correct procedure:

    1. Power on

    2. Execute dbgjtag.exe

    3. "Assert and hold reset while powering up the device." is displayed, Holding down the reset button on the board. And press Enter

    4. "Release reset." is displayed, press Enter

    5. Release reset button

    6. Power cycle the device

    7. Eexecute UniFlash

    8. Read MAC address and verify that the MAC address is ff-ff-ff-ff-ff-ff

    9. Program MAC address