I was wondering if I can always expect the leds on the ENC28-module to light up when I plug in a ethernet-cable? I’ve tried just about every combination of the various setup procedures I’ve found on this forum to get an IP of the DHCP, but nothing seems to work. I know that the next step is to go static IP and try to ping the device, but I really need the dynamic way to work So does anyone know what the default behavior of these leds are?
Btw I’ve already tried: Changing sockets, cables, power source (computer vs usb-charger)
Just to be painfully specific, will the module be able to get a link by just being connected to a powered mainboard (no specific initialization done in code)? Hoping the answer is “no” and that its just another case of pebkac
First of all, thx for the code example @ RoSchmi, I really appreciate all the help I’ve gotten so far! =)
Unfortunately I think your code example pretty much confirms my original suspicion (that the module has been broken all along). I’ve tried the same thing you suggested a while back, and I even reran your code example just now to be sure, but, alas…there’s no signs of life :’(
The module was fresh out of the bag (even though I ordered it a long time ago), so I guess its a case of a faulty product sneaking its way passed quality control…
@ dnyvik - Can you try the example on https://www.ghielectronics.com/docs/30/networking#3123 and see if you can get an IP? If you are using socket 1 for the ENC28, the constructor parameters in the example are below. Also before testing, make sure you disconnect all other modules and do a firmware update.
new EthernetENC28J60(GHI.Pins.FEZRaptor.Socket1.SpiModule, GHI.Pins.FEZRaptor.Socket1.Pin6, GHI.Pins.FEZRaptor.Socket1.Pin3, GHI.Pins.FEZRaptor.Socket1.Pin4);