Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 10 of 10

Thread: Arduino Library Ethernet 2.0.0 - Not Work!

  1. #1
    Junior Member
    Join Date
    Aug 2019
    Posts
    6

    Arduino Library Ethernet 2.0.0 - Not Work!

    Good day.

    This library on Arduino Due + Arduino Ethernet R2 does not work for me.

    I tried various options for connecting pins and initialization. Compiled a demo project. Nothing helped. Throws an error: Ethernet shield was not found.

    With libraries 1.x works without problems.

    What to do?

  2. #2
    Senior Member crees's Avatar
    Join Date
    Dec 2016
    Location
    Utah
    Posts
    180
    We Need more info, without any code most of us are unable to help. However I know this chip and know you need to make sure the CS pin is used since the board you have also has card reader sharing the same SPI bus.

    crees

  3. #3
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    20,823
    Can you show a photo of the ethernet shield and how it's connected to your Due? There are many ethernet shields on the market with very similar names.

  4. #4
    Junior Member
    Join Date
    Aug 2019
    Posts
    6
    Quote Originally Posted by crees View Post
    We Need more info, without any code most of us are unable to help. However I know this chip and know you need to make sure the CS pin is used since the board you have also has card reader sharing the same SPI bus.

    crees
    Any code.
    Example: SimpleClient.

    Throws an error: Ethernet shield was not found.

    Pins connected: SCK,MISO,MOSI - Due 6pin SPI, SS - 10 pin, 3.3v, gnd,reset.

    The SD card on the board is not connected. It was connected on another 4-pin Due board. I connected and disconnected it both in the firmware and physically - there is no result.

  5. #5
    Junior Member
    Join Date
    Aug 2019
    Posts
    6
    Quote Originally Posted by PaulStoffregen View Post
    Can you show a photo of the ethernet shield and how it's connected to your Due? There are many ethernet shields on the market with very similar names.
    I have a Chinese shield clone. 2 pieces, purchased at different times. None of them work.
    I can take a photo, but later, the devices are in another place.

    Shield Arduino not plugged in, and located side by side and connected by wires.
    Pins connected: SCK,MISO,MOSI - Due 6pin SPI, SS - 10 pin, 3.3v, gnd,reset.

  6. #6
    Junior Member
    Join Date
    Aug 2019
    Posts
    6
    Click image for larger version. 

Name:	IMG_20190830_213828.jpg 
Views:	5 
Size:	220.8 KB 
ID:	17402Click image for larger version. 

Name:	IMG_20190830_213939.jpg 
Views:	4 
Size:	211.0 KB 
ID:	17403

    These are two different shields.

  7. #7
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    20,823
    I have that ethernet shield. Or one which looks just like it. Plugged it into my Arduino Due and uploaded the WebClient example.

    Click image for larger version. 

Name:	DSC_0589_web.jpg 
Views:	3 
Size:	186.4 KB 
ID:	17423

    Seems to work fine. Here's what I see in the serial monitor.

    Click image for larger version. 

Name:	sc.png 
Views:	3 
Size:	81.5 KB 
ID:	17424

    I tested with Arduino 1.8.9, using the Ethernet library that comes with 1.8.9.

    This is as much work as I am willing to do for support of Arduino Due. I recommend asking for help on Arduino's forum.

    https://forum.arduino.cc/index.php?board=87.0

    Or maybe you should test with the shield plugged into your Arduino Due. At least this message can confirm it does indeed work that way. If you need more help, ask for it on Arduino's forum. If you ask on their forum, perhaps show better photos of how you actually connected the wires. Maybe someone more experienced with Arduino Due will see something wrong.... but if you show only the photos you gave here, nobody can follow the wires and see what you really did.

  8. #8
    Junior Member
    Join Date
    Aug 2019
    Posts
    6
    Quote Originally Posted by PaulStoffregen View Post
    I have that ethernet shield. Or one which looks just like it. Plugged it into my Arduino Due and uploaded the WebClient example.
    I tested with Arduino 1.8.9, using the Ethernet library that comes with 1.8.9.
    This is as much work as I am willing to do for support of Arduino Due. I recommend asking for help on Arduino's forum.
    Or maybe you should test with the shield plugged into your Arduino Due. At least this message can confirm it does indeed work that way. If you need more help, ask for it on Arduino's forum. If you ask on their forum, perhaps show better photos of how you actually connected the wires. Maybe someone more experienced with Arduino Due will see something wrong.... but if you show only the photos you gave here, nobody can follow the wires and see what you really did.
    I am writing in Visual Studio. But I also tried this library in IDE 1.8.5. In Visual Studio, I have the latest update for Due. I will try to update the IDE and download the firmware.
    I already wrote on the Arduino forum, but in the Ethernet section. There is no solution yet.
    Pins connected: SCK,MISO,MOSI - Due 6pin SPI, SS - 10 pin, 3.3v, gnd,reset. I will try to take another Due and stick the shield in it. But the previous library 1.x.x works with this connection.

  9. #9
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    20,823

  10. #10
    Junior Member
    Join Date
    Aug 2019
    Posts
    6
    Quote Originally Posted by PaulStoffregen View Post
    Yes. This is my post.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •