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. If it does work, remember to set Tools > CPU...

    If it does work, remember to set Tools > CPU Speed to 528 MHz (or less) since the industrial temp version is only rated for 528 MHz.
  2. A1 (pin 15) should be usable. If you...

    A1 (pin 15) should be usable.




    If you want to reclaim A6, A7, A9, you could use I2S2 instead of I2S1. But then you'll need to disconnect the 5 I2S signals from their normal pins and use...
  3. Replies
    18
    Views
    451

    Before you completely give up on those boards,...

    Before you completely give up on those boards, maybe trying them with your Linux machine (assuming it really is Linux running natively, not inside a VM). Or even with another Windows machine.
    ...
  4. All that sounds pretty reasonable. The capacitor...

    All that sounds pretty reasonable. The capacitor needs to be a high frequency ceramic type, but the actual capacitance isn't critical. 22nF works just as well as 0.1uF.
  5. Replies
    18
    Views
    451

    I uploaded your HEX file several times to a...

    I uploaded your HEX file several times to a Teensy 3.2 here. Every time, my computer (running Ubuntu 20.04 Linux) properly detected the serial port (as /dev/ttyACM0, the name normally used on...
  6. Yes, this is possible. But you will need to...

    Yes, this is possible. But you will need to access hardware registers directly to do it, since no Arduino functions are defined for this purpose. The specific register names and details depend on...
  7. Replies
    18
    Views
    451

    put it into a zip file and try attaching the zip...

    put it into a zip file and try attaching the zip to your message
  8. Replies
    18
    Views
    451

    If you'd like me to check, you can post your HEX...

    If you'd like me to check, you can post your HEX file and I'll program it onto a Teensy 3.2 here. To get the hex file, you can use click Sketch > Export Compiled Binary. Or you can turn on verbose...
  9. Replies
    18
    Views
    451

    Probably not. To really mess up a Teensy 3,...

    Probably not.

    To really mess up a Teensy 3, you need to craft a very special program which both erases a part of the flash memory, and then programs it. If you change the FSEC and FOPT bytes in...
  10. I'm guessing this is Teensy 4.1? Usually...

    I'm guessing this is Teensy 4.1?

    Usually shorting an output pin to an unused pin is fine. On Teensy 4.1 the unused pins default to a weak "keeper" circuit. You might use pinMode(38,...
  11. Are you confident all the pins are still...

    Are you confident all the pins are still connected between your Teensy and the audio shield? This problem really sounds like what happens when 1 or more wire between the two boards is disconnected.
  12. But perhaps that page has slightly outdated info...

    But perhaps that page has slightly outdated info "Teensy Loader is not able to detect the capability of standard Teensy 4.0 or 4.1 boards". More precisely, it can't detect the security capability of...
  13. Best guess is an old Teensy 4.1, manufactured...

    Best guess is an old Teensy 4.1, manufactured before about June 2021. You said "also brand new", but does that mean recently purchased, or could these be older boards which simply haven't been...
  14. While it was meant for testing fault recovery on...

    While it was meant for testing fault recovery on Teensy 4, maybe the myFault examples can help give you some ideas?

    https://github.com/PaulStoffregen/MyFault
  15. Any idea which FTDI chip is used? Can you plug...

    Any idea which FTDI chip is used? Can you plug it into a PC and get the vid & pid numbers? Or edit USBHost_t36 to turn on USBHOST_PRINT_DEBUG and capture the huge amount of info it prints to the...
  16. FastLED.addLeds(leds,...

    FastLED.addLeds<WS2812B, DATA_PIN, GRB>(leds, NUM_LEDS);


    Use WS2812Serial. FastLED's normal WS2812B driver doesn't work well audio processing.

    In Arduino, click File > Examples >...
  17. Replies
    1,009
    Views
    82,539

    Some time ago I made minor updates to the my blue...

    Some time ago I made minor updates to the my blue breakout board (pictures on msg #184 and msg #547 and msg #671).

    The 14 pin display connector was changed to use pins 1 & 4 for D/C & CS, for the...
  18. Replies
    7
    Views
    155

    Sure sounds like connectivity between the chips...

    Sure sounds like connectivity between the chips has failed.

    From the verbose info log, your PC sends the request for Teensy to reboot into bootloader mode at 11:09:20.458


    11:09:20.458 (reboot...
  19. Make sure you're using the latest software, or at...

    Make sure you're using the latest software, or at least version 1.54. Older versions have the ancient Arduino SD library which can't possibly use more than 1 card. Newer versions use SdFat, where...
  20. Replies
    2
    Views
    110

    Sadly, the spambot editing was a big problem...

    Sadly, the spambot editing was a big problem before the 2 hour limit. We also had a couple cases where someone got frustrated and edited all their messages in a bad way, but that’s rare. I believe...
  21. Replies
    7
    Views
    155

    Two quick tests can confirm if the bootloader is...

    Two quick tests can confirm if the bootloader is running.

    First measure the voltage on the Program pin. It should be 3.3V, due to the internal pullup resistor in the bootloader chip. 3.3V...
  22. Replies
    4
    Views
    155

    Elsewhere on that page is documentation about the...

    Elsewhere on that page is documentation about the flush() function from Arduino's alpha versions, before the 1.0 release so many years ago. That's how long ago this page was originally written!
  23. Replies
    4
    Views
    155

    Ah, that web page writing is *very* old. I've...

    Ah, that web page writing is *very* old. I've just updated it.

    https://www.pjrc.com/teensy/td_serial.html

    When it was written, many years ago, Teensy 4.0 & 4.1 did not exist. All the earlier...
  24. Replies
    4
    Views
    257

    With the chip shortages getting even worse,...

    With the chip shortages getting even worse, "soon" probably won't be anytime in the next 6 months!
  25. serialEvent() is called from yield(). It's not...

    serialEvent() is called from yield(). It's not called from interrupt context.

    I believe this problem does show that we need to improve Teensy's fork of SdFat to call yield() while it's spending...
  26. What you probably want is Arduino Portable mode...

    What you probably want is Arduino Portable mode. But unfortunately it's not supported on MacOS.

    I believe the main problem you're seeing is any library you install into...
  27. Normally you need 3 wires, RX1->TXD, TX1->RXD,...

    Normally you need 3 wires, RX1->TXD, TX1->RXD, and GND-GND.
  28. Replies
    5
    Views
    177

    You can get Teensy Loader without the Arduino...

    You can get Teensy Loader without the Arduino stuff.

    https://www.pjrc.com/teensy/loader.html

    Just open the HEX or EHEX file with File > Open, since Arduino won't be there to tell it where the...
  29. Replies
    22
    Views
    524

    None of these audio DACs are really designed for...

    None of these audio DACs are really designed for DC output. They may give some DC offset when they're supposed to be zero.

    Most of them also use an internal voltage reference which is "stable"...
  30. Replies
    22
    Views
    524

    One other minor point. I2S is mentioned above. ...

    One other minor point. I2S is mentioned above. The audio shield with SGTL5000 chip always uses I2S.

    CS42448 can use either I2S or TDM. Normally TDM is used, because it requires fewer signals...
  31. Replies
    22
    Views
    524

    You can't just choose any spare pin. Only...

    You can't just choose any spare pin. Only certain pins can transmit digital audio.

    The pin functions are documented in 2 places. First is the pinout card, which comes with Teensy 4.1 and can...
  32. Maybe you're confusing 2 completely different...

    Maybe you're confusing 2 completely different things both named "event"?

    MTP has "events" which are 12 to 24 byte messages sent to the USB host. These messages inform the USB host when changes...
  33. Replies
    27
    Views
    8,419

    This is the page with the bootloader chip. ...

    This is the page with the bootloader chip.

    https://www.pjrc.com/store/ic_mkl02_t4.html
  34. As of version 1.56, the only way would be to edit...

    As of version 1.56, the only way would be to edit platform.txt to disable this operation.
  35. Replies
    3
    Views
    230

    Whew, so many questions. Here's a quick try to...

    Whew, so many questions. Here's a quick try to answer them all.

    edit - looks like Defragster was faster! ;)




    RAM2 is writable. As far as bus access is concerned, flash is read only.
    ...
  36. Yes, indeed. The variable "LocalPointer" is...

    Yes, indeed. The variable "LocalPointer" is already the address you want to print. By using "&LocalPointer", you're telling the compiler to print the address where the address of your data is being...
  37. Probably like this. int32_t...

    Probably like this.



    int32_t TestChunkMemory[64];
    uint32_t TestChunkAdress=(uint32_t)&TestChunkMemory[0];

    void setup() {
    while (!Serial) ;
    Serial.print("Local adress: ");
  38. Yes, the Octo28 adaptor uses those original 8...

    Yes, the Octo28 adaptor uses those original 8 pins. If you pair it together with the audio shield (rev D) or any other use of I2S1, you'll get 3 pins conflicting.

    Ideally we would make another...
  39. But maybe we should just support 255 byte...

    But maybe we should just support 255 byte filename length?

    Any chance you could try some of Defragster's huge file sets with LittleFS formatted to allow 255 vs 39 bytes. Does it make any real...
  40. This needs to be done inside LittleFS. It can't...

    This needs to be done inside LittleFS. It can't go into MTP_Storage, because MTP_Storage doesn't "know" these filesystem-specific limitations.
  41. If this matters, we could also check for...

    If this matters, we could also check for OpenSession in the timer.




    Agreed, I've never seen Windows transmit CloseSession. We would also need to look at the something like usb_configuration....
  42. It wasn't compiling after I synced to the latest...

    It wasn't compiling after I synced to the latest changes, so I put those #if lines back in.

    If it's causing you trouble now, I could just install MemoryHexDump here as a short-term solution. But...
  43. On Teensy 4.x, OctoWS2811 supports use of a...

    On Teensy 4.x, OctoWS2811 supports use of a custom pin list. See the Teensy4_PinList example for details. Unfortunately, (so far) FastLED's API doesn't provide any way to specify the pin list, or...
  44. OctoWS2811 defaults to use of pins 2, 14, 7, 8,...

    OctoWS2811 defaults to use of pins 2, 14, 7, 8, 6, 20, 21, 5 on all Teensy models.

    AudioOutputI2S uses pins 21, 23, 7, 20 on Teensy 4.0.

    27236

    27237

    Hopefully a deep dive into DMA &...
  45. Yes, FastLED can use OctoWS2811 as a "driver", so...

    Yes, FastLED can use OctoWS2811 as a "driver", so you use FastLED to do all the color & animation stuff and it uses OctoWS2811 to actually talk to the hardware. You get the best of both worlds......
  46. The 4682 product should work fine with Teensy...

    The 4682 product should work fine with Teensy 4.1.

    The 254 one might need slower SPI clock, because of delay from its buffer chip.
  47. I've updated the SdFat_Usage example to show how...

    I've updated the SdFat_Usage example to show how to use SPI1.

    https://github.com/PaulStoffregen/SD/commit/9912b57a0fa05de883ae8a0953386cbaf054b37b

    Here is a ready to go copy.



    /*
    SdFat...
  48. First, make sure you have the latest Teensyduino...

    First, make sure you have the latest Teensyduino (version 1.56). Versions older than 1.54 can't possibly use SPI1. In Arduino, click Help > About to check.

    You'll need to use the SdFat begin()...
  49. Replies
    18
    Views
    451

    Just to answer your "idea of what is going on"...

    Just to answer your "idea of what is going on" question, from the info you've given, sounds like the board is mistakenly going into bootloader mode as if you had pressed the pushbutton. So perhaps...
  50. Can you give me a link to DiskIOV2? Maybe 1 or...

    Can you give me a link to DiskIOV2?

    Maybe 1 or more functions which should be FLASHMEM are PROGMEM? Normally FLASHMEM is for functions and PROGMEM is for variables. But if you have no PROGMEM...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4