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. Nope, not yet. It's been sitting on my desk,...

    Nope, not yet. It's been sitting on my desk, still inside the original box.

    We're just today catching up to backlog of Teensy 4.0 orders (mostly for distributors) but I have a huge pile of stuff...
  2. Replies
    6
    Views
    212

    I felt this way about 0.65mm pitch back in 2018...

    I felt this way about 0.65mm pitch back in 2018 (when most of the Teensy 4.0 design work was done), when NXP was not yet offering the IMXRT parts in 0.8mm pitch.

    As you can see from Teensy 4.0, if...
  3. I recently found a few dozen Teensy 3.1 boards we...

    I recently found a few dozen Teensy 3.1 boards we never sold. Email me directly if you want some of them.
  4. Some libraries depend on include Arduino.h, which...

    Some libraries depend on include Arduino.h, which Arduino IDE automatically adds, but PlatformIO does not.



    EEPROM get() and put() were improved to work properly with String variables, thanks...
  5. Replies
    1
    Views
    147

    Some libraries run stuff "in the background"...

    Some libraries run stuff "in the background" using yield(). Today it's fairly rare, but more will likely be added in the future. USBHost_t36 is an example of such a library that will probably make...
  6. Replies
    6
    Views
    212

    We have a small number of leftover IMXR1062 chips...

    We have a small number of leftover IMXR1062 chips in 12mm size (the ones used for Teensy 4.1). If 10 or less would help you get started, email me directly.
  7. Replies
    6
    Views
    116

    Unfortunately, no, at least not with the Arduino...

    Unfortunately, no, at least not with the Arduino Serial Monitor. The problem is a hardware reset turns off the USB hardware. To software on your PC, it looks the same as if the USB cable is...
  8. From a purely hardware perspective, NOR flash...

    From a purely hardware perspective, NOR flash chips are probably the best storage media. Access latency is very low and always a fixed number of SPI clocks, which gives you the best capability to...
  9. Some math functions beyond the C++ library follow...

    Some math functions beyond the C++ library follow Arduino's documentation. map() and constrain() are the most commonly used.

    https://www.arduino.cc/reference/en/language/functions/math/map/
    ...
  10. Email me directly. I have a few extra used ones...

    Email me directly. I have a few extra used ones here which were saved for special testing. They have pins soldered. We'll sell them to you at normal price. PJRC doesn't price gouge.
  11. Maybe Windows Defender or some other anti-virus...

    Maybe Windows Defender or some other anti-virus program deleted teensy_secure.exe?
  12. Best I can offer you the number of times the 7...

    Best I can offer you the number of times the 7 Teensyduino software files meant for Arduino 1.8.x use have been downloaded from the PJRC website over the last 14 days (our server retains only 2 weeks...
  13. Forgive me, as I haven't kept up with every...

    Forgive me, as I haven't kept up with every message (been really distracted by supply chain issues), but is this problem confined to just 1 laptop computer?



    Regarding Arduino CLI:


    Today...
  14. Maybe try using Arduino CLI. It's not as...

    Maybe try using Arduino CLI. It's not as lightweight as a makefile, but you do get excellent compatibility. Newest Teensyduino 1.57 packages for CLI / IDE2 are supposed to detect if you're running...
  15. Can't see much of the code in your screenshot......

    Can't see much of the code in your screenshot...

    Did you also change Wire.begin() to Wire1.begin() in your program? Looks like this library doesn't call the Wire library begin function, so you...
  16. Virtual machines cause a lot of problems. They...

    Virtual machines cause a lot of problems. They tend to work fine for "normal" software. But for hardware access, there is a pretty incredible amount of emulation code between you and the real...
  17. Any chance for a photo of the board? Just...

    Any chance for a photo of the board? Just curious to see how it turned out.
  18. If the root cause of trouble is overflowing the...

    If the root cause of trouble is overflowing the allocated stack space (just a blind guess), then moving the stack allocation somewhere else where you're less likely to overwrite anything important...
  19. Replies
    2
    Views
    113

    Possible, yes. As easy as just clicking the USB...

    Possible, yes. As easy as just clicking the USB Type menu, no, at least not for Joystick together with Audio. For that, you'll need to edit usb_desc.h to create a custom USB type.
  20. Replies
    3
    Views
    163

    Maybe you have Serial.begin(9600) in your...

    Maybe you have Serial.begin(9600) in your program?

    On Teensy, Serial.begin() tries to wait for the Arduino Serial Monitor to connect. It waits up to 2 seconds if your PC begins the USB detection...
  21. Look at the xy() function in the OctoWS2811...

    Look at the xy() function in the OctoWS2811 examples.

    This is the one from the File example (in Arduino, click File > Examples > OctoWS2811 > Fire)



    // A simple xy() function to turn display...
  22. Look for them soon at Envistia ...

    Look for them soon at Envistia

    https://envistiamall.com/collections/pjrc-teensy-microcontrollers
  23. Replies
    4
    Views
    222

    I would imagine you'd write the channels mask to...

    I would imagine you'd write the channels mask to the MCTRL CLDOK bits to zero the LDOK bits for all the timers you wish to alter. Then write your new settings to some or all of the 6 timing...
  24. I'm assuming you're editing this line when you...

    I'm assuming you're editing this line when you connect the wires to pins 18 and 19?



    if (!bmp.begin_I2C(&Wire2)){ // hardware I2C mode, can pass in address & alt Wire

    But I can't see...
  25. Looks like this should work. Adafruit's library...

    Looks like this should work. Adafruit's library is designed to work with any I2C port, so you shouldn't need to use "#define Wire Wire2" or edit the library to change "Wire" to "Wire2", as is needed...
  26. I hope you can understand nobody can say...

    I hope you can understand nobody can say specifically what the problem is with an unseen PCB. The best we can do to help you is offer some suggestions of tests to perform and explain what the...
  27. Are these the sensor libraries you're really...

    Are these the sensor libraries you're really using?

    https://github.com/pololu/lsm6-arduino

    https://github.com/pololu/lis3mdl-arduino

    If anyone is going to go to the trouble of editing these...
  28. Replies
    33
    Views
    880

    Unfortunately, no. The addresses I have are...

    Unfortunately, no. The addresses I have are (probably) meant to be private.

    I sent an email around the time I wrote msg #4. So far, no reply. But it's only been 2 full business days. Remind me...
  29. Maybe the Linux version of teensy_post_compile...

    Maybe the Linux version of teensy_post_compile should check if the udev rules are installed?

    Until recently, this program was only delivered by the Teensyduino installer which checks if the udev...
  30. Did you install the udev rules? It's required on...

    Did you install the udev rules? It's required on all Linux systems.
  31. This is indeed the default (no threads) behavior...

    This is indeed the default (no threads) behavior for Teensy 2 and 3.

    On Teensy 4, the default has the stack start at the top of ITCM (RAM1) memory, and the heap is located in RAM2 memory.
  32. First, install Teensyduino 1.57. Version 1.56...

    First, install Teensyduino 1.57. Version 1.56 and earlier had MSQ output, which is basically PWM but with extra noise shaping stuff. Versions 1.57 adds PWM output for Teensy 4. But you still might...
  33. Maybe run commands to uninstall and reinstall the...

    Maybe run commands to uninstall and reinstall the teensy board package? Maybe if run with the verbose flag, info about *why* arduino_cli didn't install teensy-discovery might be shown?
  34. This is expected behavior. The 15 sec button...

    This is expected behavior. The 15 sec button press only wipes the flash memory on Teensy 3.5 & 3.6.

    Teensy 4.0 & 4.1 added the "restore program" which is written into the flash after fully erase....
  35. Any chance you can trim the code down to...

    Any chance you can trim the code down to something small enough to share here in a forum message, but still reproduce the crash?
  36. Replies
    8
    Views
    1,068

    I'm not aware of any production flaws or...

    I'm not aware of any production flaws or problems. I can tell you every board was tested with a sine wave diving a 10 ohm resistor in the test fixture, though the test lasts only about 1 second.
    ...
  37. Replies
    87
    Views
    6,378

    SPI protocol lacks multi-master arbitration or...

    SPI protocol lacks multi-master arbitration or other sharing mechanisms. How do you imagine 2 masters could possibly work on any SPI bus?
  38. I sent you an email. We have several with...

    I sent you an email. We have several with cosmetic flaws, mostly just stray solder paste on the through-hole pads. Will be happy to sell you these at the normal price. PJRC doesn't price gouge!
  39. The USB controller operates with DMA accessing...

    The USB controller operates with DMA accessing linked lists of structs in memory to define the properties of all the USB endpoints and manage all the pending data transfers. If you really want to...
  40. Replies
    5
    Views
    112

    Maybe look for signs of damage to the wires...

    Maybe look for signs of damage to the wires between the 2 chips. Since pressing the button is at least causing the bootloader chip to reboot the main processor, there's some chance the parts might...
  41. Replies
    5
    Views
    112

    I don't know what's causing the problem, but I...

    I don't know what's causing the problem, but I can answer this:



    An ISR, or just ordinary code which calls noInterrupts() and never turns interrupts back on, can interfere with automatic...
  42. Replies
    38
    Views
    1,863

    Sticky: Maybe the IDE only writes changes the...

    Maybe the IDE only writes changes the preferences.txt when you quit?
  43. Replies
    38
    Views
    1,863

    Sticky: The teensy_secure utility looks for your key.pem...

    The teensy_secure utility looks for your key.pem file in 1 specific place. The full path it will search is shown in the Tools > Teensy 4 Security window.

    On Windows, that location comes from...
  44. Replies
    9
    Views
    131

    You could just edit the code to change...

    You could just edit the code to change MAX_AUDIO_MEMORY if you *really* wanted to use more.
  45. Replies
    9
    Views
    131

    Each audio block gives 2.9ms delay, since the...

    Each audio block gives 2.9ms delay, since the block size is 128 samples.
  46. Looks like it should work.

    Looks like it should work.
  47. 2 blinks means it can't communicate with the...

    2 blinks means it can't communicate with the IMXRT chip, the JTAG port isn't responding.

    Documentation on the blink code is on the page for that chip. Scroll down to "Troubleshooting & Diagnostic...
  48. However, as a blind guess, this might be your...

    However, as a blind guess, this might be your problem:



    Using pinMode() puts the pin into GPIO mode. If done before analogWrite(), as your message seems to say, it has no effect because...
  49. Pins 0 and 1 are not used by USB serial. That's...

    Pins 0 and 1 are not used by USB serial. That's info which applies to boards like Arduino Uno, but not relevant to any Teensy.

    Please show a complete program which can be copied into Arduino and...
  50. Yes, a buffer overflow definitely could "crash"...

    Yes, a buffer overflow definitely could "crash" that way. But better to think "get stuck" rather than "crash".

    For example, you could overwrite variables in RAM used by USB Serial, or hardware...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4