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

Search:

Type: Posts; User: mjs513

Page 1 of 10 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    463
    Views
    28,788

    @KurtE Fixed this now works for USB devices: ...

    @KurtE
    Fixed this now works for USB devices:

    msc1 Partition Table
    part,boot,bgnCHS[3],type,endCHS[3],start,length
    exFAT: 1,0,0x20,0x21,0x0,0x7,0xFE,0xFF,0xFF,2048,204800000
    FAT32:...
  2. Replies
    463
    Views
    28,788

    Out of curiosity I did add a print directory (LS)...

    Out of curiosity I did add a print directory (LS) for the fat just to see if it work:

    msc1 Partition Table
    part,boot,bgnCHS[3],type,endCHS[3],start,length
    exFAT:...
  3. Replies
    463
    Views
    28,788

    @KurtE Got it partially working msc1...

    @KurtE
    Got it partially working

    msc1 Partition Table
    part,boot,bgnCHS[3],type,endCHS[3],start,length
    exFAT: 1,0,0x20,0x21,0x0,0x7,0xFE,0xFF,0xFF,2048,204800000
    FAT32:...
  4. Replies
    463
    Views
    28,788

    @KurtE - @all Finished my diversions this...

    @KurtE - @all

    Finished my diversions this morning and guess I am going to start playing with partitions again. This stuff is giving me a headache to be honest - a lot of pieces to the puzzle.
    ...
  5. Replies
    463
    Views
    28,788

    Thanks Kurt - right now by brain is mush working...

    Thanks Kurt - right now by brain is mush working on multiple things at a time :) Need a break before getting back into it.
  6. Replies
    463
    Views
    28,788

    Question: To set up a volume say for an exFat...

    Question:
    To set up a volume say for an exFat partion I do a:
    expartVol.begin(sd.card(), true, 1);

    for an SD Card. Now, if I am using a usb drive (non sd). What do I do for a blockdevice...
  7. Replies
    463
    Views
    28,788

    Try pulling from Paul's repository for...

    Try pulling from Paul's repository for USBHost_t36 - I switched over to that for testing. Just looked looks like its like it should be the same though.
  8. Replies
    463
    Views
    28,788

    @defragster Maybe its using an outdated...

    @defragster
    Maybe its using an outdated USBHost_t36? or maybe try it from Arduino IDE :


    Using library UsbMscFat-main at version 1.0.0 in folder:...
  9. Replies
    463
    Views
    28,788

    @defragster I am assuming that those libraries...

    @defragster
    I am assuming that those libraries in T:\tCode\libraries\ are some linked to the libaries in T:\arduino-1.8.13_t54\hardware\teensy\avr\libraries?
  10. Replies
    830
    Views
    24,515

    Ok cool was just looking at this now - so now...

    Ok cool was just looking at this now - so now don't have to. Do have to so some testing with the changes though in MTP and standalone :)
  11. Replies
    24
    Views
    414

    Ok here is one for you all Out of curiosity I...

    Ok here is one for you all

    Out of curiosity I just downloaded it again but used Firefox. No issues with defender and my Norton pop-up came up and said it was a safe file. I added that rule a...
  12. Replies
    463
    Views
    28,788

    Not 100% sure. In post #435 @wwatson mentioned...

    Not 100% sure. In post #435 @wwatson mentioned that the only thing you need in your libraries folder is: https://github.com/wwatson4506/UsbMscFat..

    I did delete all the old MSC files - uSDFS,...
  13. Replies
    463
    Views
    28,788

    @wwatson - @KurtE - @defragster Just ran your...

    @wwatson - @KurtE - @defragster
    Just ran your test sketch in post #433 and it worked like a charm. Recognized exFATs and FAT32 to get the volume name.

    Have to go find my hub to test with again...
  14. Replies
    24
    Views
    414

    @defragster Nope the those lines are in my...

    @defragster
    Nope the those lines are in my version. Note - never created a build.local.txt file that I remember but then who knows may have did that a long time ago and just got use to it being...
  15. Replies
    24
    Views
    414

    @defraster Don't remember ever having a...

    @defraster
    Don't remember ever having a boards.local.txt file there before. Anyway that is in there now for all Teensy's not the the T4.1
  16. Replies
    24
    Views
    414

    Item #1: teensy.exe is staying around 0% with...

    Item #1: teensy.exe is staying around 0% with periodic jumps to 0.1%. Java Platform SE Binary goes between 0% and 0.7%

    Item #2: see post #10

    A couple things for Beta8:
    1. ...
  17. Replies
    24
    Views
    414

    Did notice the new memory usage in both Verbose...

    Did notice the new memory usage in both Verbose and non-verbose. In verbose I am seeing this additional info:

    Linking everything together......
  18. Replies
    24
    Views
    414

    @Paul Just downloaded Beta7 and pretty much saw...

    @Paul
    Just downloaded Beta7 and pretty much saw what @defragster saw in post #4. I did one additional step. Before telling defender to Keep file I clicked on REPORT THIS FILE AS SAFE:
    23811
    Once...
  19. Replies
    463
    Views
    28,788

    @KurtE Funny when I put in my SSD it showed the...

    @KurtE
    Funny when I put in my SSD it showed the contents of the first partition as I expected.

    I was rummaging around mscUSB but I didn't see any linkages back to SDFat for the Volume commands...
  20. Replies
    463
    Views
    28,788

    Not yet. Not sure how much of the vol and...

    Not yet. Not sure how much of the vol and partition stuff is exposed in msc. Haven’t looked at yet
  21. Replies
    463
    Views
    28,788

    @KurtE Been searching the code and the help...

    @KurtE
    Been searching the code and the help system as well but to no avail. Nothing I have found seems to return the volume name. Think @wwatson mentioned in an earlier post that he was doing...
  22. Replies
    463
    Views
    28,788

    @KurtE - @wwatson Decided to play around with...

    @KurtE - @wwatson
    Decided to play around with the BufferedPrint example to see what it takes to write and read files from the partitions. Did manage to create 3 partitions that I can test with;
    ...
  23. Replies
    463
    Views
    28,788

    @KurtE Sorry for the delay in responding. Was...

    @KurtE
    Sorry for the delay in responding. Was busy playing and watching more snow fall :(

    Any tried to modify formatter but haven't broken the code on that one and wound up messing up my...
  24. Replies
    463
    Views
    28,788

    Taxes - yep - already did mine. Anyway get the...

    Taxes - yep - already did mine.

    Anyway get the volume directory was relative easy.

    SdFat version: 2.0.5-beta.1
    Assuming an SDIO interface.

    type any character to start
    init time: 22 ms
  25. Replies
    463
    Views
    28,788

    @wwatson Thanks for the changes will play more...

    @wwatson
    Thanks for the changes will play more with it tomorrow. May try to do a list files but intent really was to see if and how to get access via sdfat. But the use of sd.card was the key
  26. Replies
    76
    Views
    1,440

    Hopefully no more issues. Hope that list is...

    Hopefully no more issues. Hope that list is getting shorter but have a feeling it’s getting longer.
  27. Replies
    76
    Views
    1,440

    Should have mentioned. Running Ubuntu...

    Should have mentioned. Running Ubuntu 20.04.02LTS 64 bit on the PI4. Don't really have any other Linux systems. Probably can did out a RPI3 and see what I have on it and give it a try if you think...
  28. Replies
    76
    Views
    1,440

    Ok - just tried it on a RPI4 and its now working....

    Ok - just tried it on a RPI4 and its now working.
    23799

    Guess the order matters - 00 versus 49. Forgot to document but think you added an extra rule as well to the file.
  29. Replies
    2
    Views
    54

    First don't despair. I have had many UBLOX...

    First don't despair. I have had many UBLOX modules working with the Teensy (most 3.2 and up) and never had a problem. The first thing I usually do is use a Hardware Serial Port as opposed to using...
  30. Replies
    463
    Views
    28,788

    Thanks - the dummy that I am. So with that ran...

    Thanks - the dummy that I am. So with that ran it but I created 4 volumes 3 are FAT32 and 1 is exFAT. This is running the SDInfo without Partition info set up:

    SdFat version: 2.0.5-beta.1...
  31. Replies
    463
    Views
    28,788

    Morning @KurtE Was trying to implement your...

    Morning @KurtE

    Was trying to implement your changes and found you already implement them in the repository example so.... Using just 1 MSC object ran into a couple of problems with some devices:...
  32. Replies
    899
    Views
    64,525

    RE Partitions: SDFat only supports single...

    RE Partitions: SDFat only supports single partition. See https://github.com/greiman/SdFat-beta/issues/69
  33. Replies
    899
    Views
    64,525

    Have fun. Make sure you use @KurtE's branch. ...

    Have fun. Make sure you use @KurtE's branch. https://github.com/KurtE/MTP_t4/tree/MEM_send_object_large
  34. Replies
    463
    Views
    28,788

    @KurtE Was poking around SDFat and not 100% sure...

    @KurtE
    Was poking around SDFat and not 100% sure it directly supports multiple partitions. Why, Blockdevice* dev I believe has to point to the SDCard but doesn't appear we have access to that. Bill...
  35. Just including this for reference:...

    Just including this for reference: https://forum.pjrc.com/threads/55821-USBHost_t36-USB-Mass-Storage-Driver-Experiments?p=271015&viewfull=1#post271015 on using partitions.
  36. Replies
    463
    Views
    28,788

    @KurtE - @wwatson Not sure where to post this...

    @KurtE - @wwatson

    Not sure where to post this (kind of crosses - Integration Thread)

    Anyway not sure how this would work but SDFat does have a FatPartition Class that looks like it would allow...
  37. Replies
    899
    Views
    64,525

    @KurtE You just knew I had to download your...

    @KurtE

    You just knew I had to download your changes to test MTP with MSC (UsbMscFat).

    Anyway hooked up my SSD and low and behold it showed up in MTP and was able to do several things:
    1. Copy...
  38. Replies
    76
    Views
    1,440

    Morning again - can't sleep so catching up As...

    Morning again - can't sleep so catching up

    As for restarting. I did close and reopen the IDE but didn't disconnect the Teensy which was probably the issue - didn't even cross my mind to unplug...
  39. Morning @KurtE Sorry I didn't get to this...

    Morning @KurtE

    Sorry I didn't get to this yesterday - still recovering a bit and had another distraction.



    I agree with 100%. For the things that you described those are the things that...
  40. Replies
    2
    Views
    73

    This is the latest version that I am working with...

    This is the latest version that I am working with and should give you everything you need: https://github.com/wwatson4506/Ra8876LiteTeensy, for the RA8876
  41. Replies
    463
    Views
    28,788

    @wwatson Just downloaded UsbMscFat and so far...

    @wwatson
    Just downloaded UsbMscFat and so far examples working a couple different devices I tried - 32 thumb drive, SD Card in adapter and a SSD drive. Here some info from one of the examples:
    ...
  42. For comparison in the sketch I was using I have...

    For comparison in the sketch I was using I have slightly different timing for messages: heartbeat = 1Hz (think this interval is fixed), AHRS (roll, pitch, yaw, rotation rates) every 100ms, GPS...
  43. @KurtE My suggestion would be that if it is a...

    @KurtE

    My suggestion would be that if it is a specific library related issue it should be on the appropriate thread. For instance if LittleFS is formatting correctly or not recognizing a flash...
  44. Replies
    76
    Views
    1,440

    ok - as shown didn;t really work for me - but...

    ok - as shown didn;t really work for me - but then I really have no idea with Linux so just used gedit to create the file. Restarted and it now works with serial monitor as you said.

    Maybe Paul...
  45. Replies
    76
    Views
    1,440

    @KurtE getting an error when I try to execute...

    @KurtE

    getting an error when I try to execute your first line:

    ubuntu@ubuntu:~$ /etc/udev/rules.d$ cat 99-hidraw-permissions.rules
    bash: /etc/udev/rules.d$: No such file or directory

    ...
  46. Replies
    76
    Views
    1,440

    @KurtE Not to the serial monitor. Either...

    @KurtE
    Not to the serial monitor.

    Either output to textEditor or directly into the IDE window - depending which I had selected (active). But I did get output even when I had keyboard printing.
    ...
  47. Replies
    76
    Views
    1,440

    Can confirm that the app works with 20.04.02LTS....

    Can confirm that the app works with 20.04.02LTS.

    Tried the same sketch as @KurtE and when I selected Serial+Keyboard... did get out on the Serial monitor.
    23771
  48. Replies
    76
    Views
    1,440

    Of course But just remembered the password when...

    Of course
    But just remembered the password when I was setting up with the new version :) Getting the updates now.
  49. Replies
    76
    Views
    1,440

    Installing fresh Ubuntu on my PI now to see what...

    Installing fresh Ubuntu on my PI now to see what happens. Using 20.04 LTS instead. Looked like 20.10 support ends april 2021. Using the Raspberry Pi imager then will do the updates.

    And before...
  50. Well using the Arduino IDE I just compiled your...

    Well using the Arduino IDE I just compiled your sketch with no errors or warnings.

    23757

    I am assuming you have to select Teensy 4 in platformIO so only other thing is are you sure you are...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4