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

Search:

Type: Posts; User: wwatson

Page 1 of 10 1 2 3 4

Search: Search took 0.01 seconds.

  1. Thanks Kurt, Always follow you guy's lead...

    Thanks Kurt, Always follow you guy's lead...
  2. @All - Have not been able to keep up with all of...

    @All - Have not been able to keep up with all of the changes. I just lost my step son Tuesday morning and need to catch up with the latest changes to MTP. Need a distraction:( I have a general idea...
  3. See the edit in my post. I do not have a...

    See the edit in my post. I do not have a Microsoft wireless keyboard/mouse combo but I do have Logitech ones and wired keyboards and wired mice. Going to play with this using your sketch.
  4. @epi - A quick question. I assume you are using a...

    @epi - A quick question. I assume you are using a hub. How many physical device are plugged into the wireless receivers, wired keyboard etc.. In the sketch above I noticed that you have:

    USBHub...
  5. @Paul - With reference to post #1037 I was able...

    @Paul - With reference to post #1037 I was able to do a temporary workaround to LittleFS:

    const char * getPN() {
    // PROGMEM static const char pn_name[] = "PROGRAM";
    // return pn_name; ...
  6. Yes Here:...

    Yes Here:
    https://github.com/wwatson4506/DiskIO/tree/DiskIOV2

    I just now Googled this and found this thread:
    https://forum.pjrc.com/threads/62760-section-type-conflict
    But is does not seem to...
  7. Ran into a problem with the latest version of...

    Ran into a problem with the latest version of LittleFS and DiskIOV2. I downloaded the cores and LittleFS (posts #1002 and #1003). Installed them after backing them. Recompiled DiskioTesting.ino and...
  8. File something; something.open("thisfile.txt");...

    File something; something.open("thisfile.txt"); something.isOpen(); (something.isOPen(): 'class File' has no member named 'isOpen') or if(something); (No Effect).

    Is there a example of proper...
  9. Ok... Finally figured out what was going on in...

    Ok... Finally figured out what was going on in post #898. Again I had more then one version of the following that was causing problems with listing certain file names.

    The problem code:

    // List...
  10. I have been playing with file and directory names...

    I have been playing with file and directory names with SdFat. Some names containing certain characters cause the directory listing to to just keep scrolling endlessly. Working on what is causing...
  11. You are right. Keeping track of three computers...

    You are right. Keeping track of three computers always gives me teeth marks:) As per the EDIT: above myFile.truncate(myFile.posistion()) works well.

    Edit:

    As a side note, adding this to the...
  12. @mjs513 - Think I figured out what the trouble...

    @mjs513 - Think I figured out what the trouble was. MY FAULT!! I was compiling ReadWrite.ino In Arduino 1.8.19 but was editing ReadWrite.ino in Arduino 1.8.18. You were right. @All - Thanks for the...
  13. Tried myfile.truncate(myfile.curPosition()); and...

    Tried myfile.truncate(myfile.curPosition()); and myfile.truncate(0); without success. When the file is closed it should update the size of data written to the file from the point of the truncated...
  14. Can't get FILE_WRITE_BEGIN to keep from appending?

    Initializing SD card...initialization done.
    Writing to test.txt...done.
    test.txt:
    testing 1, 2, 3.
    testing 1, 2, 3.
    testing 1, 2, 3.


    Tried this three times with ReadWrite.ino with:
  15. 10 degrees here!! Power loss off and on... Been...

    10 degrees here!! Power loss off and on... Been playing with a POSIX style filesystem based on FS. Had to do some major updates to DIskIOV2 to accommodate stdin, stdout and stderr. I had this working...
  16. Replies
    4
    Views
    347

    Happy Holidays To All

    I hope everyone has a safe and wonderful holiday. @Paul, @All, PJRC is the best. I always look forward to coming home and seeing what has been going on with the latest developments with Teensy. The...
  17. I just update to Arduino-1.8.18 and TD1.56B4....

    I just update to Arduino-1.8.18 and TD1.56B4. Also updated to your latest SD and MTP_Teensy. Going to try to get some play time in tonight:)

    Thanks...
  18. Something I have been wanting to setup and play...

    Something I have been wanting to setup and play with is an unmount function. One that would make sure all files are flushed and closed and any cached data is cleared. Then invalidate that drive. This...
  19. @KurtE - Have mediaPresent() working here. I see...

    @KurtE - Have mediaPresent() working here. I see what you saw with the delay in detecting the SDIO card. I also tested with an external SPI card but did not see the delay even with the same SD card....
  20. @KurtE - Playing with this on my end. But not...

    @KurtE - Playing with this on my end. But not MTP. I think I have basic understanding of the concept. But if hot plugging the device there are issues between initialization and restarting. More with...
  21. Replies
    113
    Views
    5,567

    @FrankB - Just updated Teensy-WavePlayer to your...

    @FrankB - Just updated Teensy-WavePlayer to your latest. As far as installation do I need t overwrite "Audio.h" in the Tennsyduino Audio library? or will it override it if in the Arduino/libraries...
  22. @KurtE - @Paul gave me a heads up on his the T4.0...

    @KurtE - @Paul gave me a heads up on his the T4.0 breakout boards. As far as MTP_Teensy is concerned, I guess it's still a moving target. Not trying to be pushy just curious is all:)
  23. @Paul - Thanks for the explanation. I Probably...

    @Paul - Thanks for the explanation. I Probably have one of the last versions. I think by looking at @mjs513's photo our T4.0 breakout boards are the same ones. Have not had any issues with it so far...
  24. Interesting. Was there more than one version of...

    Interesting. Was there more than one version of the PJRC T4.0 Breakout board? Going to try some different USB devices and see what the results are. Physically they look the same but electrically...
  25. Same here. Tested with the PJRC T4.0 breakout...

    Same here. Tested with the PJRC T4.0 breakout board. Played several Wav, MP3, FLAC files on it. They all played as expected on SDIO, external SD, and USB devices. With and without a USB Hub on the...
  26. Replies
    113
    Views
    5,567

    Started horsing around with this. You just blew...

    Started horsing around with this. You just blew what did out of the water:) Did not realize this was a no-no.

    Anyway made a couple of small changes to play_sd_wav.cpp. Added a couple of lines to...
  27. Replies
    113
    Views
    5,567

    That's probably a good thought. When I was...

    That's probably a good thought. When I was testing I added Serial.printf's to the stop() and update() functions. When the wave file failed to play it went into an endless loop in update() spewing...
  28. Replies
    113
    Views
    5,567

    Well that fixed the problem:) Both files at...

    Well that fixed the problem:) Both files at 48000Hz. Used Audacity to change the bit rate to 44100 (once I finally figured how to).

    Both files play now:)

    Thanks Mike. I learn something new...
  29. Replies
    113
    Views
    5,567

    @Frank - Will try to send them as zips. @mjs513 -...

    @Frank - Will try to send them as zips. @mjs513 - Will check them with Audacity.

    Thanks guys:)
  30. Replies
    113
    Views
    5,567

    I'll try it now... EDIT: ...

    I'll try it now...

    EDIT:

    root@Teensy:/128GEXFAT/Music>ls
    Volume Label: 128GEXFAT
    Full Path: /128GEXFAT/Music
    armaged.wav 56863276 December 05 2021...
  31. Replies
    113
    Views
    5,567

    It's a small CLI that I use to test all of the...

    It's a small CLI that I use to test all of the different filesystems and the ongoing changes to them. I wanted a way to access the different filesystems without having to constantly upload modified...
  32. Replies
    113
    Views
    5,567

    @All - Just ran into a problem with playing wav...

    @All - Just ran into a problem with playing wav files. If the file size is > ~60meg it will not play with recent changes to Audio library. Any thing less than 60meg and it plays. I have a 102meg wav...
  33. Replies
    113
    Views
    5,567

    Thanks for a great AudioCodec library:)

    Thanks for a great AudioCodec library:)
  34. Replies
    113
    Views
    5,567

    Awesome. Got one right:) Hopefully will get a...

    Awesome. Got one right:)

    Hopefully will get a chance to play with MTP with all of the recent changes...
  35. Replies
    113
    Views
    5,567

    @FrankB,@mjs513, @KurtE - Did the PR's. Before I...

    @FrankB,@mjs513, @KurtE - Did the PR's. Before I did them I went through all the changes I made sure I normalized them. I took out the debug info I had put in. One thing I found was in...
  36. Replies
    113
    Views
    5,567

    Good Morning @all - Will reorient, update and do...

    Good Morning @all - Will reorient, update and do the PR's. Nice to see it's all working:) Had no doubt you guy's would figure it out:) I have a couple of things to do this morning first then...
  37. Replies
    113
    Views
    5,567

    @mjs513 - Will download on my laptop and...

    @mjs513 - Will download on my laptop and test/play. It will probably be this weekend before I can:( My curiosity is killing me:)
  38. Replies
    113
    Views
    5,567

    @FrankB - Thanks for the hint:)

    @FrankB - Thanks for the hint:)
  39. Replies
    113
    Views
    5,567

    @mjs513 - That's a big fat YES:) Took the time to...

    @mjs513 - That's a big fat YES:) Took the time to make sure all of recent changes were put back to the original. Made the change you provided and it works. GOOD FIX:)
    Def Lepard never sounded...
  40. Replies
    113
    Views
    5,567

    @mjs513 - Just got back. Saw post #49 first......

    @mjs513 - Just got back. Saw post #49 first... Yes MP3 play failed with original and both other changes to calloc(). The only change that worked was disabling 'configure_cache();' in startup.c. Will...
  41. Replies
    113
    Views
    5,567

    @mjs513 - Just got back. Saw post #49 first......

    @mjs513 - Just got back. Saw post #49 first... Yes MP3 play failed with original and both other changes to calloc(). The only change that worked was disabling 'configure_cache();' in startup.c. Will...
  42. Replies
    113
    Views
    5,567

    Thanks Mike. Just got called back in:( Had enough...

    Thanks Mike. Just got called back in:( Had enough time to test a suggestion from @FrankB about the cache. That took care of the problem we were seeing with MSC and MP3 files playing once then choking...
  43. Replies
    113
    Views
    5,567

    @FrankB - Wow, commented out 'configure_cache();...

    @FrankB - Wow, commented out 'configure_cache(); ' line #117 in startup.c and retested with calloc(size,1). MP3 files play and repeat playing, Not even going to try to figure out why:) Will just...
  44. Replies
    113
    Views
    5,567

    Sorry, Just got back from work. We are getting...

    Sorry, Just got back from work. We are getting flooded out again. Looks like you guy's have been busy. I am expecting to get called back in to work tonight but will try to get caught up and do some...
  45. Replies
    113
    Views
    5,567

    @mjs513 - I agree. That is the root problem...

    @mjs513 - I agree. That is the root problem...
  46. Replies
    113
    Views
    5,567

    @mjs513 - Kinda cleaning up the mess I made with...

    @mjs513 - Kinda cleaning up the mess I made with this. Right now I am redoing the buffer allocation to make it less invasive on @FrankB's library. What I have done to make this work with MSC is a...
  47. Replies
    113
    Views
    5,567

    Thanks for the info Frank. Probably won't put...

    Thanks for the info Frank. Probably won't put much if any effort into it:)
  48. Replies
    113
    Views
    5,567

    Thanks, Will add it in and test. As a side note...

    Thanks, Will add it in and test. As a side note was looking at FLAC type and it looks it uses a lot of dynamic memory allocation which appears to be based on a variable block size. If I am right....
  49. Replies
    113
    Views
    5,567

    @mjs513 - Your MTP version is working on my end:)...

    @mjs513 - Your MTP version is working on my end:) One thing I noticed is it is only playing one channel. The right channel I think. Did you set it up that way? Otherwise it played all the songs that...
  50. Replies
    113
    Views
    5,567

    @mls513 - Sorry I had just missed your last post...

    @mls513 - Sorry I had just missed your last post #25 before I posted. Will test...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4