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

  1. Replies
    66
    Views
    1,492

    @Frank B - @KurtE - @wwatson Going back through...

    @Frank B - @KurtE - @wwatson
    Going back through the T4 beta thread from long ago actually found where I tested the codec library the T4 beta board when I think it was still the 1052 chip not 100%...
  2. Replies
    66
    Views
    1,492

    @KurtE - @wwatson I just forked @wwatson...

    @KurtE - @wwatson
    I just forked @wwatson repository and added my changes along with an extras folder that contain a zip file for the changed play_sd_wav and play_sd_raw that go into the audio...
  3. Replies
    66
    Views
    1,492

    Ok I made one change to calloc that seemed to...

    Ok I made one change to calloc that seemed to resolve playing MP3's for me without disabling cache. However when I first played a series of wav files and the next file was a AAC file it wouldn't...
  4. Replies
    66
    Views
    1,492

    @wwatson - @KurtE If interested here is the...

    @wwatson - @KurtE
    If interested here is the latest version the MTP_test_audio sketch.
  5. Thread: 24 Keys Matrix

    by mjs513
    Replies
    8
    Views
    319

    You may want to check this post out:...

    You may want to check this post out:
    https://forum.pjrc.com/threads/62087-Simple-Keyboard-matrix-with-Teensy-4-1?highlight=key+matrix
    sounds like a similar problem. Solution may help.
  6. You might also want to check out the following...

    You might also want to check out the following posts:
    https://forum.pjrc.com/threads/31878-Wii-nunchuk-Classic-controller?highlight=nunchuck
    ...
  7. Replies
    66
    Views
    1,492

    Had same thought but didn't seem to help with...

    Had same thought but didn't seem to help with large file transfers.
  8. Replies
    66
    Views
    1,492

    @wwatson - @Frank B Tried turning off cache to...

    @wwatson - @Frank B
    Tried turning off cache to see if it would help playing FLA files and to resolve another issue I was having, i.e., after playing a bunch of wav files (which worked) and then...
  9. Replies
    66
    Views
    1,492

    Did that happen even with the fix to calloc that...

    Did that happen even with the fix to calloc that I showed -calloc(size, (uint8_t) 1);
  10. Replies
    66
    Views
    1,492

    Don't worry about this stuff - take care of...

    Don't worry about this stuff - take care of business and yourself then worry about this.
  11. Replies
    66
    Views
    1,492

    Thanks - not really using FLA music anyways. ...

    Thanks - not really using FLA music anyways. Did note that OPU files do work just for reference.
  12. Replies
    66
    Views
    1,492

    How often is allocBuffer called? In post #39 I...

    How often is allocBuffer called? In post #39 I showed a solution to the issue with calloc. The compiler doesn't like calloc(size, 1) but it likes calloc(size, sizeof(uint8_t)) and it also works...
  13. 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:...
  14. Replies
    66
    Views
    1,492

    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...
  15. Replies
    66
    Views
    1,492

    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.
  16. Replies
    66
    Views
    1,492

    @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...
  17. Replies
    66
    Views
    1,492

    @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...
  18. Replies
    66
    Views
    1,492

    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...
  19. Replies
    66
    Views
    1,492

    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...
  20. Replies
    66
    Views
    1,492

    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 -...
  21. Replies
    66
    Views
    1,492

    Definitely especially when its something you can...

    Definitely especially when its something you can get working.
  22. Replies
    66
    Views
    1,492

    @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...
  23. Replies
    66
    Views
    1,492

    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 :)
  24. 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...
  25. Replies
    66
    Views
    1,492

    yeah it was but still didn't work :)

    yeah it was but still didn't work :)
  26. Replies
    66
    Views
    1,492

    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. :)
  27. Replies
    66
    Views
    1,492

    @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...
  28. 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 -...
  29. 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.
  30. 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:...
  31. @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...
  32. Replies
    66
    Views
    1,492

    Thank you - definitely will try it later today.

    Thank you - definitely will try it later today.
  33. Replies
    66
    Views
    1,492

    @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.
  34. Replies
    60
    Views
    13,750

    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:...
  35. Replies
    60
    Views
    13,750

    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...
  36. Replies
    60
    Views
    13,750

    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
  37. Replies
    60
    Views
    13,750

    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...
  38. 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...
  39. Replies
    60
    Views
    13,750

    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...
  40. Replies
    60
    Views
    13,750

    @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...
  41. 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...
  42. Replies
    60
    Views
    13,750

    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.
  43. 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...
  44. 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...
  45. 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...
  46. Replies
    60
    Views
    13,750

    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...
  47. 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.
  48. 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.
  49. Replies
    15
    Views
    1,019

    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. :)
  50. @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.
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4