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

  1. Replies
    50
    Views
    850

    For ExFat you need SdFat-beta

    For ExFat you need SdFat-beta
  2. Replies
    303
    Views
    38,295

    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.
  3. Replies
    303
    Views
    38,295

    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...
  4. Replies
    303
    Views
    38,295

    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...
  5. Replies
    51
    Views
    2,248

    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
  6. Thread: Future Teensies!

    by WMXZ
    Replies
    18
    Views
    873

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

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

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

    @defragster
    IFAIK, it should be 'No directory' file system on SPIFFS.
  8. 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...
  9. 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?
  10. Replies
    785
    Views
    28,433

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

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

    maybe cores/teensy4/imxrt.h ?

    maybe cores/teensy4/imxrt.h ?
  12. Replies
    303
    Views
    38,295

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

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

    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...
  14. Replies
    303
    Views
    38,295

    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.
  15. Replies
    303
    Views
    38,295

    can you access...

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

    @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...
  17. Replies
    303
    Views
    38,295

    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...
  18. 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.
  19. Replies
    303
    Views
    38,295

    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...
  20. Replies
    5
    Views
    160

    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
  21. Replies
    5
    Views
    160

    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
  22. Replies
    785
    Views
    28,433

    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
  23. 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.
  24. Replies
    785
    Views
    28,433

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

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

    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...
  26. Replies
    785
    Views
    28,433

    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)
  27. Replies
    303
    Views
    38,295

    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...
  28. Replies
    303
    Views
    38,295

    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.
  29. Replies
    303
    Views
    38,295

    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...
  30. Replies
    303
    Views
    38,295

    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...
  31. Replies
    51
    Views
    2,248

    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...
  32. Replies
    6
    Views
    202

    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?
  33. Replies
    303
    Views
    38,295

    @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...
  34. Replies
    50
    Views
    850

    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....
  35. Replies
    303
    Views
    38,295

    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...
  36. Replies
    303
    Views
    38,295

    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...
  37. Replies
    303
    Views
    38,295

    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
  38. Replies
    303
    Views
    38,295

    can you clarify question?

    can you clarify question?
  39. Replies
    303
    Views
    38,295

    @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
  40. Replies
    303
    Views
    38,295

    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...
  41. Replies
    303
    Views
    38,295

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

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

    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)...
  43. Replies
    785
    Views
    28,433

    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.
  44. Replies
    303
    Views
    38,295

    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...
  45. Replies
    303
    Views
    38,295

    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...
  46. Replies
    303
    Views
    38,295

    Note: I modified both MTP_t4 and USB2

    Note: I modified both MTP_t4 and USB2
  47. Replies
    303
    Views
    38,295

    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)
  48. Replies
    303
    Views
    38,295

    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')
  49. Replies
    303
    Views
    38,295

    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...
  50. Replies
    303
    Views
    38,295

    It is the communication between Teensy and PC...

    It is the communication between Teensy and PC that is getting corrupted.
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4