Hi,
This is my first post. Been using Teensies for several years, love them, and I've been able to track down every question/problem via google in the past.
I am upgrading a complex project to the new Wiz850io. I have the latest ethernet library found in Github, dated Nov 29, 2016. At the moment, I'm still using a Wiz820io (I'm going to need to support old 820's and new 850's going forward).
If I use the latest code on the Wiz820io, Ethernet.begin will hang after cycling power. Let me further explain the scenario:
. I can compile/execute on old library code fine.
. I can compile/execute on the new library code fine.
. I power cycle the Teensy (which now has the new library code).
. Ethernet.begin now hangs.
If I recompile using the old library code, everything functions fine again.
The code to reproduce the problem:
In this example, the new library is in "Ethernet/Ethernet.h" while the old code is in the default location.
Further, if I go back to stable111 branch, this problem isn't occurring.
Any help would be greatly appreciated!
Dan
This is my first post. Been using Teensies for several years, love them, and I've been able to track down every question/problem via google in the past.
I am upgrading a complex project to the new Wiz850io. I have the latest ethernet library found in Github, dated Nov 29, 2016. At the moment, I'm still using a Wiz820io (I'm going to need to support old 820's and new 850's going forward).
If I use the latest code on the Wiz820io, Ethernet.begin will hang after cycling power. Let me further explain the scenario:
. I can compile/execute on old library code fine.
. I can compile/execute on the new library code fine.
. I power cycle the Teensy (which now has the new library code).
. Ethernet.begin now hangs.
If I recompile using the old library code, everything functions fine again.
The code to reproduce the problem:
Code:
#include <Arduino.h>
#include "Ethernet/Ethernet.h"
//#include <Ethernet.h>
EthernetClient eClient;
void setup(
) {
byte mac[] = {0x04, 0xE9, 0xE5, 0x01, 0xF8, 0x86};
Serial.begin(9600);
while (!Serial.dtr()) {}
Serial.println("e.begin");
if (Ethernet.begin(mac) == 0) {
Serial.println("begin failed");
while (true) {}
}
Serial.println("e.begin passed");
} // setup
void loop(
) {
} // loop
In this example, the new library is in "Ethernet/Ethernet.h" while the old code is in the default location.
Further, if I go back to stable111 branch, this problem isn't occurring.
Any help would be greatly appreciated!
Dan