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. The reason we don't already have preallocation is...

    The reason we don't already have preallocation is because it's difficult to define...

    Maybe this makes more sense to implement as part of FS.open(), or maybe as a dedicated function specific to...
  2. Yes, I believe a function for pre-allocating...

    Yes, I believe a function for pre-allocating space is the major piece we're still missing in FS.h.
  3. I probably never would have been able to solve...

    I probably never would have been able to solve this without Kurt's work on BogusFS ;)
  4. Here's a proper fix. ...

    Here's a proper fix.

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

    So far I've run only a couple quick tests on a relatively slow Windows 10 laptop. ...
  5. I'm still working on the USB received packet loss...

    I'm still working on the USB received packet loss issue. It's a tough one.

    But if you'd like an ugly & slow workaround to at least get reliable communication now, try adding delayMicroseconds(10)...
  6. Continuing work on this. The received packet...

    Continuing work on this. The received packet loss bug is definitely on the Teensy side in managing the linked list of dTD structures.
  7. Maybe also check out Kurt's ILI9341_t3n library,...

    Maybe also check out Kurt's ILI9341_t3n library, which uses a frame buffer and DMA for very efficient updates. It recently got quite a bit of testing when we were playing with FlexIO interface to...
  8. I recall measuring about 33K some time ago, which...

    I recall measuring about 33K some time ago, which is pretty close to 27K.

    You can expect on-chip resistors to change quite a lot with temperature and from chip to chip.
  9. I'm looking into the packet loss issue. I'm able...

    I'm looking into the packet loss issue. I'm able to reproduce it with Kurt's BogusFS code and LargeIndexedTestfile.txt (which really should win an award or something for the most reproducible test...
  10. Maybe I'm reading too much into this question,...

    Maybe I'm reading too much into this question, but it kinda sounds like an assumption that a SBC microprocessor is a superset, that it would have everything a microcontroller has, that a...
  11. Teensy 4.1 is a microcontroller. Indeed...

    Teensy 4.1 is a microcontroller.




    Indeed this question isn't so clear with modern parts. Even NXP's marketing info calls these new chips "crossover".

    26804

    But other than the high CPU...
  12. Please open an issue with PlatformIO. ...

    Please open an issue with PlatformIO.

    Officially, PJRC only maintains and tests Teensyduino with Arduino. If the same code works in Arduino and fails in PlatformIO, that sort of issue needs to be...
  13. Maybe you can reuse code from the audio library?...

    Maybe you can reuse code from the audio library?

    https://github.com/PaulStoffregen/Audio/blob/master/output_pt8211.cpp

    https://github.com/PaulStoffregen/Audio/blob/master/output_pt8211_2.cpp
    ...
  14. Yes, several different breakout boards were made,...

    Yes, several different breakout boards were made, but only the last 2 versions gave access to SDIO. The first SDIO breakout used tiny pogo pins. I'm pretty sure I only made 1 which never left my...
  15. Looks like the SDIO DAT2 & DAT3 connection was...

    Looks like the SDIO DAT2 & DAT3 connection was the only thing actually correct about pins 38 & 39.

    Hopefully these commits fix all the lingering pin 38 & 39 swap issues.
    ...
  16. What happens if you remove...

    What happens if you remove Serial.println("loop"); so you're printing only from the interrupt and not also from the main program?
  17. Replies
    113
    Views
    2,852

    Please do not submit pull requests with GPLv3...

    Please do not submit pull requests with GPLv3 code.

    I want to be absolutely clear - this code will never be merged into the Teensy audio library because of Frank's choice to apply GPLv3.
  18. Replies
    14
    Views
    348

    7.4 volts does seem pretty unlikely, but could...

    7.4 volts does seem pretty unlikely, but could also explain the hardware getting hot and being damaged.
  19. Replies
    15
    Views
    361

    2 questions Can you reproduce the problem...

    2 questions

    Can you reproduce the problem without TeensyThreads? These libraries usually aren't thread safe.

    Which version of Teensyduino are you using? This matters because the old SD...
  20. Replies
    2
    Views
    124

    I'm also not clear about the question. But I ...

    I'm also not clear about the question. But I add a few facts, which may or may not help depending on what was meant in the question.

    Agree, the best solution for a full size USB B connector is a...
  21. Replies
    14
    Views
    348

    When using Arduino, click Help > About. The...

    When using Arduino, click Help > About. The About info will show both Arduino & Teensyduino versions.

    Also try Help > About in Teensy Loader, as it's possible to have an older copy of Teensy...
  22. Replies
    51
    Views
    2,438

    Bill, would you like to have either of these SD1...

    Bill, would you like to have either of these SD1 cards? I'd be happy to send you one.
  23. Replies
    51
    Views
    2,438

    Yes, tried it just now. Teensy 3.6 is able to...

    Yes, tried it just now.

    Teensy 3.6 is able to see both SD1 cards.
  24. Replies
    11
    Views
    378

    First, try running File > Examples > SD >...

    First, try running File > Examples > SD > listfiles, just to check that your SD card really is working and has the BMP file. Not much point digging into the details if the problem is as "simple" as...
  25. Replies
    4
    Views
    153

    UART Serial may be more competitive with SPI than...

    UART Serial may be more competitive with SPI than you're assuming.

    On Teensy 4.1, the maximum baud rate is 1/4th of the UART's base clock, which defaults to 24 MHz. But the hardware can be...
  26. Replies
    51
    Views
    2,438

    Ran SdInfo with 4 old cards. The two SD2 cards...

    Ran SdInfo with 4 old cards. The two SD2 cards work fine. Both SD1 don't seem to work with SDIO at all, even if I increase BUSY_TIMEOUT_MICROS to 5000000 and CMD8_RETRIES to 9, but those changes to...
  27. Replies
    2
    Views
    231

    Updated imxrt.h ...

    Updated imxrt.h

    https://github.com/PaulStoffregen/cores/commit/d15e3a3b5f670893bf310ba673948a976e78afed
  28. Replies
    51
    Views
    2,438

    Even though these older cards aren't being...

    Even though these older cards aren't being manufactured, many people still have them laying around. I have several here. Would be happy to send you one.

    Since switching from the old SD library...
  29. Replies
    3
    Views
    193

    The answer really depends on some details,...

    The answer really depends on some details, especially the number of bits or bytes per pixel.

    The chip at 88 MHz clock has a bandwidth of about 40 MByte/sec, or about 60 MByte/sec if you increase...
  30. Replies
    51
    Views
    2,438

    Have you tried any non-SDHC (2GB or smaller)...

    Have you tried any non-SDHC (2GB or smaller) cards on SDIO?
  31. On those sorts of power supply, the amperage spec...

    On those sorts of power supply, the amperage spec is a maximum the product can deliver. The power supply controls the voltage and the current depends on how much power is used by the things you...
  32. That result sure looks like your board got...

    That result sure looks like your board got programmed with the HEX file, not EHEX.

    First, check Teensy Loader version with Help > About in the small Teensy Loader windows. If older than 1.55,...
  33. Which Teensy model are you using?

    Which Teensy model are you using?
  34. Check the URL you're using for the design tool. ...

    Check the URL you're using for the design tool. Any chance you're accessing an old copy? Or a local copy?

    (some old copies are on the server... I should probably delete them)
  35. Tried it just now. Opened File > Examples >...

    Tried it just now. Opened File > Examples > Audio > Effects > Vocoder19Band. Then copied all the audio instances and connections to clipboard. Clicked Import in the design tool and pasted.
    ...
  36. Isn't this it? ...

    Isn't this it?

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

    For microcontroller compute speed, usually...

    For microcontroller compute speed, usually CoreMark is used. Here is a copy which runs on Teensy and most other Arduino compatible boards.

    https://github.com/PaulStoffregen/CoreMark

    While...
  38. First, this message isn't legal advice. ...

    First, this message isn't legal advice. Generally speaking, legal advice comes from an attorney you've hired, not forum messages on the internet.

    Now with that in mind, yes, of course it's ok to...
  39. Replies
    4
    Views
    247

    If you still have the code which crashed, maybe...

    If you still have the code which crashed, maybe save a copy.

    This MyFault library is an attempt to collect code samples for all the ways to crash Teensy 4.x. Starting with 1.54, many of these...
  40. Replies
    113
    Views
    44,893

    The main PSRAM part number is APS6404L-3SQR. ...

    The main PSRAM part number is APS6404L-3SQR.

    Several other parts are the exact same chip with different marking. Details on the PSRAM page.

    https://www.pjrc.com/store/psram.html
  41. No. You must not name your product "TEENSYMEGA"...

    No. You must not name your product "TEENSYMEGA" or anything else which is confusingly similar with Teensy, especially not if you sell them on Tindie or any other website.

    Teensy is a registered...
  42. Replies
    4
    Views
    253

    ARM does have a SP register, but it is a CPU...

    ARM does have a SP register, but it is a CPU register, not memory mapped like AVR. So to access it you need to use inline ASM. For an example, see the startup code.
    ...
  43. Multiple copies of Arduino is still the only...

    Multiple copies of Arduino is still the only plausible explanation.

    The only other not-very-likely explanation I can imagine is overly aggressive anti-virus software is silently interfering with...
  44. Maybe you have more than 1 copy of Arduino on...

    Maybe you have more than 1 copy of Arduino on your PC, and when you ran the Teensyduino installer it wrote all the Teensy files into the other copy of Arduino?
  45. Yes, this is the best way. Just configure for...

    Yes, this is the best way. Just configure for the longest and simply use less on the others. Simple and easy, but wastes some memory for the "unused" LEDs.





    I'm reluctant to answer this...
  46. Replies
    9
    Views
    381

    Hardware-wise, make sure you have a GND...

    Hardware-wise, make sure you have a GND connection from Teensy to the LEDs. The GND wire should follow the same physical path as the signal wire. Most modern WS2812B can work with a 3.3V signal...
  47. Replies
    6
    Views
    328

    Glad you got it working. Is there any brief...

    Glad you got it working.

    Is there any brief info you might share, which I could add (as comments in the makefile) to help other Windows users? I personally use Linux and only test the makefile on...
  48. Replies
    9
    Views
    550

    Yes, indeed if you intentionally want distortion...

    Yes, indeed if you intentionally want distortion for a certain "classic sound", you can get it. The waveform synth doesn't enforce limits on the waveform table. That's your responsibility. You can...
  49. Replies
    9
    Views
    550

    Waveform synthesis is done at the audio sample...

    Waveform synthesis is done at the audio sample rate, which defaults to 44.1 kHz. Sampling a signal at a fixed rate means the data can only represent spectrum up to half the sample rate, which is...
  50. Your memory is good. That cable was...

    Your memory is good. That cable was discontinued. But you can buy a nearly identical cable from Adafruit.

    https://www.adafruit.com/product/937
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4