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. maybe -lstdc++ -nostdlib is the source of...

    maybe

    -lstdc++ -nostdlib
    is the source of your problem?
    why linking to standard c++ library if you then say no std library

    Also, are you by chance using a newer gcc version than Teensyduino?
  2. When I wanted to understand how Arduino compiles...

    When I wanted to understand how Arduino compiles I simply make the IDE verbose, check the output and note the different compile and link options.
    Only after that I modify the make file.

    If you...
  3. In all these T4 serial-usb discussion, one should...

    In all these T4 serial-usb discussion, one should note that in addition to Paul's Sermon speed work, the USB implementation is 'completely' different and most likely not complete in a T4 compared to...
  4. Replies
    6
    Views
    98

    If you don't show us the source code, we cannot...

    If you don't show us the source code, we cannot tell.
  5. Replies
    4,157
    Views
    426,000

    Simply set pin to MISO and it will override all...

    Simply set pin to MISO and it will override all previous usage
  6. Replies
    20
    Views
    555

    Have a look at...

    Have a look at https://forum.pjrc.com/threads/35253-Odd-question-2-What-programs-do-you-use-for-schematic-capture-and-board-layout?p=108451&viewfull=1#post108451
    Conclusion, if you know your...
  7. Replies
    20
    Views
    555

    Maybe because he is not using a CAD SW?

    Maybe because he is not using a CAD SW?
  8. works for me thanks

    works for me
    thanks
  9. It seems that it searches Arduino only under...

    It seems that it searches Arduino only under C:/program Files etc. but I typically install Arduino in user space (C:-/users/.../...)
    mind to add this search path?
  10. All T4 related (pre release) discussion,...

    All T4 related (pre release) discussion, including code snippets etc, can be found in the monster thread. Best search in that thread.
  11. AS for MCU pin names, table...

    AS for MCU pin names, table https://forum.pjrc.com/threads/54711-Teensy-4-0-First-Beta-Test?p=193716&viewfull=1#post193716 has them in second column , no need of decoding source or schematic
  12. Replies
    12
    Views
    180

    yes, I have done it but only Serial is...

    yes,
    I have done it but only Serial is implemented
    Needs a 2nd usb SW stack (see also the huge T4-beta thread where Paul commented on that)

    Edit: I was referring for the USB2 as USB-device and...
  13. would BLE an option? there is SW for BLE on 2nd...

    would BLE an option? there is SW for BLE on 2nd USB port
  14. Replies
    12
    Views
    180

    The pads are for USB2, that can and has be used...

    The pads are for USB2, that can and has be used for USBHost SW
  15. Replies
    4,157
    Views
    426,000

    it may be Arduino definition, but IMHO at the...

    it may be Arduino definition, but IMHO at the same time the implementation stimulates bad programming style: Serial1.write(0x12345678) does not generate compile error but simply prints 0x12 (or 0x78...
  16. Replies
    4,157
    Views
    426,000

    Any reasoning why you simply truncate the...

    Any reasoning why you simply truncate the parameter to single byte?
    if API says that Serial.write only writes a single byte, the user should to the cast Serial1.write((uint8_t) 0x00); or proper...
  17. Replies
    13
    Views
    95

    I think so (I got it from include files)

    I think so (I got it from include files)
  18. Replies
    3
    Views
    66

    AFAIK, you need TD 1.47b6 for T4 , which you find...

    AFAIK, you need TD 1.47b6 for T4 , which you find via https://forum.pjrc.com/threads/54711-Teensy-4-0-First-Beta-Test?p=193715&viewfull=1#post193715
  19. Replies
    13
    Views
    95

    Maybe try to setup UART in teensy with inverse...

    Maybe try to setup UART in teensy with inverse polarity. (I needed that to use a RS232 cable to a T3.2)
  20. Replies
    4,157
    Views
    426,000

    was also for me completely unclear and it was...

    was also for me completely unclear and it was never obvious to me how to structure code to minimize differences between T3.6 and T4.0.
  21. Replies
    9
    Views
    93

    Yes, before this consumption was 'normal', after...

    Yes,
    before this consumption was 'normal', after 15s press consumption was lower, indicating to me that program was not running anymore, obviously I cannot verify
    did also look into power-up (0 to...
  22. Replies
    9
    Views
    93

    table 7.1...

    table 7.1 http://www.ti.com/lit/ds/symlink/tpd3s014.pdf
    and there is a diode in T3.6 schematic
  23. Replies
    9
    Views
    93

    Not using USB host. Teensy is USB device (MTP not...

    Not using USB host. Teensy is USB device (MTP not MSC protocol for data transfer)
    AFAIK the regulator for USB2 (TPD3S014) is rated max 6 V, so it should not break down
  24. Replies
    9
    Views
    93

    Another Broken T3.6?

    Scenario
    I have a T3.6 connected to an IMU and custom Audio board.
    Running on battery (DC-DC converted to 6V on Vin and Vin-USB cut)

    System is running for some time now (on demand power will be...
  25. Noted that this does not compile, as sdhc_isr is...

    Noted that this does not compile, as sdhc_isr is in kinetis.h declared as extern without the static attribute
    So I ended up to modify Greiman's code by simply adding a 'm' as in


    static void...
  26. does it compile if you declare in sdio_Teensy.cpp...

    does it compile if you declare in sdio_Teensy.cpp sdhc_isr as static ?

    static void sdhc()
    {...
    }
  27. Replies
    4,157
    Views
    426,000

    using USB1 and USB2 design question

    I started to use simultaneously USB1 _and_ USB2 in device mode.
    (It is really on T3.6 but I used code from T4, so I post here)

    I got it working with both ports defined for usb_serial.
    For this I...
  28. Replies
    5
    Views
    69

    maybe GND?

    maybe GND?
  29. Replies
    8
    Views
    143

    In your code (OP) you are not using SD specific...

    In your code (OP) you are not using SD specific Audio objects. So, you can mix you logger with SdFat.

    comment the include of SD.h and follow the the examples of Bill Greiman on how to access...
  30. Replies
    8
    Views
    143

    more precise reference!

    more precise reference!
  31. Replies
    8
    Views
    143

    use the audio record queue object.

    use the audio record queue object.
  32. Replies
    8
    Views
    143

    No, this is a well known 'feature' of any SD...

    No, this is a well known 'feature' of any SD card.
    they all have a build-in controller that is handling bad blocks, wear leveling, etc.
    do expect from time to time 'significant' delays. Good...
  33. Replies
    4
    Views
    90

    Well, imagine you are modifying the header file...

    Well, imagine you are modifying the header file of a library, then you wanted to have a simple rebuild button (Arduino seems not to recognize this change).
    standard method of changing Tools' menu...
  34. Yes, that I was thinking about

    Yes, that I was thinking about
  35. Are you using microphones? in that case you...

    Are you using microphones?
    in that case you could use digital mems microphones and daisy chain them into a 8-chan TDM system. Teensy 3.(2,5,6) have 2 I2S data ports, so you could use up to 16...
  36. Replies
    35
    Views
    9,671

    better multi-block processing?

    Alternatively to partial calculation of very large FFT's (here fft4096) one could run the FFT on a lower priority level (triggered also by SW interrupt). This would need an extension of the audio...
  37. Replies
    4,157
    Views
    426,000

    You edit sd_config.h in uSDFS/utility

    You edit sd_config.h in uSDFS/utility
  38. Replies
    4,157
    Views
    426,000

    uSDFS is basically based on FatFS...

    uSDFS is basically based on FatFS which provides a lower-level API and is written in plain C.
    Adsing a SD-style API is possible, but is it needed?
  39. Replies
    4,157
    Views
    426,000

    But in...

    But in https://forum.pjrc.com/threads/54711-Teensy-4-0-First-Beta-Test?p=203973&viewfull=1#post203973 you said it is working.
    The original port was for T4b1 and needed obviously modified for T4b2,...
  40. Thread: zeroFS

    by WMXZ
    Replies
    1
    Views
    135

    zeroFS

    I wanted to improve disk write speed for data loggers (minimizing FS based delays) and came up with zeroFS. It writes data strictly (nearly) sequential to disk. It provides filing without the...
  41. Replies
    4,157
    Views
    426,000

    Turned out, that double calling of isr was not an...

    Turned out, that double calling of isr was not an issue for me (in my code isrCount1 and isrCount2 are always the same, apart from rare race condition). maybe because TFLG was polled?
    So, I played...
  42. Replies
    4,157
    Views
    426,000

    thanks @manitu, I completely missed this with...

    thanks @manitu, I completely missed this with forum search.
    I did some adaption and got this code


    uint32_t isrCount1=0;
    uint32_t isrCount2=0;
    void pitIsr()
    {
    for (int i = 0; i < 4; i++)
    ...
  43. Thread: Bat detector

    by WMXZ
    Replies
    442
    Views
    31,914

    OK, let us do it the following way: you get...

    OK,
    let us do it the following way: you get latest uSDFS from my github and batdetector from CorBee's github
    move uSDFS into your local Arduino library (removing the "-master" from the file)...
  44. Replies
    4,157
    Views
    426,000

    Simple PIT interupt example

    I'm struggling to setup a simple PIT example that generates, say every 1ms an interrupt (IRQ_PIT)
    I know the example that triggers the ADC, that uses xbar_connect(56, 103); und I understand where...
  45. Replies
    3
    Views
    139

    struct tm is NOT defined in "Time.h" (TD lib) but...

    struct tm is NOT defined in "Time.h" (TD lib) but in <time.h> (system lib)
    Time.h is called from TimeLib.h
    unfortunately windows in case insensitive so struct tm is not reachable. solution: copy...
  46. Replies
    304
    Views
    7,953

    found some issues that where introduced while...

    found some issues that where introduced while handling other thread (bat recorder) compilation issues.
    updated github
  47. Thread: Bat detector

    by WMXZ
    Replies
    442
    Views
    31,914

    this seems to be an installation issue, as it...

    this seems to be an installation issue, as it compiles on my Win10 system

    first, can you please follow the Arduino instructions and remove the '-master' from the library.
  48. you can confirm that post...

    you can confirm that post https://forum.pjrc.com/threads/56597-Teensy-3-5-not-showing-up-on-Arduino-IDE-1-8-9?p=208307&viewfull=1#post208307 does not apply (i.e. no Arduino from Windows store)?
  49. Thread: Bat detector

    by WMXZ
    Replies
    442
    Views
    31,914

    You do not remove #include "TimeLib.h", as it is...

    You do not remove #include "TimeLib.h", as it is needed in your code.
    You need the #define HAVETM to tell the compiler, when he later includes uSDFS that it has already the structure tm defined....
  50. Replies
    2
    Views
    181

    have a look at...

    have a look at https://www.electronics-tutorials.ws/transistor/tran_7.html
    IMO,you need always a common ground
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4