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

  1. Replies
    36
    Views
    602

    Added....

    Added.
    https://github.com/PaulStoffregen/cores/commit/ea276ee57a364306562452fef42d3815fb2fbb59




    Updated Bounce2.
  2. Replies
    36
    Views
    602

    I'm pretty sure this will be the official fix. ...

    I'm pretty sure this will be the official fix.

    https://github.com/PaulStoffregen/cores/commit/a2246a5a0278a93877219e219907b79b34ecfc39

    Any chance you could edit your copy of startup.c to delete...
  3. Whether anything is wrong on the Teensy side, I'm...

    Whether anything is wrong on the Teensy side, I'm not 100% sure. I was able to find lots of cases where the Linux / Ubuntu / Gnome experience is confusing & frustrating. My gut feeling is these...
  4. I tried to create a screencast demo with the USB...

    I tried to create a screencast demo with the USB mic, but reprogramming Teensy causes my Linux machine to sometimes automatically switch the audio input from the USB mic to Teensy's silent incoming...
  5. I tried plugging that USB mic into a USB3 hub,...

    I tried plugging that USB mic into a USB3 hub, and apparently my PC can't see it at all through that hub. Grrr...

    I crawled under my desk and plugged the mic into a USB controller card I have in...
  6. I tried to reproduce this problem today, using...

    I tried to reproduce this problem today, using the code in msg #4 and Ubuntu 18.04, running on Teensy 4.1 and an audio shield connected to a monitor speaker.

    At first it seemed like Audio wasn't...
  7. Replies
    36
    Views
    602

    I'm pretty sure these problems are due to...

    I'm pretty sure these problems are due to not-so-robust parsing of symbol table data, and lack of error detection. I'd recommend adding a boolean for each item which defaults to false. Set each...
  8. If you expand this to all 3 hardware serial...

    If you expand this to all 3 hardware serial ports, and if all 3 could be expected to have sustained running at nearly max MIDI bandwidth, using Teensy LC you might need to be mindful of how much...
  9. Replies
    2
    Views
    79

    Yes. I believe that tutorial will work with...

    Yes. I believe that tutorial will work with Teensy in place of the Arduino Uno, but only if you have programmed your Teensy with the USBtoSerial sketch (or similar code).

    In Arduino, first select...
  10. Definitely don't use SoftwareSerial. It barely...

    Definitely don't use SoftwareSerial. It barely even works for just 1 instance, and when it does it hogs up the CPU which tends to make everything else perform quite badly.

    From everything you've...
  11. Replies
    21
    Views
    7,078

    Teensyduino 1.54-beta1 has the new & improved...

    Teensyduino 1.54-beta1 has the new & improved map() which hopefully solves all these problems.

    https://forum.pjrc.com/threads/63997-Teensyduino-1-54-Beta-1

    If anyone is still watching this...
  12. Teensyduino 1.54-beta1 has the new & improved...

    Teensyduino 1.54-beta1 has the new & improved map() which hopefully solves all these problems.

    https://forum.pjrc.com/threads/63997-Teensyduino-1-54-Beta-1

    If anyone is still watching this...
  13. Replies
    36
    Views
    602

    Even stranger, adding a single nop instruction...

    Even stranger, adding a single nop instruction *later* in ResetHandler also makes Teensy 4.1 work!

    Very mysterious......
  14. Replies
    36
    Views
    602

    Ugh, this makes no sense to me.... But adding...

    Ugh, this makes no sense to me....

    But adding a single nop instruction at the beginning of ResetHandler (without the vector_table array in bootdata.c) also fixes the problem with Teensy 4.1.
  15. Replies
    36
    Views
    602

    Likewise, NOW is the moment to bring up any issue...

    Likewise, NOW is the moment to bring up any issue you believe I might be able to fix quickly, like tonight only.

    If I can't reproduce a problem within 5 minutes, I definitely will not work on it...
  16. Replies
    36
    Views
    602

    Can you give me a link to the forum thread with...

    Can you give me a link to the forum thread with that exact same program? And clear / quick way to test (ideally with Linux)?

    Looks like I messed with Teensy 4.1 with the last minute HAB changes,...
  17. Maybe your search was case sensitive? It appears...

    Maybe your search was case sensitive? It appears on page 986 in all caps. You can see "SYSTICK" appears twice in the 13.3.2.1 screen grab I posted on msg #3 above.

    But as I mentioned earlier,...
  18. Normally WAV files are just raw audio data with a...

    Normally WAV files are just raw audio data with a small metadata header. If you know the data is 16 bits and stereo or mono, and if you don't mind a small glitch sound, you can just play the entire...
  19. Replies
    9
    Views
    339

    Officially, no news yet. Unofficially, good...

    Officially, no news yet.

    Unofficially, good guesswork. ;)
  20. Replies
    1
    Views
    101

    This might be simpler than trying to port NXP's...

    This might be simpler than trying to port NXP's code.

    https://github.com/WMXZ-EU/USB2
  21. Probably best to try using a different PC at this...

    Probably best to try using a different PC at this point. First check if the other PC detects the Teensy that's been programmed with this PC. Then use Arduino on that machine to reprogram it. If it...
  22. After much fiddling, I came up with this. ...

    After much fiddling, I came up with this.

    https://github.com/PaulStoffregen/cores/commit/92b126da26047c52023b4ae28212352c30d71744

    Hopefully it's better?

    Here's a little test program...
  23. Ok, I see ports events in this new log. Here's...

    Ok, I see ports events in this new log.

    Here's 2 things to try...

    1: Turn off Auto mode in Teensy Loader. Then press the button on your Teensy. You should see Teensy Loader detect the board. ...
  24. When I first tried using Systick (about 2 years...

    When I first tried using Systick (about 2 years ago, on the 1052 chip, months before we started the Teensy 4 beta test) is was pretty obviously running much slower than expected when configured for...
  25. This logfile has no "ports" events! Maybe...

    This logfile has no "ports" events! Maybe anti-virus software is blocking or has deleted teensy_ports.exe? Normally it's supposed to be installed in C:\Program Files (x86)\Arduino\hardware\tools.
    ...
  26. I'm pretty sure the Arduino SD library is not up...

    I'm pretty sure the Arduino SD library is not up to this task. Maybe SdFat could do it, but even then, I'm not sure.

    The audio shield and audio library certainly can do simultaneous input &...
  27. Replies
    3
    Views
    131

    When Teensy runs in I2S slave mode, the external...

    When Teensy runs in I2S slave mode, the external I2S device is in control of the sample rate.

    You can edit the block size in AudioStream.h. Most of the audio library automatically adapts, but...
  28. Let's give this a try in 1.54-beta1 and see if...

    Let's give this a try in 1.54-beta1 and see if the general consensus is "nice" or "extraneous".

    The main issue is int and long are both 32 bit on Teensy, but this format warning is pretty pedantic...
  29. Replies
    49
    Views
    1,741

    I decided to reverse course on this. All...

    I decided to reverse course on this. All programs will be back to having 512K DMAMEM & heap available on Teensy 4.0 & 4.1.
    ...
  30. The schematic on the website has been updated to...

    The schematic on the website has been updated to fix this mistake.
  31. Replies
    3
    Views
    131

    As with almost everything in the audio library,...

    As with almost everything in the audio library, detailed documentation is in the design tool right-side panel.

    https://www.pjrc.com/teensy/gui/?info=AudioInputI2Sslave

    One difficult issue you...
  32. Replies
    57
    Views
    2,073

    Fixed it just now

    Fixed it just now
  33. Replies
    57
    Views
    2,073

    Updated, now says "Teensy LC & 3.x & 4.x". ...

    Updated, now says "Teensy LC & 3.x & 4.x".




    Under "Hardware Requirements" the page does say:



    I've added "Teensy 4.x boards support use of any set of pins, not limited to only 8 fixed...
  34. Replies
    57
    Views
    2,073

    Fixed Fixed FLASHMEM for code usage, added...

    Fixed



    Fixed FLASHMEM for code usage, added EXTMEM.




    Added a link under "Memory Expansion".
  35. Replies
    57
    Views
    2,073

    @Degragster - Any chance I can talk you into...

    @Degragster - Any chance I can talk you into re-writing the guidance in msg #24 in a step-by-step style?

    I want to put this on the download page. But the conversational style of msg #24 isn't a...
  36. Replies
    57
    Views
    2,073

    Added under "Other Libraries". Added...

    Added under "Other Libraries".




    Added some time ago...

    https://www.pjrc.com/teensy/gui/?info=AudioEffectRectifier
  37. Replies
    57
    Views
    2,073

    Updated this page.

    Updated this page.
  38. Confirmed, the schematic had an error for the...

    Confirmed, the schematic had an error for the signals connected to 38/DAT3 and 39/DAT3 on Teensy 4.0. I've updated it.
  39. This probably can work if the I2S devices you...

    This probably can work if the I2S devices you connect to Teensy are slave mode. In other words, Teensy transmits all the clock signals, those device always receive and never try to transmit their...
  40. Replies
    49
    Views
    1,741

    At least for Teensyduino 1.54-beta1, I'm going to...

    At least for Teensyduino 1.54-beta1, I'm going to reduce DMAMEM max size from 512K to only 504K.

    In the future we might provide a mechanism for programs wishing to access the HAB logfile to...
  41. Every SD card I have used seems to be able to...

    Every SD card I have used seems to be able to properly tri-stat its MISO pin.

    But if you have any doubt, the way to check involves using only the SPI device in question with 2 resistors on the...
  42. Replies
    57
    Views
    2,073

    Please, put 1 issue per message, so it's easier...

    Please, put 1 issue per message, so it's easier to mark completed stuff as no longer needing attention.
  43. Replies
    57
    Views
    2,073

    @Kurt & Defragster - could I talk you into...

    @Kurt & Defragster - could I talk you into reviewing all the messages on this thread and adding something like "still needs work" or "fully resolved" or "no issue" at the top of each one?

    My hope...
  44. Replies
    2
    Views
    110

    No, sorry, the bootloader only supports...

    No, sorry, the bootloader only supports programming over the main USB device port.
  45. Replies
    2
    Views
    128

    I'm pretty sure FlexSPI only supports master...

    I'm pretty sure FlexSPI only supports master mode. On Teensy 4.0, those pins only connect to the W25Q16 flash chip, so you can't access the FlexSPI peripheral.

    Teensy 4.1 does make FlexSPI2...
  46. Replies
    4
    Views
    198

    TimeLib defaults to starting at 0 and is meant to...

    TimeLib defaults to starting at 0 and is meant to sync to a source of accurate time.

    Teensy has a RTC which keeps track of date/time. That RTC is set automatically to your PC's time on every...
  47. I'm so glad you tested this! Whether 125us...

    I'm so glad you tested this! Whether 125us response is actually possible from PCs been on my list of things to someday check. Almost all of my testing has involved looked at the USB packets with a...
  48. Officially, PJRC only tests and supports this...

    Officially, PJRC only tests and supports this Linux-based software on Ubuntu, and only Ubuntu running on real hardware (not virtual machines). Most other Linux systems tend to work, but we don't...
  49. Are you using a Teensy board? This forum is...

    Are you using a Teensy board? This forum is about Teensy.

    If you're using Arduino Nano, you should probably ask on Arduino's forum.

    https://forum.arduino.cc/

    Obviously for advice specific...
  50. Replies
    49
    Views
    1,741

    Indeed, when PJRC sells a Teensy without certain...

    Indeed, when PJRC sells a Teensy without certain fuses set, there will be many possible paths to bricking those boards.




    I hope you can understand 2 less than ideal realities of this...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4