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

  1. Replies
    19
    Views
    248

    What is meant by 'Code Black' ? Looked at the...

    What is meant by 'Code Black' ?

    Looked at the usb_serial_speed_test again. Windows is terrible.

    As part of the work to support upcoming Arduino 2.0, I'm going to change from anonymous pipes...
  2. Replies
    19
    Views
    248

    PSRAM and QSPI flash on the bottom side of Teensy...

    PSRAM and QSPI flash on the bottom side of Teensy 4.1 are completely separate from the fuses and code security stuff.

    Yes, on the latest round of beta boards I ran the HAB test program and didn't...
  3. That might be beyond what FlexIO can do. Maybe?...

    That might be beyond what FlexIO can do. Maybe?

    Keep in mind the 120 MHz speed is the internal clock, which is must use to sample any incoming signal. But it can sample on both rising and...
  4. Remember to get the FS_Integration branch, which...

    Remember to get the FS_Integration branch, which isn't the default.

    If using command line, I believe this get the latest for use with 1.56-beta1, right?


    git clone...
  5. Replies
    21
    Views
    717

    For the Arduino analogWrite() function, I really...

    For the Arduino analogWrite() function, I really need to say no to supporting the duplicate pins. I want to keep it simple. My main concern is people do share code. When others reuse that code,...
  6. 1.56-beta1 installers uploaded. ...

    1.56-beta1 installers uploaded.

    https://forum.pjrc.com/threads/68291-Teensyduino-1-56-Beta-1

    Hopefully with 1.56-beta1 the only things needed to get from github are MSC and MTP.
  7. When I write a file to a SD card and then put...

    When I write a file to a SD card and then put that card into reader connected to me Linux machine, the file modify times are off by several hours. Maybe Linux is reading the times as UTC and...
  8. Yes, but only on my local machine. I will...

    Yes, but only on my local machine. I will package up 1.56-beta1 this evening.
  9. When using the new DateTimeFields in MTP, please...

    When using the new DateTimeFields in MTP, please keep in mind it is slightly different than TimeElements. It follows C library struct tm format. The month is 0-based, not 1-12 as in TimeElements. ...
  10. When LittleFS updates are merged, I'll package up...

    When LittleFS updates are merged, I'll package up 1.56-beta1. Then you can can use "#if TEENSYDUINO >= 156" to check.

    My hope is to merge all this stuff "soon", so this sort of version checking...
  11. I haven't touched LittleFS yet. Hoping you can...

    I haven't touched LittleFS yet. Hoping you can do it and send a pull request? The core library now as breakTime() which converts the 32 bit RTC number to the format getCreateTime() and...
  12. Ok, finally here is the FS addition in the core...

    Ok, finally here is the FS addition in the core library.

    https://github.com/PaulStoffregen/cores/commit/6d0e3aee5ddb554a086316106281566ec4a950ec

    And here are updates to the SD library to use...
  13. We could add a LittleFS_QSPI class which contains...

    We could add a LittleFS_QSPI class which contains instances of both LittleFS_QSPIFlash and LittleFS_QPINAND. It's begin() function would just call both of those instances' begin() functions and...
  14. Preallocating a file isn't part of the...

    Preallocating a file isn't part of the abstraction layer. It's also not in Arduino's SD library API, nor a feature LittleFS offers (as far as I know). Preallocation probably doesn't even make any...
  15. Probably also worth mentioning LittleFS provides...

    Probably also worth mentioning LittleFS provides several classes for different type of media (Flash, NAND Flash, FRAM, volatile RAM, Program memory) and different connectivity (1 bit SPI vs 4 bit...
  16. FS.h is indeed the abstraction layer, which was...

    FS.h is indeed the abstraction layer, which was added in Teensyduino 1.54 and we're expanding for 1.56 to provide filesystem abstracted access to file creation and modification time.
    ...
  17. Replies
    3
    Views
    78

    Yes, either AudioOutputI2SQuad or AudioOutputI2S...

    Yes, either AudioOutputI2SQuad or AudioOutputI2S & AudioOutputI2S2 should work fine.

    You could connect up to 5 of those PCM5102 boards if you use AudioOutputI2SOct and AudioOutputI2S2. But one of...
  18. Could you post the complete program with all the...

    Could you post the complete program with all the missing filter initialization?

    The forum allows only 2 hours to edit an old message, so you'll need to just reply with the code again.

    Please,...
  19. I committed time functions the core library. ...

    I committed time functions the core library.

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

    Will work on FS.h soon...
  20. I've been experimenting this afternoon with...

    I've been experimenting this afternoon with bringing the Time library breakTime() and makeTime() functions into the core library. Sadly, it's looking like a thorny mess of conflicts. The typedef...
  21. Took a quick look at ESP cores, as they're the...

    Took a quick look at ESP cores, as they're the only other (that I know of) defining a File base class. Looks like both are using time_t.

    ESP8266 has these:


    time_t fileTime();
    time_t...
  22. Ok, so much to discuss. First, let's talk about...

    Ok, so much to discuss. First, let's talk about the File base class.

    Looks like everything so far has been built on top of SdFat's approach of a pair of pointers to 16 bit integers for FAT format...
  23. Looks like you're storing 2 attributes for the 16...

    Looks like you're storing 2 attributes for the 16 bit numbers of FAT filesystems?
  24. Sure looks that like an old file. It is...

    Sure looks that like an old file.



    It is supported in 1.55.

    Test with Arduino first, then check on PlatformIO. Try compiling a simple program like:
  25. Looking at the timestamp stuff today.... ...

    Looking at the timestamp stuff today....




    Agreed. I would like to bring more of this into the core library without any Time library dependency.
  26. Older version of the software don't support that...

    Older version of the software don't support that chip. It was added with this commit.

    https://github.com/PaulStoffregen/LittleFS/commit/4dcbbc9dd3e055d14392056b4521ecdc414816c6

    In Arduino,...
  27. Please keep in mind the ST7789 chip supports many...

    Please keep in mind the ST7789 chip supports many different data interfaces. The 8 and 16 bit interfaces are (theoretically) much faster and 1 bit serial.
  28. Does the full part number end with "Q" or "M"? ...

    Does the full part number end with "Q" or "M"?

    Normally the suffix letters on parts are minor details, but not so with these chips.
  29. The type of capacitor material matters more than...

    The type of capacitor material matters more than the actual capacitance. Use a X-type ceramic like X7R or X5R. Don't use Z5U or other non-ceramic types.

    But again, if the capacitor is only...
  30. You could build one using several bandpass...

    You could build one using several bandpass filters and mixers in the audio library, where you adjust the gain of each mixer input to control how much of that frequency range to pass to the output.
    ...
  31. That part is capacitor C5, which connects between...

    That part is capacitor C5, which connects between AREF and GND. Teensy++ 2.0 will work without it, but the quality of analog measurements will be degraded. If you never use analogRead(), just leave...
  32. Looks like the interface swap broken serial...

    Looks like the interface swap broken serial emulation on Linux, but only when using USB Type MTP. Windows and MacOS still work. I just fixed teensy_serialmon here.
  33. Everything looks like it's working, except for...

    Everything looks like it's working, except for this:



    Then of course you set the "Unable find Teensy Loader. (p) Is the Teensy Loader application running?" message in Arduino, because it...
  34. Replies
    27
    Views
    2,722

    I quickly tried running USB_Tester.ino on a...

    I quickly tried running USB_Tester.ino on a Teensy 4.1 rather than Teensy 3.6. So many things go wrong. This code was only tested on Teensy 3.6, specifically the hardware in the readme photo.

    To...
  35. Replies
    27
    Views
    2,722

    Ok, here's my attempt to offer a "solution". ...

    Ok, here's my attempt to offer a "solution".

    First, I set this up on my desk with a Teensy 3.6 to run the USB_Tester code and a MicroMod Teensy on Sparkfun's ML Carrier Board connected to the...
  36. OctoWS2811 uses DMA priority order. Probably not...

    OctoWS2811 uses DMA priority order. Probably not relevant to your situation, but you did ask and that is the 1 place I've definitely made use of the channel priority settings.




    While I can't...
  37. Replies
    4
    Views
    162

    The first program looks like it should work if...

    The first program looks like it should work if you just delete the SoftwareSerial stuff and connect the signals to the Serial1 RX1 and TX1 pins (digital pins 0 and 1).
  38. Glad it's working. It's a real shame those...

    Glad it's working. It's a real shame those charge-only cables aren't clearly labeled as not having data connection. It's by far the most common problem we see over and over.

    But the localhost...
  39. This soldering isn't good. The solder appears to...

    This soldering isn't good. The solder appears to have adhered to only the pins but not the PCB surface.

    25948

    Here's a quick sketch to try to show what's really happening.

    25949


    Some...
  40. This looks like there is no USB communication...

    This looks like there is no USB communication between Teensy and your Windows 10 machine.

    By far the most common problem is charge-only cables.
  41. Pressing the Program button should recover from...

    Pressing the Program button should recover from almost any type of crash on the MK20 chip. The one case I know about, and this probably isn't relevant here but I'll mention it anyway, was early in...
  42. Final followup... this feature was added as...

    Final followup... this feature was added as startup_middle_hook() and has been released in Teensyduino 1.55.

    So far only info is on github.

    https://github.com/PaulStoffregen/cores/pull/605
    ...
  43. Replies
    60
    Views
    1,408

    Haha, I'm nowhere near that good with Java! I...

    Haha, I'm nowhere near that good with Java! I might not even have an idea of what's really wrong even if I could see the exception info and stack trace.
  44. The bootloader and Teensy Loader are specifically...

    The bootloader and Teensy Loader are specifically designed to NOT do this. While it would be convenient in some cases, many people wish to put Teensy inside products where they do not want their...
  45. Replies
    60
    Views
    1,408

    The Wire library should never lock up, no matter...

    The Wire library should never lock up, no matter what you've done wrong with the signals. We'll, short of damaging Teensy's hardware.

    All sorts of things could explain a communication problem. ...
  46. Replies
    60
    Views
    1,408

    Yeah, not so surprising it didn't work. But you...

    Yeah, not so surprising it didn't work. But you did get the splash page, so it did start with that JRE, then something went wrong...




    I believe the Windows version of Arduino has 2 launcher...
  47. Replies
    21
    Views
    717

    I've updated these web pages to show PWM is on...

    I've updated these web pages to show PWM is on pin 54.

    https://www.pjrc.com/store/teensy41.html

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

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

    Also...
  48. Replies
    21
    Views
    717

    I'm finally updating the back side of the Teensy...

    I'm finally updating the back side of the Teensy 4.1 card. We're getting ready to order another batch of cards this week, to start shipping probably mid-October.

    Here's the back side with pin 54...
  49. Localhost networking (IP number 127.0.0.1) is...

    Localhost networking (IP number 127.0.0.1) is needed for communication between these 2 programs. It should be set up by default on all Linux distros. Maybe you system's network config got changed...
  50. Replies
    60
    Views
    1,762

    Here is an attempt to fix the bug where upload...

    Here is an attempt to fix the bug where upload sometimes fails (if the pushbutton is pressed again) resulting in both LEDs blinking for several seconds.

    Extract this to {Arduino}/hardware/tools,...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4