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.

OMAP-L138: Starterware Ethernet issue

Other Parts Discussed in Thread: OMAPL138

Hi,

I try to  run  an example of enet_echo from OMAPL138_StarterWare_1_10_04_01 \ examples \ evmOMAPL138 on ARM core.

 if(ipMode != IPADDR_USE_STATIC)
   {
        /* wait till the dynamic IP address is properly assigned */
       state = &(sitaraNetIF[instNum].dhcp->state);

       while((*state != DHCP_BOUND) && (cnt--));

      // *state = 0x0A;

       if(0 == cnt)
       {
         return 0;
       }
   }

The code is working fine for the first time only ,it can allocate an IP address for my EVM board.when i terminate the debug session and debug it again the code got stuck in  while((*state != DHCP_BOUND) && (cnt--)); line..what might be the problem???But if i power off the board and again power ON and debug , it will work fine for the first time only.The problem starts when i terminate debug session and debug it again.

what might be the reason???How to solve it??

I tried to run by connecting the board to our corporate network via ethernet cable.

Regards,

Arun Kumar