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. Replies
    26
    Views
    719

    Sounds like you are having too much fun!

    Sounds like you are having too much fun!
  2. :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...
  3. 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...
  4. 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...
  5. @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...)...
  6. 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...
  7. 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:...
  8. 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...
  9. 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...
  10. 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...
  11. Replies
    4
    Views
    204

    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...
  12. 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...
  13. Replies
    6
    Views
    264

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

    by KurtE
    Replies
    5
    Views
    255

    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.
  15. Replies
    8
    Views
    318

    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...
  16. Replies
    9
    Views
    304

    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...
  17. @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...
  18. 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...
  19. 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...
  20. @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...
  21. 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...
  22. 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...
  23. 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......
  24. 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,...
  25. 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...
  26. 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...
  27. Replies
    15
    Views
    970

    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,...
  28. Replies
    15
    Views
    970

    Just installed on 64 bit Ubuntu... I think I...

    Just installed on 64 bit Ubuntu... I think I removed the links to my versions of libraries, but SDFat does not build.

    Tried the SD Example ListFiles

    ...
  29. Replies
    2
    Views
    193

    Sorry I am not an expert on trying to use the...

    Sorry I am not an expert on trying to use the Flash in that way.

    That is I don't believe you can use Flash as if it were simple RAM.

    That is I believe most(all) of them are setup with...
  30. Early morning all... (At least here): ...

    Early morning all... (At least here):

    SendObject failing on large files...

    Right now at least to me, there are logically two parts from this (maybe more... Somtimes I can not count):

    a) Can...
  31. Note: it is not uncommon if your sketch adds...

    Note: it is not uncommon if your sketch adds several storage objects that the initial directory may be empty. But refresh (F5) or clicking on it in the folder view should then show up the items...
    ...
  32. Quick update: Looks like the library owner has...

    Quick update: Looks like the library owner has made changes to hopefully address this.

    https://github.com/sparkfun/SparkFun_KX13X_Arduino_Library/issues/10#event-5641011568
    And I believe released...
  33. Follow on: Still need to figure out why SD at...

    Follow on: Still need to figure out why SD at times still fails on large files...


    LP:111748 CMD: 100d(SEND_OBJECT)l: 12 T:f
    MTPD::SendObject: len:22015988

    MTPD::SendObject *** USB Read...
  34. I am just in the process of updating to the...

    I am just in the process of updating to the beta3...

    Actually updated the Teensyduino, but waiting for run of current sketch to complete low level formatting of the Flash chips.

    @defragster: as...
  35. @MarkT and ... Yep! Lots of issues with the...

    @MarkT and ...

    Yep! Lots of issues with the code.

    I raised a new issue up on github: https://github.com/sparkfun/SparkFun_KX13X_Arduino_Library/issues/10

    But I believe the biggest issue....
  36. Don't know yet... I need to isolate it down...

    Don't know yet... I need to isolate it down farther. If sparkfun library issue, may make changes and try seeing if they will take a pull request...

    Ordered one of these from Amazon, which should...
  37. It looks like it may be faulting in the SPI...

    It looks like it may be faulting in the SPI library.

    Added to code: if (CrashReport) Serial.print(CrashReport);

    CrashReport:
    A problem occurred at (system time) 12:56:35
    Code was...
  38. I am assuming you have the 132 version:...

    I am assuming you have the 132 version: https://www.sparkfun.com/products/17871 ?

    Do youve pictures showing your setup? Or do you not have it setup yet?
  39. Quick note on setup: Paul has merged in several...

    Quick note on setup: Paul has merged in several things over the last day, so I will be starting testing with:

    cores - master branch
    SD - Juse_Use_SdFat branch
    SDFat - master (Synced with...
  40. Replies
    2
    Views
    239

    As mentioned: the updateScreen does it...

    As mentioned: the updateScreen does it synchronous... That is it does not return until it completes.

    However the updateScreenAsync() uses dma to update the screen. Calling it, will simply start...
  41. Does not sound like fun...

    Does not sound like fun...
  42. Wondering (mostly too self ;) ) When we do a...

    Wondering (mostly too self ;) )

    When we do a transfer and littlefs takes forever, and windows gives up and stops sending us data... If after we detect this, if there is some way other than...
  43. As for me, on what to use for testing, I go...

    As for me, on what to use for testing, I go through a few different ones. Including the bogusFS one, which current version I believe I have it still using my extension of Franks MemoryFS... That I...
  44. Replies
    2
    Views
    137

    I copied and pasted your code and ran on Arduino...

    I copied and pasted your code and ran on Arduino and configured for T4.1
    and it worked for me.
    26539
  45. I just pushed up changes to two branches of...

    I just pushed up changes to two branches of Cores:

    A new one which if others find work, will issue PR:
    https://github.com/KurtE/cores/tree/usb_mtp_fix_rx_length

    My having fun rawhid512 branch:...
  46. :D Figured out what is going on... Working on...

    :D

    Figured out what is going on... Working on fixes now. Actually working on removing some debug code...

    Simple answer is the core usb_mtp.c code when it receives an RX packet, it is not...
  47. With our packet issues: It feels like it should...

    With our packet issues: It feels like it should be something obvious:

    Most everything is within cores\teensy4\usb_mtp.c(.h)
    And within the MTP_Teensy project MTP_Teensy.cpp(.h)

    When looking...
  48. Thanks @defragster, By default most all HID...

    Thanks @defragster,

    By default most all HID objects do not provide their own buffers to a Head parser. So by default same behavior as before.
    The code was setup for the RAWHID stuff, which...
  49. MemFile - Yes I was going to do my complete...

    MemFile - Yes I was going to do my complete version, but decided to save a few minutes and start off with something that I believe works. May still and allow multiple files, that can have fixed...
  50. For the heck of it, I wanted to verify that...

    For the heck of it, I wanted to verify that having LittleFS in my bogus copy sketch was not at all involved in the bogus USB packet received stuff, so am trying a totally random thing and try to use...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4