Kounista
Junior Member level 2
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!
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: