Blitzortung.org Forum

Full Version: System Blue Network Interface Question
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello everyone, 

I just got my system blue built last week and powered up. It has been running fine as far as I can tell. I was just looking at my network switch and noticed that the port it is plugged into is only running at 10mb half duplex and is throwing some CRC and late collision errors on that port. I tested the cable run between the switch and the detector and it checked out. Does it sound like I may have done a bad solder job on the nic?

Thanks!
Jeff
The ethernet controller is a Microchip ENC28J60 which is only 10mbit (and the SPI interface it uses can't handle much more than that anyway). Looking at the schematic and datasheet, it's also set to run half-duplex in this case (LEDB sinks to ground). Couldn't hurt to check the solder joints on the RJ45 jack and crystal Q1.
If you have a managed network switch you can set the port to 10 Mbps and Full duplex and the Ethernet will work fine.
I checked the solder joints and everything looks good. I tried a different switch port and never could get a link if I did any full duplex or anything above 10mb. I'm also still seeing errors on the port, maybe because it is only running at half duplex? Not sure.
I know you said you've tested the cable, but have you tried another one? And has it been separated from the H and E field preamp cables and other sources of interference?
Yes, I have also brought it down to the basement and plugged it directly into the switch with a new/different patch cable and got the same results.
(2016-09-14, 00:52)chevyman142000 Wrote: [ -> ]Yes, I have also brought it down to the basement and plugged it directly into the switch with a new/different patch cable and got the same results.

Who supplied the socket? There are hundreds of variations on RJ45 sockets if sourcing yourself it would be very easy to get one very similar but not correct.
Not a bad idea. I did find this on Amazon, will have to verify model/part number. https://www.amazon.com/HanRun-HR911105A-...n+ENC28J60
(2016-09-14, 14:34)chevyman142000 Wrote: [ -> ]Not a bad idea. I did find this on Amazon, will have to verify model/part number. https://www.amazon.com/HanRun-HR911105A-...n+ENC28J60

Well the part numbers agree, a search of the Hanrun site with hr9111 only brings up 7 results 05a only one... Presumably it's not possible to fit one of the other RJ45 sockets into the LAN position? Or as the HR911105A has magnetics inside perhaps they have been overheated or a connection inside damaged?

Clutching at straws...
(2016-09-13, 23:24)chevyman142000 Wrote: [ -> ]I checked the solder joints and everything looks good. I tried a different switch port and never could get a link if I did any full duplex or anything above 10mb. I'm also still seeing errors on the port, maybe because it is only running at half duplex? Not sure.

Will run 10 Mbps Half unless you have managed switch and set the port to 10 Mbps Full.

For example I am using a Cisco 2960G and can fix port speeds and duplex.

What errors are you seeing? Do you mean collisions?

Collisions are normal for 10 Mbps Half.
I do have a managed switch (HP Procurve). I've tried setting it to 10mb full and the port just goes disabled.

From the switch log:

Excessive CRC/% alignment errors
Half Duplex Mismatch
Excessive late% collisions
(2016-09-16, 18:16)chevyman142000 Wrote: [ -> ]I do have a managed switch (HP Procurve). I've tried setting it to 10mb full and the port just goes disabled.

From the switch log:

Excessive CRC/% alignment errors
Half Duplex Mismatch
Excessive late% collisions

And if you set the switch to 10 Mb half duplex? The ENC28J60 is configured to be in half duplex mode as per a post further up this thread.

If you still get CRC errors I'd be getting the scope out to see what is going on with signal levels.

ENC28J60:
Pins 13 and 12 are Tx+ & Tx-, RJ45 Pins 1 & 2 Org/Wht & Org.
Pins 17 and 16 are Rx+ & Rx-, RJ45 Pins 3 & 6 Grn/Wht & Grn.

No scope, give a close examination to the joints of the components between the socket and chip, are the errors in both directions or only one?
(2016-09-16, 18:16)chevyman142000 Wrote: [ -> ]I do have a managed switch (HP Procurve). I've tried setting it to 10mb full and the port just goes disabled.

From the switch log:

Excessive CRC/% alignment errors
Half Duplex Mismatch
Excessive late% collisions

Strange Cisco handles it just fine.

Switch-A#show int g0/7
GigabitEthernet0/7 is up, line protocol is up (connected)
  Hardware is Gigabit Ethernet, address is
  Description: Blitzortung Blue
  MTU 1500 bytes, BW 10000 Kbit/sec, DLY 1000 usec,
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation ARPA, loopback not set
  Keepalive set (10 sec)
  Full-duplex, 10Mb/s, media type is 10/100/1000BaseTX
  input flow-control is off, output flow-control is unsupported
  ARP type: ARPA, ARP Timeout 04:00:00
  Last input never, output 00:00:03, output hang never
  Last clearing of "show interface" counters 1w4d
  Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
  Queueing strategy: fifo
  Output queue: 0/40 (size/max)
  5 minute input rate 8000 bits/sec, 1 packets/sec
  5 minute output rate 4000 bits/sec, 2 packets/sec
     11175568 packets input, 7327449999 bytes, 0 no buffer
     Received 1264 broadcasts (0 multicasts)
     0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
     0 watchdog, 0 multicast, 0 pause input
     0 input packets with dribble condition detected
     10900051 packets output, 2029037907 bytes, 0 underruns
     0 output errors, 0 collisions, 0 interface resets
     0 unknown protocol drops
     0 babbles, 0 late collision, 0 deferred
     0 lost carrier, 0 no carrier, 0 pause output
     0 output buffer failures, 0 output buffers swapped out


Can you disable the port, change to 10mb Full, then re-enable and see if it errors?
Sorry for the delay. I will try this out and let you know.