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.13 seconds.

  1. Very strange, I can only reliably reproduce the...

    Very strange, I can only reliably reproduce the problem once after restarting the IDE. If I close and reopen the serial monitor, it's able to reconnect after every button-triggered upload. Seems to...
  2. I'm running the code from msg #7. I do not fully...

    I'm running the code from msg #7. I do not fully understand all the instructions and description of the problem.

    But I was able to reproduce the issue (only on Windows) where sometimes the serial...
  3. Replies
    4
    Views
    99

    Maybe "Power Up Sequence" on this page can help?...

    Maybe "Power Up Sequence" on this page can help?

    https://www.pjrc.com/store/ic_mkl02_t4.html

    Be sure to click the little buttons above or below the schematic...
  4. This question has come up several times this...

    This question has come up several times this year.

    Maybe we should add an example to the SD library to demonstrate high speed writing with use of a large buffer?
  5. I changed all the examples with .pde to .ino in...

    I changed all the examples with .pde to .ino in the copy for Teensy.

    Or at least I thought I did. If you see any I missed, please let me know?
  6. Replies
    4
    Views
    146

    Click File > Preferences. The first item on the...

    Click File > Preferences. The first item on the Settings panel should be "Sketchbook location". Whatever pathname you see, I believe you're supposed to create a "libraries" folder at that location...
  7. Could be SoftwareSerial. On Teensy 3 & 4 the...

    Could be SoftwareSerial.

    On Teensy 3 & 4 the SoftwareSerial library uses the actual hardware if you choose pins which have hardware serial. So try something like this:


    SoftwareSerial...
  8. Replies
    6
    Views
    227

    I really want to figure out what's going wrong. ...

    I really want to figure out what's going wrong. Would you be willing to run some tests?
  9. Replies
    9
    Views
    367

    Yes. Documentation for all the possible audio...

    Yes. Documentation for all the possible audio interfaces is in the audio library design tool.

    https://www.pjrc.com/teensy/gui/

    As you click on the features on the left side panel, or drag them...
  10. Replies
    2
    Views
    106

    Yes. In fact, the next batch of audio shields...

    Yes. In fact, the next batch of audio shields will use the 20 pin part, since the 32 pin version is unavailable.




    Just connect the pins with the same signal names. The bottom side pad is...
  11. Replies
    5
    Views
    191

    Ok, I know this sounds strange, but trust me... ...

    Ok, I know this sounds strange, but trust me...

    Use Boards Manager to install 1.57.1. It should solve the FQBN error. Then use Boards Manager to go back to 0.58.2. You should see the FQBN error...
  12. I was able to reproduce the problem. Looks like...

    I was able to reproduce the problem. Looks like it's not just Teensy, as I was able to see it with Arduino Leonardo.

    I created this little demo video. Does this look like the same problem...
  13. I searched for "serial monitor" and read through...

    I searched for "serial monitor" and read through titles of 61 open issues. The only one I found that seems sort of close is 1508.

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

    Mostly just...
  14. Arduino has opened issue #1772 regarding this...

    Arduino has opened issue #1772 regarding this problem (Upload menu disabled, not the new thread about lack of serial monitor screen refresh)

    https://github.com/arduino/arduino-ide/issues/1722
    ...
  15. Info here: ...

    Info here:

    https://www.pjrc.com/arduino-ide-2-0-0-teensy-support/

    The install process using Arduino 2.0.x Boards Manager installs a copy of all the same libraries as you would get from the old...
  16. Replies
    37
    Views
    6,712

    The short answer is no, we really don't know when...

    The short answer is no, we really don't know when we'll be able to get Teensy 3.2 back in stock.

    We ordered a large number of Kinetis chips in 2021. Latest info shows NXP will deliver about 15%...
  17. Insight about the possible cause is nice, but...

    Insight about the possible cause is nice, but what's really needed is clearly described steps to reproduce the problem. If I can't reproduce it, odds pretty slim it'll ever get fixed.

    Especially...
  18. Upload definitely could not work at all, not even...

    Upload definitely could not work at all, not even begin, if the K66 chip is damaged.
  19. Replies
    3
    Views
    188

    Just a blind guess, since I can't see the rest of...

    Just a blind guess, since I can't see the rest of your program, but perhaps you're using FastLED with the default WS2812 driver which blocks interrupts? It's known to block incoming serial and...
  20. Replies
    5
    Views
    258

    Can't see the photo. Google wants a login just...

    Can't see the photo. Google wants a login just to view. Can you show it here in a message? Click the "insert image" button here on the forum to add it.

    Good news is NXP delivered more chips. ...
  21. Replies
    5
    Views
    161

    Maybe you're looking at "idle" (CPU not running)...

    Maybe you're looking at "idle" (CPU not running) current rather than "active"?

    Also pay close attention to the description of test conditions. Atmel specifies "active" current with all...
  22. The old PCB has 3 capacitors and 1 resistor. But...

    The old PCB has 3 capacitors and 1 resistor. But it's really 2 pairs of parts in parallel.

    The ones joining the grounds were completely unnecessary.

    The other pair became just a single 0.1uF...
  23. Replies
    2
    Views
    232

    The PWM pins can generate waveforms that are an...

    The PWM pins can generate waveforms that are an integer divide of the peripheral clock, which is 150 MHz when Teensy 4.1 runs at 600 MHz.

    So you can get 25 MHz with analogWriteFrequency() and...
  24. Ethernet magjacks have many different pinouts. ...

    Ethernet magjacks have many different pinouts. There is no official or de-facto standard.

    During Teensy 4.1 development, we used UDE RB1-125BAG1A, which has a completely different pinout from...
  25. Which ethernet magjack did you solder to your...

    Which ethernet magjack did you solder to your PCB?

    Design looks correct for Cetus J1B12111CCD or Link-PP LPJ4012AHNL (the 2 possible parts used on the ethernet kit - PJRC has used both of these...
  26. 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
  27. Replies
    13
    Views
    403

    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...
  28. 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...
  29. Replies
    5
    Views
    226

    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...
  30. 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...
  31. Replies
    13
    Views
    403

    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...
  32. Replies
    13
    Views
    403

    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...
  33. @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?...
  34. 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...
  35. 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...
  36. 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.
  37. 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...
  38. Replies
    66
    Views
    6,665

    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...
  39. 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...
  40. Replies
    66
    Views
    6,665

    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...
  41. Replies
    66
    Views
    6,665

    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...
  42. Replies
    66
    Views
    6,665

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

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

    29810
  43. 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.
    ...
  44. 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...
  45. 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...
  46. 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 = ");
    ...
  47. 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...
  48. 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...
  49. Replies
    5
    Views
    191

    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,...
  50. 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
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4