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
    65
    Views
    947

    Well, I wasn't planning to dive into this until...

    Well, I wasn't planning to dive into this until after MTP... but here I am (at least today) several hours into the USB serial issue.

    Indeed checking availableForWrite() or disabling the...
  2. Replies
    65
    Views
    947

    I'm testing with an availableForWrite() check...

    I'm testing with an availableForWrite() check added to usb_serial_print_speed.ino. Also been playing with edits inside usb_serial_write() to disable the check for unresponsive USB host.

    I did see...
  3. Replies
    65
    Views
    947

    Is it too much to ask for you run...

    Is it too much to ask for you run usb_serial_print_speed.ino?
  4. Replies
    65
    Views
    947

    I ran the code from msg #46...

    I ran the code from msg #46 (after fixing the missing braces on the for loop) and indeed it works fine. I'm getting the impression you've done all your testing with that program and ignored the fact...
  5. Replies
    65
    Views
    947

    Did you test with Teensy 4.0 or 4.1 running...

    Did you test with Teensy 4.0 or 4.1 running usb_serial_print_speed.ino ?

    Which program you run on Teensy matters. If you run a test like the one Frank showed in msg #38 on this thread, you'll...
  6. Replies
    65
    Views
    947

    I got Hterm to run after installing...

    I got Hterm to run after installing VC_redist.x64.exe downloaded from this Microsoft page.

    But then it gave me the same problems Defragster saw.




    I had Teensy 4.1 already running...
  7. Replies
    65
    Views
    947

    That is indeed remarkable, as Coolterm and others...

    That is indeed remarkable, as Coolterm and others do it.

    I downloaded Hterm, but it wants various DLLs my Windows test system doesn't have.

    26004

    Please keep in mind I'm not a Windows user...
  8. Replies
    65
    Views
    947

    I've been running the usb_serail_print_speed on...

    I've been running the usb_serail_print_speed on Teensy 4.1 connected to my Windows 10 test machine. Fast data transfer to Windows is clearly not working so well.

    For now I'm focusing on fixing...
  9. Replies
    65
    Views
    947

    This isn't an issue for 2 reasons. 1: The...

    This isn't an issue for 2 reasons.

    1: The "Teensy 4 Security" dialog box does have access to the Arduino IDE preferences in memory (even if not flushed to preferences.txt) because it is plugin...
  10. Replies
    65
    Views
    947

    I believe what probably happened is the Arduino...

    I believe what probably happened is the Arduino IDE started using the new location, but kept the new location in memory and didn't flush it to {AppData}/Arduino/preferences.txt until you quit the...
  11. Replies
    65
    Views
    947

    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...
  12. Replies
    65
    Views
    947

    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...
  13. 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...
  14. 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...
  15. Replies
    21
    Views
    732

    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,...
  16. 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.
  17. 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...
  18. 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.
  19. 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. ...
  20. 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...
  21. 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...
  22. 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...
  23. 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...
  24. 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...
  25. 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...
  26. 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.
    ...
  27. Replies
    4
    Views
    120

    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...
  28. 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,...
  29. 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...
  30. 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...
  31. 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...
  32. 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...
  33. 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?
  34. 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:
  35. 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.
  36. 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,...
  37. 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.
  38. 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.
  39. 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...
  40. 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.
    ...
  41. 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...
  42. 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.
  43. 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...
  44. Replies
    27
    Views
    2,759

    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...
  45. Replies
    27
    Views
    2,759

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

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