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. @mjs513 - Good morning. Probably need to...

    @mjs513 - Good morning.

    Probably need to include: UsbMscFat\.....\PFsLib\PFsVolume.h
    Which is probably included in some other higher level include files.
    Like:
    #include "mscFS.h"
  2. Replies
    6
    Views
    11

    Sorry I am not 100% sure of your setup. Also I...

    Sorry I am not 100% sure of your setup. Also I do most of my stuff on Windows, but do keep a machine with Ubuntu...

    Might help to know what version of Ubuntu, running on? 32 bit or 64 bit...
    ...
  3. Morning all, The info sector is interesting...

    Morning all,

    The info sector is interesting thing, may add another hack onto the VolumeName sketch version which tries to read it. I am sort of curious for example if I then transfer a stick to...
  4. Again my strong guess is you choose the USB type...

    Again my strong guess is you choose the USB type of: Keyboard + Mouse + Joystick
    But what you wanted was: Serial + Keyboard + Mouse + Joystick
  5. I could be wrong, but my guess is your USB option...

    I could be wrong, but my guess is your USB option you built with may not include Serial?
    That is looks like you are using Product ID 0x482 Which I think is the USB Type: Keyboard + Mouse + Joystick...
  6. Thanks, I had not looked at the info sector as,...

    Thanks, I had not looked at the info sector as, you mentioned it is not used in SDFat... Not sure how hard it would be to use it.

    There is optional code in Fat code that if enabled when you ask...
  7. Replies
    12
    Views
    318

    Not sure what you are saying. No one has gotten...

    Not sure what you are saying. No one has gotten what to work on 1060? Several of us have played some. I have a sketch that we used every hardware Serial port plus a lot of other Serial ports...
  8. Yes, in my local branches I commented out some of...

    Yes, in my local branches I commented out some of the printing... FatPartition.cpp
    in SDFat code...

    int32_t FatPartition::freeClusterCount() {
    #if MAINTAIN_FREE_CLUSTER_COUNT
    if...
  9. Replies
    48
    Views
    609

    Again you might take a look at the MSC stuff...

    Again you might take a look at the MSC stuff (MassStorageDriver.cpp) as it runs more or less in lock step...

    Again it may not do as much with control but for sending and receiving messages:
    look...
  10. Replies
    12
    Views
    318

    Sorry, not sure if there is some specific way to...

    Sorry, not sure if there is some specific way to tell a tell a timer like that how many pulses to do... You can probably have an interrupt or the like turn it on or off...

    Another possibility for...
  11. I just pushed up a updated version of it that has...

    I just pushed up a updated version of it that has a lot less changes to the print stuff.
    I did a git rebase -i ...
    Update as to not have it show that I changed them all back to old and then all...
  12. Replies
    48
    Views
    609

    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...
  13. 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...
  14. Replies
    361
    Views
    41,155

    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...
  15. Replies
    2
    Views
    62

    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:...
  16. @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...
  17. 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...
  18. 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...
  19. 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...
  20. 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...
  21. Replies
    361
    Views
    41,155

    @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...
  22. 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:
    ...
  23. 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:...
  24. Replies
    172
    Views
    9,934

    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.
  25. Replies
    361
    Views
    41,155

    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...
  26. @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...
  27. 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...
  28. Replies
    2
    Views
    83

    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...
  29. @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...
  30. 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...
  31. @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...
  32. 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...
  33. Replies
    4
    Views
    148

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

    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...
  35. 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...
  36. 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...
  37. 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.
  38. @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...
  39. 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...
  40. 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...
  41. 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...
  42. 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.
  43. 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:
    ...
  44. 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...
  45. 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...
  46. 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...
  47. 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...
  48. Replies
    6
    Views
    185

    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...
  49. Replies
    48
    Views
    609

    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...
  50. Replies
    48
    Views
    609

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