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.

lwip webserver demo not working on RM48HDK

Other Parts Discussed in Thread: HALCOGEN, RM48L952

hello I'm Using the RM48HDK board with the RM48L952ZWTT processor, and installing the LwIP demo rpovided in the wiki

http://processors.wiki.ti.com/index.php/HALCoGen_Ethernet_Driver_and_lwIP_Integration_Demonstration

but after loading it with the ccs  Version: 5.3.0.00083  it doesn't work

i have the the board and a laptop connected to a switch.

whenever the program reaches this instruction

    ipAddr = lwIPInit(0, macAddress, 0, 0, 0, IPADDR_USE_DHCP);


the system just waits and waits until I get a

-------- ERROR INITIALIZING HARDWARE --------

error in the terminal

can someone give a step by step guide on how to setup the connection and system so the example works?

Do i have to make extra adjustments to the example provided by the wiki?

i have a Static IP address on the laptop if that helps.

thanks in advance


  • Hi Aaron,

    i forwarded your post to the LwIP expert to help you.

  • I'm also having problems running the HALCoGen EMAC Driver with lwIP Demonstration

    I'm using  Code Composer Studio Version: 5.4.0.00091

    I'm trying to run a debug version of it on a RM48 Hercules Development Kit

    It builds all right, but does not run pass Getting PHY ID

    Dp83640IDGet is always returning 0 

  • I am having the same issue running the EMAC Driver with lwIP Demonstration on the RM46 example on the Hercules Development Kit.

    I found that the Hercules Safety MCU Demos Web Server example worked but required the firmware for the example on the processor, Ethernet cable connected, and then power, for it to successfully get an IP from DHCP over the network.

    If anyone has suggestions I would welcome them since it would be great to get this example working.
  • Dustin,

    Hi, not sure exactly what the question is. Are these two separate demos?
  • Hi,

    I'm having the same error, my terminal always says :

    HERCULES MICROCONTROLLERS
    Texas Instruments
    Little Endian device
    Initializing ethernet (DHCP)
    DEBUG - Getting PHY ID....SUCCESS
    DEBUG - Getting PHY Alive Status...SUCCESS
    DEBUG - Getting PHY Link Status...SUCCESS
    DEBUG - Setting up Link...SUCCESS
    ..DONE


    -------- ERROR INITIALIZING HARDWARE --------

    I am using CCS Version: 7.0.0.00042
    the RM48-HDK
    It is connected to my router(which has dhcp), I also tried connecting it to my pc on which I then enable the windows Internet Connection Sharing (ics). The output remains the same.

    I tried this with both the v2 and v3 demo.
    In the original halcogen file the PLL2 multiplier was 165 while processors.wiki.ti.com/.../HALCoGen_Ethernet_Driver_and_lwIP_Integration_Demonstration
    says it should be 120.
    I tried both values, both give the same result.

    to summarize my actions:
    install the demonstration
    import into ccs
    change target configuration to rm48l952 with xds100v2 debug probe.
    open putty
    connect the board, turn ethernet switch on.
    program and run (press the debug button in ccs)

    Am I doing something wrong?

    Edit:

    When I use a static IP-address everything works fine.