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.

WEBENCH® Tools/TM4C1294NCPDT: Mac id of the board

Part Number: TM4C1294NCPDT

Tool/software: WEBENCH® Design Tools

Hello,

I need to find out my device (TM4C1294NCPDT) mac id programmatically. There is any way to find out that one?

Also, need to find out wifi booster pack mac id.

please help us.

  • Hi,

      Do you have a LaunchPad board or do you have your own custom board?

      If you use the LaunchPad board then the MAC address is preprogrammed. You can also find the MAC address sticker on the board. For the LaunchPad the MAC address is allocated from the pool of MAC Address allocated to TI. For a custom design the MAC address must come from the pool of allocated MAC address to the organization/company.

      

  • hello charles,

    we are using launchpad board only. How to get the programmed mac id via programatically?
    We dont know how to get the mac id programatically.

    Regards,
    Shiva
    Eoxys systems india
  • Hi,
    If you are using the LaunchPad then the MAC address should have already been programmed. Please use the LM Flash Programmer and select the 'Other Utilities' tab. You can first click on the 'Get Current MAC Address' to find out the current programmed MAC address. You can also program your MAC address by clicking the 'Program MAC address' with the supplied MAC address value. If you want the MAC address to permanently store in the flash you will also check the 'Commit MAC address' box.
  • Hello Siva,
    You may want to use the following code, taken from the TIVA libs:

    ROM_FlashUserGet(&ui32User0, &ui32User1);
    if((ui32User0 == 0xffffffff) || (ui32User1 == 0xffffffff))
    {
    //
    // MAC address has not been programmed, use default.
    //
    g_sMACAddr.addr[0] = 0x00;
    g_sMACAddr.addr[1] = 0x1a;
    g_sMACAddr.addr[2] = 0xb6;
    g_sMACAddr.addr[3] = 0x00;
    g_sMACAddr.addr[4] = 0x64;
    g_sMACAddr.addr[5] = 0x00;
    }
    else
    {
    g_sMACAddr.addr[0] = ui32User0 & 0xff;
    g_sMACAddr.addr[1] = (ui32User0 >> 8) & 0xff;
    g_sMACAddr.addr[2] = (ui32User0 >> 16) & 0xff;
    g_sMACAddr.addr[3] = ui32User1 & 0xff;
    g_sMACAddr.addr[4] = (ui32User1 >> 8) & 0xff;
    g_sMACAddr.addr[5] = (ui32User1 >> 16) & 0xff;
    }

    This is a function already in module's ROM that reads the contents of the bootcfg register. You would enjoy reading the TIVA Peripheral Drivers Library 

    for more detailed info and of course the BOOTCFG related pages from the main manual of TM4C1294NCPDT .

    Have fun,

    John