Pic 18f4550 + enc28j60

Status
Not open for further replies.

bbassem

Newbie level 3
Joined
Mar 15, 2015
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Visit site
Activity points
19
Hi, I'm working in web server project using PIC 18f4550 + ENC28j60, I found 2 examples (below) , I tested them to know the working principle of the TCP / IP stack, but it doesn't work, I've looked for a solution from many forums but I didn't found any solution ,can anyone help me please.
(Sorry for my bad english)
View attachment EXamp.rar
 

Hi there, Microchip already provided the TCP/IP stack for PIC 18F4550 on their website, there're user manual also. please check
 

in the legacy version of Microchip's MLA
**broken link removed**

there is a sample project for a PIC18F8722 and a ENC28j60 in directory
C:\microchip_solutions_v2013-06-15\TCPIP\Demo App

although it is for a different PIC18 the sample code may help

there is a working example of a PIC 18f4550 + ENC28j60 on youtube
https://www.youtube.com/watch?v=IE0tma-FhD0
 

Thank you for responding ,I saw the links but unfortunately, they did not help me, my probleme that I can't get an IP address, when I try to simulate the examples ( which i found) in ISIS , a error message appears, the error is related to the NCIS.DLL, I made a screenshot of the error
 

The workload for the ENC28J60 for the PIC18F family of devices can be quite high, especially at some early stages when the timing can be critical - probably why you are getting that previous error message form the simulator about excessive CPU load as the simulator can't really keep up with a MCU that is working flat out.
I strong;y recommend that you get real hardware and run the MAL TCP/IP code on that - it does work (provided you have the circuit set up correctly).
Susan
 
Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…