Hi Shawn. The test with the lpIP-master variant was workign fine until I stopped the test at 54 million packets received
Is it right that the library manager should think that library variant is also called Version...
Hi Shawn. Increasing the timeout worked, thanks
Have left a soaktest running with lwIP-master version, so far so good
The previous 0.19.0-snapshot test got to 384 million packets, so I think we can call that...
Hi Shawn
Thanks for explaining the spelling :-)
I tried the lwIP-master branch, however Ethernet.waitForLocalIP(kDHCPTimeout) was failing. I put back the 0.19.0-snapshot version and it worked immediately
Let me...
Thanks Shawn
I installed the 0.19.0-snapshot (replacing the 0.18 version)
So far it has not failed and I am up to 1 million packets
Do you still want me to try the latest IwIP branch?
After a reset I get the null report and then:
11:11:34.540 -> Breadcrumb #1 was 3396345872 (0xCA702010)
11:11:34.540 -> Breadcrumb #6 was 2461095967 (0x92B1581F)
I can certainly instrument the code more. The problem is the packet rate and the print statements will slow down the rate and may mask the problem. Hence why I am printing the keep alive every 10 seconds
I will do...
Hi Shawn
Another thought. Given that I am sending quite large packets (6008 bytes) much bigger than the MTU max packet size, might there be an issue with the splitting/ combining logic?
Here is CrashReport at startup:
09:20:01.779 -> Hopefully all is well, but certain types of crashes can't be reported:
09:20:01.779 -> stuck in an infinite loop (technically, hardware still running properly)...
I added some code to print the total packet count received and rate/s every 5 seconds that the end of the main loop
It seems to die after about 40000 packets have been received
It is no longer executing the main...
Hi Shawn
I did try queue size in an earlier iteration but just of size 2. I will try 64
However the packet source is a C# application running in a tight loop so not sure why packets would be bunching up and why it...
What I think is happening when it seems to hang is that it is still receiving packets but at a much slower rate
In other words, only 1 in every N packets gets through
I will do some more tests to verify this
Thanks Sicco
I have already confirmed the packets are still there
Removing/ reinserting the ethernet cable does not restart it
Resetting the Teensy does restart it
Feels odd that it can typically do ~...
Sorry but I think you have misunderstood the data declarations
const uint32_t PayloadLength = 6000;
struct __attribute__((packed)) T_MessageHeader
{
uint32_t messageId;
uint32_t payloadLength;
};
Sorry. I am struggling to understand what you mean. The size of the buffer I read into is the size of the structure that includes the payload and the header. The payload is immaterial in this test program. What matters...
Hi,
I am having intermittent problems using QNEthernet to receive UDP messages on a Teensy 4.1
I am firing UDP messages (of 6008 bytes) from a C# test program at the Teensy which is running the sketch below
It...
Many thanks Paul for the information
Now that these ethernetless variants are out in the wild, it would be useful if the various ethernet libraries built in that PHY test code
I feel SO foolish...
I looked at your photo to confirm the cable orientation was correct but did not spot the additional chip
When the supplier specified "no ethernet", I assumed they meant "no ethernet adaptor"...
The benefit of sleeping on problems
I woke this morning thinking, I wonder if there are multiple versions of the Teensy 4.1...
I thought there was only one and that you just had to buy the ethernet adaptor.
I...
Hi Paul, here you go: https://forum.arduino.cc/t/arduino-ide-2-03-hangs-on-startup/1095206/2
If you scroll up you will see the debug info from the Powershell capture
I have installed 1.58 beta 3 and no change
I have plugged the enthernet cable (still plugged into the same switch port) into my laptop and it works fine
I am not supplying separate power to the board, just the USB...
Thanks Defragster
When I run it I get Link State: On but if I remove the ethernet cable, it still says the same!!!
Just tried another board and ethernet adaptor. Same result
I am using Teensydino 1.57.2 and IDE...
Thanks Paul.
I can't resolve the Arduino IDE 2.03 issue on my desktop so posted a query on Arduino forum with debug output. Looks like it is crashing trying to load discovery related information related to Teensy
...
I decided to try a simple QNEthernet example
#include <QNEthernet.h>
using namespace qindesign::network;
//===============================================================================
// Initialization...
Thanks. Yes, that was my next step. However having decided to update Arduino IDE to resolve another issue, that is not hanging on startup! Fun and games...
I have tried the UDP NTP client example below
After the MAC address is printed, I get the error: "Failed to configure Ethernet using DHCP"
So Ethernet.begin is failing
#include <SPI.h>
#include...
Thanks
I had already done that and tried two separate boards and adaptors
I'm wondering if it's the type of switch it's plugged into so I will try a laptop
I have tried two different boards and ethernet kits
The green link LED never lights
I have tried the NativeEthernet UPD example but cannot ping the board
I have tried the code below, still no ping:
#include...
What seems to work sometimes is setting the sketch running with the 4.1 Teensy Port selected
The select the COM8 port (ignoring Tensy 3.2 comment) and then open serial monitor
Hi, the COM8 port appears in device manager when I plug in the Teensy 4.1 so firstly I cannot delete it but also it's clearly being created by the Teensy 4.1
I have never had a Teensy 3.2 or Teensy 3.1 BTW
The...
I have just selected COM8 (Teensy 3.2, 3.1), opened the serial monitor and then uploaded the sketch again and it has worked
Is this what I should be doing despite the fact that I have Teensy 4.1?
I will start by saying I am new to using Teensy so apologies in advance for any stupid misunderstandings!
I am trying to get the serial monitor working with a Teensy 4.1 device
The device is working and I can...