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 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...
  2. 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...
  3. 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...
  4. 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...
  5. 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...
  6. 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.
    ...
  7. Replies
    3
    Views
    59

    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...
  8. 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,...
  9. 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...
  10. 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...
  11. 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...
  12. 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...
  13. 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?
  14. 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:
  15. 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.
  16. 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,...
  17. 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.
  18. 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.
  19. 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...
  20. 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.
    ...
  21. 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...
  22. 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.
  23. 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...
  24. Replies
    27
    Views
    2,680

    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...
  25. Replies
    27
    Views
    2,680

    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...
  26. 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...
  27. Replies
    4
    Views
    145

    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).
  28. 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...
  29. 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...
  30. 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.
  31. 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...
  32. 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
    ...
  33. Replies
    60
    Views
    1,162

    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.
  34. 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...
  35. Replies
    60
    Views
    1,162

    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. ...
  36. Replies
    60
    Views
    1,162

    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...
  37. Replies
    20
    Views
    665

    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...
  38. Replies
    20
    Views
    665

    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...
  39. 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...
  40. Replies
    60
    Views
    1,561

    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,...
  41. Replies
    60
    Views
    1,162

    Thanks. There's probably nothing that can be...

    Thanks. There's probably nothing that can be done to make I2C actually work over such a cable, but at least the Wire library should always return an error. It should never crash, no matter what...
  42. I really don't know which way is best, but I...

    I really don't know which way is best, but I would like to improve the C++ new situation for 1.56. Until today I didn't even know the compiler offered a -fcheck-new flag. Very interesting....
    ...
  43. Replies
    60
    Views
    1,162

    More serial monitor testing probably isn't...

    More serial monitor testing probably isn't worthwhile. I've already spent quite a lot of time on the 3 known issues in msg #38. They're not going to be fixed anytime soon. Unless any other...
  44. Replies
    60
    Views
    1,162

    It turned out to be a deadlock condition between...

    It turned out to be a deadlock condition between threads caused by code which attempts to manage buffers in a way to reduce the number of WIN32 system calls.

    Or just "Paul made a mistake while...
  45. Replies
    60
    Views
    1,162

    Difficult to say, as Arduino doesn't publish any...

    Difficult to say, as Arduino doesn't publish any copies of the IDE (for Windows) using a 64 bit JRE.

    If you wanted to experiment, you could try replacing C:\Program File (x86)\Arduino\java with a...
  46. Replies
    60
    Views
    1,162

    I only attempted to fix the "lockup" bug, where...

    I only attempted to fix the "lockup" bug, where the serial monitor would stall and no longer show any data Teensy transmits.


    I am aware of 3 other possible issues on Windows, all of which might...
  47. Replies
    60
    Views
    1,162

    Working on this problem today. Please give this...

    Working on this problem today. Please give this copy of teensy_serialmon.exe a try. It goes into {Arduino}/hardware/tools, replacing the copy that's already installed. The default {Arduino}...
  48. Yes, confirmed, this file is ok. It is an exact...

    Yes, confirmed, this file is ok. It is an exact match to the original copy created on my Linux machine.

    I build all of Teensy's Windows software by cross compiling from Linux. The files are them...
  49. Replies
    60
    Views
    1,162

    I rebooted that Macbook Air to Windows 10, and...

    I rebooted that Macbook Air to Windows 10, and sure enough the serial monitor stalls, usually with 10 minutes.
  50. Replies
    98
    Views
    7,121

    I'm not planning to change the software filenames...

    I'm not planning to change the software filenames or build process or website structure, at least not anytime soon.

    The reality we face today is a huge backlog of important software work that...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4