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

  1. Replies
    2
    Views
    23

    have a look at...

    have a look at https://www.electronics-tutorials.ws/transistor/tran_7.html
    IMO,you need always a common ground
  2. Thread: Bat detector

    by WMXZ
    Replies
    293
    Views
    26,266

    Do not uncomment the define but use #define...

    Do not uncomment the define but use

    #define USE_MSC 0

    (Note sure what '#if USE_MSC==1' does later in the code, when USE_MSC is not defined)
  3. Thread: Bat detector

    by WMXZ
    Replies
    293
    Views
    26,266

    @pe1pwf The issue is with the timelib library,...

    @pe1pwf
    The issue is with the timelib library, which has an include file "Time.h" which conflicts with system library "time.h" (Windows only problem?)

    As I only need the tm struct from the system...
  4. AFAIK, setting Tools->USB Type sets the type for...

    AFAIK,
    setting Tools->USB Type sets the type for USB device, which is connecting the teensy to a PC USBHost
    if you attach to a teensy another USB device, for which you use the 2nd USB port as a USB...
  5. Thread: Bat detector

    by WMXZ
    Replies
    293
    Views
    26,266

    I typically use visualcode for editing. for...

    I typically use visualcode for editing.
    for compile I use sometimes makefile from visualcode but most Arduino ide, as download and terminal work better for me
    but for forum issues I only compile...
  6. Thread: Bat detector

    by WMXZ
    Replies
    293
    Views
    26,266

    The isr problem remis ported does not exist with...

    The isr problem remis ported does not exist with latest uSDFS (is there called sd_isr)
    Not sure about latest pe1pwf problem (the undeclared FRESULT)

    BTW, I changed effectGranular where done as...
  7. Thread: Bat detector

    by WMXZ
    Replies
    293
    Views
    26,266

    that is weird the lines before line 1085 read ...

    that is weird
    the lines before line 1085 read

    #ifdef USESD1 //uSDFS used for recording (edit uSDFS/utility/sd_config.h)
    #include "uSDFS.h" // uSDFS lib
    FRESULT rc; /* Result...
  8. Thread: Bat detector

    by WMXZ
    Replies
    293
    Views
    26,266

    Was out whole day #define USE_MSC 0 worked...

    Was out whole day

    #define USE_MSC 0
    worked for me, with Arduino IDE
    ( I see libuSDFS_ID2957.a: could there be a 2nd library?)
    Same with mAudioEffectGranular.
    I use the trick regularly:...
  9. Thread: Bat detector

    by WMXZ
    Replies
    293
    Views
    26,266

    I made some changes to the code 16829 I combined...

    I made some changes to the code 16829
    I combined the SD routines together
    I also changes the granular effect class to coexist with stock library
    The ff_utils files are not used and should be...
  10. Thread: Bat detector

    by WMXZ
    Replies
    293
    Views
    26,266

    it should, obviously you remove all includes ff.h...

    it should, obviously you remove all includes ff.h and ff_itils.h
    OK, I see you did not.

    I wiil later suggest mods to use bat detector with uSDFS (USESD1)
  11. Replies
    3,411
    Views
    368,957

    I will at least try, but without desperation.

    I will at least try, but without desperation.
  12. Thread: Bat detector

    by WMXZ
    Replies
    293
    Views
    26,266

    I repeat, what I said earlier, do NOT use uSDFS...

    I repeat, what I said earlier, do NOT use uSDFS together with SD and if you only need the tm2seconds or seconds2tm functions it is better to copy the function from ff_utils.h
  13. Replies
    3,411
    Views
    368,957

    If I wanted to try USB device on T3.6's 2nd USB...

    If I wanted to try USB device on T3.6's 2nd USB port, what do you recommend, to work on usb.c (from T4) or usb_dev.c (T3)?
    for the time being, I only need Seremu and MTP, so that should be...
  14. makes no sense. the reed switch is doing what?...

    makes no sense.
    the reed switch is doing what? switching the programming or do you have the reed on reset pin?

    for further comments, we need to see a complete program that generates the effect.
  15. deployment time is not the issue, but what is the...

    deployment time is not the issue, but what is the max sleep time, or better what is the sleep time where it does not work anymore?
    Also what means it is getting stuck? does it not wake-up od does...
  16. Replies
    3,411
    Views
    368,957

    On dual USB device: As I only use the data...

    On dual USB device:


    As I only use the data lines from USB- device, I will try that.
  17. Replies
    3,411
    Views
    368,957

    USBHost - USB Device

    Q. can the USB Host pads (D+ D-) that are at location of Old USB Device pad also be used vor USB device mode?
    Can a T4 have two USB device ports (one for programming and standard USB activity and...
  18. Replies
    15
    Views
    271

    Maybe, because your question is not clear? Are...

    Maybe, because your question is not clear?
    Are you sure you wanted to connect a USB-stick to a Teensy 3.2?
    How you wanted to do that?
    AFAIK, T3.2 is only a USB-Device and does not support...
  19. Replies
    3,411
    Views
    368,957

    Frank, is on the T4 the ribbon pointing forward...

    Frank,
    is on the T4 the ribbon pointing forward or backward?
    IOW, it fat cable is inserted, does it goes towards the USB connector or towards the botton?
  20. Replies
    3,411
    Views
    368,957

    maybe something like RD#, TD# ?

    maybe something like RD#, TD# ?
  21. Replies
    3,411
    Views
    368,957

    Q: Vin 3.5 to 5.2 Volts: So a power supply of 6V...

    Q: Vin 3.5 to 5.2 Volts: So a power supply of 6V does not work? (was using it for T3.6)
  22. Replies
    3,411
    Views
    368,957

    you could use SAI instead (this is as it also...

    you could use SAI instead (this is as it also called in NXP document)
    but dropping SAI as with actual card should be OK
  23. Replies
    3,411
    Views
    368,957

    Maybe this should be changed in post #4 as...

    Maybe this should be changed in post #4 as USBHost ehci does not work (hangs) for data transfer with buffers >=16k
    PR issued
  24. Replies
    3,411
    Views
    368,957

    Did you check USBHost to HDD with...

    Did you check USBHost to HDD with buffersize>=16k?
    AFAICS, the PR concerning the 16k buffer issue has not been merged in USBHost_t36
    (did not apply yet 1.47b4)
  25. Replies
    295
    Views
    5,922

    if there is a match, then there is a good answer

    if there is a match, then there is a good answer
  26. Thread: Bat detector

    by WMXZ
    Replies
    293
    Views
    26,266

    simply copy tm2seconds to sketch, or use stock...

    simply copy tm2seconds to sketch, or use stock time conversions
    I created tm2seconds because I did not like the arduino time library, but your mileage may vary.
  27. Thread: Bat detector

    by WMXZ
    Replies
    293
    Views
    26,266

    FRESULT is specific to uSDFS If you do bot use...

    FRESULT is specific to uSDFS
    If you do bot use uSDFS then you should also remove also all definitions in the main sketch.
  28. Replies
    295
    Views
    5,922

    may this be connected with the 16384 Byte limit...

    may this be connected with the 16384 Byte limit in aueue_Data_Transfer in ehci.cpp?
    (I know you said 8192 but i know FS is sending lager blocks (I recall a transfer of 64*512))
  29. Replies
    3,411
    Views
    368,957

    Removed all RTC code as this is now done with TD...

    Removed all RTC code as this is now done with TD (I assume also for T3.x)
    Also the access to sd_config.h is removed
  30. Replies
    3,411
    Views
    368,957

    Must still clean up the "_FS.ino" examples...

    Must still clean up the "_FS.ino" examples (sorry)
  31. Replies
    3,411
    Views
    368,957

    MSC on T4 with latest TD? Does someone from the...

    MSC on T4 with latest TD?
    Does someone from the MSC thread have MSC running with latest TD update?
    In my case my program logger_RawWrite stops when writing the first data buffer (64 blocks)
    I use...
  32. Replies
    3,411
    Views
    368,957

    Update: modified uSDFS to handle RTC also for T4

    Update:
    modified uSDFS to handle RTC also for T4
  33. Replies
    3,411
    Views
    368,957

    Will have a look

    Will have a look
  34. Replies
    3,411
    Views
    368,957

    Assuming there will be no kickstarter for the T4,...

    Assuming there will be no kickstarter for the T4, the question to PJRC (I mean Robin) is if you accept pre-release orders (don't care about final price)?
  35. Replies
    3,411
    Views
    368,957

    Not sure if Bill ported the T4 specific uSDHC...

    Not sure if Bill ported the T4 specific uSDHC code (for build-in uSD card) to his library (the "SdFat-beta/src/SdCard/SdioTeensy.cpp" only handles Teemsy3.5 3.6)
    So only SPI may be working
    Bill...
  36. Replies
    77
    Views
    25,876

    If you look up the code, you will see that rename...

    If you look up the code, you will see that rename (aka move) is not implemented.
  37. Maybe you try with the classic void setup()...

    Maybe you try with the classic


    void setup()
    {
    while(millis()<1000);
    Serial6.begin(31250);
    }
    to slow down (hold) setup() for some time before calling Serial6.begin
    All others have...
  38. Replies
    295
    Views
    5,922

    I realized that having the VolToPart in...

    I realized that having the VolToPart in sd_config.h could result in multiple declaration, so I moved it to uSDFS.h, which is only called by main thread.
    This way it can be changed without need to...
  39. Replies
    295
    Views
    5,922

    Is one possibility my reasoning was, that...

    Is one possibility
    my reasoning was, that sd_config.h would be edited to say which interface one is using (spi,sdio,usb) where one could also have 2 or more spi devices
    Also sd_config should be...
  40. Replies
    384
    Views
    77,396

    That could easily be tested, by moving int a[2] =...

    That could easily be tested, by moving int a[2] = {10, 20}; outside setup() or by making the array static "static int a[2] = {10, 20}; "
  41. Can also be an INPUT as in OP

    Can also be an INPUT as in OP
  42. First, you need to allocate some audio buffers...

    First,
    you need to allocate some audio buffers (in setup)

    eg

    AudioMemory(8);


    the number you put here depends on the complexity of your code
  43. Replies
    295
    Views
    5,922

    Added PARTITION VolToPart to sd_config.h

    Added PARTITION VolToPart to sd_config.h
  44. Replies
    3,411
    Views
    368,957

    So far only USB-Serial is implemented for T4,...

    So far only USB-Serial is implemented for T4, but Paul indicated, as soon he has reached a god point in HW devel....
  45. Replies
    295
    Views
    5,922

    Merged, pushed version to 1.1.1 and will update...

    Merged, pushed version to 1.1.1 and will update readme
  46. Replies
    3,411
    Views
    368,957

    Taking about USB host signals, do the T4 also...

    Taking about USB host signals, do the T4 also have pads to provide USB Device signals (as T3.x) ?
    Another Q: Is the SDIO oriented forward ot backward?
  47. Replies
    295
    Views
    5,922

    That is really great. please make a PR if you...

    That is really great.
    please make a PR if you are happy with testing.
    Walter
  48. Replies
    295
    Views
    5,922

    Good evening @KurtE, @mjs513, @defragster and ......

    Good evening @KurtE, @mjs513, @defragster and ...

    Agree, but have to take me a little bit back, to deliver for day job commitments (less fun, but nevertheless important)

    concerning this thread,...
  49. Thread: Serial or Seremu

    by WMXZ
    Replies
    0
    Views
    61

    Serial or Seremu

    This is question to USB exerts (especially @Paul)
    I'm playing with MTP and got the experimental MTP running T3.5/6 with PC-Win10
    but I realized that Paul implemted usb_desc differently than @hubbe...
  50. Replies
    295
    Views
    5,922

    Any link to a GPT? (I only realized that my Win10...

    Any link to a GPT? (I only realized that my Win10 does not format exFAT with MBR) So I could detect that, but with FAT32?
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4