Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: wwatson

Page 1 of 8 1 2 3 4

Search: Search took 0.01 seconds.

  1. It is certainly above my pay grade:) That...

    It is certainly above my pay grade:)



    That would seem to be the easiest. And is very close to using 'uint8_t fat32FSInfoSector[2];'.
    Now to do some more testing with your latest updates.
  2. @KurtE - I finally found the information about...

    @KurtE - I finally found the information about FAT16/FAT32 FS Information Sector here:

    https://en.wikipedia.org/wiki/Design_of_the_FAT_file_system.

    I am not sure if you knew about it....
  3. @KurtE - Just downloaded and tested your changes....

    @KurtE - Just downloaded and tested your changes. Man that is impressive:) All this this time I have been trying to do what you just did with minimal success. I wonder if we could do something...
  4. @kurtE - just downloaded your changes and after...

    @kurtE - just downloaded your changes and after running some errands I can't wait to try them out. I noticed that you changed the print and println's back to Serial.printf's again. @Paul had asked me...
  5. @KurtE Can't wait to play with this. I had a...

    @KurtE Can't wait to play with this. I had a branch of (MSC-non-blocking) that I was playing with just to try learn about buffering reads and writes to MSC. I was using CircularBuffer from @tonton81...
  6. It's those little details that get me to. You...

    It's those little details that get me to. You know, the obvious ones that are so obvious you never notice them until they bite you:)
    Anyway tonight I will download your latest and hopefully this...
  7. @All - Trying to get caught up:) I am writing...

    @All - Trying to get caught up:)

    I am writing up doc's that explain more of what MSC does and the way's I have used it with the various versions of MSC. Maybe this will help with the current...
  8. It's working:) Will do the PR.

    It's working:) Will do the PR.
  9. Me too, bouncing between threads at my age...

    Me too, bouncing between threads at my age guaranties I will miss something. We are down one person at work so this week I might not be able play much:(

    Dinner and bed now...
  10. @KurtE - Same here as @mjs513. ...

    @KurtE - Same here as @mjs513.


    /home/wwatson/arduino-1.8.13/hardware/teensy/avr/libraries/SdFat/src/FsLib/FsNew.cpp:29: multiple definition of `operator new(unsigned int, unsigned long*)'...
  11. @KurtE Was wondering why you were silent for so...

    @KurtE Was wondering why you were silent for so long:confused: This is awesome;)

    Will download and test. That is a lot of work in a short time.

    Thanks
  12. @All - Ok, I have discovered a an unneeded delay...

    @All - Ok, I have discovered a an unneeded delay in MSC that affects the time it takes for initializing a USB drive. In MassStorageDriver.cpp line #200 is:

    msReset(0); // Assume bNumInterfaces =...
  13. Replies
    909
    Views
    66,360

    I had seen that thread and of course forgot about...

    I had seen that thread and of course forgot about it. That would be a good thread I think IMHO.
  14. Replies
    909
    Views
    66,360

    @KurtE - I am always amazed at solutions you guys...

    @KurtE - I am always amazed at solutions you guys come up with. What would an integration thread be? Would that just be discussions that pertain to the MTP, FS, MSC and littleFS on a new thread? If...
  15. Replies
    532
    Views
    30,726

    @All, I added 'volumeName.ino' example from...

    @All,

    I added 'volumeName.ino' example from post#522 to the examples in USbMSCFat.
  16. Replies
    532
    Views
    30,726

    Yes it does. Just trying to figure out which...

    Yes it does. Just trying to figure out which version I should add to UsbMSCFat. I am thinking p#506 as a base sketch, but not sure.
  17. Replies
    532
    Views
    30,726

    @KurtE - Done...

    @KurtE - Done...
  18. Replies
    532
    Views
    30,726

    @defragster I figured out how to install it...

    @defragster

    I figured out how to install it from FrankB's cores. Locked up without info still:(
  19. Replies
    532
    Views
    30,726

    @defragster I included T4_PowerButton.h. What...

    @defragster

    I included T4_PowerButton.h. What else do I need to do to show hard faults if they happen? This is new to me:)

    Thanks
  20. Replies
    532
    Views
    30,726

    @KurtE That is what I was thinking. In the...

    @KurtE


    That is what I was thinking. In the Linux disks formatting program it lists the partition type as 'NTFS/exFAT/HPFS' but shows NTFS and exFAT as two different format types. Possibly NTFS...
  21. Replies
    532
    Views
    30,726

    @All Took the rest of the day off and tried...

    @All

    Took the rest of the day off and tried out the latest sketch. Everything works great:) I had one little problem that was my fault when I was creating two partitions on a 16G thumb drive I...
  22. Replies
    532
    Views
    30,726

    @All When you guy's go for something, it...

    @All

    When you guy's go for something, it always amazes me. I learn so much from your testing:)

    There are two timeouts in 'msc.h' located in the 'USBHost_t36/utility' folder that you can tweak...
  23. Replies
    532
    Views
    30,726

    You would use this: UsbFs msc1;...

    You would use this:


    UsbFs msc1;
    expartVol.begin(msc1.usbDrive(), true, 1);


    .usbDrive() is the equivilent of .card().

    The procedure would be calling sd.cardBegin() followed by...
  24. Replies
    532
    Views
    30,726

    Did it not work with ExFat assuming 'volumeName...

    Did it not work with ExFat assuming 'volumeName .ino'?

    Edit: Figured it out. If you format with 'ExFatFormatterUSB.ino' or 'ExFatFormater.ino' you cannot set the volume label. Another function...
  25. Replies
    532
    Views
    30,726

    The driver part of MSC is now included in...

    The driver part of MSC is now included in TD1.54B6 USBHost_t36. For SdFat usage with MSC use this library:

    https://github.com/wwatson4506/UsbMscFat.

    Other than reference, the original versions...
  26. Replies
    532
    Views
    30,726

    @mjs513 @KurtE First, as per post #420 I do have...

    @mjs513 @KurtE First, as per post #420 I do have an initial sketch that will read the volume labels for both Fat32 and ExFat on SD cards and USB drives. This is my first attempt a it and is only...
  27. Replies
    532
    Views
    30,726

    You are welcome. I want to do the same with MSC...

    You are welcome. I want to do the same with MSC and UbFat.During the week I do not have much time to play with this but with taxes being done next weekend is MINE:)
  28. Replies
    532
    Views
    30,726

    @mjs13 - I modified the sketch to show info about...

    @mjs13 - I modified the sketch to show info about the ExFat partition. ExFat is treated differently than Fat32. With the sketch you provided partition 4 was showing this:

    Partition 4

    Scanning...
  29. Replies
    532
    Views
    30,726

    Thanks @mjs513 - I most certainly want to play:)...

    Thanks @mjs513 - I most certainly want to play:)

    I just finished up the last of my honey do's and got my wife off to work. You guys amaze me with how fast you can figure out this stuff and...
  30. Replies
    532
    Views
    30,726

    @mjs513 This is a pointer to the SD card...

    @mjs513



    This is a pointer to the SD card object (driver) for a particular SD card. This is found in 'SdFat.h'. The equivalent is found in the UsbMSCFat folder 'UsbFat.h' and would be...
  31. Replies
    909
    Views
    66,360

    @KurtE Did the pull request. After a few...

    @KurtE



    Did the pull request. After a few chores today, I am going to play with MTP_T4:)
  32. Replies
    532
    Views
    30,726

    That is awesome:) I always was wondering how to...

    That is awesome:) I always was wondering how to set USB mass storage devices up with MTP but never had the time to really keep up with the development.

    Multiple drives are just a matter of...
  33. Replies
    532
    Views
    30,726

    Glad to see that it working. I was hoping that...

    Glad to see that it working. I was hoping that other people could test with there USB drives. 'mscFS.h' is an MSC version of 'SD.h' and 'littleFS.h' setup to use 'USBFat.h' which also includes...
  34. Replies
    532
    Views
    30,726

    I have been watching the development of LittleFS...

    I have been watching the development of LittleFS and MTP_T4 and at the same time working with SdFat and MSC. The driver part of MSC is now part of USBHost_t36 thanks @Paul. A lot of things have...
  35. Replies
    12
    Views
    397

    @MichaelMeissner - I use Ubuntu 18.04. it has...

    @MichaelMeissner - I use Ubuntu 18.04. it has been a while since I played with MTP_T4, but I did have it sort of working with Linux. Linux would auto mount all of the drives and I could copy files...
  36. Replies
    830
    Views
    25,619

    You are right. I remember that post as well....

    You are right. I remember that post as well. Completely forgot about it. Oh well, at least I know it works. Right now I guess a lot of things are still up in the air and I have a tendency to jump the...
  37. Replies
    830
    Views
    25,619

    @mjs513 - Not sure if you ever had time to play...

    @mjs513 - Not sure if you ever had time to play with the wavPlayer sketch yet. I have LittleFS initially working with it. I chose to start testing with LittleFS_SPINAND using chipSelect = 4....
  38. Replies
    7
    Views
    614

    @Bill - Thanks to the examples you provided I now...

    @Bill - Thanks to the examples you provided I now have my MSC Mass Storage driver completely isolated from an unmodified SdFat. Everything is working as it was before but with just one include of...
  39. Replies
    7
    Views
    614

    @Bill - Thanks for providing this. It gives me...

    @Bill - Thanks for providing this. It gives me direction for the best way to include Teensy USBHost Mass Storage devices with SdFat. I'm sure @Paul has his plans as well. This weekend I will use this...
  40. Replies
    7
    Views
    614

    You know Bill, all the times I have visited your...

    You know Bill, all the times I have visited your GitHub repository I never took the time to check it all out. Was usually checking or getting SdFat.
    It's interesting that you called it UsbFat...
  41. Replies
    7
    Views
    614

    HI Bill, I am really anxious to try this out...

    HI Bill,

    I am really anxious to try this out with the two versions of SdFat that I am working on for MSC. I have two versions of SdFat that I have modified adding my USB Host Mass Storage driver...
  42. Replies
    532
    Views
    30,726

    No it is not Bill Greiman's current SdFat-beta it...

    No it is not Bill Greiman's current SdFat-beta it is a modified version of it that I forked from Paul Stoffregen's repository. I am in the process of adapting MSC to use SdFat as well as FatFS. But...
  43. Replies
    532
    Views
    30,726

    I have just tested a 128GB USB thumb drive...

    I have just tested a 128GB USB thumb drive without a problem. In the past several people as well as myself have tested with several different types of USB Mass Storage devices. The size of the...
  44. Replies
    10
    Views
    517

    Maybe this?...

    Maybe this?
    https://forum.pjrc.com/threads/59020-Who-has-ESP8266-(WiFi)-working-with-Teensy-4-0?highlight=wifispi
    Post #9

    I was using SPI2 on the T3.6. The fastest reliable speed was 12MHz.
  45. Replies
    532
    Views
    30,726

    First of all mscFS is for use with my version of...

    First of all mscFS is for use with my version of SdFat-parallel which is a version of the Teensy file abstraction 'FS.h' being developed right now and is just an experiment with using MSC and SdFat....
  46. Replies
    909
    Views
    66,360

    You were right:) I know I copied and pasted to...

    You were right:) I know I copied and pasted to both usb_desc.h files but obviously did not save the changes. That's what I get for staying up late and trying to do stuff. It now compiles and uploads...
  47. Replies
    909
    Views
    66,360

    @WMXZ Missed this step last night. I...

    @WMXZ


    Missed this step last night. I updated boards.txt. Now 'MTP Disk SERIAL (Experimental)' shows up in the tools menu.

    Also for this:

    permission denied for device '/dev/hidraw0'
    I...
  48. Replies
    141
    Views
    7,513

    Found a couple of inop links on the main products...

    Found a couple of inop links on the main products page:

    Breakout Board R2 – Larger Teensy 3.2 bottom pads breakout – Frank Boesing / OSH Park.
    https://oshpark.com/shared_projects/ttl7D5iT

    and:...
  49. Replies
    909
    Views
    66,360

    Ok - I finally got it to compile using the...

    Ok - I finally got it to compile using the latest version of 'cores' without using 'USB2'. Now it gives this error when uploading:

    error sending reboot command to /dev/hidraw0
    Teensy did not...
  50. Replies
    909
    Views
    66,360

    @WMXZ - for the life of me I have not been able...

    @WMXZ - for the life of me I have not been able to get MTP_T4 to compile. I cloned MTP_T4 and USB2 libraries and put them in the 'Arduino/libraries folder'. Beings I do not have the latest cores...
Results 1 to 50 of 378
Page 1 of 8 1 2 3 4