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.03 seconds.

  1. Replies
    466
    Views
    48,663

    Probably you are right. USB protocol I stayed...

    Probably you are right. USB protocol I stayed away from. I do think functions changes in usb.c for T4 from the T3. But never got into it. BTW. I am the same trial and error.
  2. Replies
    399
    Views
    7,048

    Thought this sounded familiar so went back and it...

    Thought this sounded familiar so went back and it sound familiar and went back. It seems it may be similar to the W25Q256JV. See this post where I went and took a it:...
  3. Replies
    466
    Views
    48,663

    Great - see the cmtp responder also has a bunch...

    Great - see the cmtp responder also has a bunch on events. Didn't dig into so not sure if its both ways.
  4. Replies
    399
    Views
    7,048

    Think that is a great idea. For the last couple...

    Think that is a great idea. For the last couple of days been playing with the W25N01G code to convert the QSPI lib to a SPI proof of concept lib along with looking at incorporating it into the...
  5. Replies
    466
    Views
    48,663

    Poking around on the web for MTP events came...

    Poking around on the web for MTP events came across a repsository: uMTP-Responder. its designed for linux but may give you all a few ideas.
  6. Replies
    466
    Views
    48,663

    @KurtE Very cool on adding the text names to...

    @KurtE

    Very cool on adding the text names to the debug statements. Kept having to cross reference the numbers to the case statement in the MTP.cpp. Thank you.

    Good catch on the event list. ...
  7. Replies
    21
    Views
    785

    Very cool! Just did it myself on a Windows 10...

    Very cool! Just did it myself on a Windows 10 machine. Thank you. :)
  8. Replies
    466
    Views
    48,663

    Same thing happens when you do a move directory...

    Same thing happens when you do a move directory as I mentioned. Guess events is on the todo list :)
  9. Replies
    466
    Views
    48,663

    Morning again Well just soldered up another T4.1...

    Morning again
    Well just soldered up another T4.1 with Flash and PSRAM. Ran MTP responder and all seems well especially after I put some files on the chips on the flash. Don't have your mods for...
  10. Replies
    466
    Views
    48,663

    Morning @KurtE In my latest iteration of my test...

    Morning @KurtE
    In my latest iteration of my test sketch I changed the clock on QSPI to 132 Mhz and haven't seen any issues with copying files. Maybe give it a try with the higher speed clock

    As...
  11. Replies
    466
    Views
    48,663

    That's really great news now to do some testing....

    That's really great news now to do some testing. See below

    Move directories and structure between storage areas: Works but doens't work. Tested moving directory between SPIFlash and QSPI.
    ...
  12. Replies
    6
    Views
    148

    Just tested the SD version using Builtin_sdcard...

    Just tested the SD version using Builtin_sdcard and a cardreader on pin4. Both worked and identified the existing files on the sd cards. This is on a windows 10 x64 pc.

    Tried the ramdisk version...
  13. Replies
    6
    Views
    148

    Getting requirement to set a couple things in...

    Getting requirement to set a couple things in sdfat, sdconfig.h. So you need to download the Adafruit version of SDFat but this is going to be a problem. 1 It will conflict with the one in the core...
  14. Replies
    6
    Views
    148

    Very cool. Just downloaded to give it a try and...

    Very cool. Just downloaded to give it a try and also downloaded latest core files + Adafruit SPIFlash library.

    Just one question what is the mod to the board.txt file to select NO USB

    EDIT: ...
  15. Replies
    466
    Views
    48,663

    Are you talking about USB1_mtp.c or USB2_mtp.c. ...

    Are you talking about USB1_mtp.c or USB2_mtp.c. Never thought of looking there to be honest - you made me look :)

    Anyway USB1 I see TX_NUM = 1 and RX_NUM = 1, while is USB2 looks like its TX_Num...
  16. Replies
    466
    Views
    48,663

    @KurtE Went back just to look at the copy...

    @KurtE
    Went back just to look at the copy behavior when it transfers to the BreakOut board, specifically, with sending data in groups. If I watch the progress bar during the transfer of the 1.5Mb...
  17. Replies
    466
    Views
    48,663

    SPICONFIG ???? On the off chance that the SPI...

    SPICONFIG ????
    On the off chance that the SPI Clock may need to increase I looked at what is setup in SerialFlash:

    #define SPICONFIG SPISettings(50000000, MSBFIRST, SPI_MODE0)

    In LittleFS...
  18. Replies
    466
    Views
    48,663

    @Frank B - yes it is :) Fun..... I think ...

    @Frank B - yes it is :) Fun..... I think

    Anyway been doing a bit more experimenting with MTP and the different storage areas and what transfers fail, where and when. There are three files that...
  19. Replies
    466
    Views
    48,663

    Thanks for the explanation. Never really looked...

    Thanks for the explanation. Never really looked at those 2 files before so something new for me, again.
  20. Replies
    466
    Views
    48,663

    Just tried a T3.6 with MTP responder and LittleFS...

    Just tried a T3.6 with MTP responder and LittleFS well strange things are happening. Basically have 2 SD cards and 2 SPIFlahsh attached (propshield and breakout).

    1. All storage devices are found...
  21. Replies
    466
    Views
    48,663

    Just to jump in here for a minute. As Frank...

    Just to jump in here for a minute.

    As Frank and Paul said it would probably be safer in the long run would probably be better to use strlcpy().

    As for filename length whatever gets decided...
  22. Replies
    466
    Views
    48,663

    Hi Kurt Just got back on line and catching up --...

    Hi Kurt
    Just got back on line and catching up -- see I missed a bunch. As @WMXZ could a problem with USB interface. Think Paul may have to check it out when he gets some time.
  23. Replies
    466
    Views
    48,663

    Yep = already figured that one out :)

    Yep = already figured that one out :)
  24. Replies
    466
    Views
    48,663

    Really getting confusing now. Especially since I...

    Really getting confusing now. Especially since I was checking it this morning

    Ok just tried my propsheild again with a 914kb jpg which failed. Then tried with a 90kb file and it worked.
    ...
  25. Replies
    466
    Views
    48,663

    @KurtE Ok just downloaded your screenshot.jpg...

    @KurtE
    Ok just downloaded your screenshot.jpg (105KB) to QSPI flash. It copied it over and shows as 105kb. Then I copied a 1.1MB PDF to QSPI and it worked as well. Both files copied and opened...
  26. Replies
    466
    Views
    48,663

    Morning @KurtE Cool that you got it working. ...

    Morning @KurtE
    Cool that you got it working. Can you send me your image. The one I copied is only 214kb. Want to use the exact one for testing on this end. Having a problem with 1 pdf out of the...
  27. Replies
    466
    Views
    48,663

    Yep just did that so printContainer would work. ...

    Yep just did that so printContainer would work. After the first click on the device or sub directory nothing additional gets sent. If I hit refresh same thing. I edited my post basically to say...
  28. Replies
    466
    Views
    48,663

    Thanks for the explanation, its been kind of...

    Thanks for the explanation, its been kind of interesting to dig around the guts of MTP when I was trying to do it myself. Gave me a new appreciation of the effort to get it working. Kudo's
    ...
  29. Replies
    399
    Views
    7,048

    @PaulStoffregen Don't know if this has been...

    @PaulStoffregen

    Don't know if this has been brought up recently but one improvement to core to make MTP more using with existing sketches is to have MTP+SERIAL. Haven't tested @WMXZ changes that...
  30. Replies
    466
    Views
    48,663

    @WMXZ Set it up so that I now have 7 devices...

    @WMXZ
    Set it up so that I now have 7 devices showing under Teensy. The other night when I tested with the old method was only able to to 6.

    Other thing is when I went back and retest deleting a...
  31. Replies
    399
    Views
    7,048

    Some MTP testing issues and successes posted in...

    Some MTP testing issues and successes posted in MPT Thread: https://forum.pjrc.com/threads/43050-MTP-Responder-Contribution?p=260290&viewfull=1#post260290. Summary for reference

    Copy/Pasting
    1....
  32. Replies
    466
    Views
    48,663

    @WMXZ. Just did a little testing using 2 SD...

    @WMXZ.
    Just did a little testing using 2 SD cards (internal and External), 1 RAM disk, 2 SPIFlash, and 1 QSPI. Just tested some basic MTP functions like copy/paste, delete etc from windows...
  33. Replies
    466
    Views
    48,663

    Thanks will take a look. Getting confused now on...

    Thanks will take a look. Getting confused now on where to post MTP/LittleFS :) But may have to post in both places.
  34. Replies
    466
    Views
    48,663

    Real quick. Thanks. I posted a test sketch that...

    Real quick. Thanks. I posted a test sketch that covers all the storage areas in the other thread. Was planning on checking some other functions in the morning. Will download the latest first though
  35. Replies
    399
    Views
    7,048

    Using TD1.54-beta5 plus the latest and greatest...

    Using TD1.54-beta5 plus the latest and greatest MTP_t4 repository (https://github.com/WMXZ-EU/MTP_t4) and the following modified mtp_test.ino sketch with no other changes to the library itself I can...
  36. Replies
    21
    Views
    785

    Did a clean install on a Win10 x64 of Arduino...

    Did a clean install on a Win10 x64 of Arduino 1.8.13. Installed TD1.54-beta5 with no issues.

    As a quick and dirty since it kind of hits everything that was edited on Filesystems tested with...
  37. Replies
    466
    Views
    48,663

    @WMXZ Can you take a look at what I did to...

    @WMXZ
    Can you take a look at what I did to address the issue with having multiple RAM storage areas and SPI devices, i.e, mod to setStorageNumbers to include type of storage:


    void ...
  38. Replies
    399
    Views
    7,048

    This is probably a good idea. A beta5 at this...

    This is probably a good idea. A beta5 at this point is probably a good idea considering all the changes. Guess beta6 can have MSC/usbhost_t36.
  39. Replies
    466
    Views
    48,663

    Just took a look. Alot cleaner implementation. ...

    Just took a look. Alot cleaner implementation. Will play with it later and try to incorporate my mods for SPI and QSPI.
  40. Replies
    399
    Views
    7,048

    Hi Frank Not sure why you are having an issue -...

    Hi Frank
    Not sure why you are having an issue - did you update the core files to the latest version. FS.h and USB_desc been changing, same goes with the FS library.

    As for the SD Card with 16Mhz,...
  41. Thread: vtable problem

    by mjs513
    Replies
    13
    Views
    198

    @WMXZ This is probably going to be a evolving...

    @WMXZ
    This is probably going to be a evolving over time. But nice job - was lost on how to do it.
  42. Replies
    399
    Views
    7,048

    First - nothing ever appeared in Serial Monitor...

    First - nothing ever appeared in Serial Monitor for me either if printed from the Sketch. Probably have to do the mod for MTP + Serial. Was never brave enough to try it :)

    Anyway back to the the...
  43. Replies
    399
    Views
    7,048

    @KurtE The new version is meant as a replacement...

    @KurtE
    The new version is meant as a replacement for MTP_t4. At some point, after we play a bit, and see what other changes @WMXZ has up his sleeve will probably issue a PR.

    So basically...
  44. Replies
    466
    Views
    48,663

    @WMXZ Went ahead and added in (with mods) to...

    @WMXZ
    Went ahead and added in (with mods) to support QSPI and SPIFlash. I posted this in the other thread but just in case:
    Not going to push the changes yet, not 100% happy with it yet. But at...
  45. Replies
    399
    Views
    7,048

    OK - just added QSPI to MTP Responder:...

    OK - just added QSPI to MTP Responder: https://github.com/mjs513/mtp_responder-for-LittleFs/tree/MTPResponder-WIP

    so now besides SD Cards, it supports SPIFlash, RAM and QSPI.
  46. Replies
    399
    Views
    7,048

    @Frank B - glad you figured out the trick. Next...

    @Frank B - glad you figured out the trick. Next beta release will probably have SDFat-beta in it - my guess.

    As far as I know there is not fix planned, thats up to @WMXZ
  47. Replies
    399
    Views
    7,048

    Haven;t posted my changes yet but will right now....

    Haven;t posted my changes yet but will right now.

    EDIT: here is what I have so far:
    https://github.com/mjs513/mtp_responder-for-LittleFs/tree/MTPResponder-WIP

    Probably won't do anymore with...
  48. Replies
    399
    Views
    7,048

    @Frank B Just ran @WMXZ's sketch as well and it...

    @Frank B
    Just ran @WMXZ's sketch as well and it works for me. Make sure you have the latest changes to the core files and the latest for LittleFS and SD libraries. I am also using Paul's SDFat lib...
  49. Thread: vtable problem

    by mjs513
    Replies
    13
    Views
    198

    Agree - would make it alot cleaner Just tried...

    Agree - would make it alot cleaner

    Just tried your test sketch and it seems to work here too. Pointed you to that post just by way of added info.

    EDIT: if you include SPIFlash you are dealing...
  50. Thread: vtable problem

    by mjs513
    Replies
    13
    Views
    198

    You might want to check this post out from Paul:...

    You might want to check this post out from Paul: https://forum.pjrc.com/threads/58033-LittleFS-port-to-Teensy-SPIFlash?p=259975&viewfull=1#post259975
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4