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

Search:

Type: Posts; User: PhilK

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    252

    How to watch for out-of-memory errors?

    Hi,

    If the stack or malloc heap in Teensy 4.x grows too large for the space available, how will I know? I'm starting to suspect out-of-memory errors in some strange crashes I'm seeing. Is there...
  2. Replies
    7
    Views
    381

    teensy_loader_cli executable for windows?

    Does anyone happen to have a windows executable for teensy_loader_cli, the Teensy Loader Command Line Interface, that is recent enough to work with Teensy 4.1? I am quite unfamiliar with gcc...
  3. Replies
    131
    Views
    9,113

    Based on this quote, I'd think you'd agree that...

    Based on this quote, I'd think you'd agree that the conditional of the second if statement has a mistake and should be _socket_num instead of socket_num?



    (P.S. Thanks for the contribution of...
  4. Replies
    131
    Views
    9,113

    I think you're right about the history of the...

    I think you're right about the history of the code. But it feels like perhaps the intent was to do limit-checking on the input parameter to the function, and so this is a typo? Perhaps such...
  5. Replies
    131
    Views
    9,113

    Hi, I was looking through NativeEthernet.cpp and...

    Hi, I was looking through NativeEthernet.cpp and found this function:

    void EthernetClass::setSocketNum(uint8_t _socket_num){
    if(socket_num != 0) return;
    if(socket_num >...
  6. Thank you!!! I will try that. If I can't always...

    Thank you!!! I will try that. If I can't always prevent the overflow, once the ring buffer is full, is there some special step I have to do to get it un-stuck and back into normal operation (do I...
  7. I have studied the problem a bit more, and...

    I have studied the problem a bit more, and suspect that it occurs under conditions where the Teensy is flooded with incoming packets right at the moment of startup. My working theory (perhaps...
  8. Teensy 4.1 ethernet "receiver not active" error

    Hello, there is a bit of code inside the teensy41_ethernet.ino sketch which is:

    if (!(ENET_RDAR & ENET_RDAR_RDAR)) {
    print("receiver not active\n");
    }


    I have been finding that under...
  9. Any way to access HTTPS secure web sites with a Teensy?

    Is there any pre-existing library to allow a Teensy 3.x or 4.x to access a secure HTTPS web site through ethernet? Seems like nowadays that people have seen that IOTs can become dangerous botnets,...
  10. Just gave this a try; using the USBHost_t36 on...

    Just gave this a try; using the USBHost_t36 on the second port of a Teensy 3.6, all the USB mice I have work perfectly, including the Teensy-based mouse and also a MKRZERO-based mouse, (both of which...
  11. Thank you both for your guidance. Pointed by you...

    Thank you both for your guidance. Pointed by you in the correct direction to meander, I think I am coming to an improved understanding. As I understand it, a USB mouse may operate in two different...
  12. Since it appears the error occurs in the...

    Since it appears the error occurs in the CircuitsAtHome code, I would think this issue could be duplicated by using a Teensy USB host shield and then plugging a Teensy LC or Teensy 3.6 HID device...
  13. Teensy-based mouse can't connect to CircuitsAtHome USBhost

    A bit of a surprise, but I have a Teensy 3.6-based mouse (i.e. USB HID device) which works fine on windows machines. I also have an Arduino Due-based USB host, which is running the Arduino-official...
  14. Aha! Yes, I see now that the SGTL5000 requires a...

    Aha! Yes, I see now that the SGTL5000 requires a 1.8V supply on pin 30 for its inner digital circuitry, but the digital interfacing is all conducted at 3.3V. Very straightforward. Thank you!
  15. Why is there a 1.8V regulator on the Audio Shield?

    Hi, I noticed there is a 1.8V regulator on the audio shield. https://www.pjrc.com/store/teensy3_audio.html

    This unnerves me because I don't understand why it's necessary. It appears to suggest...
  16. Replies
    6
    Views
    1,005

    Thank you!! I am still waiting for hardware,...

    Thank you!! I am still waiting for hardware, but I will check this out and update later. Much appreciated!
  17. Replies
    6
    Views
    1,005

    Support for higher sample-rate ADCs and DACs

    Hi, I was intending to use the audio shield for DAC and ADC functionality in a commercial project where I plug the Teensy3.6 into a custom PCB; I will probably still do this for the experience. ...
Results 1 to 17 of 17