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

Thread: Teensy 4.1 Ethernet link status won't connect

  1. #1
    Junior Member
    Join Date
    Aug 2021
    Posts
    2

    Teensy 4.1 Ethernet link status won't connect

    Hello,

    I've just finished soldering the provided ethernet kit for the Teensy 4.1, and began trying to test it. I connected the breakout ethernet board to the teensy via the ribbon cable, and began some basic tests (source code down below). However, the program fails at the linkStatus check, and additionally I notice the light on the ethernet is port is not lighting up - the ethernet cable itself is fine, and works for a similar Arduino Uno program.

    I'm wondering what the best way to troubleshoot this is. I'm not very experienced with such fine soldering, so maybe my soldering job (pictures attached) damaged something? I have a spare ethernet kit, but would rather try and diagnose what I did wrong before possibly repeating that mistake on my remaining spare. I should note that the ribbon cable connection seems pretty loose to me, if that matters.

    Code:
    #include <SPI.h>
    #include <NativeEthernet.h>
    
    const int led = LED_BUILTIN;
    byte mac[] = {
      0xA4, 0xE9, 0xE5, 0x0F, 0xC3, 0x3D };
    
    EthernetClient client;
    
    void setup() {
      Serial.begin(9600);
      pinMode(led, OUTPUT);
      // Check for Ethernet hardware present
      if (Ethernet.hardwareStatus() == EthernetNoHardware) {
        Serial.println("Ethernet shield was not found.  Sorry, can't run without hardware. :(");
        while (true) {
          delay(1); // do nothing, no point running without Ethernet hardware
        }
      }
      if (Ethernet.linkStatus() == LinkOFF) {
        // Code fails here!
        Serial.println("Ethernet cable is not connected.");
      }
      
      Serial.println(Ethernet.localIP());
    }
    Solder job:
    Click image for larger version. 

Name:	PXL_20210831_220503289.jpg 
Views:	14 
Size:	134.5 KB 
ID:	25730Click image for larger version. 

Name:	PXL_20210831_220512074.jpg 
Views:	18 
Size:	107.6 KB 
ID:	25731Click image for larger version. 

Name:	PXL_20210831_220524046.jpg 
Views:	15 
Size:	81.9 KB 
ID:	25732Click image for larger version. 

Name:	PXL_20210831_220542726.jpg 
Views:	16 
Size:	135.5 KB 
ID:	25733

  2. #2
    Don't know if you are still messing with this, but it looks like your R- pin solder did not flow correctly.

    Click image for larger version. 

Name:	Teensy 4.1 Ethernet link status won't connect - R- Pin.jpg 
Views:	11 
Size:	151.3 KB 
ID:	25753

Posting Permissions

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