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

  1. Tried quick test with t4 with t4236 adapter and...

    Tried quick test with t4 with t4236 adapter and played a few wave files will try more later.
  2. Replies
    111
    Views
    2,560

    :D Wonder if the software could/should be...

    :D

    Wonder if the software could/should be updated, to when you say play X.wav if it is going to fail due to new format or wrong bit rate, that it might return some error message to inform the...
  3. Sorry, Busy debugging some other stuff... ...

    Sorry,

    Busy debugging some other stuff...

    When you say Crashing... Are you saying that the program crashes and restarts?

    With T4.x you at times capture some debug information, by using...
  4. Another quick update: I now have it not crashing...

    Another quick update: I now have it not crashing by detecting the read failure... I try reading again still fails... I also then changed code to use the global object SD
    and to print out...
  5. Replies
    111
    Views
    2,560

    Wonder if related to issue trying to figure out...

    Wonder if related to issue trying to figure out why MicroMod is faulting.

    So far looking like a read failing and returning that it read 65535 bytes on a read of buffer of 512 bytes... And then the...
  6. Follow on from yesterday... Again not sure what...

    Follow on from yesterday... Again not sure what is different between T41 and MMOD...

    But @mjs513 and myself have done some more tracing today...
    I showed a picture of two runs side by side......
  7. 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...
  8. 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...
  9. 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...
  10. Replies
    111
    Views
    2,560

    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...
  11. Replies
    111
    Views
    2,560

    Yes I thought I pushed up change for the cast

    Yes I thought I pushed up change for the cast
  12. Replies
    111
    Views
    2,560

    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...
  13. Replies
    111
    Views
    2,560

    @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...
  14. Replies
    111
    Views
    2,560

    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...
  15. Replies
    111
    Views
    2,560

    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...
  16. Replies
    111
    Views
    2,560

    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.
  17. Replies
    111
    Views
    2,560

    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 ;) )
  18. Replies
    3
    Views
    132

    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...
  19. Thread: Second USB Port

    by KurtE
    Replies
    2
    Views
    110

    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,...
  20. Replies
    111
    Views
    2,560

    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...
  21. Replies
    111
    Views
    2,560

    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:
    ...
  22. Thread: 24 Keys Matrix

    by KurtE
    Replies
    8
    Views
    374

    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...
  23. Replies
    111
    Views
    2,560

    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...
  24. Replies
    5
    Views
    297

    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];
  25. Replies
    5
    Views
    297

    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:
    ...
  26. 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...
  27. Replies
    111
    Views
    2,560

    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...
  28. 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....
  29. 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...
  30. Replies
    111
    Views
    2,560

    Sounds like you are having too much fun!

    Sounds like you are having too much fun!
  31. :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...
  32. 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...
  33. 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...
  34. @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...)...
  35. 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...
  36. 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:...
  37. 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...
  38. 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...
  39. 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...
  40. Replies
    4
    Views
    243

    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...
  41. 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...
  42. Replies
    6
    Views
    316

    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...
  43. Thread: 24 Keys Matrix

    by KurtE
    Replies
    8
    Views
    374

    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.
  44. Replies
    8
    Views
    389

    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...
  45. Replies
    9
    Views
    372

    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...
  46. @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...
  47. 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...
  48. 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...
  49. @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...
  50. 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...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4