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
    173
    Views
    31,162

    I tried today SW as is on Ubuntu with Nautilus...

    I tried today SW as is on Ubuntu with Nautilus and no other "mtp" installation and standard udev rules.
    No problems occurred. So I may not be of further help.

    I confirm, however, that on T4...
  2. As long you are not using Tympan, I would simply...

    As long you are not using Tympan, I would simply delete the src directory.
    BTW are you using Arduino IDE or makefile based compilation?

    Edit: sometimes forcing recompilation helps (change...
  3. Yes, the AudioStream way of handling data is... a...

    Yes, the AudioStream way of handling data is... a little bit restrictive...
    I ended up to use my own version "mAudioStream" only to have integer32 or even float data or keeping multiplexed data,...
  4. Replies
    173
    Views
    31,162

    I updated GitHub to include also new files for...

    I updated GitHub to include also new files for Teensy3 and boards.txt.
    I have it working on T4.0 and T3.6
    As soon as Paul decides what to do (using Seremu, Serial, or both with proper product-id)...
  5. Thread: piezo cable

    by WMXZ
    Replies
    8
    Views
    95

    All piezos generate only little voltage. You need...

    All piezos generate only little voltage. You need always a very good pre-amplifier (very low noise and very high input impedance). In past design was special FET followed by bipolar opamp.
    The...
  6. Replies
    173
    Views
    31,162

    The "???" is from the original code and send by...

    The "???" is from the original code and send by Teensy. Not sure with what to replace. must read more on MTP document.
    Note what is not yet implemented is Date and Time (was also not in original...
  7. Replies
    173
    Views
    31,162

    Yes, faking a usb everything is working and...

    Yes, faking a usb everything is working and similar to the fake midi I was using in other thread.
    For smooth download we need from Paul a new product-id that teensyduino recognizes.
    BTW, latest...
  8. Replies
    173
    Views
    31,162

    T4 version uses Pauls debug printf to Serial4....

    T4 version uses Pauls debug printf to Serial4. For this you have to uncomment core/teensy4/debug/printf.h " #define PRINT_DEBUG_STUFF"
    (Im fortuned to have a Breakoutboard that exposes Serial4-
  9. Replies
    173
    Views
    31,162

    What Teensy you are using? If T3, you can...

    What Teensy you are using?
    If T3, you can activate Serial1 and get some log of packets. (uncomment Serial1.begin)
    I do not use Linux myself, but I seen it running on Ubuntu/Nautilus.
  10. Replies
    173
    Views
    31,162

    At the actual GitHub, there is only a single ino...

    At the actual GitHub, there is only a single ino file (removed cpp file) I only had to trick Gcc to compile ino file as it ware c++ file. So I can use and compile from VSCode for development
  11. Replies
    173
    Views
    31,162

    On my test, it seems the PC knows about the files...

    On my test, it seems the PC knows about the files it creates and shows them on Explorer.
  12. Replies
    173
    Views
    31,162

    I really do not want to embark in a fundamental...

    I really do not want to embark in a fundamental discussion.
    For small programs code in ino is file (as long you are not using typedefs) No problem for examples to eliminate main.cpp and place code...
  13. Replies
    173
    Views
    31,162

    @KurtE I compiled the whole tests with Arduino...

    @KurtE
    I compiled the whole tests with Arduino IDE (that is the reason why I have an empty ino file, to be able to open sketch from Arduino IDE)
  14. Replies
    173
    Views
    31,162

    Sure, have also a look into cpp_properties.

    Sure, have also a look into cpp_properties.
  15. Replies
    173
    Views
    31,162

    OK, until Paul activates MTP Disk it must be...

    OK, until Paul activates MTP Disk it must be uncommented in boards.txt
    Will update Readme (done)
    (there should be no MTP Disk(experimental) + Serial; it does not work properly, even if Serial is...
  16. Replies
    173
    Views
    31,162

    Make sense, not sure what I did. Created now...

    Make sense, not sure what I did. Created now link include file SdFat-beta.h

    #include "SdFat.h"
    to be side-by-side with SdFat.h

    Obviously, this SdFat-beta is only necessary if SdFat-beta is...
  17. Replies
    173
    Views
    31,162

    Updated GitHub with lastest version. can now -...

    Updated GitHub with lastest version.
    can now
    - copy files from/to PC (folders not yet tested)
    - delete files (folders not yet tested)
    - move files (folders not yet tested)
    - rename files...
  18. Replies
    173
    Views
    31,162

    In order to use SDIO or SPI-SD you can edit...

    In order to use SDIO or SPI-SD you can edit MTP_config.h, which allows you to switch from SDIO (#define USE_SDIO 1) to SPI (#define USE_SDIO 0)
    At the moment Im using T4 with an audio_card, no...
  19. Thread: Arduino 1.8.11

    by WMXZ
    Replies
    10
    Views
    268

    Concerning USB device MTP, I would appreciate a...

    Concerning USB device MTP, I would appreciate a design decision (i.e.usb_desc.c/h and usb.c) on MTP_DISK with Seremu or Serial, or both.

    Concerning issues with download and TeensyMonitor...
  20. You may start...

    You may start withhttps://github.com/WMXZ-EU/record_sgtl5000 and add/merge the functionality (e.g. from microSoundRecorder)
  21. testing it for all inputs (ADC, I2S, TDM etc)...

    testing it for all inputs (ADC, I2S, TDM etc) testing will most likely be lengthy, but if you have a particular input in mind, may it is possible.
  22. Replies
    173
    Views
    31,162

    could use 0x9804 SetObjPropValue (it is used by...

    could use 0x9804 SetObjPropValue (it is used by Viveris)
  23. If you activate verbose you will find the...

    If you activate verbose you will find the directory path to a temporary folder.

    Arduino compiles all files in the sketch directory and links then together.
    In addition, Arduino pre-processor...
  24. Replies
    173
    Views
    31,162

    Seems more complicated (need to hack more the...

    Seems more complicated (need to hack more the MTP_storage code), also, while I understand to move file or directory it is not clear how to rename a file or directory.
    This is as the move object does...
  25. Not sure if this is related, but if your code is...

    Not sure if this is related, but if your code is in a .ino file, then the Arduino pre-processor shifts a lot of definitions around before passing the code to C++ compiler. You can check the generated...
  26. Replies
    2
    Views
    143

    designed by PJRC and assembled in USA

    designed by PJRC and assembled in USA
  27. Replies
    173
    Views
    31,162

    Warnings are OK, I have them too. IDE issues...

    Warnings are OK, I have them too.

    IDE issues are complicated as MTP is officially not yet supported for T4. So expect button press for download. Killing SerialMonitor before download may help.
    ...
  28. Thread: Sampling 44.1kHz

    by WMXZ
    Replies
    4
    Views
    136

    You could do it as Paul does it with usb_audio....

    You could do it as Paul does it with usb_audio.
    There every ms is an usb-interrupt. So usb_audio sends 9 x 44 samples and 1 x 45 samples resulting in 44.1 samples/ms on average. There is a phase...
  29. Sorry Pete, from usb_serial.h void...

    Sorry Pete,
    from usb_serial.h

    void begin(long) {
    //uint32_t millis_begin = systick_millis_count;
    //disabled for now - causes more trouble than it solves?
    //while (!(*this)) {
    // wait...
  30. Replies
    3
    Views
    105

    Maybe issue found?

    To understand the blocking behaviour of SerialMonitor I simply changed the product id to a MidiDevice

    #elif defined(USB_MTPDISK)
    #define VENDOR_ID 0x16C0
    #define PRODUCT_ID ...
  31. The PMod I2S2 uses a Cirrus chip, which easily...

    The PMod I2S2 uses a Cirrus chip, which easily can be connected to Teensy I2S.
    At least if you are willing to create your own audio module.
    Chances are good that you can use Pmod I2S2 with minimal...
  32. Replies
    173
    Views
    31,162

    OK, will try

    OK, will try
  33. Replies
    173
    Views
    31,162

    which functionalities?

    which functionalities?
  34. Replies
    3
    Views
    105

    Further info this burst behaviour does not occur...

    Further info
    this burst behaviour does not occur with Serial+Midi, so it is related with MTP_DISK descriptor and Serial_Monitor.

    If I send 65 bytes in loop (Compiled with native serial MTP Disk)...
  35. Replies
    173
    Views
    31,162

    That what I have and addressed in other thread

    That what I have and addressed in other thread
  36. Replies
    173
    Views
    31,162

    Chip Im still struggling to get on T4 Serial +...

    Chip Im still struggling to get on T4 Serial + MTP. MTP works but Serial does not behave on Arduino SerialMonitor but only on Putty.
    I may try tomorrow on T3 (similar to Chris) and then working...
  37. Replies
    3
    Views
    105

    some debugging info: (to be clear I use the...

    some debugging info:
    (to be clear I use the example program of MTP_t4)
    flush callback is called (with 10 or 6 bytes ) as it should according to setup/loop
    But data do not "arrive" on SerialMonitor...
  38. Replies
    3
    Views
    105

    Weird behavior of SerialMonitor

    I face the following issue:
    Trying to use MTP-Disk with USB-Serial the TD-SerialMonitor is only showing data in blocks (every 10 seconds data are printed)
    using Putty, data are printed very quickly...
  39. Replies
    173
    Views
    31,162

    For Teensy3 you can use the descriptor file made...

    For Teensy3 you can use the descriptor file made by yoonghm on his GitHub site.
    Im more interested in Teeny4
  40. Replies
    173
    Views
    31,162

    both Teensy3 and Teensy4 use Seremu. For an USB...

    both Teensy3 and Teensy4 use Seremu.
    For an USB agnostic, like myself, it was easier to port MTP from Teensy3 to Teensy4 when using Seremu and not true Serial.
    After having it working, maybe one...
  41. Replies
    173
    Views
    31,162

    No, I only kept the original defines and added...

    No,
    I only kept the original defines and added the underscore so they will never be activated.
  42. Replies
    173
    Views
    31,162

    Sorry, copy-to-core only for teensy 4.0 (will add...

    Sorry, copy-to-core only for teensy 4.0 (will add that to Instruction) cores/teensy3 remains as is.
  43. Replies
    173
    Views
    31,162

    Latest version is on GitHub...

    Latest version is on GitHub https://github.com/WMXZ-EU/MTP_t4
    despite name I tested it also on T3.6
    it can be configured to use SdFat instead of SdFat-beta, and using SDIO or SPI (src/MTP_config.h)
  44. But you only instruct the pre-processor. The...

    But you only instruct the pre-processor. The compiles does what it wants (except when it debug mode), right? It may shift the lines to optimize register usage.
  45. You always can SNVS_LPCR |=(1

    You always can
    SNVS_LPCR |=(1<<6) ; // turn off power
    it works immediately (may need some preparation)

    I use it im my hibernate code to duty-cycle data acquisition (wake-up with RTC alarm)...
  46. Replies
    173
    Views
    31,162

    updated GitHub. Note: code is only tested with...

    updated GitHub.
    Note: code is only tested with Teensy4.0 and Windows 10.
    Code for T3.x is included but not tested (code has worked in the past with Bill Greiman`s SdFs, which he is not supporting...
  47. I use this arrangement all the time.

    I use this arrangement all the time.
  48. Replies
    173
    Views
    31,162

    This is a consequence of using SdFat-Beta...

    This is a consequence of using SdFat-Beta together with SdFat.
    Please open SdFat-Beta and rename SdFat.h into SdFat-Beta.h

    You can use also SdFat (as you do) but then there is no ExFat support...
  49. Replies
    8
    Views
    116

    you can also use the RTC to restart after so many...

    you can also use the RTC to restart after so many seconds (i.e. fixed duty cycle)
    if interested search forum for microSoundRecorder
  50. Replies
    173
    Views
    31,162

    Until then, you can uncomment the relative lines...

    Until then, you can uncomment the relative lines in boards.txt
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4