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

    Another gotcha is PSWITCH. It will not work if...

    Another gotcha is PSWITCH. It will not work if simply wired to 3.3V. NXP's documentation about this quite misleading. It's not a simple active-high enable. A low to high transition is required...
  2. Replies
    11
    Views
    183

    Maybe not the answers you wanted, but hopefully...

    Maybe not the answers you wanted, but hopefully this gives you the info you need to get started, rather then wasting a lot of time on reverse engineering.
  3. Replies
    11
    Views
    183

    SWD absolutely will not work. All Teensy 4.1...

    SWD absolutely will not work. All Teensy 4.1 boards are permanently fuse configured for JTAG. NXP did not implement dynamic switch between SWD & JTAG as ARM's documentation says. It will only talk...
  4. Replies
    11
    Views
    183

    If you play with JTAG boundary scan, the IMXRT...

    If you play with JTAG boundary scan, the IMXRT chips have an undocumented bug were weird/wrong things happen if you stay in the various scan states for more than about 8 seconds. Parking in the...
  5. Replies
    11
    Views
    183

    If you do attempt this, here are the signal...

    If you do attempt this, here are the signal locations you'll need.

    29461

    BOOT0 needs to be connected to GND for normal operation.

    PSWITCH needs a low-to-high transition to turn on the 1.15V...
  6. Replies
    11
    Views
    183

    Teensy 4.1 uses JTAG, not SWD. It would in...

    Teensy 4.1 uses JTAG, not SWD. It would in theory be done if you solder more wires and use a JTAG adaptor. Just know that SWD can not work.
  7. Replies
    11
    Views
    183

    Teensy 4.0 & 4.1 schematics haven't been updated...

    Teensy 4.0 & 4.1 schematics haven't been updated for the U2 chip substitution. Realistically, they probably won't ever get updated. This U2 part is meant to be a temporary change until the original...
  8. Replies
    5
    Views
    101

    Quick answer would be no, or at least not known...

    Quick answer would be no, or at least not known to me.

    But some of these libraries, like ModbusRtu, do use specific pins depending on their config. Maybe start looking there?

    I can also say...
  9. Replies
    1
    Views
    60

    The reason why is really the intersection of 3...

    The reason why is really the intersection of 3 factors.

    1: NXP designed this way.

    2: Many difficult decisions had to be made about which of the chip's GPIO pins to bring to the outside edges of...
  10. Replies
    8
    Views
    252

    If the same code works when built with...

    If the same code works when built with Arduino+Teensyduino but fails when compiled with PlatformIO, that's an issue you should report to the PlatformIO developers on github. Of course they'll need a...
  11. Replies
    8
    Views
    252

    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...
  12. 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...
  13. 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...
  14. 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...
  15. The pinlist example might help. In Arduino,...

    The pinlist example might help. In Arduino, click File > Examples > OctoWS2811 > Teensy4_PinList.
  16. 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...
  17. Replies
    11
    Views
    1,279

    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...
  18. Glad you found it. These sorts of little details...

    Glad you found it. These sorts of little details can be quite a challenge!
  19. 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...
  20. Replies
    8
    Views
    329

    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.
  21. Replies
    2
    Views
    97

    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...
  22. 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.
  23. Sorry, Teensy doesn't support STM32F405RGT6.

    Sorry, Teensy doesn't support STM32F405RGT6.
  24. Replies
    96
    Views
    2,219

    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. ...
  25. Replies
    7
    Views
    163

    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...
  26. Replies
    7
    Views
    163

    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.
  27. Replies
    7
    Views
    163

    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...
  28. 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...
  29. 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...
  30. 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
  31. Replies
    96
    Views
    2,219

    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.
    ...
  32. Replies
    96
    Views
    2,219

    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...
  33. Replies
    96
    Views
    2,219

    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)).
    ...
  34. Replies
    10
    Views
    276

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

    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.
    ...
  37. 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...
  38. 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,...
  39. @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...
  40. 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...
  41. Replies
    2
    Views
    93

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

    No, only the main USB port works.




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

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

    Just a guess, maybe use the Boards Manager to uninstall and then install Teensy again.
  44. 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...
  45. 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
  46. 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...
  47. Replies
    96
    Views
    2,219

    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...
  48. Replies
    96
    Views
    2,219

    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 /...
  49. 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.
    ...
  50. Replies
    96
    Views
    2,219

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