Search results

  1. V

    Forum completely inaccessible in Brazil (Error 403 Forbidden)

    Hi Paul, thank you for the reply and in depth explanation. Below are some IPs I have when I try to access the forum and get the 403 error. Please note that those may change, as my ISP provided dynamic IPs and everytime the modem is switched on, a new IP can be assigned. The list includes some...
  2. V

    Forum completely inaccessible in Brazil (Error 403 Forbidden)

    As of today, August 26, 2025, Teensy forum is still inaccessible from anywhere here in my city in Brazil . It doesn't matter if its in my home, work, gym wifi, cell network, all blocked. "Error 403 - Forbidden" message is shown. I can't help but feel left out by the Teensy community. The spam...
  3. V

    Let's talk of possible new accessory boards

    I agree with @chipaudette suggestions! A WiFi and/or Bluetooth module with native library support included in the TeensyDuino install would be excellent! Something similar to how the ESP-32 works (but with an external module). I also like the LiPo charger idea. It is useful not only to set the...
  4. V

    Recent "An error occurred while the page was being generated" issue

    I can now access at home but on my phone and work I still get the error 403 forbidden.
  5. V

    Forum completely inaccessible in Brazil (Error 403 Forbidden)

    Unfortunately, I have limitations in using a VPN on my work computer, where I do most of Teensy related work. I am being able to post in this forum with my phone using a free VPN app only, not the ideal situation.
  6. V

    Forum completely inaccessible in Brazil (Error 403 Forbidden)

    I apologize for creating a new thread on the same subject covered in "An error occurred while the page was being generated". I replied to the thread but didn't get a response. I really need help. The issue is: I'm from Brazil, and I can't access the forum. It tried to access it from home, from...
  7. V

    Recent "An error occurred while the page was being generated" issue

    Hi @PaulStoffregen Forum is completely inaccessible for me (in Brazil) for many days now. I tried to access it at home, at work, smartphone, and nothing works (different IPs, machines and browsers) . For a moment I was thinking that PJRC was gone forever 😭, until I tried to use a VPN. Right...
  8. V

    MTP Problem

    Maybe this is unrelated to Freddie's the issue, but I have recently tried to use __has_include in one of my libraries and spent a log time trying to make it work. The code was something like this: #if defined(__has_include) #if __has_include("myHeaderFile.h") // Checks if the header file...
  9. V

    Teensy 4.1 doesn't boot with VBAT applied. No v3.3 generated.

    Splashes near the on/off pin would be unlikely to happen, since that among the 5 pins below the SD card slot, we only use/solder the VBAT pin, which is as far away as possible from the On/Off pin. I also think it unlikely that this is the cause for two reasons: 1 - The datalogger with this...
  10. V

    Teensy 4.1 doesn't boot with VBAT applied. No v3.3 generated.

    I'm also considering some issues regarding the Teensy LDO regulator NCV8186AMN330TAG, which is present on all my current Teensy 4.1 that failed somehow. In addition to the issue described on this thread (regarding VBAT preventing boot), which happend to me around 3 times, I've also had around 10...
  11. V

    Teensy 4.1 doesn't boot with VBAT applied. No v3.3 generated.

    @sicco I agree that the possibility of water entering the equipment's enclosure, as you describe, is valid and can indeed happen. However, in the cases we've had, the equipment was opened for verification and the inside was completely clean and dry, with no sign of water or insects. In the two...
  12. V

    Teensy 4.1 doesn't boot with VBAT applied. No v3.3 generated.

    @sicco You're absolutely right about the environment and climates where those systems operate. However, the Teensy and all other electronics are placed inside a IP66 enclosure, so no water or insects can contact the electronics. Regarding condensation, it also doesn't happens because the...
  13. V

    Teensy 4.1 doesn't boot with VBAT applied. No v3.3 generated.

    Hi @defragster, thanks for your input. It seems weird to me that the floating On/Off pin would have been triggered, specially when its so uncommon with our Teensies. In any case, considering that I don't need the functionality of the On/Off trigger in my project, VBAT pin is always around 3V due...
  14. V

    Teensy 4.1 doesn't boot with VBAT applied. No v3.3 generated.

    We are facing the same issue (or very similar) with some of our Teensy 4.1 boards. Just for a quick context, we have hundreds of Teensy 4.1-based dataloggers/signal acquisition systems with custom PCBs. These dataloggers operate continuously and often in remote locations, powered by batteries...
  15. V

    Understanding how I killed Teensy 4.0 Serial1 with simple circuit

    That's great info. I'll check that out and see what I can do to improve my current circuit. Thank you all for the help!
  16. V

    Understanding how I killed Teensy 4.0 Serial1 with simple circuit

    Honestly, I have never tough about this problem before and am now concerned. Considering a scenario were I can't change the plug for a newer one specifically designed for hot plugging, is there any easy solution to protect the circuit from this situation (12V pin and data pin connected before...
  17. V

    Understanding how I killed Teensy 4.0 Serial1 with simple circuit

    Nice! So far we have been using just normal 3.3V UART TTL over those 10m wires and it was working normally, while I agree that RS232 or RS485 would be more suitable for the job. The cables are just regular multiconductor cable, unshielded and not twisted. We have been having success with this...
  18. V

    Understanding how I killed Teensy 4.0 Serial1 with simple circuit

    Thanks for the support! I will try to incorporate RS-232 on my next circuit design. Right now, it doesn't have the space or connections for the needed RS-232 transceiver, like the MAX3232. I will try to solve the issue with the diodes and the resistor in the current circuit board version.
  19. V

    Understanding how I killed Teensy 4.0 Serial1 with simple circuit

    No, it doesn't. Most of the times, all of them will connect the same time. Depending on the inclination of the plug or if any of the pins are loose, any of them could connect first than the other. That's a very interesting take. Haven't tough of this before . Nice ideia! Would it be something...
  20. V

    Understanding how I killed Teensy 4.0 Serial1 with simple circuit

    Hi Paul! The connector has a specific orientation that prevents it from being plugged in any other way. Check the image below: Even so, after the first Teensy was damaged, I took extra care to plug and unplug the connector the right way and without jiggling. The new Teensy 4.0 still suffered...
  21. V

    Understanding how I killed Teensy 4.0 Serial1 with simple circuit

    I have an application where one Teensy 3.5 (main module) communicates with a Teensy 4.0 (remote module) over a 10 meter wire. This wire carries the TX and RX signals from Teensy 3.5 Serial6 to Teensy 4.0 Serial1, GND and 12V that powers the remote. The 12V line goes to a step-down to convert to...
  22. V

    Interrupt on Serial Data receive Teensy 4.0 USB port

    ericscottf, another option would be to use TeensyThreads library and have one thread be your main (with the code you currently have inside loop) and other thread keeps checking the USB Serial for available data. Keep in mind that TeensyThreads is buggy and unmaintained. I also don't recommend...
  23. V

    Suggestion to get maximum accuracy when reading frequency of external crystal

    Thank you all for the replies and suggestions! Ok, now I got the general idea. I will try this out in the future depending on the outcomes of my current test setup. So as far as I understand, in order to achieve this I would need to have an external oscillator and an external clocked...
  24. V

    Suggestion to get maximum accuracy when reading frequency of external crystal

    Hi mborgerson and Paul! Thanks for the insightful replies as always. I ended up ordering two different external oscillator: Pletronics 1ppm VCTCXO and Connor Winfield 5ppb OCXO My first attempt was to remove the standard Teensy 24 Mhz crystal and connect the output of the external Pletronics...
  25. V

    Suggestion to get maximum accuracy when reading frequency of external crystal

    That's great advice, Paul! If a TCXO has enough temperature stability for my use case, what would be the specs I should look for when selecting the part? For example, input voltage, output signal form and voltage. Maybe if you could provide the exact part number of the current 24 MHz crystal...
  26. V

    Suggestion to get maximum accuracy when reading frequency of external crystal

    I'am working on a project using Teensy 4.1 where I read the frequency of a Quartz Crystal Microbalance (QCM) using the FreqCount library. My goal is to be able to detect very small changes on the QCM frequency (natural frequency around 5 MHz) caused by deposition of material (added mass) over...
  27. V

    Teensy 4 Arduino 2.0.3 addr2line tutorial

    Doesn't seem to be your case, because you are using Arduino IDE, but I had the same problem when using VSCode + PlatformIO and the solution was to include the compilation flag "-g" when compiling the sketch. Make sure Arduino IDE is including this. Another thing to keep in mind is that you may...
  28. V

    Unintentional HIGH when uploading code to the Teensy 4.1

    I just stopped using pin 48 and moved to another pin. I am not planning on changing the default startup code, and would have to do this every time we update Teensyduino. It seems like adding a pulldown resistor to pin 48 wouldn't help either, because it is being actively driven high. Thanks...
  29. V

    T4 CrashReport Debugging on a Mac

    @jmarsh Applying this patch solved the issue for me! Many thanks. Now if the crash happens inside the thread, the correct place is show in addr2line and the .lst file.
  30. V

    Unintentional HIGH when uploading code to the Teensy 4.1

    Thanks jmarsh! I decided to change from pin 48 to other pin and this fixed the issue for me. As for pin 36, I placed a pull-down using a 1K ohm resistor and was also able to solve the issue with this pin. Still not able to understand why it only happens with certains pins, thou.
  31. V

    Teensy 4 Arduino 2.0.3 addr2line tutorial

    Great post! Helped me a lot when I was getting started with CrashReport functionality :D
  32. V

    Unintentional HIGH when uploading code to the Teensy 4.1

    I am currently facing a similar issue but with different pins: 36 and 48 (back) on Teensy 4.1. My situation is very similar to the one from @mwolters. I have chosen 8 different digital pins to control 8 relays, and pins 36 and 48 always started HIGH during Teensy startup, even if it was just a...
  33. V

    Multiple issues using TeensyThreads on T3.5. Dynamic heap allocation problems.

    My final solutions - still using those As this thread became long, I will add to phorton1 solution above and try to summarize my final solution to both problems related with TeensyThreads (non-reentrant code and malloc/new). I hope that someone finds this useful. Problem: malloc() does not...
  34. V

    T4 CrashReport Debugging on a Mac

    Thanks @defragster and @jmarsh for the tips! I will modify my code to start using the CrashReport.breadcrumb functionality to help better track the crashes. Also, just a quick question: Is the location where CrashReport stores information to be displayed when Teensy reboots different than the...
  35. V

    T4 CrashReport Debugging on a Mac

    The breadcrumbs functionality seem very nice. However, I am still not sure which strategy to use to help me pinpoint unknown crashes that I have no idea where could have happened (think a 40000+ lines program that crashes intermittently, with 4 cooperative threads). Maybe if I at least knew...
  36. V

    T4 CrashReport Debugging on a Mac

    Hello all! Sorry for commenting on this old thread but I am facing a very similar issue regarding debugging a crash in a Teensy sketch that uses threads (TeensyThreads library). I have noticed that every time the crash occurs inside a thread, the crash report will report the "yield()" function...
  37. V

    issues with USB mass storage function within TeensyThreads

    The main thread is usually thread ID 0. You can check it by running threads.id() function. To create other threads, you will use threads.addThread(thread_function), which creates the thread and will return the thread ID of the created thread. There are many ways to use TeensyThreads, as it...
  38. V

    issues with USB mass storage function within TeensyThreads

    Not exactly the answer for your specific problem, but I do have my two cents related to the issue with TeensyThreads, which may or may not be helpful to you. I have a very large program (30k + lines of code) which use dozens of different libraries, none of them directly thread safe. In the...
  39. V

    teensy 4.1 analogRead inconsistenct

    That's great! Thanks for sharing the results. That's exactly my case, a code port from a Teensy 3.5 to 4.1 and this ADC pinMode config change was going completely unnoticed. Glad I read this post out of curiosity while scrolling through the forum.
  40. V

    teensy 4.1 analogRead inconsistenct

    Hi lokki, were you able to fix the problem adding pinMode(xx, INPUT_DISABLE) to setup()? I was not aware of this issue and will probably need to fix all my T4.1 projects if that's the case.
  41. V

    Ethernet Teensy 4.1 connection problem - NativeEthernet bug?

    1+ for using QNEthernet. It uses more RAM, but it's more stable and has more options than NativeEthernet. I had better luck with QNEthernet in my projects. Also, it's more actively maintained.
  42. V

    QNEthernet using 80k RAM

    Just a quick update. I have tested with the last version which integrates the "buffers-in-RAM2" modification and everything seems to be working great. Gained extra 15K bytes of RAM1 space, which is precious for my application. Many thanks!
  43. V

    QNEthernet using 80k RAM

    That's amazing! Thanks again shawn and Paul for all the support. Looking forward to the next QNEthernet release :D
  44. V

    QNEthernet using 80k RAM

    Hi Shawn, I built with the later compiler and it did in fact help. The RAM1 usage went down by 40kB. As for reducing the lwIP pre-allocates, I didn't have much success. Setting LWIP_MDNS_RESPONDER to 0 did not affect my RAM usage. Changing MEMP_NUM_UDP_PCB to 2 instead of 8 and MEMP_NUM_TCP_PCB...
  45. V

    QNEthernet using 80k RAM

    Hello @shawn, first of all, thank you for creating and maintaining this awesome library! I had better luck with QNEthernet than the NativeEthernet library and recently started using it on my project. However, I noticed that in my case, the RAM1 consumption for this library is 100 kB higher than...
  46. V

    Teensyduino File System Integration, including MTP and MSC

    @KurtE and @defragster thanks for all the info! I have tried many things and I think I managed to "solve" my issue regarding slow USB Serial initialization times. I just need to remove the Serial.begin() function. Than magically everything starts up fast again, both MTP and SERIAL. The other...
  47. V

    Teensyduino File System Integration, including MTP and MSC

    Wow, I didn't know that it was possible. Thanks for showing me that thread! For Teensy 4, would the procedure be similar? And also, in that example, the EEPROM was checked right after the startup, so the desired behavior was to just delay the USB initialization to be able to choose which...
  48. V

    Teensyduino File System Integration, including MTP and MSC

    @KurtE , first of all, thank you very much for developing this library, it's super useful! :D I have been using the latest version from the repo and TD1.57. I would like to be able to only activate the MTP functionality when the user sends a specific "Switch MTP ON command", which would begin...
  49. V

    CryptoAccel library use with T4.1 for encryption/decryption

    Ecodrone, I have also written a very basic and incomplete "library" based on the dcptst.ino code by Manitou. So far it seems to work when I use the same settings as the example function do_aes(); When I tried to explore some other options, like using a different kind of key such as OTP key or...
  50. V

    AES Encryption & Decryption on Teensy 4.x

    Hello guys, it's been a while... If I used the OTP key or Unique key options, which are factory defined, stored inside the processor, unchangeable and unreadable from software as far as I know (I do not have access to the security manual of the processor), would it be more secure? I ended up...
Back
Top