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

Search:

Type: Posts; User: KurtE

Page 1 of 10 1 2 3 4

Search: Search took 0.04 seconds.

  1. It should be in both Teensy3 and Teensy4...

    It should be in both Teensy3 and Teensy4 branches. And they are identical up on github, so you should be able to simply copy the one from the Teensy3 directory to the Teensy4 directory...

    Or...
  2. It will be interesting, as I believe it is just a...

    It will be interesting, as I believe it is just a beta that has been released. Also as it is a complete different platform, it will be interesting to see if/when Paul adds support.
  3. @all - I may take break from this for rest of...

    @all - I may take break from this for rest of day.

    Then I may try to see if I can reduce the number of abstractions and the like and get it to work... That is how much different does the...
  4. Ok, I changed that test sketch like: //...

    Ok, I changed that test sketch like:

    // Function to handle one MS Drive...
    void procesMSDrive(uint8_t drive_number, msController &msDrive, UsbFs &msc)
    {
    Serial.printf("Initialize USB...
  5. For the heck of it, to get another data point I...

    For the heck of it, to get another data point I am going to step back and play with the VolumeName sketch, and instead of processing one partition at a time, I am going to try to open up all...
  6. Sorry just got back: It gets sort of...

    Sorry just got back: It gets sort of interesting, I turned on the debug code in MassStorageDevice(USBHost) Not the big debug turn on, but one specific to this class:#define DBGprint 1

    I also...
  7. As you mentioned, it all is real strange... I...

    As you mentioned, it all is real strange...

    I have been off doing some other stuff for a bit!

    Will try to debug some more.
  8. Right now I am looking into the file USBFat.h...

    Right now I am looking into the file USBFat.h code:
    at:

    template <class Vol>
    class UsbBase : public Vol {
    public:
    ...
  9. It might be a problem with my mbr dump code, it...

    It might be a problem with my mbr dump code, it is pretty big hack, I try to call the read sector directly...

    bool mbrDmp(msController *pdrv) {
    MbrSector_t mbr;
    // bool valid = true;
    if...
  10. Thanks @mjs513 I understand what you are...

    Thanks @mjs513

    I understand what you are saying, but so far not sure where the connection is made:

    USB Drive Inserted

    msc # Partition Table
    part,boot,bgnCHS[3],type,endCHS[3],start,length...
  11. I have added some additional debug code: So...

    I have added some additional debug code:

    So far I pushed up a few debug output edits to the Msc... project in the branch: https://github.com/KurtE/UsbMscFat/tree/VolumeName_SD

    A new MTP branch...
  12. Yet another new day :D I have been playing...

    Yet another new day :D

    I have been playing with the MTP stuff, with partitions... And pulling out a fair percentage of the few hairs I have left :D

    I have hacked my way through to try to...
  13. Replies
    5
    Views
    107

    Again hard to know what is going on without...

    Again hard to know what is going on without details about the display and your wiring and...

    Is it this one: http://www.lcdwiki.com/2.8inch_SPI_Module_ILI9341_SKU:MSP2807
    Which is another ILI9341...
  14. Replies
    31
    Views
    286

    So far this one looks like it does not want to...

    So far this one looks like it does not want to give up it's secrets!

    That is it is not giving any clue by device class, subclass nor protocol. 0s for the device and 0xff for interface.
    So...
  15. Replies
    31
    Views
    286

    Hi Frank, Not sure the second one has HID or...

    Hi Frank,

    Not sure the second one has HID or not...

    But again maybe try plugging it into T3.6 or T4.x with one of the USBHost_t36 examples like I mentioned.
    And at about line 62 in...
  16. Replies
    10
    Views
    306

    Yes Happy 51st Birthday... I think I remember...

    Yes Happy 51st Birthday...

    I think I remember back to then :D

    Have a great day!
  17. Again as you mentioned maybe, as I added the...

    Again as you mentioned maybe, as I added the ability to pass through the partition number on that begin, that maybe I should just try that and maybe again only
    need to object types still. Will...
  18. @mjs513 and @wwatson - Yes I think it would be a...

    @mjs513 and @wwatson - Yes I think it would be a good place.

    But right now I am trying to rethink some of the integration of the MSC stuff into MTP... Trying to decide how far to try to take.
    ...
  19. Quick follow on: I just pushed up changes into...

    Quick follow on:
    I just pushed up changes into my branch: https://github.com/KurtE/UsbMscFat/tree/VolumeName_SD
    To hopefully have the MSC wrappers for the files/volume now call into the new PFs......
  20. Morning all (or time in your part of the world),...

    Morning all (or time in your part of the world),

    Starting to play with MTP again...

    First off: Integration question, probably for @PaulStoffregen.

    In an SdFat-beta project issue conversation...
  21. Replies
    31
    Views
    286

    Looks maybe like this one?...

    Looks maybe like this one? https://www.amazon.com/JahyShow%C2%AE-DVB-T-RTL2832U-Receiver-Compatible/dp/B01H830YQ6/ref=sr_1_8?dchild=1&keywords=RTL2832&qid=1614606952&sr=8-8
  22. Replies
    31
    Views
    286

    Hi Frank, It looks like this device is a HID...

    Hi Frank,

    It looks like this device is a HID (Human Interface Device) like mouse, some keyboard...

    There is an example sketch under USBHost_t36 HIDDeviceInfo that is setup to dump a lot of data...
  23. Just pushed up a new branch off of main which I...

    Just pushed up a new branch off of main which I synced back up: https://github.com/KurtE/UsbMscFat/tree/VolumeName_SD

    It now shows Volume information about SD Card as well:
    ...
  24. @mjs513 Long Pauses are often the trying to...

    @mjs513 Long Pauses are often the trying to compute the used or free space... As it walk billions and billions of ...

    Probably it for today. Probably tomorrow will look into MTP again with these...
  25. Maybe... But then there is also MTP with @WMXZ...

    Maybe... But then there is also MTP with @WMXZ and the like...

    Quick fyi - right after the merge,

    I updated the sketch again, such that you can dump the MBR for both USB devices as well as SD...
  26. Try syncing again. I thought I had disabled that...

    Try syncing again. I thought I had disabled that new... Turned out I had disabled the one in SDFat library instead :o
  27. @all, again not sure if best to mention here or...

    @all, again not sure if best to mention here or in the MSC thread...

    But I just pushed up a new Branch of the UsbMscFat library... https://github.com/KurtE/UsbMscFat/tree/PFsLib

    Where I...
  28. Sounds good! Will take in. Right now I am...

    Sounds good!

    Will take in. Right now I am trying to make a version of the fsFat which is partition friendly.
    Running into a few compile issues. Will let everyone know if I have any luck.
  29. Replies
    909
    Views
    65,695

    Actually I received a response on github from...

    Actually I received a response on github from Bill... Now there is not a leak as the new is not actually allocating memory...
    As the code like: m_fVol = new (m_volMem) FatVolume;

    is actually...
  30. Replies
    909
    Views
    65,695

    I sort of started a thread a little bit ago:...

    I sort of started a thread a little bit ago: https://forum.pjrc.com/threads/66338-Many-TLAs-MTP-MSC-FS-SD-SDFat-LittleFS-UsbMSCFat-to-work-with-each-other-8)
    Where I was maybe setting up for some...
  31. Replies
    532
    Views
    30,343

    @wwatson - Sounds great. @all as I mentioned...

    @wwatson - Sounds great.

    @all as I mentioned over in the MTP thread (https://forum.pjrc.com/threads/43050-MTP-Responder-Contribution?p=271721&viewfull=1#post271721)

    I am playing around with...
  32. Replies
    909
    Views
    65,695

    @mjs513 - Yep I am also thinking a smaller test...

    @mjs513 - Yep I am also thinking a smaller test with fewer Storage types would be nice and/or split some of them into multiple tabs...

    And yes right not I am still playing with the MSC multi...
  33. Glad you found the issue... :D Wonder what is...

    Glad you found the issue... :D
    Wonder what is different between T3.x and T4.x?

    Or does something in your interrupts also touch the Analog?
    Sounds like maybe need test case to see and maybe...
  34. Replies
    909
    Views
    65,695

    @all - Sometimes hard to know which thread to...

    @all - Sometimes hard to know which thread to discuss things like integration of MTP amd MSC... and the like.

    I am going to try doing some additional changes to my branch of the code to add some...
  35. Replies
    532
    Views
    30,343

    Thanks @mjs513 will probably look more in the...

    Thanks @mjs513 will probably look more in the morning.

    Today I also hacked up that function some more that printed that data, and used digital Write high/low with pin 0 for the whole duration and...
  36. Replies
    532
    Views
    30,343

    @defragster and @mjs513 I am sort of curious...

    @defragster and @mjs513 I am sort of curious about fragmentation works ;)

    For the Fat32 volume:
    I mucked up the beginning of the method most all of the class variables

    int32_t...
  37. Replies
    532
    Views
    30,343

    Full current sketch, Note I commented out the...

    Full current sketch, Note I commented out the earlier calls to get sizes...

    Waiting up to 5 seconds for USB drive 1
    ^^Waiting up to 5 seconds for USB drive 2
    ^^^^^^^~~~~:(Initialize USB...
  38. Replies
    532
    Views
    30,343

    So I tried adding in the above test sketch...

    So I tried adding in the above test sketch currently just to the FAT16 and FAT32 section code like:

    for (uint8_t i = 1; i < 5; i++) {

    switch (partitionTable[i - 1]) {
    case 11:
    ...
  39. Replies
    532
    Views
    30,343

    Maybe the code in the sketch is wrong... It...

    Maybe the code in the sketch is wrong...

    It is not applying the partition... I am going to move those calls into the sections by partition type and see what I get...

    Looks like we crossed...
  40. Replies
    532
    Views
    30,343

    Something does not appear to be working correctly...

    Something does not appear to be working correctly at all with the freeClusterCount:


    int32_t FatPartition::freeClusterCount() {
    #if MAINTAIN_FREE_CLUSTER_COUNT
    if (m_freeClusterCount >= 0) {...
  41. Replies
    532
    Views
    30,343

    @all - Another quick question: while starting to...

    @all - Another quick question: while starting to look at why the free space is TAKING SOOOOOOOO LLLLOOONNNGGG

    I noticed in the SDFat code:
    ...
  42. Replies
    532
    Views
    30,343

    Quick note: I am thinking it might make sense to...

    Quick note: I am thinking it might make sense to add the VolumeName.ino as an example sketch to maybe MscFS.h project. That way we can all keep track of it?

    Make sense?
  43. Replies
    532
    Views
    30,343

    Morning, Try picking up the latest UsbMSCFat...

    Morning,

    Try picking up the latest UsbMSCFat project - I added a hack into it that if you ask for the Used size, twice (or more) it remembers the first call to it, which we do as a debug message...
  44. Replies
    532
    Views
    30,343

    Thanks @defragster, I updated to your...

    Thanks @defragster,

    I updated to your version.

    I ran again, still real slow on my older thumb drives:

    Waiting up to 5 seconds for USB drive 1
    ^^Waiting up to 5 seconds for USB drive 2...
  45. Replies
    532
    Views
    30,343

    Just an FYI: I updated the Volume name sketch to...

    Just an FYI: I updated the Volume name sketch to also print out the total size and used size sort of plus elapsed time to get them for the different partitions:

    // VolumeName.ino
    // An example...
  46. Replies
    532
    Views
    30,343

    @mjs513 which code fragment... MSC or MTP... So...

    @mjs513 which code fragment... MSC or MTP... So far in MTP I have not converted the main code to try to do anything with partitions, other than so far I am printing them out and I am able to get the...
  47. Might really help to understand what exactly is...

    Might really help to understand what exactly is your setup?

    Windows? Linux? MAC? ... What version of Arduino are you running? What version of Teensyduino are you running?

    Anything changed on...
  48. Replies
    532
    Views
    30,343

    @wwatson - not sure, about NTFS here. It looks...

    @wwatson - not sure, about NTFS here. It looks like both partitions have type=7 which I believe is exfat. although looking at:https://en.wikipedia.org/wiki/Partition_type

    It looks like type of 7...
  49. Any luck? Looks a bit complicated to jump...

    Any luck?

    Looks a bit complicated to jump in... I prefer easier things like MSC and MTP :D

    Is it easy to setup and see failure when you don't have the hardware? Steps, and what to see when it...
  50. Replies
    532
    Views
    30,343

    Updated to fix the Fat16, also implemented a one...

    Updated to fix the Fat16, also implemented a one call to find volume label.

    And did some more gratuitous changes to have a function called by loop to process a drive, as to not need to reproduce...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4