Jump to content

Ethernet adapter (ENC28J60) disconnecting (SOLVED)


Recommended Posts

Posted (edited)

Edit: my problem is solved - it was under-voltage from the Discovery board. 3.3 volts labeling in the schematics is not accurate for the F4Discovery board - it's closer to 2.8 volts. Connecting to 5 volts with a 3.3 volt regulator did the trick. 

Hi, everyone! I LOVE my seq and I'm really impressed by this supportive community. I'm having an issue with my ENC28J60-based ethernet adapter, I bought this one:  https://www.amazon.com/gp/product/B00GAXAQOQ/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&psc=1 . It is able to get an IP address over DHCP, but if I try to play anything over OSC, soon after it loses its IP address. If I press the button to get an IP, it tells me the ethernet adapter is no longer connected. It will keep its IP address as long as I don't try to play anything.

Any ideas? It has done the exact same thing with two different of these ENC28J60 adapters. Thanks for your support! I tell everyone how amazing this sequencer is, and people who see me play it are totally jealous. Any ideas you have on this are greatly appreciated. Photos follow.

 

 

 

board.JPG

IMG_6566.JPG

IMG_6564.JPG

IMG_6565.JPG

adapter.JPG

banana.JPG

Edited by msghmr
Problem solved
Posted

[2839047.162] network
[2838035.886] Ethernet cable connected: yes
[2838035.886] Ethernet MAC address: 00:30:37:32:34:31
[2838035.886] Ethernet services running: yes
[2838035.886] DHCP: enabled
[2838035.886] IP address: 192.168.1.91
[2838035.886] Netmask: 255.255.255.0
[2838035.886] Default Router (Gateway): 192.168.1.254
[2838035.886] OSC1 Remote address: 192.168.1.92
[2838035.886] OSC1 Remote port: 8001
[2838035.887] OSC1 Local port: 8000
[2838035.887] OSC1 Transfer Mode: 0 - MIDI Messages       
[2838035.887] OSC2 Remote address: 192.168.1.101
[2838035.887] OSC2 Remote port: 8001
[2838035.887] OSC2 Local port: 8000
[2838035.887] OSC2 Transfer Mode: 0 - MIDI Messages       
[2838035.887] OSC3 Remote address: 192.168.1.101
[2838035.887] OSC3 Remote port: 8001
[2838035.887] OSC3 Local port: 8000
[2838035.887] OSC3 Transfer Mode: 0 - MIDI Messages       
[2838035.887] OSC4 Remote address: 192.168.1.101
[2838035.887] OSC4 Remote port: 8001
[2838035.887] OSC4 Local port: 8000
[2838035.887] OSC4 Transfer Mode: 0 - MIDI Messages       
[2838035.887] UDP Monitor: verbose level #0

Posted (edited)

MIOS32 still shows an IP address after the Seq display says it can't find the ethernet adapter, but it says the cable is disconnected: 
[2839339.061] network
[2838327.770] Ethernet cable connected: no
[2838327.770] Ethernet MAC address: 00:30:37:32:34:31
[2838327.770] Ethernet services running: yes
[2838327.770] DHCP: enabled
[2838327.770] IP address: 192.168.1.91
[2838327.770] Netmask: 255.255.255.0
[2838327.771] Default Router (Gateway): 192.168.1.254
[2838327.771] OSC1 Remote address: 192.168.1.92
[2838327.771] OSC1 Remote port: 8001
[2838327.771] OSC1 Local port: 8000
[2838327.771] OSC1 Transfer Mode: 0 - MIDI Messages       
[2838327.771] OSC2 Remote address: 192.168.1.101
[2838327.771] OSC2 Remote port: 8001
[2838327.771] OSC2 Local port: 8000
[2838327.771] OSC2 Transfer Mode: 0 - MIDI Messages       
[2838327.771] OSC3 Remote address: 192.168.1.101
[2838327.771] OSC3 Remote port: 8001
[2838327.771] OSC3 Local port: 8000
[2838327.771] OSC3 Transfer Mode: 0 - MIDI Messages       
[2838327.772] OSC4 Remote address: 192.168.1.101
[2838327.772] OSC4 Remote port: 8001
[2838327.772] OSC4 Local port: 8000
[2838327.772] OSC4 Transfer Mode: 0 - MIDI Messages       
[2838327.772] UDP Monitor: verbose level #0

Edited by msghmr
I noticed it says the cable is disconnected
Posted (edited)

I just used a multimeter to test the voltage coming out of J16 -  it's only 2.8 volts instead of 3.3. This really could be why - I'm trying to supply better voltage to the ethernet board to see if the problem clears up.

Edited by msghmr
sentence was garbled
Posted

So, the under-voltage issue was totally why. One of my ethernet modules has a 5V input with a 3.3 volt regulator which I had bypassed to connect to J16. I un-bypassed the regulator (so I could connect 5v), and connected 5v from J2 - problem solved. 

For anyone doing this in the future, these ethernet adapters work - but don't bother trying to get 3.3 volts from the F4Discovery board - it only provides barely 3 volts. Use J2 5 volts instead if possible, otherwise use an external 3.3 volt power regulator. 

  • Like 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...