Acquiring an IP adress from a vitual DHCP server on Proteus

Status
Not open for further replies.

Kounista

Junior Member level 2
Joined
Jul 15, 2009
Messages
22
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Tunisia
Activity points
1,500
Acquiring an IP adress from a virtual DHCP server on Proteus

Hi everyone,

In order to understand the Microchip TCP/IP stack and be able to create my own application i created this basic design similar to several ENC28J60 based projects on the net:



(Don't pay attention to the LCD, i still don't know to what pin the mpnicpg.pjt project writes data)

Since i'm still unable to modifiy any of the projects furnished with the microchip tcp/ip stack, i chose to work with the Proteus Ethernet Interactive Simulation first (found under ..\program files\Labcenter Electronics\Prtoteus 7\Samples\interactive Simulations\Ethernet Samples\Explorer16 with Ethernet PICtail.DSN):



I also installed these additional softwares on my computer:
-Wireshark: to monitor the packets coming through my local network
-VMware: to create a virtual local network an be able to do a simulation on a single machine.
-Wincap: to create a bridge between Proteus and my network card

(am i correct?)

Once i created my virtual network with VMware and run the Explorer16 simulation on Proteus, the LCD screen is supposed to display the IP adress allocated to the Virtual ENC28J60, but it doesn't, it still indicates "TCPStack v3.75". And nothing seems to happen on wireshark too...

Since it's the first time i use both Wireshark and VMware, i am suspecting that my virtual network isn't correctly setup. I do however have a new local IP: 192.168.189.1...

what did i do wrong? is there something missing from my first schematic?

I started reading the AN833 manual from Microchip, i should it should help me too..

Once i get this working i'm panning to use the ENC28J60 with a Fujitsu MB90540GS micro controller. Are there people who worked with similar controllers here? Do you have some advices for me?

Sorry, it's a lot of questions at once, i'm counting on you guys!
 
Last edited:

Hi,

Have you got it working?


regards,
mtz
 

Hi,

Yes, now i do. If you you have any questions, let me know.
 

Hi,

You'll have to be more precise. Do you have problems with setting up VMWare or is it with implementing the stack?

In fact i did not use any of the sample projects, i started my own stack based application and i only included the files that i needed as mentioned in the AN833 document. To have an idea go to this thread. Reading the whole AN833 document would be a great step in order to know how to minimize your program's size.

One more thing, i have used the stack v3.05 which is a little bit old.. But for me it worked perfectly.

Let me know in which part exactly you are stuck.

Have a nice day.
 

kounista,

What I want to know is what I need to run the Explorer16. I mean, I have a router with the DHCP server, WinPcap installed on Windows 7... but when I run the sample project, the display always shows "TCPStack v3.75" as you said on your first post.

I don't know if I have to configure somenthing else like Winpcap top get the IP from the DCHP server... Please, could you detail all the steps, or if you want, send me your Proteus project so I could test it...

Regards.
mtz
 

could you please help me i want to run the sample project of proteus design and it doesn't take any IP could you tell me the steps of wincap and vmware ? Thanks in advance ..
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…