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
    38
    Views
    452

    As you can see most of the time we do it asynch. ...

    As you can see most of the time we do it asynch. Note the MSC stuff does a lot of this stuff Sync...

    Note: on doing new stuff I am a bit rusty: I will show some of the stuff from USBSerialBase...
  2. Again I am not as experienced with the FAT system...

    Again I am not as experienced with the FAT system in SDFat and the like, although I understand a lot more of it than I used to. And I am pretty good at using a global search function in sublime...
  3. Replies
    361
    Views
    40,983

    There are only 4 Interval timers... Which I...

    There are only 4 Interval timers... Which I believe are the 4 PIT timers... But again there are several others including software driven ones. So question is, do any of these other timers do what...
  4. Replies
    2
    Views
    55

    Sorry, I have never used this library nor a...

    Sorry, I have never used this library nor a 2++...

    But looking at the library: https://arduino-irremote.github.io/Arduino-IRremote/
    Or the latest stuff up at:...
  5. @all, I hacked on the dump MBR to know a little...

    @all, I hacked on the dump MBR to know a little about extended partition...
    I have not pushed it up yet...



    // VolumeName.ino
    // VER: P494, p498, p506, p507. p522
    // An example of how to...
  6. The question is, what is the 4th partition? It...

    The question is, what is the 4th partition? It shows type: 0xf
    Looking at: https://en.wikipedia.org/wiki/Partition_type
    It is an Extended Partition indicator! So
    the data for your actual...
  7. Thanks, The SDFat library code is not setup to...

    Thanks, The SDFat library code is not setup to handle GPT... So not sure if anyone will look at adding it to the MSC stuff...

    @all Thought about more hack for exFat free clusters, but the main...
  8. Sorry I maybe merged with the wrong version of...

    Sorry I maybe merged with the wrong version of the changes... Mainly the only thing I meant to play with with some of the messages was to add in more information, like this pointer or the like as...
  9. Thanks. I believe there are two parts here. ...

    Thanks.

    I believe there are two parts here.

    Master Boot Record format of disks (MBR) which is I think the only style of disks that the Partition stuff built into SDFat library supports, The...
  10. Replies
    361
    Views
    40,983

    @kdharbert - I ca not tell from your comments...

    @kdharbert - I ca not tell from your comments here are you talking about the T4 and T4.1 or the future 1170 stuff.
    For some of the capabilities of 1170, you might want to look at their now...
  11. Morning all, It is interesting with the Fat...

    Morning all,

    It is interesting with the Fat tables. Knowing what type of partition each one is, is done by SDFat code. My PFsFat classes are again just FsFat class with a couple things now:
    ...
  12. So far I have done a really dirty version of the...

    So far I have done a really dirty version of the FatPartition getFreeClusterCount code as part of the VolumeName.ino sketch.

    I think most if not all of the changes are in the two Github Projects:...
  13. Replies
    172
    Views
    9,870

    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.
  14. Replies
    361
    Views
    40,983

    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...
  15. @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...
  16. 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...
  17. Replies
    2
    Views
    80

    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...
  18. @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...
  19. 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...
  20. @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...
  21. 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...
  22. Replies
    4
    Views
    143

    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...
  23. Replies
    6
    Views
    141

    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...
  24. 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...
  25. 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...
  26. 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.
  27. @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...
  28. 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...
  29. 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...
  30. 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...
  31. 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.
  32. 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:
    ...
  33. 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...
  34. 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...
  35. 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...
  36. 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...
  37. Replies
    6
    Views
    179

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

    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...
  39. Replies
    38
    Views
    452

    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...
  40. Replies
    10
    Views
    351

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

    Yes Happy 51st Birthday...

    I think I remember back to then :D

    Have a great day!
  41. 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...
  42. @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.
    ...
  43. 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......
  44. 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...
  45. Replies
    38
    Views
    452

    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
  46. Replies
    38
    Views
    452

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