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

  1. Morning @defragster Been using the...

    Morning @defragster

    Been using the MTP_Test_integrity sketch pretty much for all my testing but I am not seeing any compile errors using PSRAM:

    Memory Usage on Teensy 4.1:
    FLASH:...
  2. Replies
    39
    Views
    974

    If I trace it through allocateBuffer is defined...

    If I trace it through allocateBuffer is defined in codecs.h as:

    uint8_t *allocBuffer(size_t size) { rdbufsize = size; bufptr = (uint8_t *) calloc(size,1); return bufptr;}
    malloc seems to work...
  3. Replies
    39
    Views
    974

    Think the real issue is why isn't malloc/calloc...

    Think the real issue is why isn't malloc/calloc working with MSC to begin with - maybe @KurtE has an idea.
  4. Replies
    39
    Views
    974

    @Frank B = @wwatson Made a change to...

    @Frank B = @wwatson

    Made a change to OpusPlayFile sketch and that is working on the T4.1 - used Frank's instructions in the referenced thread. Going to add it to MTP_test_audio sketch - probably...
  5. Replies
    39
    Views
    974

    @wwatson - @Frank B Tried the FLAC test files...

    @wwatson - @Frank B
    Tried the FLAC test files with the smaller blocksizes so still no dice. So for the heck of it I tried the example FLAC sketch in the library using SIDO and the T1_128.FLA on the...
  6. Replies
    39
    Views
    974

    Yes - thanks Frank. Learn something new every...

    Yes - thanks Frank. Learn something new every day. The FLA I was using to test has a blocksize of 1024 going to try the smaller ones just to be sure it works. And you are right just on my cheap-o...
  7. Replies
    39
    Views
    974

    Glad you are enjoying it. Should be playing 2...

    Glad you are enjoying it. Should be playing 2 channels unless I didn;t set the audio up right - only use 1 speaker on the audio jack. So can't really tell :)

    EDIT: UPDATED
    think for wav files I...
  8. Replies
    39
    Views
    974

    Ok got carried away. I edited the rest of the...

    Ok got carried away. I edited the rest of the codec library so you can play aac and flac files as well as editing raw in the audio library. Unfortunately not sure why FLAC files are not playing -...
  9. Replies
    39
    Views
    974

    Definitely especially when its something you can...

    Definitely especially when its something you can get working.
  10. Replies
    39
    Views
    974

    @wwatson and all interested parties. You got...

    @wwatson and all interested parties.

    You got me inspired this morning so I did a modification to the MTP_test sketch so instead of logging data it will play mp3 files on the device or a single...
  11. Replies
    39
    Views
    974

    Just downloaded your updates and gave it a try...

    Just downloaded your updates and gave it a try and looks like you got it solved. Played on first try. Now to have some fun :)
  12. A little confused. In your Step 2 it says...

    A little confused.

    In your Step 2 it says that the T4 you are using already has a key that was previously written:


    So when you go and run the verify sketch with a new key its going to fail...
  13. Replies
    39
    Views
    974

    yeah it was but still didn't work :)

    yeah it was but still didn't work :)
  14. Replies
    39
    Views
    974

    Going to see if I can modify the sketch to use it...

    Going to see if I can modify the sketch to use it in conjunction with MTP and see what happens at some point today. :)
  15. Replies
    39
    Views
    974

    @wwatson Downloaded your lib this morning to...

    @wwatson
    Downloaded your lib this morning to give it a try and I am not seeing any errors:

    Playing file: SDTEST1.mp3
    play() error = 0
    but the problem is nothing is playing. This is using a...
  16. Out of curiosity wanted to see what the teensy >...

    Out of curiosity wanted to see what the teensy > PC transfer looked like and seems to be the exact opposite of the PC > Teensy transfer:
    26693


    EDIT: Sorry @KurtE missed your edit on the post -...
  17. Decided to take break from this for a bit but to...

    Decided to take break from this for a bit but to answer your question yes seems to be working well for teensy to pc transfers.
  18. In addition to what @KurtE is seeing with missing...

    In addition to what @KurtE is seeing with missing packets I am experiencing timeouts of receipt of data which when using the 512MB flash chip from USB. In this case I get that 1 block out transfer:...
  19. @Paul - @KurtE and all I did a similar capture...

    @Paul - @KurtE and all
    I did a similar capture for the T3.6 using a 128GB MSC drive and the results were similar to that of the T4.1 in that there is a small packet (91 bytes) then a small bulk out...
  20. Replies
    39
    Views
    974

    Thank you - definitely will try it later today.

    Thank you - definitely will try it later today.
  21. Replies
    39
    Views
    974

    @wwatson - you should post your changes for...

    @wwatson - you should post your changes for LittleFS and/or issue a PR when you get done should be fun to play with. I have used the Library in the past and it works great.
  22. Replies
    60
    Views
    13,610

    Based on what you said I think you are...

    Based on what you said I think you are mis-reading something. If you configure the encoder to an index pin, it will reset the position counter when the index pin triggers the interrupt. The manual:...
  23. Replies
    60
    Views
    13,610

    Think if you look at the libraries ReadMe you...

    Think if you look at the libraries ReadMe you might find some of your answers on what the library contains. For instance you can specify whether you what to use an Index or trigger Pin as well as...
  24. Replies
    60
    Views
    13,610

    According to the spec its a 32-bit counter -...

    According to the spec its a 32-bit counter - unsigned int - so probably somewhere around 4,294,967,295 as a guess, I thing a uint32 is 232 - 1
  25. Replies
    60
    Views
    13,610

    Will give it a try I can't remember if it worked...

    Will give it a try I can't remember if it worked in both directions - sorry - too many projects and distractions

    EDIT: Just checked and its working as it should be from what I can see. I am...
  26. I was running into that early on in testing but...

    I was running into that early on in testing but with the latest changes seems to picking it up without a problem in windows. It has happened to me when I have had a external card reader attached to...
  27. Replies
    60
    Views
    13,610

    If you look at some of the examples and check the...

    If you look at some of the examples and check the readme you will find what you are looking for. But simple answer to get you started is that you put the pin numbers in the order indicated, and...
  28. Replies
    60
    Views
    13,610

    @Blackaddr Went ahead and merged your changes...

    @Blackaddr

    Went ahead and merged your changes since those were the tables that had to be created for the MicroMod. Made one change for the io-mux value for pins 36/37 and its now working:
    26624...
  29. Morning all In a follow-up to post #555 I just...

    Morning all
    In a follow-up to post #555 I just finished testing the same devices using the same sketch and same process of formatting and copying large and small files except this time I am using...
  30. Replies
    60
    Views
    13,610

    I understand exactly what you are saying. Will...

    I understand exactly what you are saying. Will take a closer look later today. Right now in the middle of some other testing that I want to finish up.
  31. I agree with your assessment that its not with...

    I agree with your assessment that its not with the File Systems. One of the points of the comparisons was to determine a common thread if there was any as well as using direct write capability for...
  32. Tim - thought I had copied your version as posted...

    Tim - thought I had copied your version as posted - seemed to be printing less dots will have to redo. As for Integrity file writes I have not had problem with 0byte files being created. Those...
  33. Well with the latest set of changes decided to...

    Well with the latest set of changes decided to try and see what is working or not working correctly with the different storage media. Flash is already a know issue and will do that next but this is...
  34. Replies
    60
    Views
    13,610

    Actually pins 36 and 37 are supported but for the...

    Actually pins 36 and 37 are supported but for the Teensy 4.1. Looks like I put the ifdef in the wrong spot - its against the Teensy 4 and not the Teens4.1.

    Just pushed the change to the library...
  35. I think at some point probably (a) but maybe for...

    I think at some point probably (a) but maybe for now while in development leave option (b) if file size >0. Although when I get incomplete transfers I am seeing the file size as 0 bytes.
  36. Thanks Tim for testing - have to run and see...

    Thanks Tim for testing - have to run and see whats going on - Win1g and Win2g didn't seem to have any issues. Have some appointments this morning so will test in the afternoon.
  37. Replies
    15
    Views
    989

    So I should have left it in:...

    So I should have left it in: https://forum.pjrc.com/threads/68386-Teensyduino-1-56-Beta-2?p=292786&viewfull=1#post292786 but maybe not in that place. :)
  38. @defragster Did you remember to enable MSC? ...

    @defragster
    Did you remember to enable MSC?


    #define USE_MSC 0 // set to > 0 experiment with MTP (USBHost.t36 + mscFS)


    Have to set this to 1 to use MSC devices.
  39. @KurtE - @Paul - @defragster Just on the off...

    @KurtE - @Paul - @defragster
    Just on the off chance that the issue may be with going to version 2.4.1 of LittleFS I reverted back to our previous version. Seems the new version is a bit faster -...
  40. Ok not sure what sketch that you are working with...

    Ok not sure what sketch that you are working with but I made sure I didn't install USBHost_t36 when I installed and the downloaded @KurtE's versions for MTP and USBHost:
    ...
  41. Replies
    15
    Views
    989

    Downloaded a bit earlier and been testing flash...

    Downloaded a bit earlier and been testing flash with MTP - have to saw that 1.07 seems to really improve uploading at least from anecdotal experience. Didn't time it but just seems faster. So now...
  42. @KurtE without doing a low level format I copied...

    @KurtE
    without doing a low level format I copied over several files:

    MTPD::SendObject: len:1037303
    # USB Packets: 2026 total: 5 avg ms: 0 max: 1
    # Write: 507 total:5389 avg ms: 10 max:...
  43. Going to start with this one. Assuming since its...

    Going to start with this one. Assuming since its a 32GB SD card its formatted as FAT32. Under that assumption transferred several large files (copy multiple large files at the same time are hit and...
  44. @defragster The integrity sketch is posted...

    @defragster

    The integrity sketch is posted anywhere but probably can push it up to MTP_Teensy for now. Really only meant as a development sketch. I did put in a couple of fixes for that sd card...
  45. Replies
    12
    Views
    542

    Great - will have to give it a try

    Great - will have to give it a try
  46. That's probably because of this section in the...

    That's probably because of this section in the sketch

    bool storage_added = false;
    for (uint8_t i = 0; i < COUNT_MYFS; i++) {
    if (myFS[i].sd.begin(myFS[i].csPin)) {
    storage_added =...
  47. Morning just having my coffee :) Going to try...

    Morning just having my coffee :) Going to try and repeat the steps just in case I missed something

    1. Reformatted exFAT on SSD
    2. '1' List drives

    Dump Storage list(4)
    store:0 storage:10001...
  48. from MTP or the Teensy not sure. I know @WMXZ...

    from MTP or the Teensy not sure. I know @WMXZ has a script that does that in windows:

    if...
  49. Good luck with the driveway clearing - been a bit...

    Good luck with the driveway clearing - been a bit windy here but not bad. As for a good example - I have been using this one for testing:

    26545

    Have fun.
  50. Been playing with transferring large files to the...

    Been playing with transferring large files to the 128 exFAT drive under different scenarios, i.e, restarts, reformats, large - small - large etc but have not seen the issue where we are getting...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4