Quantcast
Channel: Embedded Software (Read Only)
Viewing all articles
Browse latest Browse all 25965

Forum Post: RE: EMAC DHCP Still Not Working

$
0
0

Hello Todd,


Sorry for the long time to response...I had a ton of code to write and get out the door.  I am still having erratic problems with getting a DHCP.  So I am now totally focused on fixing this problem.  When I load the code into flash I get a DHCP address about 50% of the time.  Once I get the first DHCP address and I reset the processor I get a next DHCP address about 90% of the time.  Here are the answers to your questions.

WireShark

When I get a good DHCP address I see the following WireShark packets;

   1.  DHCP Discover

   2.  DHCP Offer

   3.  DHCP Request

   4.  DHCP ACK

This looks correct and matches the MAC address for my Tiva TM4C1294XL card.

When I reset the processor and the card initiates a DHCP request (I can see the request in the console) and I get no DHCP address, I see absolutely no DHCP packets with wireshark.  I tried to capture on the MAC address like in the good sequence above.  I also try to trigger on the typical DHCP IP address with no luck.

So with WireShark, when I get a DHCP address I see a correct exchange between the DHCP server and my Tiva card.  When I do not get a DHCP address I see no packets coming out of the Tiva Card.

ROV --> EMAC

I could not find a "#packets" category but under EMAC statistics I found the following when I did not get a good DHCP address and no WireShark packet capture activity

nCount = 0

nDropped = 0

txSent = 4

TxDropped = 2


What else should I be looking at?


Best Regards,

Steve Mansfield


Viewing all articles
Browse latest Browse all 25965

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>