Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Microchip TCP/IP Stack 3.75 GenericTCPExample DNS failure!!!

Status
Not open for further replies.

optech

Member level 1
Joined
Dec 19, 2004
Messages
37
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,288
Activity points
407
microchip dns

Hi All,

I am using PIC18f462 and enc28j60 and I want to relize generic TCP example in Microchip TCP/IP Stack 3,75. But it doesn't work. I listened ethernet line with wireshark and I saw that alhough myPIC ask "who 192.168.2.1? tell 192.168.2.7", dns server didn't reply.... So dns resolving doesn't work... What can be the problem?

To see this problem, I put UART messages in each case like SM_HOME,SM_NAME_RESOLVE,.... ( those are "GenericTCPExampleState" cases). does it make this problem?

here is asked ARP question by myPIC:
0000 ff ff ff ff ff ff 00 04 a3 00 00 00 08 06 00 01 ........ ........
0010 08 00 06 04 00 01 00 04 a3 00 00 00 c0 a8 02 07 ........ ........
0020 ff ff ff ff ff ff c0 a8 02 01 00 00 00 00 00 00 ........ ........
0030 00 00 00 00 00 00 00 00 00 00 00 00

I entered www.google.com on internet explorer and I saw that for ARP question: (this has been replied, so working)
0000 ff ff ff ff ff ff 00 14 c1 03 81 03 08 06 00 01 ........ ........
0010 08 00 06 04 00 01 00 14 c1 03 81 03 c0 a8 02 04 ........ ........
0020 00 00 00 00 00 00 c0 a8 02 01 ........ ..

as you can see, in working case there is no extra "00" after DNS's IP address(c0 a8 02 01=192.168.2.1)

can it be the problem? If so, how can I fixed it?

I use those in stack configuration:
MPFS_USE_PGRM
STACK_USE_ICMP
STACK_USE_ANNOUNCE
STACK_USE_GENERIC_TCP_EXAMPLE
STACK_USE_DNS
STACK_USE_DHCP

This is my final project for my school, Please help me....
 

ccs tcp/ip stack 3.75

I am sorry i cant help you but like to say that i am using CCS TCP/IP stack and i am able to resolve my ip address to IIS server but not able to resolve it for the web server..
so i think i am having the same problem
If you get to some conclusion please let me know.
regards
sohail
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top