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

    by WMXZ
    Replies
    9
    Views
    492

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

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

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

    @defragster
    IFAIK, it should be 'No directory' file system on SPIFFS.
  3. 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...
  4. 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?
  5. Replies
    783
    Views
    26,071

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

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

    maybe cores/teensy4/imxrt.h ?

    maybe cores/teensy4/imxrt.h ?
  7. Replies
    297
    Views
    37,582

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

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

    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...
  9. Replies
    297
    Views
    37,582

    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.
  10. Replies
    297
    Views
    37,582

    can you access...

    can you access https://www.usb.org/document-library/media-transfer-protocol-v11-spec-and-mtp-v11-adopters-agreement ?
  11. Replies
    297
    Views
    37,582

    @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...
  12. Replies
    297
    Views
    37,582

    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...
  13. 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.
  14. Replies
    297
    Views
    37,582

    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...
  15. Replies
    5
    Views
    126

    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
  16. Replies
    5
    Views
    126

    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
  17. Replies
    783
    Views
    26,071

    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
  18. 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.
  19. Replies
    783
    Views
    26,071

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

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

    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...
  21. Replies
    783
    Views
    26,071

    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)
  22. Replies
    297
    Views
    37,582

    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...
  23. Replies
    297
    Views
    37,582

    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.
  24. Replies
    297
    Views
    37,582

    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...
  25. Replies
    297
    Views
    37,582

    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...
  26. Replies
    25
    Views
    1,340

    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...
  27. Replies
    6
    Views
    179

    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?
  28. Replies
    297
    Views
    37,582

    @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...
  29. Replies
    47
    Views
    659

    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....
  30. Replies
    297
    Views
    37,582

    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...
  31. Replies
    297
    Views
    37,582

    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...
  32. Replies
    297
    Views
    37,582

    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
  33. Replies
    297
    Views
    37,582

    can you clarify question?

    can you clarify question?
  34. Replies
    297
    Views
    37,582

    @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
  35. Replies
    297
    Views
    37,582

    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...
  36. Replies
    297
    Views
    37,582

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

    do you happen to have a separate SdFat V1 installation in addition to SdFat-beta?
  37. Replies
    297
    Views
    37,582

    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)...
  38. Replies
    783
    Views
    26,071

    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.
  39. Replies
    297
    Views
    37,582

    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...
  40. Replies
    297
    Views
    37,582

    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...
  41. Replies
    297
    Views
    37,582

    Note: I modified both MTP_t4 and USB2

    Note: I modified both MTP_t4 and USB2
  42. Replies
    297
    Views
    37,582

    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)
  43. Replies
    297
    Views
    37,582

    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')
  44. Replies
    297
    Views
    37,582

    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...
  45. Replies
    297
    Views
    37,582

    It is the communication between Teensy and PC...

    It is the communication between Teensy and PC that is getting corrupted.
  46. Replies
    297
    Views
    37,582

    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...
  47. Replies
    297
    Views
    37,582

    Update: MTP_t4 worked for me also for T4.0, BUT...

    Update:
    MTP_t4 worked for me also for T4.0, BUT using SDIO (build in in T4.0 beta board)
    Using AudioCard SD card (SPI mode) crashes during read access (inside sync())
    maybe it has something to do...
  48. Replies
    297
    Views
    37,582

    If you have access to Linux, you may try there if...

    If you have access to Linux, you may try there if ii works there (so one can exclude PC-issues)
    Testing here on T4.0 with audio card (#define USE_SDIO 0) the interaction Teensy - PC is randomly...
  49. Replies
    297
    Views
    37,582

    honestly, I tend to wait until Paul has worked...

    honestly, I tend to wait until Paul has worked out all the USB devices.
    He also indicated to work on MTP.
    Not sure why my hack does not work anymore (USB upgrade, Windows upgrade, or what?)
  50. Replies
    297
    Views
    37,582

    I suggest to try MTP_t4 instead of mtp_responder...

    I suggest to try MTP_t4 instead of mtp_responder
    Anyhow, it needs copying files into cores (high risk as files may have side-effects)

    status of MTP_t4
    Just tested (after 3 month)
    T3.6 worked...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4