I have an MKR eth shield connected to MKR 1400 GSM using the pins.
I have a problem if there is an ethernet cable connected btw. the eth shield and my DSL router (switch), and I powered the system, the MKR didn't work until I remove the ethernet cable, so it continues work and then reconnect the ethernet cable.
I have tested this problem with another DSL router, and the same I got.
if I have connect the ethernet cable btw. MKR eth shield and my laptop and power the system it works fine.
i'm using an external power supply (5.6 volt and 2 Amp) as follows:
the + from the converter is connected to the vin of the MKR eth shield
the - from the converter is connected to the ground pin of the MKR eth shield.
Any suggestions?
I did another test by upload a blink example without calling the ethernet shield, but the ethernet shield is connected to the MKR GSM 1400, and I got the same error unless I disconnect the cable then the sketch loaded successfully and then reconnect the cable again.
Juraj:
the GSM module is active? it connects to network after power up?
the Ethernet shield connects on lower layers and it takes power.
No, this is a blink example.
I have tried this test:
I connect a volt meter to the VCC of the MKR eth shield, once I connect the power supply it starts 3.2 volt and immediately dropped to 1.179 and stays at this volt, now once I disconnect the ethernet cable the volt is again 3.2 volt and works fine.
I know the GSM module has a very high current draw occasionally. I would not expect this to be an issue for the Blink sketch, but perhaps it still initializes on power on.
There is some information here that might possibly (or perhaps not) be of relevance:
thank you, I tried another two troubleshooting actions:
1- connect the earth ground from the 220 volt to the box metal rail, and from that I linked another cable to the MKR eth shield "ground", and still no success.
2- at the ethernet cable, I have disconnected not need cables (I keep pins 1,2,3, and 6) in case there is a power passing at the ethernet cable, but also failed.
it is working fine if:
1- power the system using the USB cable even the cable is connected to the same router.
2- if I power the system using 5V to the vin, I have to disconnect the ethernet cable during boot and then reconnect it again.
i'm repeating my last volt meter check:
I connect a volt meter to the VCC of the MKR eth shield, once I connect the power supply it starts 3.2 volt and immediately dropped to 1.179 and stays at this volt, now once I disconnect the ethernet cable the volt is again 3.2 volt and works fine.
anyone has any suggestions or troubleshooting tasks?
Thanks for taking the time to update this thread with the solution you found zeroone! I'm sure anyone else with the same problem will be very grateful.