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: Custom board does not get IP address

Part Number: TM4C1294NCPDT

I have a custom board of TM4C129NCPDT, I programmed MAC address to my custom board then I tried to dump the TCP echo example.

setup: Used TM4C123 as a dummy Launchpad and used its ICDI to program my custom board as posted

TM4C1294NCPDT: Energia sketch upload on Custom board - Arm-based microcontrollers forum - Arm-based microcontrollers...

e2e.ti.com
Part Number: TM4C1294NCPDT Other Parts Discussed in Thread: EK-TM4C1294XL , ENERGIA , MSP-FET I have custom board of Tiva EK-TM4C1294XL Launchpad without the ICDI

Now the code executes till I get following message in console and waits to get IP:

ss in flash
Starting the TCP Echo example

System provider is set to SysMin. Halt the target to view any SysMin contents in ROV.
Service Status: DHCP    : Enabled  :    : 000
Service Status: DHCP    : Enabled  : Running  : 000

but it does not shows any network added and the IP address.

Ethernet jack: RJ-45  : Pulse jack J3011G21DNL with magnetics

Ethernet cable : Cat5e

I'm not getting any IP address,I couldn't figure out what I've missed out in setup for getting IP and I want to know in the tcp echo example where/how the DHCP is enabled?

Thanks.

  • Hi,
    There are quite a few non TI-RTOS Ethernet examples in TivaWare. They all use DHCP to obtain the dynamic IP address. if you run any one of them what do you see? This is just to make sure if your problem is related to Ti-RTOS NDK configuration or your hardware. If the TivaWare Ethernet examples also don't work then it is likely your hardware (could be the custom board or even the network itself). You might want to also user the wireshark to watch the Ethernet traffic on your network. Your board is supposed to send a DHCP request to obtain an IP address and the DHCP server when received the request should reply with the IP address to the client. With the wireshark you can debug the problem easier. If it is the DHCP server not responding to the client request then you need to talk to your local IT department.
    Did you run the TCP echo example on a launchPad. If the launchpad is working then your network and the software should be fine. You can then concentrate on the board hardware.
  • Hello Charles,

    Thanks for your reply!

    For non TI- RTOS Ethernet examples, should I try enet_io, enet_lwip, enet_uip examples from Tivaware?

    Thanks.

  • Hi,
    You can start with enet_io.
  • Hi Charles,

    Thanks for your reply!

    Charles Tsai said:
    if you run any one of them what do you see? This is just to make sure if your problem is related to Ti-RTOS NDK configuration or your hardware.

    Charles Tsai said:
    Did you run the TCP echo example on a launchPad. If the launchpad is working then your network and the software should be fine.

    The TI-RTOS NDK configurations in my case seems perfect...since I get IP address for TM4C129 Launchpad when I run TCP echo example on it. It seems like this is a hardware issue of my custom board . I ran TCP echo on my board, sometimes I get following message in console,

    ss in flash
    Starting the TCP Echo example
    System provider is set to SysMin. Halt the target to view any SysMin contents in ROV.
    Service Status: DHCP    : Enabled  :    : 000
    Service Status: DHCP    : Enabled  : Running  : 000

    Sometime after this message it goes to idle loop in idle.c  and  sometimes it randomly shows above message in console for while but after that it gives following error message:

     I'm not able to pin point where the problem could be? How should I diagnosis this issue?

    FYI: I have used TM4C123GXL's ICDI emulator to program TM4C1294NCPDT in CCS.6.1.1

    Regards,

    Techinspired

  • Can you check your RBIAS pin? Is it left unconnected or if you have a 4.87KOhm resistor between the RBIAS to the ground.
    Since you said the LaunchPad is working with the example then the problem is most likely to be custom board related. Please check your schematic vs. the launchPad for the Ethernet connections.
  • Charles Tsai said:
    Can you check your RBIAS pin? Is it left unconnected or if you have a 4.87KOhm resistor between the RBIAS to the ground.

    yes, I have checked  my custom board, it has 4.87k ohm resistor connected between RBIAS and ground.

    One more question  I wanted to ask, what should be the JTAG frequency while dumping the code in my case which uses TM4C123GXL's ICDI emulator to program a custom board of TM4C129NCPDT ?

    What other considerations for Ethernet connections ,should I check in?

    Thanks.