Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: vjmuzik

Page 1 of 10 1 2 3 4

Search: Search took 0.01 seconds.

  1. Those are valid reasons, as far as FNET it has a...

    Those are valid reasons, as far as FNET it has a fairly complex ISR management system and it’s default implementation uses it’s own timer library to run from either a PIT or GPT timer. The only...
  2. Assuming LWIP has no issues with it what’s your...

    Assuming LWIP has no issues with it what’s your reason for not wanting to use a timer?
  3. Replies
    8
    Views
    245

    Unfortunately I haven’t been able to find one...

    Unfortunately I haven’t been able to find one with proper documentation so the only option would be to reverse engineer an open source Linux driver. Which is currently beyond my level of...
  4. Replies
    8
    Views
    245

    An ESP module is probably the easiest and fastest...

    An ESP module is probably the easiest and fastest way to get up and running. Theoretically it can support a SDIO or USB WiFi chip, but I haven’t found one with good documentation publicly available...
  5. Iím skeptical of the stability of the current...

    Iím skeptical of the stability of the current NativeEthernet just because of some of the choices Iíve made and other issues that have propped up. Currently Iím working on a rewrite of the whole thing...
  6. Replies
    8
    Views
    253

    Memory constraints can certainly be a concern,...

    Memory constraints can certainly be a concern, though as far as corners being cut I can't say what decisions were made for FNET, I just know that I haven't had any prior issues with using larger...
  7. Replies
    8
    Views
    253

    I can’t speak for how well it’s handled since I...

    I can’t speak for how well it’s handled since I didn’t write it, but it’s a standard that’s been in use and supported for many years now so I suspect any issues have been ironed out. Personally I...
  8. Replies
    8
    Views
    253

    While the MTU is limited to 1500 bytes the stack...

    While the MTU is limited to 1500 bytes the stack supports IP Fragmentation so the MTU size isn't the actual limit to how big a packet can be by the time it reaches the user sketch. The config right...
  9. Replies
    2
    Views
    178

    There is a ping service in FNET for pinging other...

    There is a ping service in FNET for pinging other devices, by default you can ping FNET from other devices though. The ping service is here:...
  10. I don’t know what versions are included in the...

    I don’t know what versions are included in the beta, I would still recommend trying the manual install first from the provided links.
  11. Try the updates shown here, see if they fix your...

    Try the updates shown here, see if they fix your issue, there was an issue of running out of sockets when using TCP Servers for a while now. This is more than likely what is happening to you since as...
  12. Replies
    11
    Views
    271

    I've been using it on MacOS to diagnose my own...

    I've been using it on MacOS to diagnose my own issues lately, though I didn't know about the addr2line bundled in the Teensyduino.app, personally I installed it through Homebrew. The link to the...
  13. Replies
    16
    Views
    405

    I wrapped the function in...

    I wrapped the function in noInterrupts()/interrupts() so itís not completely disabled, I at least know not to do that.

    There is no check on the new since it will never fail there, itís a...
  14. Replies
    16
    Views
    405

    I think you might've been right, it hasn't...

    I think you might've been right, it hasn't crashed yet after more than 100,000 successful connections, this has been giving me a headache all day and it's about the only thing I haven't tried to do...
  15. Replies
    16
    Views
    405

    It should be valid, it's at least valid thousands...

    It should be valid, it's at least valid thousands of times besides the one that causes the crash.
  16. Replies
    16
    Views
    405

    It's a variable in this function here ...

    It's a variable in this function here


    000005e8 g F .text.itcm 00000124 EthernetClient::tcp_client_poll(EthernetClient*)

    void EthernetClient::tcp_client_poll(EthernetClient *client){
    ...
  17. Replies
    16
    Views
    405

    Here you go. ...

    Here you go.



    /var/folders/6c/mywk2cdx4k919xpqt544vnbh0000gq/T/arduino_build_302604/WebServerNonBlocking.ino.elf: file format elf32-littlearm

    SYMBOL TABLE:
    60000000 l d ...
  18. Replies
    16
    Views
    405

    I wouldn't rule it out, but the current code...

    I wouldn't rule it out, but the current code doesn't have any arrays near it or anything that should overflow as far as I can tell.

    I'm not really sure what I should be looking for in the map...
  19. Replies
    16
    Views
    405

    That's the confusing part, it gets past multiple...

    That's the confusing part, it gets past multiple null pointer checks after allocating the socket memory and the client object, none of them fail and the pointers are set to null when created so it's...
  20. Replies
    16
    Views
    405

    I’ve never used it before so I don’t know what...

    I’ve never used it before so I don’t know what it’s capable of, my knowledge of debugging only includes the serial monitor.
  21. Replies
    16
    Views
    405

    T4.1 Data Access Violation Crash

    I'm currently working on rebuilding NativeEthernet from scratch so that it's fully non-blocking for better performance, while working on the TCP Server code I'm running into an annoying crash I can't...
  22. Replies
    1
    Views
    131

    I now see that in my example sketch I had to do...

    I now see that in my example sketch I had to do threads.setSliceMicros(10); in order to have such a short threads.delay, though I am curious on why Test delay yield failed in the TeensyThreads Tests...
  23. Replies
    1
    Views
    131

    TeensyThreads Yield broken for 4.x?

    Possibly first mentioned here.
    Using Teensyduino 1.54 and Teensy 4.1(though it should be the same for any 4.x)
    TeensyThreads Yield does not seem to be working correctly, I started trying to use it...
  24. Replies
    4
    Views
    273

    A Teensy 4.x and 3.x are much too fast for that...

    A Teensy 4.x and 3.x are much too fast for that library to be used without adding a delay between switching address pins and reading the signal pin. The usbMIDI reference page recommends starting...
  25. Replies
    98
    Views
    7,037

    I'm not opposed to asking him about it.

    I'm not opposed to asking him about it.
  26. Replies
    6
    Views
    1,164

    Unfortunately this is not the case here, as the...

    Unfortunately this is not the case here, as the file in question doesn't have any empty defines with comments at the end, nor do the files it's including or there would be a lot more of these errors...
  27. Replies
    98
    Views
    7,037

    The example I mainly used is the HTTP Server...

    The example I mainly used is the HTTP Server example here, I'll try to explain the check that is done there in short order since it is rather long to follow without knowing what to look for.

    After...
  28. Replies
    98
    Views
    7,037

    It’s a weird problem since it happens at random,...

    It’s a weird problem since it happens at random, even with the exact same data, in FNETs examples those particular sockets with no data were closed so if you were to make your own example based off...
  29. Replies
    98
    Views
    7,037

    This isn’t specific to HTTP, though the first...

    This isn’t specific to HTTP, though the first note of it happening was when someone wanted to stress test HTTP with Apache Benchmark. It does happen with any TCP Server as Paul and some others have...
  30. Replies
    98
    Views
    7,037

    There was a problem with the TCP Server code in...

    There was a problem with the TCP Server code in NativeEthernet running out of sockets and effectively making the Teensy lock up eventually. A partial solution for that has been sitting on the back...
  31. Replies
    98
    Views
    7,037

    Something may be limiting your network...

    Something may be limiting your network connection, like I said I’m pretty much directly connected to my laptop and see no issues. If I remember right Apache Benchmark said it was doing about 300...
  32. Replies
    98
    Views
    7,037

    Certainly your network setup, I test with a USB...

    Certainly your network setup, I test with a USB to Ethernet connection to my laptop and the latency is generally 2-4ms.
  33. Replies
    98
    Views
    7,037

    Sorry for the error I mistakenly didn't copy over...

    Sorry for the error I mistakenly didn't copy over that file with the changes, it's there now though. The warning in FNET is also now fixed, if I wasn't so bad at version control I would've noticed...
  34. Replies
    98
    Views
    7,037

    Hopefully there shouldn’t be any failed requests...

    Hopefully there shouldn’t be any failed requests anymore, 10000 requests took less than a minute for me.
  35. Replies
    98
    Views
    7,037

    NativeEthernet & FNET TCP Server Fixes

    I've finally dedicated some time to hopefully fixing this and I may have done it though some more testing should be done to catch any edge cases that could be happening and verifying that no data is...
  36. Replies
    2
    Views
    158

    You used the wrong download, for newer MacOS...

    You used the wrong download, for newer MacOS versions it's a prebuilt app instead of an installer. https://www.pjrc.com/teensy/td_154/Teensyduino_MacOS_Catalina.zip
  37. I'll share it, though it is mostly the same. ...

    I'll share it, though it is mostly the same.


    #include <Arduino.h>
    #include "FlexIO_t4.h"
    //#include "DMAChannel.h"

    FlexIOHandler *pFlex;
    IMXRT_FLEXIO_t *p;
    const...
  38. I just now decided to test this for myself and...

    I just now decided to test this for myself and curiously enough I'm not experiencing this with the code from post 1, at least not on the Teensy 4.0 that I have on hand. The only thing I changed was...
  39. Replies
    25
    Views
    902

    Why the need for so many?

    Why the need for so many?
  40. Replies
    25
    Views
    902

    I know because of the schematic and because it...

    I know because of the schematic and because it was talked about before, though personally if I've ever needed more I/O I just use various I/O expanders depending on my needs. Unless you absolutely...
  41. Replies
    25
    Views
    902

    7 additional I/O, 5 pins are duplicated to both...

    7 additional I/O, 5 pins are duplicated to both packages.
  42. I wouldn't necessarily rule out heat being a...

    I wouldn't necessarily rule out heat being a factor, I've messed up the LEDs on these same exact breakout boards from taking too long when soldering wires to them. If they get too hot when you solder...
  43. Replies
    15
    Views
    736

    That is true, but it's not the end of the story,...

    That is true, but it's not the end of the story, I see you had these lines in your code so you may or may not have experimented with them too much:


    // dmachannel1.transferSize(4); // Set the...
  44. Replies
    15
    Views
    736

    I’m curious why you don’t just receive the 8...

    I’m curious why you don’t just receive the 8 bytes from one DMAChannel instead of chaining 2 together that read 4 bytes each?
  45. The register is specified as write 1 to clear so...

    The register is specified as write 1 to clear so it should be like this:


    /* Clear the shifter status flag */
    p->SHIFTSTAT |= 1;

    If I’m understanding correctly then that should be do it.
  46. This is the relevant part from the datasheet that...

    This is the relevant part from the datasheet that I believe is causing the first pulse:


    50.5.1.6 Shifter Status (SHIFTSTAT)
    Shifter Status Flag
    For SMOD=Transmit, the status flag is set when...
  47. FNET supports ip fragmentation so the packets are...

    FNET supports ip fragmentation so the packets are already being split up and reassembled automatically, with ip fragmentation jumbo frames are not being sent (nor does FNET support them as far as I'm...
  48. Replies
    98
    Views
    7,037

    This is what I meant about adding the...

    This is what I meant about adding the client.close() command in my library, remove the delay, and put a client.close() command before the break that Paul added. I didnít document this change too well...
  49. If I had to hazard a guess, it may be that larger...

    If I had to hazard a guess, it may be that larger block sizes are taking longer than the 1ms time slice allows for so the process gets interrupted when it switches back to the other thread and it...
  50. Replies
    98
    Views
    7,037

    On a related note, because of this line:...

    On a related note, because of this line: client.println("Connection: close"); the browser will not close the connection on its own. I discovered this when making my version of the library, what this...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4