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. Replies
    171
    Views
    9,695

    Mine is on a FedEx truck to be delivered in town...

    Mine is on a FedEx truck to be delivered in town today... It will probably be several days before I go into town to pick it up.
  2. Replies
    353
    Views
    40,557

    My guess (and it is only a guess) is they have...

    My guess (and it is only a guess) is they have been waiting for the bootloader chip (https://www.pjrc.com/store/ic_mkl02_t4.html)
    Which I think still has a limit of 10...
  3. @all - I think I will try a hack to see how much...

    @all - I think I will try a hack to see how much if any the freeClusterCount code could be sped up.

    What I am thinking of doing is start off with Fat (so Fat16/32). I am curious of how fast is it...
  4. I was sort of curious about what ever happened to...

    I was sort of curious about what ever happened to this project as well as the other Controller board that in another thread, that was made at one point for one of the PrintrBot models. As I still...
  5. Replies
    2
    Views
    45

    Sorry I know nothing abot scones or the like, so...

    Sorry I know nothing abot scones or the like, so not sure how much help I will be...
    But one thing stands out is: ARDUINO_TEENSY_MICROMOD
    That is for a non-existent board that is rummer to be...
  6. @mjs513, that is sort of what I figured. @all...

    @mjs513, that is sort of what I figured.

    @all - Keep wondering about how SLOW the getting free space is

    I can imagine that it could probably be sped up a lot, but not sure how doable it is...
  7. Yes So far I have only put in code for formatting...

    Yes So far I have only put in code for formatting of LittleFS stuff, have not dealt yet with FAT file systems... So far no API or methods that I know of for it, only the sketches in the SDFat...
  8. @mjs513, now We need to find way to update the...

    @mjs513, now We need to find way to update the free/used space.

    And need to test unplugging a device and do we properly remove the partitions...

    Also I again want to try updating the...
  9. I know playing around with MTP and the like, I...

    I know playing around with MTP and the like, I believe if you do all writes in units of sectors or clusters, it can run a whole lot faster.
    For example I know it was a lot faster with 4K blocks...
  10. Replies
    4
    Views
    126

    Always hard to know without a lot of additional...

    Always hard to know without a lot of additional information. Could be simply either overrunning the display with data or...

    Could be the Serial buffer size, and you have more data on Serial than...
  11. Replies
    6
    Views
    134

    Sorry, this is probably a question that maybe...

    Sorry, this is probably a question that maybe only Paul can answer,

    But my gut tells me that you may not be able to do this.
    That is the IMXRT1060RM section 42.2.1 mentions: Up to 8...
  12. Aargh and :D Sometimes it is the simple...

    Aargh and :D

    Sometimes it is the simple things!

    Like the right number of msc objects!

    I pushed up a change in my temporary branch...

    Sorry in this push, that I removed compiler stuff...
  13. 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...
  14. 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.
  15. @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...
  16. 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...
  17. 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...
  18. 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...
  19. 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.
  20. 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:
    ...
  21. 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...
  22. 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...
  23. 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...
  24. 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...
  25. Replies
    6
    Views
    164

    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...
  26. Replies
    34
    Views
    360

    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...
  27. Replies
    34
    Views
    360

    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...
  28. Replies
    10
    Views
    337

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

    Yes Happy 51st Birthday...

    I think I remember back to then :D

    Have a great day!
  29. 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...
  30. @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.
    ...
  31. 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......
  32. 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...
  33. Replies
    34
    Views
    360

    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
  34. Replies
    34
    Views
    360

    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...
  35. 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:
    ...
  36. @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...
  37. 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...
  38. 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
  39. @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...
  40. 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.
  41. Replies
    909
    Views
    65,991

    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...
  42. Replies
    909
    Views
    65,991

    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...
  43. Replies
    532
    Views
    30,520

    @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...
  44. Replies
    909
    Views
    65,991

    @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...
  45. 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...
  46. Replies
    909
    Views
    65,991

    @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...
  47. Replies
    532
    Views
    30,520

    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...
  48. Replies
    532
    Views
    30,520

    @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...
  49. Replies
    532
    Views
    30,520

    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...
  50. Replies
    532
    Views
    30,520

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