I have hardware that uses CCS TCPIP stack. It runs fine in my lab and most of the places in the field.
But in some cases it does not pick IP address from DHCP server. It occurs in some typical properties.
what can be the reason?
sang
Joined: 29 Nov 2005 Posts: 4
Posted: Fri Sep 11, 2009 12:09 pm
Did you manage to solve this problem? I have similar problem with 18F67J10 and ENC28J60. I think it could be the CCS TCP/IP stack but I am not sure. The DHCP work fine in most cases but in some cases, it will fail to get and IP from the DHCP server.
bkamen
Joined: 07 Jan 2004 Posts: 1615 Location: Central Illinois, USA
Posted: Mon Sep 14, 2009 10:38 am
I've been using the CCS TCP/IP Stack (which you have to remember is MicroChip's stack editing by the guys at CCS so it will compile with CCS).
I have found that on the PICDEM.net2 (using the PIC18F97J60 and not the ENC28J60 to which I added the needed #defines) to make it work that DHCP always gets an address (and quickly).
On my prototype board without having changed any low-layer items, DHCP takes longer (and I have some ethernet corruption issues because of the jack currently hacked onto the board as the intended one was out of stock) BUT STILL always gets an address.
You should look on your DHCP server if you can to see the requests coming in.
OR, you should be using a packet sniffer to check the conversation. (easy and fun. get wireshark or ethereal)
So what I'm saying is that I haven't seen the stack fail to get DHCP even with slightly wonky ethernet hardware.
-Ben _________________ Dazed and confused? I don't think so. Just "plain lost" will do. :D
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum