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

Search:

Type: Posts; User: WMXZ

Page 1 of 10 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    303
    Views
    38,174

    Unfortunately, in my applications, I cannot pull...

    Unfortunately, in my applications, I cannot pull the USB plug, so I must stick to unmount/mount method.
  2. Replies
    303
    Views
    38,174

    OK for Boolean comment. The only way for MTP...

    OK for Boolean comment.

    The only way for MTP responder to tell PC to do something, is to issue an event.
    Unfortunately, all my attempts to do that, failed. I could not find any information what...
  3. Replies
    303
    Views
    38,174

    My interest in MTP was exactly this, to be able...

    My interest in MTP was exactly this, to be able to offload data from a data logger.
    My approach was to either run the logger or the MTP responder
    This was easily done by calling mtpd.loop() only...
  4. Replies
    50
    Views
    2,093

    Sticky: Try the suggestion posted on MTP-responder thread...

    Try the suggestion posted on MTP-responder thread to improve USB communication, by changing the status function in usb.c
  5. Thread: Future Teensies!

    by WMXZ
    Replies
    18
    Views
    840

    I need low power AND Megabytes (but I know, I...

    I need low power AND Megabytes
    (but I know, I cannot have everything)
  6. Replies
    9
    Views
    181

    @defragster IFAIK, it should be 'No directory'...

    @defragster
    IFAIK, it should be 'No directory' file system on SPIFFS.
  7. This was noted in other thread. A warning was...

    This was noted in other thread.
    A warning was introduced in the TimeLib Time.h include file.
    On windows this interferes with ALL time.h includes (note case of 't').

    IMO, the TimeLib library was...
  8. So, I tried it, but they do not give you a price,...

    So, I tried it, but they do not give you a price, even if they say in stock!
    a fake company?
  9. Replies
    784
    Views
    27,697

    For the record, my beta-board arrived today...

    For the record, my beta-board arrived today (25-may-2020).
  10. Replies
    3
    Views
    82

    maybe cores/teensy4/imxrt.h ?

    maybe cores/teensy4/imxrt.h ?
  11. Replies
    303
    Views
    38,174

    @mjs513, thanks for update. looking forward to...

    @mjs513,
    thanks for update.
    looking forward to see another storage implementation.
  12. Replies
    17
    Views
    354

    I like to through in a complete different idea....

    I like to through in a complete different idea.
    measure the phase shift between transmitted and received signal.
    OK, you may first to calibrate the electronic phase shift and you need a frequency...
  13. Replies
    303
    Views
    38,174

    Great, You realize that actual mtp...

    Great,
    You realize that actual mtp implementation has still some debug information, checking with document what every step does was very helpful for me.
  14. Replies
    303
    Views
    38,174

    can you access...

    can you access https://www.usb.org/document-library/media-transfer-protocol-v11-spec-and-mtp-v11-adopters-agreement ?
  15. Replies
    303
    Views
    38,174

    @mjs513, To be honest, the overall structure of...

    @mjs513,
    To be honest, the overall structure of the MTP - storage philosophy was created by the original author.
    AFAIK,
    there was a basic design criteria: to keep a directory structure a linked...
  16. Replies
    303
    Views
    38,174

    OK, let me be clear. There are only 2 versions...

    OK, let me be clear.
    There are only 2 versions MTP+SEREMU and MTP+SERIAL, both are based on usb1_mtp.c for MTP and usb.c for SEREMU or SERIAL
    There is no MTP alone.
    As you can see from this thread...
  17. AFAIK, that is what it is to be expected. That is...

    AFAIK, that is what it is to be expected. That is why you calibrate sensor before and check after usage.
  18. Replies
    303
    Views
    38,174

    There is NO delay(10) . (it was for a while for...

    There is NO delay(10) . (it was for a while for testing only and it does not slow down the transfer)
    Advice: please follow procedure indicated by mjs513
    if seremu does not work, please follow the...
  19. Replies
    5
    Views
    150

    I'm aware of it, but I wanted you the pleasure to...

    I'm aware of it, but I wanted you the pleasure to explain it in detail
  20. Replies
    5
    Views
    150

    until otherwise told by Paul, I would assume the...

    until otherwise told by Paul, I would assume the pins to read (bottom view from left to right)
    Reset, Program, GND, 3.3V, VBat
    i.e. the same as for T3.5/6
  21. Replies
    784
    Views
    27,697

    Correct, UPS to Italy was 17Euro85 but buying 5...

    Correct,
    UPS to Italy was 17Euro85 but buying 5 T4.1 makes that reasonable and arrived on 3rd day
    I would never ask for UPS or other courier for small value shipments
  22. That is why I use Makefiles for projects that do...

    That is why I use Makefiles for projects that do not need to be Arduino compatible, or where the word Arduino has a bad taste.
  23. Replies
    784
    Views
    27,697

    I ordered a couple on them, so relative shipping...

    I ordered a couple on them, so relative shipping went down
  24. Replies
    6
    Views
    130

    You mean, you wanted to use 2nd USB on T4.1 (or...

    You mean, you wanted to use 2nd USB on T4.1 (or 4.0, or even T3.6) as USB device?
    yes, you can do that with purely SW.

    I started with that in https://github.com/WMXZ-EU/USB2 (for T3.6) as I...
  25. Replies
    784
    Views
    27,697

    My beta board has yesterday reached Italy. still...

    My beta board has yesterday reached Italy. still waiting.
    Meanwhile, I ordered some T4.1 from Exp-Tech.de, arrived via USP in no time. (No custom issue within Europe)
  26. Replies
    303
    Views
    38,174

    Another Update suspecting that USB transfer...

    Another Update
    suspecting that USB transfer status is not stable at high CPU speeds
    I activated alternative code in
    file: usb.c
    function: usb_transfer_status
    changed #if 0 to #if 1

    program...
  27. Replies
    303
    Views
    38,174

    copying is a rapid sequence of USB transfers. If...

    copying is a rapid sequence of USB transfers. If they are not terminate correctly, everything gets wrong.
  28. Replies
    303
    Views
    38,174

    Surprise: compiled with option smallest code and...

    Surprise:
    compiled with option smallest code and got it working with speed of 600 MHz.
    makes little sense to me, except optimization is removing some weird coding (side effects).

    Good is that...
  29. Replies
    303
    Views
    38,174

    Confirm that for "MTP_DISK_SERIAL" All my...

    Confirm that for "MTP_DISK_SERIAL"
    All my attempts to clean-up code, delays etc. failed to get it working with higher speeds.
    Probably it needs a USB analyser, which I do not have. That is...
  30. Replies
    50
    Views
    2,093

    Sticky: I get now warnings on not to include "Time.h" but...

    I get now warnings on not to include "Time.h" but "TimeLib.h"
    This is 'interfering' with plain system routines.

    IMHO, TimeLib should be redesigned to NOT use Time.h
    IMHO, capitalizing the T is...
  31. Replies
    6
    Views
    193

    Are you not saying you wanted to use barmetal...

    Are you not saying you wanted to use barmetal (i.e. no TeensyDuino)? So you must write first all the functionality STL expects (here memory management), right?
  32. Replies
    303
    Views
    38,174

    @mjs513: the mods are only needed for using...

    @mjs513: the mods are only needed for using USB_DISK_SERIAL and not the default SEREMU
    For my application where I access Teensy via headless Linux SBC SEREMU is somewhat demanding.
    will change...
  33. Replies
    47
    Views
    750

    That is what I have done for one of my...

    That is what I have done for one of my application (as you are/were in the field, datalogger on Slocum glider, sorry its not a SeaGliderr).
    One Issue I faced:
    MTP keeps picture of disk in memory....
  34. Replies
    303
    Views
    38,174

    After setting speed from 600 MHz to 396 MHz, it...

    After setting speed from 600 MHz to 396 MHz, it worked also compiled with Arduino settings
    Indicating there are some residual issues with T4.1 too fast for the way USB_MTP is implemented
    Lot of...
  35. Replies
    303
    Views
    38,174

    Update just got my T4.1s plugged in uSD card I...

    Update
    just got my T4.1s
    plugged in uSD card I was using before
    compiled mtp_test for T4.1 (using Makefile): it worked
    can copy from PC to T4.1 and from T4.1 to PC
    Now I will try with Arduino...
  36. Replies
    303
    Views
    38,174

    Yes, that is the link, I copied to and from...

    Yes, that is the link,
    I copied to and from SDCard (but used T4.0 + AudioCard)

    There may be issues with symbols on Arduino. As I develop with makefile (VisualCode) there may be some oversights
  37. Replies
    303
    Views
    38,174

    can you clarify question?

    can you clarify question?
  38. Replies
    303
    Views
    38,174

    @mjs513, I will get my T4.1 (not beta) in an hour...

    @mjs513, I will get my T4.1 (not beta) in an hour or so, I will test this evening (EU time). maybe there are some missing 4.1 symbols
  39. Replies
    303
    Views
    38,174

    IIRC, the original MTP was set-up to allow...

    IIRC, the original MTP was set-up to allow different storage implementations
    MTPStorageInterface class is virtual.
    Never tried to implement something based on virtual classes (C++ experts step...
  40. Replies
    303
    Views
    38,174

    do you happen to have a separate SdFat V1...

    do you happen to have a separate SdFat V1 installation in addition to SdFat-beta?
  41. Replies
    303
    Views
    38,174

    There are three things, Paul must decide and...

    There are three things, Paul must decide and could implement ASAP
    1) adding MTP_DISK_SERIAL to usb_desc.h (not sure if usb_desc.c must be modified)
    2) generating unique PID for MTP_DISK_SERIAL
    3)...
  42. Replies
    784
    Views
    27,697

    You are a lucky one! Mine left USA but is still...

    You are a lucky one!
    Mine left USA but is still between Germany and Italy.
  43. Replies
    303
    Views
    38,174

    Well, that is why the files are to be copied OK,...

    Well, that is why the files are to be copied
    OK, you simply can copy the MTP_DISK_SERIAL into cores usb_desc.h files etc.
    But better Paul us doing that, or ask me to reissue a new pull request. at...
  44. Replies
    303
    Views
    38,174

    Well, when I checked last time cores, it does not...

    Well, when I checked last time cores, it does not implement MTP_DISK_SERIAL, the mode I'm using. SEREMU is OK for Arduino monitor, a little bit difficult for plain Linux.
    I hope Paul can be...
  45. Replies
    303
    Views
    38,174

    Note: I modified both MTP_t4 and USB2

    Note: I modified both MTP_t4 and USB2
  46. Replies
    303
    Views
    38,174

    Tested mtp_test for T4.0 (both SDIO and SPI) and...

    Tested mtp_test for T4.0 (both SDIO and SPI) and got it working
    Note: SPI did not work because LED was switched on (pin13 is used for SPI)
  47. Replies
    303
    Views
    38,174

    one is for T3.6 the other for T4.0 (see the...

    one is for T3.6 the other for T4.0 (see the '#ifdef')
  48. Replies
    303
    Views
    38,174

    You may try to insert a delay(10) in the...

    You may try to insert a delay(10) in the mtpd::loop

    void MTPD::loop(void)
    { delay(10);
    to slow down the communication
    (or higher value)
    It worked for me (using another usb1_mtp.c...
  49. Replies
    303
    Views
    38,174

    It is the communication between Teensy and PC...

    It is the communication between Teensy and PC that is getting corrupted.
  50. Replies
    303
    Views
    38,174

    The picture is not quite right. The name of the...

    The picture is not quite right.
    The name of the portable device should be "Teensy".
    Anyhow, I try to get it working on T4.0 and next week when I get my T4.1's check with T4.1

    One of my suspicion...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4