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

Search:

Type: Posts; User: wwatson

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    3,331
    Views
    357,908

    @kurte The last time I saw anything from him...

    @kurte

    The last time I saw anything from him on GitHub was this https://github.com/sumotoy/RA8876.
    I also hope he is doing well.

    I updated his RA8875 driver to use it as a terminal emulator...
  2. Replies
    3,331
    Views
    357,908

    @all Wondering if the RA8875 library has been...

    @all

    Wondering if the RA8875 library has been tried yet.
    Could not find anything about it in the T4 thread.

    I pulled out my Adafruit RA8875 driver board with 7" touch screen to test with the...
  3. Replies
    295
    Views
    4,864

    @WMXZ I am pretty sure it's based on...

    @WMXZ



    I am pretty sure it's based on cluster sizes. I 'loggerRawWrite.ino' you display the reported cluster size. I found that it matches the block count sent by FatFs.
    Ehci.cpp breaks it up...
  4. Replies
    3,331
    Views
    357,908

    @mjs513 - This is what I am using with my T36...

    @mjs513 - This is what I am using with my T36 configured for SPI: https://www.buydisplay.com/default/serial-spi-i2c-10-1-inch-tft-lcd-module-dislay-w-ra8876-optl-touch-panel
    It also uses the RAIO...
  5. Replies
    295
    Views
    4,864

    Here is the result of some more tests I ran on...

    Here is the result of some more tests I ran on the T4 and MSC.


    Sector Number 6190864, Sector Count 16
    msController CallbackOut (static)
    transfer->qtd.token = 0
    msController dataOut (static)31...
  6. Replies
    295
    Views
    4,864

    I thought it would be interesting to see what the...

    I thought it would be interesting to see what the read/write speeds are with reading/writing sectors directly through MSC with t4.

    These are the results with various buffer sizes on HD's:
    ...
  7. Replies
    3,331
    Views
    357,908

    Understandable, lot's going on right now. I am...

    Understandable, lot's going on right now. I am having a hard time keeping up with all the changes. Need more free time:)
  8. Replies
    3,331
    Views
    357,908

    @WMXZ Downloaded TD4.17B3 and installed a...

    @WMXZ

    Downloaded TD4.17B3 and installed a fresh copy of Arduino 1.89 Updated uSDFS to your latest version.
    I ran 'logger_RawWrite.ino' on my seven different HD's and they are averaging 7.5MBs....
  9. Replies
    295
    Views
    4,864

    @defragster Yeah, it does seem slow. I am...

    @defragster



    Yeah, it does seem slow. I am going to use 'RawWrite_FS' and retest everything. It seems the larger the file to a point the lager the MBs is. I think this has to do with the sketch...
  10. Replies
    295
    Views
    4,864

    @All - Sorry I have been offline so long. I...

    @All - Sorry I have been offline so long.

    I have been doing alot of research with the EHCI USB controller and mass storage devices. I think I may found out why USB thumb drives are slower than...
  11. Replies
    295
    Views
    4,864

    @All, Sorry I have not responded for the last...

    @All,

    Sorry I have not responded for the last few days. I lost the computer to a power supply flame out. Fortunately I had most of my data backed up but not all of it. I spent most of this long...
  12. Replies
    3,331
    Views
    357,908

    I got mine yesterday as well and now that I have...

    I got mine yesterday as well and now that I have my computer working again and have my data recovered, I can start experimenting with the T4 :)
  13. Replies
    295
    Views
    4,864

    @Kurte - Wow Guess I was on the right track...

    @Kurte - Wow

    Guess I was on the right track but failed to see your fix to ehci.cpp. My bad.

    Thank you so much. On to bigger and better! You saved me a lot of wasted time.

    It works great.
    ...
  14. Replies
    295
    Views
    4,864

    @tonton81 That's the problem. I am trying to...

    @tonton81
    That's the problem. I am trying to figure out what the problem is.
    I have tried changing
    count = 16384;
    To:

    count = 16383;
    That an just created a Followup Error.
    Chalking it up to...
  15. Replies
    295
    Views
    4,864

    Have problem I have been working on all weekend...

    Have problem I have been working on all weekend with no solution yet. I know you guys are really busy right now but I thought it might be good to bring it to light.
    I am chasing down these...
  16. Replies
    295
    Views
    4,864

    @defragster I can see the quit code in my...

    @defragster
    I can see the quit code in my version of libraries\uSDFS\examples\logger_RawWrite\ logger_RawWrite.ino.
    Thanks for the info on Serial.print. In the past it was kind of an issue.

    You...
  17. Replies
    295
    Views
    4,864

    @mjs513 Is this with the T4 or the T36. I Only...

    @mjs513
    Is this with the T4 or the T36. I Only have a T36 to test with. Did commenting out the WaitDriveReady() in sd_msc.cpp read and write functions improve the throughput speed?

    I tried...
  18. Replies
    295
    Views
    4,864

    @mjs513 Is this with the T4 or the T36. I Only...

    @mjs513
    Is this with the T4 or the T36. I Only have a T36 to test with. Did commenting out the WaitDriveReady() in sd_msc.cpp read and write functions improve the throughput speed? Or am I...
  19. Replies
    295
    Views
    4,864

    @all I have been experimenting with sd_msc.cpp...

    @all

    I have been experimenting with sd_msc.cpp and found that if I comment out WaitDriveReady() that the speed of writing almost doubles.

    int MSC_disk_read(BYTE *buff, DWORD sector, UINT...
  20. Replies
    295
    Views
    4,864

    @WMXZ Think I have the basic MSC structure setup...

    @WMXZ
    Think I have the basic MSC structure setup in Github now. Need to add a readme and then learn how to use the repository properly. Lots of info available on the web.
    Any advice to a novice...
  21. Replies
    295
    Views
    4,864

    @All I finally was able to upload MSC to...

    @All

    I finally was able to upload MSC to GitHub last night. No readme yet. I have to finish learning how to use it properly.

    Here is the link:
    https://github.com/wwatson4506/MSC

    Got to go...
  22. Replies
    295
    Views
    4,864

    @WMXZ, @mjs513 I do have a Github account but...

    @WMXZ, @mjs513

    I do have a Github account but I have never used it. I think it is time I set it up and used it. The MSC.zip file that WMXZ does have all of the latest changes I have. Just need to...
  23. Replies
    295
    Views
    4,864

    @mjs513 Actually there was two files that...

    @mjs513

    Actually there was two files that needed to be changed. Not diskio.h but uSDFS.h line 3 and uSDFS_test.ino line 31.
    In uSDFS.h add sqaure brackets
    const char *STAT_ERROR_STRING[] = { and...
  24. Replies
    295
    Views
    4,864

    @Kurte and others I found SCSI reference...

    @Kurte and others

    I found SCSI reference manual while hunting around the Internet.
    https://www.seagate.com/staticfiles/support/disc/manuals/scsi/100293068a.pdf

    Has a lot of good information as...
  25. Replies
    295
    Views
    4,864

    @Kurte msController CallbackOut (static)...

    @Kurte


    msController CallbackOut (static)
    transfer->qtd.token = 0
    msController dataOut (static)31
    55 53 42 43 07 00 00 00 00 02 00 00 80 00 0A 28 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 ...
  26. Replies
    295
    Views
    4,864

    @Kurte Thanks for updating bool...

    @Kurte

    Thanks for updating
    bool msController::claim(Device_t *dev, int type, const uint8_t *descriptors, uint32_t len).

    I have Targus Multi card reader which would not work with MSC. After...
  27. Replies
    295
    Views
    4,864

    @Kurte Nice detective work. I saw the...

    @Kurte

    Nice detective work.

    I saw the ommision you were talking about and changed it on my end as well. I also found the same ommision in msGetMaxLUNS() which has not been implemented yet. The...
  28. Replies
    295
    Views
    4,864

    @Kurte I think I see what you are getting at....

    @Kurte

    I think I see what you are getting at. For each CBW sent there needs to be a corresponding CSW read in and checked. My code is only getting the CSW at the end of "msDoCommand()" which is...
  29. Replies
    295
    Views
    4,864

    @Kurte That is where I am at with this as...

    @Kurte

    That is where I am at with this as well. How to detect a stalled pipe and other errors or conditions that constitute performing a reset recovery.

    This is the code that checks for a valid...
  30. Replies
    295
    Views
    4,864

    @Kurte ...

    @Kurte

    https://www.seagate.com/files/staticfiles/support/docs/manual/Interface%20manuals/100293068j.pdf
  31. Replies
    295
    Views
    4,864

    Just setup TD 1.47B2 and ran uSDFS_test.ino on...

    Just setup TD 1.47B2 and ran uSDFS_test.ino on the T3.6 at 180MHZ and 240MHZ. Tested good on Kingston 16G flash drive and a Seagate 250GB hard drive with "WaitDriveReady()" enabled. But when I...
  32. Replies
    295
    Views
    4,864

    @WMXZ, @Kutre, @mjs513 One thing that I see in...

    @WMXZ, @Kutre, @mjs513

    One thing that I see in sd_msc.cpp, in the "MSC_disk_read(BYTE *buff, DWORD sector, UINT count)" and "MSC_disk_write(const BYTE *buff, DWORD sector, UINT count)" functions...
  33. Replies
    295
    Views
    4,864

    @WMXZ @defragster - I have gone through MSC again...

    @WMXZ @defragster - I have gone through MSC again and found several bugs and omissions. I have and updated version of MSC. See the attachment below.

    This is far more stable than the last version....
  34. Replies
    295
    Views
    4,864

    @defragster - Sorry it has so long to respond....

    @defragster - Sorry it has so long to respond. Doing a few doubles this week. I can't wait for retirement here in a few months. I will have more time to play.
    Anyway, I have not ever had a problem...
  35. Replies
    295
    Views
    4,864

    @mjs513 I have not run into this error yet...

    @mjs513



    I have not run into this error yet with SDHC. Possibly a problem with the SD card, formatting etc...
    Do you have another card you can try? or maybe see if you can read or write to it...
  36. Replies
    295
    Views
    4,864

    @defragster and others the attached zip file...

    @defragster and others the attached zip file "MSC.zip" contains the MSC folder that is copied to your Arduino sketch folder. In my case that is "Arduino/libraries".
    The file "msc.h" contains the...
  37. Replies
    295
    Views
    4,864

    USBHost_t36 USB Mass Storage Driver Experiments

    Mass Storage Controller (MSC) library for use with Teensy 3.6

    This is a project I have been working off and on for two years.
    It is a very minimal working USB host mass storage driver for use...
  38. @KurtE, I tried all 4 of my wireless...

    @KurtE,

    I tried all 4 of my wireless keyboard/mouse combos and all of them work great. Awesome work. I do not have a gigabyte keyboard so I cannot test that but all my other keyboards work fine,...
  39. Hi KurtE, Thanks for looking into this issue....

    Hi KurtE,

    Thanks for looking into this issue. I will try out your changes on my Logitech combos. Unfortunately I only have Logitech wireless keyboard and mouse.
    I am going to see if I can find a...
  40. The following changes to keyboard.cpp solved my...

    The following changes to keyboard.cpp solved my problem with the mouse not working and the repeating Keyboard Control Callback.
    It works with all four of my Logitech wireless keyboard/mouse combo's....
  41. Hello again KurtE, Thanks for responding to...

    Hello again KurtE,

    Thanks for responding to this thread. I have 4 different Logitech wireless keyboard/mouse combo's; Have tried all of these with Arduino 1.88 and Teensyduino 1.45b2 and...
  42. Replies
    70
    Views
    12,793

    Hi dun46, Please try this code. I have added...

    Hi dun46,

    Please try this code. I have added "USBHub hub2(myusb);" to it.
    In my previous post I stated:
    "If you are using a wireless keyboard/mouse combo then add USBHub hub2(myusb); ".
    It...
  43. Replies
    70
    Views
    12,793

    Hi dun46, Add these to your sketch: Add ...

    Hi dun46,

    Add these to your sketch:

    Add
    USBHIDParser hid1(myusb);
    If you are using a wireless keyboard/mouse combo then
    add USBHub hub2(myusb);

    If you are using Arduino 1.87 and...
  44. USB Host wireless mouse not working keyboard ok

    I have a Teensy 3.6 I am using with a Logitech wireless keyboard/mouse combo, Linux Mate 18.04 OS, Arduino 1.8.7 and Teensyduino 1.44.

    The keyboard seems to work fine but the mouse does not. I am...
  45. Kurt, The msInCompleted flag is not marked...

    Kurt,

    The msInCompleted flag is not marked volatile. I tried the delay() function without yield(). No change. If I use a delay of 1 I get the same results. if I use a delay of 6 or more I get the...
  46. Hi all, I have been working on a Mass Storage...

    Hi all,

    I have been working on a Mass Storage driver for the Teensy 3.6. it is in a usable state but there are a couple of issues I can't seem to resolve.

    First issue:
    When reading and dumping...
  47. bInterval values for BULK-IN and BULK-OUT Decriptors

    Hi,

    I am working on a USB Mass Storage Bulk Only driver for a SanDisk 8gb cruzer flash drive. This is the descriptor dump for it.

    BULK-ONLY Data Interface | Bulk-In...
  48. Replies
    190
    Views
    29,237

    Hi KurtE, I downloaded your latest work on the...

    Hi KurtE, I downloaded your latest work on the mouse driver. I've got some time this weekend so I can't wait to go through it!

    Awesome stuff:)
  49. Replies
    190
    Views
    29,237

    Paul, KurtE, I was able to get my Logitech...

    Paul, KurtE,

    I was able to get my Logitech M310 mouse to work.

    In line #67 of mouse.cpp I had to change this:



    datapipe = new_Pipe(dev, 3, endpoint, 1, packetSize, interval);
  50. Replies
    190
    Views
    29,237

    I just fell into that rabbit hole. Searching...

    I just fell into that rabbit hole. Searching through storage I found a newer wireless Logitech wireless keyboard/mouse combo. Keyboard model is K520, mouse model is M310.
    Packet size is 8. It locks...
Results 1 to 50 of 56
Page 1 of 2 1 2