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. Might still be more issues to fix. Difficult to...

    Might still be more issues to fix. Difficult to say without a way to reproduce the problem.

    I'm going to put the timer code into teensy-discovery.exe too, but only slow polling, so it also...
  2. More audio shields are coming, but we don't have...

    More audio shields are coming, but we don't have a precise date yet.

    Production of another batch was held up by a shortage on the SD sockets. We got new (slightly different part) SD sockets, but...
  3. In the small Teensy Loader window, click Help >...

    In the small Teensy Loader window, click Help > Verbose Info.

    You can use the Log menu to save it all to a file. Then here on the forum, click "Go Advanced" to get the full editor which lets you...
  4. Audio Guestbook need the SGTL5000 codec chip...

    Audio Guestbook need the SGTL5000 codec chip which is on the audio shield.
  5. As another quick & easy test, after confirming...

    As another quick & easy test, after confirming you can talk to Teensy 3.6 plugged in directly, what do you get in the kernel log if you plug in a USB hub, and then plug Teensy 3.6 into that hub?
  6. I don't know why it's not working. But I'm...

    I don't know why it's not working.

    But I'm pretty sure it's not udev rules or software like modemmanager, because the kernel log shows "new high-speed USB device" but not "New USB device found,...
  7. Replies
    5
    Views
    95

    Would it be too obvious to answer "why" that...

    Would it be too obvious to answer "why" that Teensy's core library was meant to be run on real NXP IMXRT hardware rather than an emulator?
  8. On the CPU usage from teensy-serialmon.exe...

    On the CPU usage from teensy-serialmon.exe polling, if you just unplug the USB cable while the serial monitor is open and working, it will go into rapid polling mode for 15 seconds. The polling is...
  9. Can you try a different USB cable? Some really...

    Can you try a different USB cable?

    Some really low quality cables work fine for 12 Mbit speed but fail to communicate successfully at 480 Mbit speed.
  10. Replies
    11
    Views
    279

    Maybe in File > Prefs you have the older index...

    Maybe in File > Prefs you have the older index URL, the one with "156" in the middle?

    I recently deleted the old index file and made it a symbolic link to the main one. If you had stuff installed...
  11. teensy-serialmon.exe has 4 threads, so in a worst...

    teensy-serialmon.exe has 4 threads, so in a worst case scenario it could tie up only 4 CPU cores. Whatever is hitting all 20 cores is probably from Arduino.
  12. Yes, I saw that too. Pretty sure it's Arduino...

    Yes, I saw that too. Pretty sure it's Arduino IDE, not anything about Teensy. Looks like auto-scroll which wasn't perfect in 2.0.2 got even worse in 2.0.3.
  13. Ok, here is my first attempt a workaround for...

    Ok, here is my first attempt a workaround for delayed or missing WM_DEVICECHANGE messages. It uses polling at 20 Hz when a change seems likely, then backs off to slow 1.2 seconds polling after 15...
  14. No. For Teensy 4.1, all you need is...

    No. For Teensy 4.1, all you need is Wire2.begin(), because pins 24 & 25 are the default pins for Wire2.

    After begin, you must use "Wire2", not "Wire", for all communication.

    If using a library...
  15. How do TeraTerm and Putty handle unplugging the...

    How do TeraTerm and Putty handle unplugging the USB cable while Teensy is connected? Do they consume excessive CPU and/or get stuck?
  16. Oh I'm so glad to hear this. Sounds like I might...

    Oh I'm so glad to hear this. Sounds like I might be saved from having to run Windows 11. ;)




    Sadly, the only workaround I can imagine involves polling, which fundamentally has a trade-off...
  17. Do you get the "Access is denied" error if you...

    Do you get the "Access is denied" error if you close the serial port in TeraTerm or Putty before attempting to upload with Arduino?
  18. Looks like I might finally have to get a machine...

    Looks like I might finally have to get a machine capable of running Windows 11.

    But first I have a couple (ugly) ideas for getting around the unreliable arrival of WM_DEVICECHANGE messages. ...
  19. Does killing the serial-discovery.exe process...

    Does killing the serial-discovery.exe process between starting the IDE and pressing Teensy's pushbutton make any change?
  20. I'm running Defragster's sketch from msg #7...

    I'm running Defragster's sketch from msg #7.

    To reproduce the problem, after uploading and opening the serial monitor (with Teensy Port selected), I quit and restart the IDE. When the IDE...
  21. Tried turning off "Arduino: Check For Updates". ...

    Tried turning off "Arduino: Check For Updates". At least for the problem I'm able to reproduce, made no difference.

    Likewise, trying quickly after starting the IDE versus waiting a minute for it...
  22. I'm continuing to investigate this problem. ...

    I'm continuing to investigate this problem. Seems like something is causing Windows WM_DEVICECHANGE messages to be delayed or sometimes not arrive at all, which plays havoc with teensy-discovery.exe...
  23. Some of those problems sound like the bugs in...

    Some of those problems sound like the bugs in pre-10 versions of Windows.

    Thankfully Microsoft finally shipped pretty good USB drivers with Windows 10.
  24. This page has the Teensy Wire library...

    This page has the Teensy Wire library documentation.

    https://www.pjrc.com/teensy/td_libs_Wire.html

    Scroll down to "Pin Configuration"

    Don't use pinMode() after Wire.begin(), as it will...
  25. Replies
    9
    Views
    690

    I photo etched a lot of PCBs in the 1990s. Made...

    I photo etched a lot of PCBs in the 1990s. Made a light exposure table with UV florescent tubes in 1989, and even built an "acid swishing machine" in 1992 with the stepper motors from old 8 inch...
  26. Indeed, so much shorthand is one of the things...

    Indeed, so much shorthand is one of the things that also confuses me at times.
  27. 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...
  28. 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...
  29. Replies
    4
    Views
    152

    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...
  30. 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?
  31. 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?
  32. Replies
    4
    Views
    243

    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...
  33. 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...
  34. Replies
    6
    Views
    299

    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?
  35. Replies
    11
    Views
    476

    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...
  36. Replies
    2
    Views
    136

    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...
  37. Replies
    11
    Views
    279

    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...
  38. 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...
  39. 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...
  40. 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
    ...
  41. 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...
  42. Replies
    37
    Views
    6,974

    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%...
  43. 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...
  44. 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.
  45. Replies
    3
    Views
    213

    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...
  46. Replies
    5
    Views
    319

    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. ...
  47. Replies
    5
    Views
    194

    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...
  48. 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...
  49. Replies
    2
    Views
    267

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