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

  1. Replies
    13
    Views
    1,765

    Sticky: This is a known bug with OpenJDK used by Arduino...

    This is a known bug with OpenJDK used by Arduino 1.8.11 and 1.8.12. It has nothing to do with Teensyduino. Those versions of Arduino (without Teensyduino) will crash the same way. More info here:...
  2. Replies
    19
    Views
    1,354

    Maybe you're using an old version of Teensyduino?...

    Maybe you're using an old version of Teensyduino? To check, in Arduino click Help > About (or Arduino > About if using Macintosh).

    Versions older than 1.50 have a known bug affecting soft reboot....
  3. In Arduino, click File > Preferences, and turn on...

    In Arduino, click File > Preferences, and turn on verbose output while compiling. Then Arduino will show you the exact commands it is using to run the compiler. You'll see -D__IMXRT1062__ is one of...
  4. DMM continuously sends a test current through...

    DMM continuously sends a test current through whatever you're measuring, and then looks for the voltage to be below some threshold. Exactly what current and voltage vary quite a lot depending on the...
  5. Replies
    10
    Views
    65

    Often the "easy" solution is to just edit the...

    Often the "easy" solution is to just edit the serial code to make the receive buffer much larger. Exactly which file to edit depends on which Teensy model you're using.
  6. Replies
    10
    Views
    65

    However, the problem you're seeing is very likely...

    However, the problem you're seeing is very likely an issue with overflowing the receive buffer. Focusing your attention on the transmitter timing is probably just a distraction.

    But first, you...
  7. Replies
    10
    Views
    65

    I'm pretty sure you're asking the wrong question,...

    I'm pretty sure you're asking the wrong question, but I'll try to answer anyway.



    This is what Serial1.flush() does. It waits until everything has been transmitted.

    You can also use...
  8. Replies
    8
    Views
    123

    The "debug" menu item causes gcc to be run with...

    The "debug" menu item causes gcc to be run with "-Og", which gcc's documentation describes as "-Og enables all -O1 optimization flags except for those that may interfere with debugging". It does...
  9. Replies
    14
    Views
    213

    Or still learning how to ask strangers on the...

    Or still learning how to ask strangers on the internet for tech help.

    Seriously though, you can get much better help if you give us context to understand what you're trying to accomplish. A...
  10. You might have an easier path to create a custom...

    You might have an easier path to create a custom audio processing object within the library, rather than go to the trouble of using the queues to transfer streaming data to your program. To do this,...
  11. Replies
    8
    Views
    123

    LTO means Link Time Optimization. Normally...

    LTO means Link Time Optimization.

    Normally each file is complied to "relative" machine code, meaning placeholders are left for the addresses of functions and variables from other files. Then the...
  12. Sounds like the Teensy is working. Please try...

    Sounds like the Teensy is working.

    Please try a different USB cable. Even if the cable works on Teensy 3, it maybe a case of a marginal cable that works at 12 Mbit speed but doesn't work with 480...
  13. Very strange problem. Maybe try the 15 second...

    Very strange problem. Maybe try the 15 second restore. Hold the button for approx 15 seconds. Release when you see the red LED flash.

    Teensy 4.0 will do a complete wipe of the flash chip and...
  14. What version is Teensy Loader? Click Teensy >...

    What version is Teensy Loader? Click Teensy > About to check.
  15. No, not really. If you look at the schematic,...

    No, not really. If you look at the schematic, Program doesn't connect to the main chip at all. It only connects to the MKL02 chip. If Program is stuck low, something had gone wrong with the MKL02...
  16. Replies
    14
    Views
    213

    Yes, digitalWriteFast() can easily toggle pins...

    Yes, digitalWriteFast() can easily toggle pins that fast.

    But you will probably need to disable interrupts and maybe write some tricky code to get the timing right.
  17. Replies
    9
    Views
    220

    The early 1052 betas used the small 10mm size...

    The early 1052 betas used the small 10mm size chip. The PCB was bigger only because I had not yet found a way to route so many wires in the normal Teensy form factor. All that extra PCB real estate...
  18. Does pin 17 still work? Those 2 are routed close...

    Does pin 17 still work? Those 2 are routed close to each other and GND (17 is closer) on the PCB.
  19. The Program pin at 0.3V when not pressing the...

    The Program pin at 0.3V when not pressing the button sounds like hardware damage. It's normally supposed to be 3.3V, due to an internal pullup from the MKL02 chip.

    When Program is low, the MKL02...
  20. There are 2 different types of timers inside the...

    There are 2 different types of timers inside the chip which generate PWM. Some pins are controlled by FlexPWM. Other are QuadTimer.
  21. Replies
    14
    Views
    213

    The PWM pins can do it, without any software...

    The PWM pins can do it, without any software overhead.



    void setup() {
    analogWriteFrequency(2, 10000000);
    analogWrite(2, 128);
    }

    void loop() {
  22. That's the IMXRT1060 Manual, which you can get...

    That's the IMXRT1060 Manual, which you can get here.

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

    However, page 3161 is from an oldest public version of the manual for the chip used in the beta...
  23. Replies
    73
    Views
    3,307

    Does "on hold" or "paused" count as a schedule? ...

    Does "on hold" or "paused" count as a schedule?

    Realistically, that's the situation right now as Robin & I struggle to keep PJRC running without 2 employees.
  24. Replies
    73
    Views
    3,307

    To be honest, I merged this pull request without...

    To be honest, I merged this pull request without any testing, other than making sure it didn't break anything on Teensy 3.x and 4.0. Since nothing has worked on LC, it didn't seem like much risk.
    ...
  25. Did you solder those header pins, or was the...

    Did you solder those header pins, or was the board purchased with the pins already soldered?

    Looking at your photo, there might be some sort of material on the side of the MKL02 chip. Difficult...
  26. Erin (aka Soldering Goddess) left PJRC about 1...

    Erin (aka Soldering Goddess) left PJRC about 1 year after the Teensy 3.6 release. She had working here nearly 5 years. We were sad to see her go, but honestly a person of her caliber really should...
  27. Replies
    16
    Views
    250

    If you lose power during the restore process, you...

    If you lose power during the restore process, you can always just start it again and let it finish.

    But usually the first fraction of a second of the restore process is enough to get your Teensy...
  28. Replies
    6
    Views
    77

    If any of the 3 things I mentioned in msg #23 on...

    If any of the 3 things I mentioned in msg #23 on that thread have happened, please comment on that thread (not here) with details.

    All 3 things must occur before I will work on MIDI 2.0 support...
  29. Replies
    16
    Views
    250

    Yup, pretty much like that. Several functions...

    Yup, pretty much like that.

    Several functions in usb.c are not needed if you only do USB control transfers (never bulk, interrupt, isochronous). If you don't use USB at all, you can delete all of...
  30. Good news, 1.52-beta1 supports 4, 6 and 8 channel...

    Good news, 1.52-beta1 supports 4, 6 and 8 channel I2S input. More good news, the BCLK/LRCLK ratio is 64 (unlike Teensy 3.x quad I2S) so you can use it for those mems mics.

    So you can connect all...
  31. Just a quick update - PJRC is still up and...

    Just a quick update - PJRC is still up and running, but it's down to just Robin & me. We asked our hourly employees to stay home starting last week, and Oregon now has a "shelter in place" order. ...
  32. You can't use DMAMEM with malloc() or C++ new. ...

    You can't use DMAMEM with malloc() or C++ new. It's for static allocation only. Just leave it out.
  33. This code exists for Teensy LC, 3.2, 3.5, 3.6 and...

    This code exists for Teensy LC, 3.2, 3.5, 3.6 and 4.0. You just edit usb_desc.h and change the line for 64 byte report size. The rest of the code checks for report size and switches to a joystick...
  34. We see this problem pretty regularly here, since...

    We see this problem pretty regularly here, since most of the Arduino examples have "while (!Serial) ;" and people forget or don't know to remove that code. If you search for the right terms, I'm...
  35. Old versions all the way back to 0.95 are still...

    Old versions all the way back to 0.95 are still on the server. Just edit the link as Frank described.

    Eventually the server's disk space will fill up (unless we upgrade) but so far we're at 56%,...
  36. Any chance it really is booting properly, but...

    Any chance it really is booting properly, but there may be something like a "while (!Serial) ; " in your code that's waiting for USB?
  37. In Arduino, click File > Examples > OctoWS2811 >...

    In Arduino, click File > Examples > OctoWS2811 > SpectrumAnalyzer.

    It works very well with Teensy 3.2 and 1920 LEDs, refreshing the entire display at ~86 Hz (every 512 audio samples).

    The key...
  38. Replies
    5
    Views
    115

    There is basically no point to add the RAM chip...

    There is basically no point to add the RAM chip if you're using Teensy 4.0. The only supported chip adds 128K of RAM. Teensy 4.0 has 1024K internally. Best to just use Teensy's RAM, which is much...
  39. Yes, it was built on 10.14. I tested it here on...

    Yes, it was built on 10.14. I tested it here on 10.12, and I've heard confirmation from others that it does run on 10.10 and 10.11.

    Looks like this problem is specific to 10.13. Why, I do not...
  40. Replies
    8
    Views
    301

    I can confirm it's 0.22uF. This one on the...

    I can confirm it's 0.22uF. This one on the schematic:

    19440

    It's "only" a decoupling capacitor between 3.3V and GND. There are several others, so the board should (probably) work without it....
  41. Replies
    179
    Views
    14,999

    Sure, let's chat of the current events on another...

    Sure, let's chat of the current events on another thread. Please feel free to start one in general discussion, and post a link to it here.

    Then we'll temporarily close this thread. Plenty of...
  42. Replies
    4
    Views
    268

    Sorry, almost all the library pages still haven't...

    Sorry, almost all the library pages still haven't been updated, even though nearly all the libraries have been ported. I keep falling behind on trying to do too many things, and the website...
  43. 4 bit SDIO is used automatically by the SD...

    4 bit SDIO is used automatically by the SD library when you use BUILTIN_SDCARD rather than a pin number for CS. That's the easy part.

    But the actual transfer rate depends on much more than just...
  44. It's this one, 0.22 uF. 19384

    It's this one, 0.22 uF.

    19384
  45. Replies
    179
    Views
    14,999

    Most non-essential things are were shut down this...

    Most non-essential things are were shut down this week here in Portland, Oregon, USA. All public schools were ordered closed. Gatherings more than 250 people are temporarily banned. Robin and I...
  46. Replies
    73
    Views
    3,307

    Yup, sounds like they want to get rid of those...

    Yup, sounds like they want to get rid of those older shields. 30% off is a pretty good deal if you have Teensy 3.x boards to use. All Teensy 3.x boards work when mounted directly above or below the...
  47. Sorry I'm late to this party. Could someone...

    Sorry I'm late to this party. Could someone please point me to the best / latest code to reproduce the problem. I'll set it up here and start digging....
  48. USB does not work well on Windows 7, or any...

    USB does not work well on Windows 7, or any pre-10 version of Windows. Microsoft fixed many bugs and problems with Windows 10. So while you might manage to get things working again on that Windows...
  49. You need either the "Windows Installer, for...

    You need either the "Windows Installer, for Windows XP and up" or "Windows ZIP file for non admin install". Both of those work well.

    https://www.arduino.cc/en/Main/Software

    The "Windows app...
  50. This line from lsusb means Teensy is connected. ...

    This line from lsusb means Teensy is connected.


    Bus 001 Device 011: ID 16c0:0483

    That means your Teensy and your USB cable are working properly! 16c0:0483 is the proper ID for Teensy running...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4