
Originally Posted by
vjmuzik
Interesting, I wonder what changes are being made with debug that stops it from working.
Hard to say - during beta since Jan 2019 I stuck with making sure the default build working - few attempts at LTO or other could hit an issue. And I didn't see any attempt to push or test beyond that by others with all the core issues.
Just did a T4 DEBUG compile at 600 MHz and it failed to connect at 100BASE. Recompiled at 396 MHz and it works with DEBUG compile …
Code:
IPAddress: 192.168.0.27
SubnetMask: 255.255.255.0
Gateway: 192.168.0.1
DHCPServer: 192.168.0.1
State: 5
Looped: 5236636 LoopedUSB: 1911 FNETMemFree: 130200 LinkSpeed: 100BASE
F_CPU=396000000 deg C=35
Looped: 5127862 LoopedUSB: 1911 FNETMemFree: 130200 LinkSpeed: 100BASE
F_CPU=396000000 deg C=35
Looped: 5125475 LoopedUSB: 1911 FNETMemFree: 130200 LinkSpeed: 100BASE
First guess is not 'optimizing' the code results cleaner faster order? Perhaps a dramatic change?
Another guess was the 'HACKED' code in the 'Functions.ino' code that works with TeensyThreads gets unbalanced as that was a symptom of that not going 100BASE and connecting. Though I changed the 20 to 40 and 60 and removed the #define HACKED and it still failed.
More crazy yet since it worked under 600 is that going OVER 600 to 816 also works - and one fBench shows 23Mbps TCP transfer.:
Code:
F_CPU=816000000 deg C=44
Megabytes: 0.127200 Seconds: 0.0440 KBits/Sec: 23127.2727
Looped: 10682212 LoopedUSB: 1911 FNETMemFree: 130200 LinkSpeed: 100BASE
I've run this sample from 150 MHz to over 900 MHz with default Compile setting and had it work on at least 2 or 3 T4's.
So why it fails to connects at 600 MHZ with DEBUG compile is a puzzle ...
**Note: Fans and heatsinks help cool the T4 - fans maybe more so even a low CFM box fan I just got. I was starting a new build and no heat sink yet - and AFAIK left the IDE OC'd at 900 MHz with no cooling and burned it up.