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
    12
    Views
    281

    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
  2. 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)
  3. Replies
    72
    Views
    936

    even 123456.78 Hz turns out correctly

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

    by WMXZ
    Replies
    3
    Views
    97

    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
  5. Replies
    72
    Views
    936

    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...
  6. Replies
    72
    Views
    936

    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
  7. Replies
    72
    Views
    936

    #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."
  8. Replies
    18
    Views
    218

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

    MOSI Pin11
    MISO pin12
    SCK pin13
    as of T4.1 schematic
  9. Replies
    72
    Views
    936

    No problem, but it was your program...

    No problem, but it was your program (contribution), that is referred to.
  10. Replies
    475
    Views
    49,334

    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);
  11. Replies
    475
    Views
    49,334

    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)
  12. Replies
    475
    Views
    49,334

    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...
  13. Replies
    475
    Views
    49,334

    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)
  14. Replies
    475
    Views
    49,334

    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....
  15. which while loop are you talking about?

    which while loop are you talking about?
  16. Replies
    485
    Views
    8,827

    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...
  17. Replies
    475
    Views
    49,334

    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...
  18. Replies
    475
    Views
    49,334

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

    Yes, everything should be seen from the PC standpoint of view (not responder)
  19. Replies
    475
    Views
    49,334

    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...
  20. Replies
    475
    Views
    49,334

    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...
  21. Replies
    475
    Views
    49,334

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

    I used that a lot
    also cmtp-responder

    but no luck so far
  22. Replies
    475
    Views
    49,334

    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...
  23. Thread: i.MX RT1170 ??

    by WMXZ
    Replies
    3
    Views
    158

    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.
  24. Replies
    475
    Views
    49,334

    @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
  25. Replies
    475
    Views
    49,334

    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.
  26. Replies
    475
    Views
    49,334

    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...
  27. Replies
    475
    Views
    49,334

    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()':...
  28. Replies
    475
    Views
    49,334

    Got moving directories working (both within a...

    Got moving directories working (both within a disk and cross disks)
    Github updated
  29. Replies
    475
    Views
    49,334

    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.
  30. Replies
    475
    Views
    49,334

    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...
  31. Replies
    475
    Views
    49,334

    @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...
  32. Replies
    475
    Views
    49,334

    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);
  33. Replies
    475
    Views
    49,334

    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
  34. Replies
    475
    Views
    49,334

    I updated the MTP repository (strlxxx,...

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

    -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...
  36. Replies
    475
    Views
    49,334

    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...
  37. Replies
    475
    Views
    49,334

    Yes, a filename size of 64 was selected in...

    Yes, a filename size of 64 was selected in original code https://github.com/yoonghm/MTP/blob/master/MTP.h
    this is not the absolute filename that gets constructed for disk access only the filename...
  38. Replies
    475
    Views
    49,334

    Honestly, the same is here. But as it happened, I...

    Honestly, the same is here. But as it happened, I needed a multi disk MTP responder for an important project of mine.
    But I'm always available to chase down bugs as they surface.

    IMHO, the next...
  39. Replies
    475
    Views
    49,334

    Before someone else discovers this: Size of used...

    Before someone else discovers this:
    Size of used disc space is only interrogated at the beginning of a MTP session.
    Any PC to Teensy copy, deletion of files, does not change the "used disk space"...
  40. You may need to adapt the board.DXX to the teensy...

    You may need to adapt the board.DXX to the teensy you are using
    (don't know the circuitPython convention)
  41. Replies
    475
    Views
    49,334

    OK Please remember that for T4.1 there is a...

    OK
    Please remember that for T4.1 there is a custom MTP USB implementation (i.e. it is not made by Paul, but by me). It was done at a time when there was only USB_Serial, HID and SEREMU
    i.e. in the...
  42. Replies
    475
    Views
    49,334

    If you go into MTP.cpp at the top define DEGUG to...

    If you go into MTP.cpp at the top define DEGUG to 1 then Terminal will send you all commands and replies over serial. The first word is always a teensy command or answer
    To see what it does go to...
  43. Replies
    475
    Views
    49,334

    OK, to the red points I will look into them ...

    OK, to the red points
    I will look into them

    -copying works only from and to Teensy. (MTP calls that get and send, teensy should say PC copy failed, have never tested failing operation, was happy...
  44. Replies
    38
    Views
    1,698

    Tested MTP on beta5, seems to work. Note: for...

    Tested MTP on beta5, seems to work.
    Note: for using USB_MTPDISK_SERIAL one has to a) copy file contents into different usb_desc.h and boards.txt
    Native MTP mode uses SEREMU and not Serial
    If using...
  45. Replies
    485
    Views
    8,827

    I had that overnight after updating FS.h etc. It...

    I had that overnight after updating FS.h etc.
    It is due to Paul changing file.size() to 64 bit.
    Should be solved by now (I cleaned up also mtp_test example)
  46. Replies
    38
    Views
    1,698

    beta5 happened overnight Will next test MTP with...

    beta5 happened overnight
    Will next test MTP with beta5 (had to chase an issue first)
  47. Replies
    475
    Views
    49,334

    OK, it seems that I found the corrupting line...

    OK, it seems that I found the corrupting line
    github updated Basic tests done with T4.1 and T3.6
  48. Replies
    475
    Views
    49,334

    @mjs513 Following Paul's advice I changed the...

    @mjs513
    Following Paul's advice I changed the filesystem registration
    It should be no problem to register any type of filesystems, as long they are derived from FS.
    I will update the example next...
  49. Replies
    475
    Views
    49,334

    I updated the MTP code to accept any FS that is...

    I updated the MTP code to accept any FS that is derived from FS and File classes.
    Have a look into mtp_test.ino example to see how it works.
    Needs latest cores (inclusive print64)
    Tested only with...
  50. Thread: vtable problem

    by WMXZ
    Replies
    13
    Views
    199

    So, I adapted the MTP code to the suggested...

    So,
    I adapted the MTP code to the suggested separation between FS-agnostic interface and the main code, where user adds FS of interests.
    Not sure if I did it exactly as suggested, but it works....
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4