Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pinguino PIC32 + MOD-ENC624J600 10/100Mbps Ethernet
15-06-2012, 11:43 AM,
#1
Pinguino PIC32 + MOD-ENC624J600 10/100Mbps Ethernet
From this post (I've noticed that at the moment there seems to be more life here in the forums than in the google-group)

Hi

I wanted to ask if someone has had experience with the ENCx24j600 (ENC424J600 / ENC624J600) 10/100 Mbit Ethernet controller chips by Microchip.

In my specific case, I purchased the Olimex MOD-ENC624J600

Supposedly it will work "out of the box" or nearly with Microchip TCP/IP Stack + the right #ifdefs + tunings
(this is what Olimex guys are saying :)


So, to avoid trying to reinvent any possibly existing wheel, after some research on-line I came up to this nice project based on the uIP (micro IP) stack:

http://code.google.com/p/avr-butterfly-encx24j600-uip/

Basically it seems to me that this project can be considered as the ENCx24j600 successor of what we already have ported (looks like a work in progress?) into Pinguino's Ethernet libraries which are based on a similar AVR project which was created for ENC28J60 10 Mbit chip:

.../pinguinoX.3rev399/p32/include/pinguino/libraries/ethernet/


I'll try to have the thing working for the PIC32, however I have the feeling that JP Mandon and cooperators will be much more efficient in checking out / eventually porting the thing! :D

I'll let you know if I manage to have something working... I don't know if and in how much time...

JPM / whoever reads this group: any observations / ideas?

best regards!

--
Mathieu
Reply
15-06-2012, 12:37 PM,
#2
RE: Pinguino PIC32 + MOD-ENC624J600 10/100Mbps Ethernet
Seems to me you'd be better using Microchip's code and avoiding that AVR stuff. We're not using an AVR!

John
Reply
15-06-2012, 12:46 PM,
#3
RE: Pinguino PIC32 + MOD-ENC624J600 10/100Mbps Ethernet
(15-06-2012, 12:37 PM)pingotg Wrote: Seems to me you'd be better using Microchip's code and avoiding that AVR stuff. We're not using an AVR!

John

yep, in fact the point was to port an already existing driver...
uIP is per se multi platform and is much more lightweight than mcp stack.

Just saying, since I noticed that there's an ongoing work-in-progress based on an AVR project

Bad thing of trying to use MCP stack is the #ifdefs mahyem and the fact that I never used / I'm not familiar with MPLAB way of managing projects (for plethora of configurations...)

best regards!

Here's the SVN browse of the ethernet library (WIP) on Google code
(latest commits by user "rblanchot")
Reply
15-06-2012, 07:32 PM,
#4
RE: Pinguino PIC32 + MOD-ENC624J600 10/100Mbps Ethernet
By all means port uIP if that's what you want Smile

John
Reply
25-06-2012, 06:23 PM,
#5
RE: Pinguino PIC32 + MOD-ENC624J600 10/100Mbps Ethernet
Ok, some good news: in the end I decided to "port" the Microchip TCP/IP Stack starting from the already "digested" version provided by Olimex for their PIC-WEB platform, using TCP/IP Stack v5.10.

http://www.olimex.com/dev/pic32-web.html (SPI-Mode)

After some struggling with the Pinguino Compiler / "build system", adaptations, and simplifications, I'm now able to build the thing and to ping the board :]

Now heading towards having UDP I/O working...

--
Mathieu
Reply
26-06-2012, 11:04 AM,
#6
RE: Pinguino PIC32 + MOD-ENC624J600 10/100Mbps Ethernet
UDP is working, that was easy Smile

--
Mathieu
Reply
26-06-2012, 04:25 PM,
#7
RE: Pinguino PIC32 + MOD-ENC624J600 10/100Mbps Ethernet
Excellent! Hopefully someone else will find it useful one day.

John
Reply
20-12-2012, 03:17 PM,
#8
RE: Pinguino PIC32 + MOD-ENC624J600 10/100Mbps Ethernet
(26-06-2012, 04:25 PM)pingotg Wrote: Excellent! Hopefully someone else will find it useful one day.

John

Hi, do you have some example and the lib? I have just bought the module.

Regards Krister
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)