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.

TIVA TM4C129 NO MAC

Other Parts Discussed in Thread: UNIFLASH

hi
I have an interface done for me TCP / IP with the TM4C192, programmed the enet_io firmware with XDS100V2. The programming process went well, but:
But when I start the UART 0 gives information, "NO MAC"
I bought the microcontroller in digikey and has the following legend:

YF
TM4C129
2NCPDTI3
49C6YGW
G4

How can I program the MAC?
The MAC is programmed in ROM?
It was not supposed to come ROM programmed with a manufacturing MAC?

Regards

Aquino

  • Hi,

    You can program MAC address using LM Flash Programmer at your TM4C MCU. It is at the "Other Utilities" tab of the LM Flash Programmer.

    I am not sure if there is a similar feature using Uniflash.

    - kel
  • Hi Markel,
    Thank you for your response. In LM FLASH have no configuration to use the XDS100V2. I've tried various settings and always gives error. However I have seen that at LM FLASH gives to program the MAC, but do not know if it works with the XDS100V2.

    Regards
    Aquino
  • Aquino said:
    but do not know if it works with the XDS100V2

    XDSV100 works with Uniflash. It does not work with LM Flash Programmer.

    I don't have Uniflash installed at my PC to check if it has a feature to program MAC.

    You, can also write MAC address at USER0 and USER1 register using a code.

    - kel

  • Ok, the LM Flash does not same support the XDS100V2.

    Write in USER0 and USER1 records will ever have to change the MAC every time program an interface. In Production is no solution!

    However I will try to unload the uniflash (still could not get).

    How will I then program the MAC?
    How to program the MAC in production for example 5000 interfaces, only downloading the firmware to the interfaces?
    Each interface must have a different MAC!

    Regards
    Aquino
  •  LM_Flash programmer is not a JTAG programmer but an utility to use BootLoader, it also use ICDI but remember ICDI is a composite JTAG+UART.

     If you are still using Launchpad then leave default selected, otherwise use "manual configuration" on combo Quick Set then select UART, USB or Network (this case select client address) .

     After this setup go to flash utility and program both user0 and user1 to the MAC you wish have on board. If you unprogrammed TI preassigned you can find on sticker somewhere on soldering side of pcb. 

     To do production I suggest you to write an utility to assign a sequence of increasing MAC addresses belonging to your company.

     Blank flash is User 0 : FF FF FF User 1 : FF FF FF resulting in an invalid Mac Address so use a special code and assign a temporary mac address like 112233 445566 connect a lan cable then assign one of your firm addresses from LM-Flash or other way you can choose. Is more simple IMHO to have communication and set by your firmware than using a standard utility.

  • Aquino said:
    However I will try to unload the uniflash (still could not get).

     I suppose unload was intended as DOWNload, so install this then select file -> new target

     On panes select XDS100xx or ICDI if you still use some EK or DK then assign binary file to be programmed to.

     If you wish assign a value to user register you see on setting USER REGISTER PROGRAMMING, expand and go to MAC ADDRESS MODE then enter mac address and press button PROGRAM MAC ADDRESS

     If you are using winzz it appear different but internal menu are the same.

  •  Hi Again Aquino, I replayd late and I see now your original request so:

    Aquino said:
    How can I program the MAC?

     By Uniflash and one JTAG interface as explained on another message or

     (No JTAG required) activating bootloader mode (USB NETWORK or USART) then from LM-FLASH utility you set code and User register too no other interfaces required.

    Aquino said:
    The MAC is programmed in ROM?

     NO flash is clean so belong to an invalid MAC adress of FF FF FF - FF FF FF

    Aquino said:
    It was not supposed to come ROM programmed with a manufacturing MAC?

     It is not clear what are you meaning with this, MAC address has to belong to a firm according to IEEE rules, see this for example belonging to my router:

    http://standards.ieee.org/cgi-bin/ouisearch?00-0B-6B

     Inserting the first three hex number you can see what is the manufacturer of hardware to set your you have to obtain one here:

    http://standards.ieee.org/develop/regauth/oui/public.html

     if you need help on IEEE ask again.

  • Hi Roberto,
    Thank you for your responses. Where is "verify Answer" where was answered my doubt.
    I am not using the EK-TM4C129XL but an interface built for me. Already programmed the MAC with LM FLASH using the debug EK-TM4C129XL pin X1.

    Best Regards
    Aquino