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

Search:

Type: Posts; User: KurtE

Page 1 of 10 1 2 3 4

Search: Search took 0.06 seconds.

  1. Minor update... Thought I would enable some of...

    Minor update... Thought I would enable some of the debug output that was ifdefed out or commented out in that function...
    26791
    I ran it again on MicroMode and T4.1... Notices the sizes of the...
  2. Thanks @FrankB and @mjs513... As for Cache stuff,...

    Thanks @FrankB and @mjs513... As for Cache stuff, I did not think it would make much difference and it did not as all of the reads appear to be using memory in the DTCM:

    Press any key to play a...
  3. Not sure which thread would be best for this: ...

    Not sure which thread would be best for this: But we were playing with the MTP with MP3 stuff, found everything was working but went to try doing it on MicroMod and am having it fail on WAV file on...
  4. Replies
    97
    Views
    2,169

    Note: I am going to take the MicroMod issue over...

    Note: I am going to take the MicroMod issue over to the integration thread as it is not really related...
  5. Replies
    97
    Views
    2,169

    Yes I thought I pushed up change for the cast

    Yes I thought I pushed up change for the cast
  6. Replies
    97
    Views
    2,169

    Update on MicroMod: I turned on debug printing...

    Update on MicroMod:

    I turned on debug printing in Cores, startup a second T4 connected using the USB To Serial sketch..

    Then rebuilt and sure enough it faulted. Note: I am using my own updates...
  7. Replies
    97
    Views
    2,169

    @all - I have now been playing with the MMOD with...

    @all - I have now been playing with the MMOD with Paul's break out board. Mainly because it has both USB and SDIO version of SD...

    I tried running same program I run on T4.1... Which is a...
  8. Replies
    97
    Views
    2,169

    Paul, I don't think that the @mjs513 PR to...

    Paul,

    I don't think that the @mjs513 PR to Audio has anything to do with Frank's work. It is simply to allow things like wave files to be played that are on other storage
    than just SD cards. So...
  9. Replies
    97
    Views
    2,169

    You are right, except that I don't think they are...

    You are right, except that I don't think they are always properly aligned...
    Did not run into this with other code may need to be updated at a low level... (I believe the code is in SDFat in...
  10. Replies
    97
    Views
    2,169

    Try syncing up to my USBHost_t36...

    Try syncing up to my USBHost_t36 FS_Integration_MSC branch... I believe the AAC and MP3s are now working without changes to core.
  11. Replies
    97
    Views
    2,169

    Will have to play some more with this today and...

    Will have to play some more with this today and see if we can isolate...
    When you say the would not play... Did the open fail or did they just not produce noise (oops I mean music ;) )
  12. Replies
    3
    Views
    125

    Also note, sometimes I have had where the address...

    Also note, sometimes I have had where the address does not translate to a good line number. I have had this happen when for example the code overwrites parts of memory, like things on the stack or...
  13. Thread: Second USB Port

    by KurtE
    Replies
    2
    Views
    105

    This is something that obviously Paul can answer...

    This is something that obviously Paul can answer a lot better, but will try...

    Not sure exactly what you are asking.

    a) if asking can you connect up a different connector to the main USB port,...
  14. Replies
    97
    Views
    2,169

    You are right that it is very likely to be...

    You are right that it is very likely to be related to the cache... But the question is how...

    Example: Cache reads of stuff goes faster than without cache... Also maybe different on memory buss...
  15. Replies
    97
    Views
    2,169

    I know late to the table... But decided to at...

    I know late to the table...

    But decided to at least set it up...
    So with @mjs513s help was able to setup his test sketch and get rid of most of the warnings, except:
    ...
  16. Thread: 24 Keys Matrix

    by KurtE
    Replies
    8
    Views
    355

    Like @houtson mentioned, you might try the keypad...

    Like @houtson mentioned, you might try the keypad library solution.

    A long time ago I wrote my own code for a 20 button matrix... which does something similar to what you mentioned.
    But there...
  17. Replies
    97
    Views
    2,169

    Note: that is why I asked about DMAMEM back in...

    Note: that is why I asked about DMAMEM back in the dart board post...


    Unfortunately this is not really a fix, but at least it helps localize the issue.

    At this point I would doubt that...
  18. Replies
    5
    Views
    281

    Oops sorry, I forgot there is no %b... I...

    Oops sorry,

    I forgot there is no %b... I mostly have used %x for hex...

    Lots of ways to code: could be something like:


    void setup()
    {
    char buffer[17];
  19. Replies
    5
    Views
    281

    Note: With Teeny serial, you do have printf: For...

    Note: With Teeny serial, you do have printf:
    For example I believe your first could be replaced by something like:

    Serial.printf("0x%016b", inNumber);

    Your other part can be done like:
    ...
  20. MTP_Test builds again if you turn on that option:...

    MTP_Test builds again if you turn on that option:

    The compiler did not like the sizes that were being used for the sizes of numbers:

    -const int lfs_ram_size[] = {200'000,4'000'000}; // edit to...
  21. Replies
    97
    Views
    2,169

    Ideas? Maybe not ;) Darts(Questions)? Maybe :D...

    Ideas? Maybe not ;) Darts(Questions)? Maybe :D

    Things like: How often is allocBuffer called? And for what sizes? Is it ever called with 0? Does that cause problems?
    Why does it use calloc...
  22. Hi @defragster - I must admit, I have not been...

    Hi @defragster - I must admit, I have not been using the mtp-test program for awhile now. Most of the time right now I alternate between:

    USB_MTP-logger - When I am testing more of the MSC stuff....
  23. Now back to something complete random.... Sort...

    Now back to something complete random.... Sort of...

    Today I played a little more with the Rawhid stuff to see if I can make it work closer to the MTP transfer code to see if I could replicate...
  24. Replies
    97
    Views
    2,169

    Sounds like you are having too much fun!

    Sounds like you are having too much fun!
  25. :D Glad we saw the same thing. Again I feel...

    :D Glad we saw the same thing.

    Again I feel like I am throwing darts into a pitch black room, hoping to hit a small target :D

    But I have pushed up some experiments in progress for cores and...
  26. needless to say, I am not an expert on all of...

    needless to say, I am not an expert on all of this, (i.e. the questions)

    You are right about the max per packet payload is 512 at high speed. But as I browse through the USB spec... Things like...
  27. Bulk versus Interrupt USB Endpoints

    Paul and maybe others,

    I know that some of this may be really Fundamental USB stuff, but I am not sure of the functionality
    differences of end points that are type 2(BULK) versus type...
  28. @Paul and all, Follow on to previous post. ...

    @Paul and all,

    Follow on to previous post. Tried similar on Ubuntu 20.04.. Installed Wireshark again plus modprobe ...

    Moved the same Teensy board plus SSD to machine (running same sketch...)...
  29. Paul and others: @mjs513 had a good idea of...

    Paul and others: @mjs513 had a good idea of trying to capture these USB issues of either windows dropping the MTP or we miss some packets when doing SendObject...
    and sent me a capture of when it...
  30. Follow on from above: I was curious about if...

    Follow on from above:

    I was curious about if maybe there might be hints in the USB information received on stuff missing.

    So I updated the usb_mtp.c.h code to have a new extended function:...
  31. Morning all (at least here) Note: As @mjs513...

    Morning all (at least here)

    Note: As @mjs513 and myself were testing some stuff yesterday, it looks like the GetObject stuff may have been a false problem. That is maybe not an issue of needing...
  32. I guess the question is, what are you asking for....

    I guess the question is, what are you asking for.

    If you are asking if you can plug a teensy into a pc and have it show up as a hard disk (Mass Storage Controller), No there is no support for...
  33. I ran it on one of my t3.5 and pin 28 worked like...

    I ran it on one of my t3.5 and pin 28 worked like pins 29-32...

    So maybe something with your board... you might try touching up the solder on pin 28 and see if that makes a difference... I have...
  34. Replies
    4
    Views
    228

    Not sure if exactly what you are looking for: ...

    Not sure if exactly what you are looking for:

    But if you look at the library st77t3 that ships with Teensyduino, at the example sketch uncannyeEyes_async_st7789

    There is code at the start...
  35. Quick update: Been looking into two...

    Quick update:

    Been looking into two fundamental issues:

    1) Why we are losing data on receive (SendObject) as I have mentioned, like both windows and Ubuntu even with my BogusFs to rule out FS...
  36. Replies
    6
    Views
    302

    Again make sure where it said Teensyduino was...

    Again make sure where it said Teensyduino was installed is the same place that your launching of Arduino is from.

    I normally have several versions of Arduino installed, so I always have to make...
  37. Thread: 24 Keys Matrix

    by KurtE
    Replies
    8
    Views
    355

    Hopefully at least for the T3.6 you are using a...

    Hopefully at least for the T3.6 you are using a PU that uses 3.3v as the T3.6 pins are not tolerant of 5v being applied to them.
  38. Replies
    8
    Views
    370

    The answer, for the best way to do things like,...

    The answer, for the best way to do things like, this probably depends on what it is you are trying to solve...

    For example earlier when I was playing with a robot (hexapod), Where I was using a...
  39. Replies
    9
    Views
    358

    Sorry it has been awhile since I played with...

    Sorry it has been awhile since I played with neopixels and the like.

    One thing I found with Neopixels was they wanted to be driven with 5v signals and the Teensy outputs 3.3v signals.
    I was...
  40. @Paul and others... Another quick...

    @Paul and others...

    Another quick observation/question:

    When I download a file Teensy to host (GetObject) - it often feels like the object was downloaded, but the MTP is hung... Note on Ubutue...
  41. Morning: @mjs513 - Good information. So T3.6...

    Morning:

    @mjs513 - Good information. So T3.6 appears to be working well.

    So again it points fingers at T4 implantation issues. Note: the SendObject code within the MTP_Teensy library is...
  42. Quick update on Ubuntu... Getting an error trying...

    Quick update on Ubuntu... Getting an error trying to download the large file back to the Ubuntu... So will do some debug here next...

    Wondering about something I think I saw in code, where the...
  43. @Paul, @mjs513 @defragster and all: I...

    @Paul, @mjs513 @defragster and all:


    I believe when we have failures on copy like the one @mjs513 had above:

    Part2 - 87MB exFat
    Format - looses drive and turns fat32 drive red have to reboot...
  44. Quick update on MAC. I don't know if there is...

    Quick update on MAC.

    I don't know if there is any Native support on MAC.

    But I did find with the OpenMTP application, that I can see The MTP now...

    You have go use the connect (looks like...
  45. Yep thanks :D What I have not tried out in a...

    Yep thanks :D

    What I have not tried out in a long time, is does any of it work on MAC? My impression is that there is probably not native support for MTP? I have seen some libraries and...
  46. Observations, about differences between running...

    Observations, about differences between running MTP on Windows versus Ubuntu:

    In this case running on T4.1 with MTP_Teensy -> Simple example, I have prop shield simple plugged in to it (sort of......
  47. I just rebuilt and ran the sketch mentioned above...

    I just rebuilt and ran the sketch mentioned above on Ubuntu again... This time it came up but has some obvious issue?
    As you can see in screenshot:
    26612


    So I thought maybe the Program disk,...
  48. Hopefully the code is in place that if it gets...

    Hopefully the code is in place that if it gets the 0 length packet(s) that it exits the loop and closes the file as well as update date/time, which should update the sizes of the file. I was mostly...
  49. Quick update: I went ahead and pushed in the...

    Quick update: I went ahead and pushed in the above changes.

    Also verified, that getting packet drop outs on Ubuntu as well. Interesting Ubuntu actually brings up dialog saying that the transfer...
  50. Replies
    15
    Views
    1,076

    Thanks, that took care of it... I had been...

    Thanks, that took care of it...
    I had been running with my own copy of sources, but thought I should start off with the "released"

    At times wish there was an option in Teensyduino installer,...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4