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

Search:

Type: Posts; User: wwatson

Page 1 of 9 1 2 3 4

Search: Search took 0.01 seconds.

  1. Thanks KurtE - Right now I am using the PJRC SD...

    Thanks KurtE - Right now I am using the PJRC SD card adapter (the original one) https://www.pjrc.com/teensy/sd_adaptor.html. I have a few of these that that I am testing with. It has been so long...
  2. @KurtE - A quick question. I found your routine...

    @KurtE - A quick question. I found your routine in MTP_T4 to detect when an SDIO SD card is inserted. Did you ever try to detect insertion of an external SPI SD card? Maybe I missed it which is...
  3. Replies
    547
    Views
    36,851

    Yes, T3.6, T4.0, T4.1. Glad it's working for...

    Yes, T3.6, T4.0, T4.1.

    Glad it's working for you:)
  4. Replies
    547
    Views
    36,851

    MSC is now part of Teensyduino as of TD1.54B6. It...

    MSC is now part of Teensyduino as of TD1.54B6. It sounds like you are wanting to do direct sector reads. To do this you can use the 'msReadBlocks()' function.

    Here is an example sketch that does a...
  5. @All - I have been working on an upper level IF...

    @All - I have been working on an upper level IF to @Kurte's and @mjs513's hard work on UsbMscFat.

    I wanted to:
    1) Find and initialize all available Mass Storage devices connected to the Teensy....
  6. The USB Host port on the T3.6/T4.0/T4.1 always is...

    The USB Host port on the T3.6/T4.0/T4.1 always is at 5V. The voltage regulation is done on the device that is plugged into the USB Host port at 500mv when the the Teensy is plugged into a PC. You...
  7. @Kurte - I think that my old MSC branch is...

    @Kurte - I think that my old MSC branch is confusing everybody with all of the recent changes. Maybe I should remove everything that does not work anymore and keep just what will work with SdFat and...
  8. With the CopyFilesUSB.ino sketch I tested with a...

    With the CopyFilesUSB.ino sketch I tested with a begin function. I don't think that would be usable with MTP.

    //------------------------------------------------------------------------------
    //...
  9. @mjs513 - Thanks. I really watch what is going on...

    @mjs513 - Thanks. I really watch what is going on and you are right. Time to test and accomplish:)
  10. @all - OK, taking a break from TeensyEXT4. It's...

    @all - OK, taking a break from TeensyEXT4. It's obvious that there will have to be a complete wrapper for it. There is to much memory stomping going and I have no real way at this point to track...
  11. @kurtE - Got family here so don't have much time...

    @kurtE - Got family here so don't have much time today to play but tomorrow I will update and test. Forgot about the r<cr>:) Hope everybody is having a good day.
    I am kinda wondering about...
  12. @defragster @KurtE - The two error codes I saw...

    @defragster @KurtE - The two error codes I saw were 40 which is an SCSI error MS_NO_MEDIA_ERR and 35 which is MS_UNIT_NOT_READY a timeout error waiting for the device to become ready. In the...
  13. @defragster - confused Press a key to...

    @defragster - confused

    Press a key to show USB drive info:
    msDrive1 connected/initilized
    msDrive1 is NOT Mounted
    connected 1
    initialized 1
    USB Vendor ID:...
  14. @mjs513 - Want a viable distraction right now....

    @mjs513 - Want a viable distraction right now. Still to to short to look over the brick wall. You know, "can't seem to walk away from it" type:) Taking a break from it till tomorrow.
  15. @Kurte - Hope you are having fun with the new...

    @Kurte - Hope you are having fun with the new MM:) I spent most of the day installing and testing your updates for time stamps. I finally got my Windows 7 working with Virtualbox and MTP_4. It is...
  16. @KurtE - Nice. Looks like you have been hard at...

    @KurtE - Nice. Looks like you have been hard at it again:) Will update and test today.

    @All - I finally uploaded what I have so far with TeensyEXT4 to GitHub. It's not much at this time but is a...
  17. @KurtE - Thanks. I have been working with lwext4...

    @KurtE - Thanks. I have been working with lwext4 and found that the major part of my problems were with the code being riddled with straight printf's. In the config file there were options to turn...
  18. @All - Hit the brick wall:( Working with lwext4 I...

    @All - Hit the brick wall:( Working with lwext4 I am to a point where I can initialize, get stats about a USB drive and mount it. But that's it!! Any other kind of access fails to the point of...
  19. Thanks Mike - Thank goodness there are Laptops:)...

    Thanks Mike - Thank goodness there are Laptops:) At least I can still work on ext4 while I'm down. The biggest hurdle right now is being able to debug the C code. I'm working on that right now. There...
  20. @All - Fixed the 'CopyFilesUSB.ino' sketch. It...

    @All - Fixed the 'CopyFilesUSB.ino' sketch. It now works with the latest version of UsbMscFat. Updated on GitHub.
  21. @Kurte @ mjs513 - Did the PR. Have not found any...

    @Kurte @ mjs513 - Did the PR. Have not found any problems yet so far.

    I have gone down with another back injury and have not had time to play with this much with the medication I am taking....
  22. You bet, I guess maybe a soft blow hammer would...

    You bet, I guess maybe a soft blow hammer would be better:)
  23. Yep that's the one. Also from gkosta is this link...

    Yep that's the one. Also from gkosta is this link that I am using as a guide to convert lwext4 for use with Teensy:
    https://github.com/gkostka/stm32f429disco-lwext4

    And:...
  24. @mjs513 @KurtE - OK, my brain is fried at this...

    @mjs513 @KurtE - OK, my brain is fried at this point with ext4:confused:...
    It is going to be along hard road to converting lwext4 to use MSC or any other configuration we might come up with. As...
  25. KurtE - Not sure if this is what you were looking...

    KurtE - Not sure if this is what you were looking for but you can get the sector count from the block device this way:

    /*
    MSC USB Drive test

    #include "Arduino.h"
    #include "mscFS.h"
    ...
  26. @mjs513 @ KurtE - Great progress:) I have been...

    @mjs513 @ KurtE - Great progress:) I have been trying to keep up and test. So far all seems to work. I have been working ext4 and have found a version of lwext4 that was setup to use a USB drive...
  27. @KurtE - Yes nice job. On my 128G thumb stick I...

    @KurtE - Yes nice job. On my 128G thumb stick I created four partitions and recorded the start sector and length for each one. Then in Linux I deleted the last two partitions. The next free sector...
  28. @Kurte - PR done. Thanks:) Edit: I went...

    @Kurte - PR done.

    Thanks:)

    Edit: I went through some of the examples to make sure they still worked. I need to update one or two of them otherwise they are good.

    Also, 'PfsFatFormatter.h'...
  29. This is what I am now working on based on...

    This is what I am now working on based on existing code.
  30. @KurtE @mjs513 - You guy's did it! Everything...

    @KurtE @mjs513 - You guy's did it!

    Everything seems to be rock solid. Nothing at this point is failing. Now to setup blank or existing drives MBR's and partitions for formatting.

    1) Check for a...
  31. @KurtE - Saw this: Initialize SDIO SD...

    @KurtE - Saw this:

    Initialize SDIO SD card...FsVolume::begin(2000867c)

    msc # Partition Table
    part,boot,bgnCHS[3],type,endCHS[3],start,length...
  32. @mjs513 @KurtE - Guess more to be done. Going to...

    @mjs513 @KurtE - Guess more to be done. Going to have to break down and get Windows to test with. Probably will grab a used laptop from work and set it up for WIN10. I have not tried four partitions...
  33. Me too. I was also working with two partitions....

    Me too. I was also working with two partitions. The failure is consistent. Tried several times and got the same result. It only happens when creating four partitions with Linux. After I do that Linux...
  34. @All, I ran into a problem when formatting a...

    @All,

    I ran into a problem when formatting a 128G Thumb drive with MSCFormatter. If I create all four partitions and format them as ExFat partitions with Linux and then check the first entry of...
  35. Kinda like what I had with the T3.6, T4.0 and...

    Kinda like what I had with the T3.6, T4.0 and T4.1. A file manager, a modified version of the Kilo editor and STBasic all modified for use with the original RA8876_Lite driver I used. With all of the...
  36. @mjs513 @KurtE I finally found a a good disk...

    @mjs513 @KurtE I finally found a a good disk editor for Linux that is comparable to WinHex. (Active@ Disk Editor).

    Just have to learn how to use it properly. I already noticed it that will follow...
  37. Again with Linux using MSCFormatter.ino I was...

    Again with Linux using MSCFormatter.ino I was getting an error stating that the ExFat 'partition was out side of disk' whatever that means. Maybe formatting parameters I don't know at this time. But...
  38. @KurtE - A quick question. Was MTP with Linux...

    @KurtE - A quick question. Was MTP with Linux ever proven to to work with anything else except the SDIO drive? I am using Paul's breakout board with the memory board and the SPI audio board with an...
  39. @mjs513 - I finally had time to download the...

    @mjs513 - I finally had time to download the latest VolumeName_SD branch of your UsbMscFat. Tried out MSCFormatter.ino and noticed the following.


    Cards up to 2 GiB (GiB = 2^30 bytes) will be...
  40. @mjs513 - Sorry I have not had time to play with...

    @mjs513 - Sorry I have not had time to play with this much this week. My supervisor went on vacation so I had to take over. Have to go back to work and load a late truck:(

    I did however have time...
  41. @mjs513 - That is exactly what I getting when...

    @mjs513 - That is exactly what I getting when formatting a device in Linux. offset = 2048. Not sure yet where 8192 meg offset comes from when using the SdFat ExFatFormatter.

    I started my own...
  42. @All - Well, working with ExFat formatting is...

    @All - Well, working with ExFat formatting is really an eye opener. Started of with @mjs513's version and quickly messed that up big time. Decided to actually learn about the layout of ExFat then...
  43. Found you guys:) PR done.

    Found you guys:) PR done.
  44. @KurtE Tried that to all the way up to...

    @KurtE Tried that to all the way up to delay(1000). Did not help. Ran into the same issue with the copyFilesUSB.ino sketch a while back when checking for SDIO card being available. When I would hot...
  45. @KurtE - @mjs513 Finally got setup to test....

    @KurtE - @mjs513

    Finally got setup to test. Started out with VolumeName.ino. Everything works great except for one small issue the SDIO card that probably goes deeper than my understanding of how...
  46. @KurtE and @mjs513 - I am so far behind you...

    @KurtE and @mjs513 - I am so far behind you guy's.


    Which branch of USBHost_t36? Is it MSC_read_sectors_cb? And VolumeName_SD?

    Sorry:(
  47. @mjs513 - I have three different sticks and...

    @mjs513 - I have three different sticks and several cards that I use for testing purposes. I can take a quick look at it tonight and this weekend hopefully is mine and I can get caught up with you...
  48. @KurtE, @mjs513 - I just downloaded the latest...

    @KurtE, @mjs513 - I just downloaded the latest version of UsbMscFat-VolumeName_SD. Compiled and got an error saying:

    In file included from...
  49. This in 'ExFatFomatter.cpp': // Initialize...

    This in 'ExFatFomatter.cpp':

    // Initialize first sector of root.
    writeMsg(pr, "Writing root\r\n");
    ns = sectorsPerCluster;
    sector = partitionOffset + clusterHeapOffset +...
  50. @KurtE - Just got home and downloaded your latest...

    @KurtE - Just got home and downloaded your latest with FsInfo update. If I am seeing this right there is a HUGE difference in the time it takes to get free space on FAT32 formatted partitions:)
    ...
Results 1 to 50 of 428
Page 1 of 9 1 2 3 4