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

Search:

Type: Posts; User: PaulStoffregen

Page 1 of 10 1 2 3 4

Search: Search took 0.14 seconds.

  1. Maybe you're experiencing this bug? ...

    Maybe you're experiencing this bug?

    https://forum.pjrc.com/threads/71370-Teensy4-1-reading-from-Serial-Monitor-of-Arduino-IDE?p=316273&viewfull=1#post316273
  2. Replies
    12
    Views
    180

    Again, answers about "how" and "why" over the...

    Again, answers about "how" and "why" over the internet are usually just blind guesswork.

    But generally speaking, the BGA chips can handle a pretty incredible amount of heat if it is uniform across...
  3. To achieve fast write speeds, you will need to...

    To achieve fast write speeds, you will need to collect data into buffers in memory and write in fairly large chunks. 4096 bytes per write should work well with A1 & A2 cards. Larger sizes are...
  4. Replies
    4
    Views
    98

    Arduino 2.0.x does not support "portable mode" as...

    Arduino 2.0.x does not support "portable mode" as Arduino 1.8.x did.

    It has been requested here:

    https://github.com/arduino/arduino-ide/issues/122

    I can't speak for Arduino, whether they...
  5. Rather than pour a lot more time into this issue,...

    Rather than pour a lot more time into this issue, which is probably in the Arduino IDE code, I'm going to "solve" it by detecting when "Serial ports" was used to select Teensy. Future versions will...
  6. Replies
    12
    Views
    180

    I hope you can understand I'm only (sometimes)...

    I hope you can understand I'm only (sometimes) able to answer "what" on these sorts of over-the-internet hardware troubleshooting but rarely "how" or "why" things went wrong.

    In this case, the...
  7. Replies
    12
    Views
    180

    This is very likely caused by damage to the flash...

    This is very likely caused by damage to the flash memory chip, or connection between the flash chip and IMXRT processor.

    On Teensy 4.1 the flash chip is very close to I/O pins 24 and 26. Any...
  8. @Defragster - please start a new thread regarding...

    @Defragster - please start a new thread regarding any issues other than this problem where Arduino 2.0.2's Upload becomes disabled. Maybe edit msg #13 & msg #14 to be just a link to that new thread?...
  9. Ok, I read the Arduino forum thread and played...

    Ok, I read the Arduino forum thread and played with this more.

    It seems the problem depends on whether you select "Serial ports" or "teensy ports".

    29818

    Quick fix, just select the "teensy...
  10. I tried uploading the code from msg #16...

    I tried uploading the code from msg #16 to a Teensy 4.1 on Windows 10 with Arduino 2.0.2 and Teensyduino 1.57.1. I uploaded many times with the serial monitor open, but I could not reproduce any...
  11. Teensy LC lacks the ARM DWT hardware. An #ifdef...

    Teensy LC lacks the ARM DWT hardware. An #ifdef check would be needed to not compile it with Teensy LC.
  12. Can you be more specific about "not detected by...

    Can you be more specific about "not detected by laptop at all". Remember, nobody can see your screen or see which things you are attempting and the results your observing. Please try to be specific...
  13. Replies
    62
    Views
    5,569

    Sticky: Thanks for testing. MacOS can be a challenge...

    Thanks for testing. MacOS can be a challenge sometimes, really helps to get test results like this. :)

    @bicycleguy - if the missing input lines problem returns, please open Terminal and type "ps...
  14. The situation with public APIs is less than...

    The situation with public APIs is less than ideal. Many useful things can only really be accomplished by hard-coding low level stuff.

    But more importantly, the conditions today are far from good...
  15. Replies
    62
    Views
    5,569

    Sticky: Or maybe it can work on Ventura?! Just as I was...

    Or maybe it can work on Ventura?! Just as I was giving up, seems I stumbled on the problem with /usr/bin/open somehow depending on stdin (without any input).

    29813

    Here is a copy of...
  16. Replies
    62
    Views
    5,569

    Sticky: I've spent several hours on the MacOS Ventura...

    I've spent several hours on the MacOS Ventura issue, and I'm sad to say I'm completely stuck.

    Inside teensy_post_compile, when Teensy Loader needs to run, it uses /usr/bin/open with the full path...
  17. Replies
    62
    Views
    5,569

    Sticky: Just to confirm, I was able to reproduce this...

    Just to confirm, I was able to reproduce this problem on MacOS Ventura.

    29810
  18. Generally speaking, public APIs get ported. So...

    Generally speaking, public APIs get ported. So when delayNanoseconds() and digitalToggle() were added relatively recently, they were implemented across all Teensy models, even back to Teensy 2.0.
    ...
  19. Thanks for testing. I really should have done...

    Thanks for testing. I really should have done this weeks ago, but at least now this serial monitor issue is finally fixed. But I still need to work on the new toolchain for MacOS and the lesser...
  20. I left the serial monitor panel open every time I...

    I left the serial monitor panel open every time I clicked Upload (using the small test program) and I was not able to reproduce this problem after a few dozen tries.

    If you give me a complete...
  21. void setup() { pinMode(13, OUTPUT); ...

    void setup() {
    pinMode(13, OUTPUT);
    Serial.begin(9600); // not needed
    Serial.println("Begin");
    }

    void loop() {
    static unsigned int count = 0;
    Serial.print("count = ");
    ...
  22. I tried dozens of uploads with Arduino 2.0.2 and...

    I tried dozens of uploads with Arduino 2.0.2 and a simple program. Could not get any behavior where the Upload button remains grayed out.

    29802

    Clicking either Verify or Upload causes the...
  23. Ok, I believe I have a fix for this problem on...

    Ok, I believe I have a fix for this problem on Windows. If anyone is still watching this thread, please give this teensy-monitor.exe a try. Does it fully solve the problem on your machine?

    On my...
  24. Replies
    2
    Views
    49

    First, check File > Prefs. The URL needs to be...

    First, check File > Prefs. The URL needs to be this:

    https://www.pjrc.com/teensy/package_teensy_index.json

    If it has "156", delete the old URL and use this one.

    Then in the Boards Manager,...
  25. Looking at this issue again today. Can confirm,...

    Looking at this issue again today. Can confirm, reproducible with Arduino 2.0.2 on Windows. Can't reproduce it on Linux. Haven't tried MacOS yet.

    29800
  26. Replies
    7
    Views
    173

    Those are the digital audio pins.

    Those are the digital audio pins.
  27. Yup, it was a bug in the USB MIDI code affecting...

    Yup, it was a bug in the USB MIDI code affecting transmit when running at 12 Mbit/sec speed.

    I've committed a fix on github.
    ...
  28. That's really a question about the cheap USB...

    That's really a question about the cheap USB isolator product, which PJRC does not make or sell.

    On this Amazon product page the product description says "The product onboard power supply Sunrise...
  29. Replies
    3
    Views
    146

    Very unlikely any Teensy 4.1 with the original A...

    Very unlikely any Teensy 4.1 with the original A chip are still being sold. Teensy 4.1 completely ran out of stock from May to July 2021 before the first batch with new B chips. Since then, stock...
  30. Replies
    3
    Views
    146

    No, there is no warranty replacement for simply...

    No, there is no warranty replacement for simply having the earlier version of the hardware (which is also well over 1 year old now).

    Have you actually encountered problems from either of those...
  31. Replies
    3
    Views
    119

    Are you using the USB host port on Teensy 3.6? ...

    Are you using the USB host port on Teensy 3.6? That's the main feature you don't get with Teensy 3.5. Those pins become just 2 more analog inputs on Teensy 3.5.

    Also check how much of the...
  32. Ah, but perhaps there is a software bug impacting...

    Ah, but perhaps there is a software bug impacting USB MIDI when running at 12 Mbit speed. I've added it to my list of issues to investigate.
  33. Maybe this thread can help? ...

    Maybe this thread can help?

    https://forum.pjrc.com/threads/71472-Customize-the-Teensy-Loader-and-using-the-LPUART-to-load-the-code?p=315644&viewfull=1#post315644

    I specifically tested ADUM3160....
  34. Replies
    13
    Views
    1,701

    Just in the last couple days I've spent way more...

    Just in the last couple days I've spent way more time than I wanted on voltage regulators.

    Even made this test on my workbench, since some of them have less than reliable info...

    29793
  35. In many of its modes, Teensy uses HID protocol...

    In many of its modes, Teensy uses HID protocol rather than Serial. MIDI, Audio, and MTP (all without being Serial) are also possible.

    If you are used to Arduino boards which always uses Serial...
  36. If the LED anode is connected to 3.3V and the...

    If the LED anode is connected to 3.3V and the resistors connected to the cathode, so logic low turns on the LED, you could use pinMode OUTPUT_OPENDRAIN to avoid any conflict.

    But the conflict...
  37. Replies
    34
    Views
    5,871

    Teensy 4.0 is shipping again. Many went out...

    Teensy 4.0 is shipping again. Many went out today, and we even managed to ship some over the weekend.

    Most of them are still in production. We'll get more each week out of production and into...
  38. Replies
    2
    Views
    121

    Yikes, that's hot. Definitely not normal for...

    Yikes, that's hot. Definitely not normal for free air convention cooling, but if tightly wrapped in an insulator, could happen.

    Try reducing the speed in Tools > CPU Speed. If you can run at...
  39. Every time I write code for those timers (and...

    Every time I write code for those timers (and must admit, it's been quite a while) I keep the reference manual open on my screen right next to the code window. With some registers you write a 1 bit,...
  40. As far as I know, nobody has done much...

    As far as I know, nobody has done much benchmarking on USB host serial driver speed, so the only info available would be guesswork.

    My guess is software overhead inside USBHost_t36 probably limits...
  41. Have you tried the easiest, but not necessarily...

    Have you tried the easiest, but not necessarily most efficient way, of just connecting a wire from XLAT/BLANK to another pin and then use attachInterrupt() on that pin?
  42. Yes, you can do this with 2 resistors. Just try...

    Yes, you can do this with 2 resistors. Just try to avoid driving the pins to opposite outputs. If each pin has its own resistor, the hardware should be fine, but it does waste power.
  43. Which Teensy are you using? I believe all of...

    Which Teensy are you using?

    I believe all of them work with the Tlc5940 library. Support for Teensy 4.0 & 4.1 was added fairly recently, so make sure you have version 1.57 installed.
  44. Are you using MacOS, Windows or Linux? Which...

    Are you using MacOS, Windows or Linux? Which version? Are you running directly on real hardware, or inside a virtual machine?
  45. As for what went wrong that killed your hardware,...

    As for what went wrong that killed your hardware, I don't know and really can't know from only this info.

    I can say the thing we've seen over and over that instantly kills a Teensy 4 is...
  46. I believe the beta test Defragster mentioned was...

    I believe the beta test Defragster mentioned was the period from December 2018 to August 2019, before Teensy 4.0 was released.

    The first ~6 months were before NXP released the RT1062 chip, so we...
  47. Confirm, on Teensy 4.0 the PIT timer has only a...

    Confirm, on Teensy 4.0 the PIT timer has only a single interrupt slot, so all 4 timers get the same priority. It is a hardware limitation.

    With older Teensy 3.x the timers did have separate...
  48. I'll try to do something with an upcoming beta. ...

    I'll try to do something with an upcoming beta. Hopefully you can keep that problematic Lenovo S30 around for testing? Since I have no way to reproduce the problem here, I'm going to be depending...
  49. Replies
    3
    Views
    314

    We *were* selling Teensy 3.5 at $29.45 (usd) but...

    We *were* selling Teensy 3.5 at $29.45 (usd) but stock ran out. Some are still in the shipping queue or still in transit to distributors, but those are (probably) the very last Teensy 3.5 for quite...
  50. Replies
    6
    Views
    463

    Looks like I can move C17. It's not much, but...

    Looks like I can move C17. It's not much, but the distance from C29 has always been so close than even a small change can make an improvement, which hopefully will make solder bridging less likely....
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4