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

    Two questions... Can you reproduce the problem...

    Two questions...

    Can you reproduce the problem without PlatformIO, only using Arduino IDE with Teensyduino 1.57 installed?

    Can you give us the Arduino sketch and Python code and any other...
  2. I can't help with PlatformIO. But I can at least...

    I can't help with PlatformIO. But I can at least answer some of your questions....




    You could just run the "teensy_secure" program manually, with the pathname of your HEX file and your...
  3. Sounds like you haven't yet tried or looked at...

    Sounds like you haven't yet tried or looked at the pinlist example?

    In Arduino, it's just a few mouse clicks away: File > Examples > OctoWS2811 > Teensy4_PinList.

    It's really not very...
  4. Very unlikely the bootloader (any version) is...

    Very unlikely the bootloader (any version) is causing a program to crash. While your program runs, the bootloader (all versions) watches for either a pushbutton press or a the processor to go into...
  5. The pinlist example might help. In Arduino,...

    The pinlist example might help. In Arduino, click File > Examples > OctoWS2811 > Teensy4_PinList.
  6. I expect the Arduino IDE to be so much smarter...

    I expect the Arduino IDE to be so much smarter than this!

    An error message like "Error: 13 INTERNAL: Error downloading tool" is correct on a technical level. But from a usability and UI design...
  7. Replies
    11
    Views
    1,257

    Yes, correct. Crystal oscillators use total...

    Yes, correct.

    Crystal oscillators use total capacitance on each pin twice the rating of the crystal (because the 2 capacitors are effectively in series relative to the crystal). Pin has approx...
  8. Glad you found it. These sorts of little details...

    Glad you found it. These sorts of little details can be quite a challenge!
  9. GD25Q16 is not on the list of LittleFS (for...

    GD25Q16 is not on the list of LittleFS (for Teensy) supported chips. Maybe it could work if it is similar enough to one of the Winbond chips, but that's just a guess. I really don't know anything...
  10. Replies
    8
    Views
    288

    Can you use Teensy 3.5? I have a few left over...

    Can you use Teensy 3.5? I have a few left over which were saved for special software testing.
  11. Replies
    2
    Views
    91

    Everything in this message is about signing for...

    Everything in this message is about signing for Microsoft Windows. Apple has a similar system for MacOS. Unlike Apple, for Microsoft delegates all the certificate stuff to 3rd party certificate...
  12. Difficult decisions has to be made about which...

    Difficult decisions has to be made about which features to make available in such a small size Teensy 4.0 circuit board.

    Teensy 4.1 brings out much capability with the extra space.
  13. Sorry, Teensy doesn't support STM32F405RGT6.

    Sorry, Teensy doesn't support STM32F405RGT6.
  14. Replies
    96
    Views
    2,107

    Today the Arduino prefs for compiler warnings...

    Today the Arduino prefs for compiler warnings aren't used. I'm not a fan of the "None" setting, which is the default, so when Arduino added this (years ago) I didn't bother to adopt it for Teensy. ...
  15. Replies
    7
    Views
    151

    Looked at the datasheet. Page 38 says the...

    Looked at the datasheet. Page 38 says the interrupt pin is open drain.

    You probably need to add a pullup resistor, like 4.7K to 10K. Or maybe using pinMode INPUT_PULLUP at the beginning of...
  16. Replies
    7
    Views
    151

    If pins 7 and 8 are shorted or interfering, and...

    If pins 7 and 8 are shorted or interfering, and pin 8 stays low, maybe your could could get into an infinite interrupt loop? Might be better to use FALLING instead of LOW with attachInterrupt.
  17. Replies
    7
    Views
    151

    I ran it here with nothing connected to the...

    I ran it here with nothing connected to the Teensy pins. These are the waveforms my scope sees on pins 7, 11, 12, 13.

    29423

    Looks like pin 7 is working as a chip select, though it might be...
  18. It's not overkill at all. The Interface_3x3...

    It's not overkill at all. The Interface_3x3 example is the correct way.

    The actual data format used by USB MIDI is not the same as traditional Serial MIDI. Messages are aligned to 32 bit...
  19. 2 meters of wire connected directly to a GPIO pin...

    2 meters of wire connected directly to a GPIO pin with a "no extra parts" design philosophy is a recipe for a product which seems to work at first but fails prematurely when installed in a less than...
  20. This is an uninstall option, but it's sort of...

    This is an uninstall option, but it's sort of hidden.

    Hover your mouse over "INSTALLED".

    29415

    It will change to "UNINSTALL".

    29416
  21. Replies
    96
    Views
    2,107

    One compiler warning I can't find a way to solve...

    One compiler warning I can't find a way to solve is this line in TeensyThreads Tests example:



    char x[128]; // use up some stack space


    Of course this gives an ununsed variable warning.
    ...
  22. Replies
    96
    Views
    2,107

    I'm a bit embarrassed to admit many of these...

    I'm a bit embarrassed to admit many of these compiler warnings have been with us for years on gcc 5.4.1. But warnings like misleading white space and string truncation are new. Maybe spending so...
  23. Replies
    96
    Views
    2,107

    Turns out the ATOMIC_BLOCK stuff really wants to...

    Turns out the ATOMIC_BLOCK stuff really wants to be inline, but with gcc 11.3.1 when optimizing for small code size (the default on Teensy LC) it isn't without __attribute__((always_inline)).
    ...
  24. Replies
    10
    Views
    274

    The "M" flash chip is required. "Q" version will...

    The "M" flash chip is required. "Q" version will not work.

    I don't understand why that would give 10 blinks. Something else is likely wrong, but I'm afraid I just can't even guess from the info...
  25. Many more Teensy 4.1 are coming in October. NXP...

    Many more Teensy 4.1 are coming in October. NXP recently said they would send chip for more Teensy 4.0 in November, so we should have more 4.0 in late November or early December.
  26. Replies
    2
    Views
    90

    Install Teensyduino 1.57. This is a known...

    Install Teensyduino 1.57.

    This is a known issue with 1.56 and earlier, where having an Arduino IDE 2.0.0 install on the same PC interferes with Arduino 1.8.x using Teensyduino 1.56 or earlier.
    ...
  27. The same Tools > USB Type menu exists for Teensy...

    The same Tools > USB Type menu exists for Teensy 4.0.

    If that doesn't fully solve your problem, we still might be able to help, but you need to show us enough to at least see the issue, and...
  28. Any chance you can post screenshots? I'm pretty...

    Any chance you can post screenshots? I'm pretty sure this is an Arduino IDE 2.0.0, but it's difficult to even begin to describe it without the ability to see what happened on the screen,...
  29. @PerT - if you have a moment, any thoughts on...

    @PerT - if you have a moment, any thoughts on this thread?

    https://forum.pjrc.com/threads/71112-Arduino-IDE-2-0-0-selection-USB-port-when-using-2-Teensy4-0-parallel

    Looks like IDE 2.0.0 is...
  30. I don't know why this is happening. But I can...

    I don't know why this is happening. But I can comment on this:



    08:28:08.084 (reboot 44): location = usb:80001/3/0/2


    This line in the log data means Arduino 2.0.0 told...
  31. Replies
    2
    Views
    87

    No, only the main USB port works. ...

    No, only the main USB port works.




    Because the bootloader doesn't support it.
  32. Within a few mm is probably fine.

    Within a few mm is probably fine.
  33. Just a guess, maybe use the Boards Manager to...

    Just a guess, maybe use the Boards Manager to uninstall and then install Teensy again.
  34. No, sorry, there really wasn't anything useful...

    No, sorry, there really wasn't anything useful from my Win 98 effort, so it wasn't saved.

    Later in 2014 a *lot* of work went into the INF & CAT files, and work in the installer to refresh stale...
  35. Looks like you have a wrong udev rules file. ...

    Looks like you have a wrong udev rules file.

    Get the proper file here:

    https://www.pjrc.com/teensy/00-teensy.rules
  36. Traces between MKL02 and RT1062 aren't length...

    Traces between MKL02 and RT1062 aren't length critical, as the signals are fairly low speed (only a few MHz).

    But traces between RT1062 and flash memory are high speed signals. Match their...
  37. Replies
    96
    Views
    2,107

    This isn't even on my list. Has it been...

    This isn't even on my list. Has it been previously reported with a reproducible test case?

    CMSIS API is also a low priority. A huge backlog of far more important things are pending. Even with a...
  38. Replies
    96
    Views
    2,107

    RadioHead/RH_RF24.cpp has compiler warning "'ret'...

    RadioHead/RH_RF24.cpp has compiler warning "'ret' may be used uninitialized in this function [-Wmaybe-uninitialized]" when compiled for Teensy LC. May be a sign of a bug with ATOMIC_BLOCK_START /...
  39. All this stuff comes from the USB audio class...

    All this stuff comes from the USB audio class specification. Sorry, I don't have time to write a lengthy explanation, but here is a direct link to the PDF spec.
    ...
  40. Replies
    96
    Views
    2,107

    In the midst of all this talk about what may be...

    In the midst of all this talk about what may be happening, I just want to say I really appreciate that @degu234 posted a test case in msg #24. Theories about the code size increase can be valuable...
  41. There is no automatic way. Upload File >...

    There is no automatic way.

    Upload File > Examples > EEPROM > eemprom_clear to wipe all the EEPROM memory.
  42. Replies
    96
    Views
    2,107

    Larger size could be due to the new compiler...

    Larger size could be due to the new compiler applying more optimizations for speed.

    But it could also be other reasons, like "unused" code being linked into the final .elf file. Really needs more...
  43. Replies
    10
    Views
    274

    1 cm distance is probably ok. But if the...

    1 cm distance is probably ok.

    But if the ground plane between the crystal and chip has substantial gaps due to traces or too many vias, it could fail. Good ground between the crystal and chip is...
  44. Replies
    19
    Views
    2,721

    Some are in stock today with Amazon (Sports...

    Some are in stock today with Amazon (Sports Internet).

    https://www.amazon.com/PJRC-Teensy-4-0-Without-pins/dp/B07W5J3WNH/

    Looks like Amazon's algorithms are gaming the price. :(

    More are...
  45. Replies
    10
    Views
    274

    Any chance the 12pF capacitors were mistakenly...

    Any chance the 12pF capacitors were mistakenly soldered with a much larger one, like 0.22uF?
  46. I believe you should try EasyTransfer. In...

    I believe you should try EasyTransfer. In Arduino, click File > Examples > EasyTransfer_TX_Example and also File > Examples > EasyTransfer_RX_Example.

    Edit those examples to use Serial6 or...
  47. The answer really depends on how your sensor...

    The answer really depends on how your sensor communicates with Teensy. Many different types of sensors exist. Nobody can give you a simple answer which applies to all types.

    For I2C...
  48. Windows 2000 is the oldest I ever got working. ...

    Windows 2000 is the oldest I ever got working.

    In the early days of Teensy, around 2009-2010, I did make an attempt at Windows 98. But the INF details were vastly different. Microsoft had...
  49. I have removed all the beta versions from the...

    I have removed all the beta versions from the main package index:

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

    If you want to access beta versions, use the older URL with "td_156"
    ...
  50. Replies
    96
    Views
    2,107

    Teensy has long supported 2 ways of uploading. ...

    Teensy has long supported 2 ways of uploading. Automatic upload where your PC sends a USB message to Teensy asking it to go into programming mode, and manual upload where you press the pushbutton on...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4