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. I ran the code from msg #640, but I'm not sure...

    I ran the code from msg #640, but I'm not sure what to do to see the problem. I copied LargeIndexedTestfile.txt onto the sflash5 volume using Windows 10. Then I unplugged and reconnected it and...
  2. I have plenty of spares. Just let me know what...

    I have plenty of spares. Just let me know what you need?
  3. Ok, soldered it. 26826

    Ok, soldered it.

    26826
  4. Yes, let's include 1 for SPI and 1 for QSPI.

    Yes, let's include 1 for SPI and 1 for QSPI.
  5. Oh, *that* board. Seems like I would have built...

    Oh, *that* board. Seems like I would have built one for myself, but can't find it now. Fortunately I do have spare parts.

    26818

    Can you remind me of which chip is on each CS pin? Would be...
  6. Can you remind me about this hardware? Is it one...

    Can you remind me about this hardware? Is it one of the test boards I sent a couple months ago? Maybe one that looks like this?

    26816

    I have 3 of those on my desk, but all are smaller chips. ...
  7. I know this opinion will be unpopular, but I...

    I know this opinion will be unpopular, but I really want to avoid APIs which essentially cheat the FS abstraction layer. Yes, it is an easy path to solving some types of performance issues, but this...
  8. Can use use a #define or template or some other...

    Can use use a #define or template or some other way so programs with "new" always use this?
  9. 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...
  10. 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.
  11. 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 ;)
  12. 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. ...
  13. 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)...
  14. 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.
  15. 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...
  16. 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.
  17. 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...
  18. 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...
  19. 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...
  20. 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...
  21. 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
    ...
  22. 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...
  23. 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.
    ...
  24. 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?
  25. Replies
    113
    Views
    2,897

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

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

    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...
  28. Replies
    2
    Views
    128

    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...
  29. Replies
    15
    Views
    364

    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...
  30. Replies
    51
    Views
    2,452

    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.
  31. Replies
    51
    Views
    2,452

    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.
  32. Replies
    14
    Views
    423

    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...
  33. Replies
    4
    Views
    156

    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...
  34. Replies
    51
    Views
    2,452

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

    Updated imxrt.h ...

    Updated imxrt.h

    https://github.com/PaulStoffregen/cores/commit/d15e3a3b5f670893bf310ba673948a976e78afed
  36. Replies
    51
    Views
    2,452

    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...
  37. Replies
    3
    Views
    194

    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...
  38. Replies
    51
    Views
    2,452

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

    Have you tried any non-SDHC (2GB or smaller) cards on SDIO?
  39. 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...
  40. 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,...
  41. Which Teensy model are you using?

    Which Teensy model are you using?
  42. 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)
  43. 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.
    ...
  44. Isn't this it? ...

    Isn't this it?

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

    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...
  46. 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...
  47. Replies
    4
    Views
    252

    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...
  48. Replies
    113
    Views
    44,946

    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
  49. 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...
  50. Replies
    4
    Views
    254

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