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
    489
    Views
    49,915

    So, the question was how cores is developing to...

    So,
    the question was how cores is developing to support MTP.
    The actual cores contains USB_MTP.h/c that is replacing usb1_mtp from USB2 library.
    AFAICT, the mtp_test.ino example handles interim...
  2. Replies
    489
    Views
    49,915

    So this explains @KurtE's problems.

    So this explains @KurtE's problems.
  3. Replies
    489
    Views
    49,915

    I don't know what MTPspiffs_t41 is, if it is...

    I don't know what MTPspiffs_t41 is, if it is another port of MTP then you should eliminate one (MTP_t4 or MTPspiffs_t41)
    Not sure how Arduino searches the libraries.

    if cores/Teensye for has...
  4. Replies
    47
    Views
    8,310

    120 Euro for a huge board that I will never be...

    120 Euro for a huge board that I will never be able to integrate in my products as I do with Teensies.
    And, I normally do not use Arduino, and then only to have a common system with others on this...
  5. Replies
    2
    Views
    43

    AFAIK, it is Hirose_DM3D-SF At least I use...

    AFAIK, it is

    Hirose_DM3D-SF

    At least I use these and have the same footprint
  6. Replies
    489
    Views
    49,915

    here is my screenDump 22727 only while(!Serial)...

    here is my screenDump 22727
    only while(!Serial) is commented out
  7. Replies
    489
    Views
    49,915

    @KurtE downloaded cores, copied contents of...

    @KurtE
    downloaded cores, copied contents of modification files into the different desc.h files, compiles mtp_test and it worked, without and with LittleFS
    (I'm using Makefile and have NO usb2 in my...
  8. Replies
    489
    Views
    49,915

    the reset script needs to run in Admin mode, OK,...

    the reset script needs to run in Admin mode,
    OK, om my win10, I'm alone and so script can relaunch itself as admin, maybe there are some system settings also. I have to remember.
    On cores, will try...
  9. Replies
    489
    Views
    49,915

    @KurtE (FYI I'm in Europe) Just compiled and...

    @KurtE
    (FYI I'm in Europe)

    Just compiled and run on T4.1 the test example using Seremu (after changing the configuration from T3.2 +AudioCard to my system)
    MTP is showing up on FileExplorer
    ...
  10. Even if you found a solution, a question: where...

    Even if you found a solution, a question: where did you apply 3.3V on Vin or on one of the pins that are labelled 3.3V?
    VIN expects around 5V, but if you have external 3.3V and are sure about it,...
  11. Great find and just tried it. for me the path to...

    Great find and just tried it.
    for me the path to preferences was "%userdir%\AppData\local\Arduino15"

    Now we need a simpler way to force recompile, than to delete by hand the files or change...
  12. Replies
    6
    Views
    134

    I would first try a standard example from the SD...

    I would first try a standard example from the SD library that writes and reads from SD e.g. ReadWrite
    IMHO you are mixing up different low-level calls
    e.g. SD.begin is never called

    Edit: Paul...
  13. Replies
    61
    Views
    2,650

    the ones or "time.h" are probably...

    the ones <time.h> or "time.h" are probably genuine system libraries while "Time.h" should be changed, and then one can get rid of the "Time.h" file
  14. Replies
    61
    Views
    2,650

    I simply delete the Time.h file in Time library...

    I simply delete the Time.h file in Time library and use only TimeLib.h for the specific Arduino stuff (i.e. I anticipate the threatened action)
    Sure in some cases there will be a missing...
  15. Replies
    13
    Views
    315

    So how do you compile (with Arduino IDE or with...

    So how do you compile (with Arduino IDE or with Makefile)?
    with makefile you simply set -D__MK66FX1M0__ for T3.6
    with Arduino you select as you showed in screenshot
  16. Especially fir simple circuits, and try to get...

    Especially fir simple circuits, and try to get realistic models for your components (i.e. not idealistic OPamps)
  17. Replies
    72
    Views
    1,077

    even 123456.78 Hz turns out correctly

    even 123456.78 Hz turns out correctly
  18. Thread: help teensy 4.0

    by WMXZ
    Replies
    3
    Views
    106

    It seems that Matrix-master has not been ported...

    It seems that Matrix-master has not been ported to T4, which is a different type of MCU
  19. Replies
    72
    Views
    1,077

    Technically I did that when testing SGTL5000 at...

    Technically I did that when testing SGTL5000 at different sampling speeds
    I first configured the I2S to AUDIO_SAMPLE_RATE_EXACT (44100 Hz) and then I changed the sampling frequency.

    void...
  20. Replies
    72
    Views
    1,077

    Yes, but with .0f there is nothing thrown away in...

    Yes, but with .0f there is nothing thrown away in the snippet quoted and the definition in AudioStream
  21. Replies
    72
    Views
    1,077

    #define AUDIO_SAMPLE_RATE_EXACT 44100.0f ?? on...

    #define AUDIO_SAMPLE_RATE_EXACT 44100.0f
    ?? on your statement "strip away those decimals and turn it into an integer."
  22. Replies
    18
    Views
    227

    MOSI Pin11 MISO pin12 SCK pin13 as of T4.1...

    MOSI Pin11
    MISO pin12
    SCK pin13
    as of T4.1 schematic
  23. Replies
    72
    Views
    1,077

    No problem, but it was your program...

    No problem, but it was your program (contribution), that is referred to.
  24. Replies
    489
    Views
    49,915

    found bug in MTP.cpp around line 353 ...

    found bug
    in MTP.cpp around line 353

    case MTP_PROPERTY_STORAGE_ID: //0xDC01:
    write32(store+1);
  25. Replies
    489
    Views
    49,915

    I'm chasing a Bug , copying from pc 2 teensy...

    I'm chasing a Bug , copying from pc 2 teensy 0x1005 is called with correct storage id, if deleting file 0x1005 is called wit wrong storage number (storage -1)
  26. Replies
    489
    Views
    49,915

    I realized that, However,...

    I realized that,
    However, MTP_EVENT_STORAGE_INFO_CHANGED is a bad test case, as cmd 0x1005 (GetStorageInfo) is called automatically every time delete/copy PC2Teensy is called.

    Also on RAM (were I...
  27. Replies
    489
    Views
    49,915

    Edit: My observation on MTPEvent is wrong (it is...

    Edit: My observation on MTPEvent is wrong (it is the same, only transactionId is now called sessionId)
  28. Replies
    489
    Views
    49,915

    Yes, that was the original idea, but if there is...

    Yes, that was the original idea, but if there is now way to notify PC on changes on Teensy,.... (Or we get events running...)
    If we can get at least ONE (1) event running then we are a step further....
  29. which while loop are you talking about?

    which while loop are you talking about?
  30. Replies
    506
    Views
    9,881

    On the PC side of MTP, you are limited with what...

    On the PC side of MTP, you are limited with what you can do "directly" with the file, because file is not on PC but on Teensy. Consider the File Explorer a window into Teensy.

    What can you do on...
  31. Replies
    489
    Views
    49,915

    Not sure if it may become useful I played around...

    Not sure if it may become useful I played around with non-File_Explorer acess to MTP and come up with following basic windows powershell script


    #inspired by...
  32. Replies
    489
    Views
    49,915

    Yes, everything should be seen from the PC...

    Yes, everything should be seen from the PC standpoint of view (not responder)
  33. Replies
    489
    Views
    49,915

    My setup is VScode with makefile (simular to...

    My setup is VScode with makefile (simular to VisualTeensy)
    I use always MTP-serial
    For terminal I use either Putty or ArduinoMonitor
    Before uploading I have to close terminal, otherwise I have to...
  34. Replies
    489
    Views
    49,915

    There are sendEvents but my hunch is our...

    There are sendEvents
    but my hunch is our problems relate more to usb.c and how to configure mtp_usb.
    There are some pieces in usb.c that I do not understand (esp. sb_prepare_transfer)
    But as Paul...
  35. Replies
    489
    Views
    49,915

    I used that a lot also cmtp-responder...

    I used that a lot
    also cmtp-responder

    but no luck so far
  36. Replies
    489
    Views
    49,915

    This is what I did and do again Only commented...

    This is what I did and do again
    Only commented all but object/store added, object/store removed reset non of the created any reaction from PC.
    Specs say there is no acknowledge to events, and...
  37. Thread: i.MX RT1170 ??

    by WMXZ
    Replies
    3
    Views
    162

    IIRC, there is a thread on this dual core chip....

    IIRC, there is a thread on this dual core chip. you may check it out.
  38. Replies
    489
    Views
    49,915

    @KurtE IIRC USB2 is for Teensy 3.6 2nd USB (your...

    @KurtE
    IIRC USB2 is for Teensy 3.6 2nd USB (your USB-host becoming USB-device)
    Maybe you are using MTP over USBHS ?
    for T4 it is USB1
  39. Replies
    489
    Views
    49,915

    And how does it work? Downloaded SW and now?...

    And how does it work?
    Downloaded SW and now?
    Have difficulties to follow the WorldWideLinks os MS documentations.
  40. Replies
    489
    Views
    49,915

    Got copy functionality working, but is all but...

    Got copy functionality working, but is all but useful.
    While copying if files and directories work, they show up on Windows file explorer only after disable/enable sequence.
    Github updated

    If we...
  41. Replies
    489
    Views
    49,915

    because I did not see your PR yet Anyhow,...

    because I did not see your PR yet

    Anyhow, gives this Warning

    C:\Users\zimmer\Documents\Arduino\libraries/MTP_t4/src/MTP.cpp: In member function 'void MTPD::WriteDescriptor()':...
  42. Replies
    489
    Views
    49,915

    Got moving directories working (both within a...

    Got moving directories working (both within a disk and cross disks)
    Github updated
  43. Replies
    489
    Views
    49,915

    You have definitely more knowledge on USB than I...

    You have definitely more knowledge on USB than I have. Feel free to rewrite the code.
  44. Replies
    489
    Views
    49,915

    It is USB1 for T4.1 main USB. The USB2 is for...

    It is USB1 for T4.1 main USB.
    The USB2 is for USBHS on T3.6 (Yes, I did use 2nd USB on T3.6 as a USB device and not only as USB Host)
    The TX/RM numbers were the result of long testing, i,e. I could...
  45. Replies
    489
    Views
    49,915

    @KurtE yes, I was playing some time with this...

    @KurtE
    yes, I was playing some time with this USB.
    Without an USB analyser it is becoming extremely difficult (there are a lot of possibilities)
    Maybe by comparing again the code with Paul's...
  46. Replies
    489
    Views
    49,915

    The 62 is a residual of previous 64 byte...

    The 62 is a residual of previous 64 byte limitation
    delete this line and replace next line
    with

    strlcpy(r.name, filename,MAX_FILENAME_LEN);
  47. Replies
    489
    Views
    49,915

    I only replaced the original "?", but was...

    I only replaced the original "?", but was planning to use the one you are mentioning, at a later time
  48. Replies
    489
    Views
    49,915

    I updated the MTP repository (strlxxx,...

    I updated the MTP repository (strlxxx, MAX_FILENEME_LEN = 256; also features and limitations in Readme)
  49. Replies
    489
    Views
    49,915

    -No problem to use the strlxxx vestions -No...

    -No problem to use the strlxxx vestions
    -No problem to use

    #define MAX_FILENAME_LEN 256
    definition in SD.h
    Need only to decide what to do if combination of file path components exceed this...
  50. Replies
    489
    Views
    49,915

    For the whole filename including multiple...

    For the whole filename including multiple directories.

    Yes, I have seen people that put a lot of metadata into a filename

    And I do not like these filenames

    Anyhow, it is the record...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4