Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: DrM

Page 1 of 3 1 2 3

Search: Search took 0.00 seconds.

  1. Thread: Command Line Build

    by DrM
    Replies
    28
    Views
    504

    What? Read the document? Actually, i...

    What? Read the document?

    Actually, i didn't notice the link. I'll take a look at it. Thank you
  2. Thread: Command Line Build

    by DrM
    Replies
    28
    Views
    504

    @luni You have these lines in your make file. ...

    @luni

    You have these lines in your make file. I am wondering how they would translate to my project, or if they are needed.


    BUILD_PATH :=...
  3. Thread: Command Line Build

    by DrM
    Replies
    28
    Views
    504

    @KurtE that sounds like a simple approach, I was...

    @KurtE that sounds like a simple approach, I was thinking along those lines, but did not find the switch for verbose in the gui.

    @luni that seems very interesting. Are build_path and...
  4. Thread: Command Line Build

    by DrM
    Replies
    28
    Views
    504

    A possible solution, command line arduino

    I found a possible answer, here

    https://forum.arduino.cc/index.php?topic=713456.0

    The following command seems to work, in so far as uploading or verifying,


    # arduino --pref...
  5. Thread: Command Line Build

    by DrM
    Replies
    28
    Views
    504

    Has anybody tried this: ...

    Has anybody tried this:

    https://github.com/sudar/Arduino-Makefile


    It has a Teensy.mk
  6. Thread: Command Line Build

    by DrM
    Replies
    28
    Views
    504

    Hi Paul, I thought I replied earlier but perhaps...

    Hi Paul, I thought I replied earlier but perhaps I forgot to click post. So apologies if this is a repeat.

    Is there a makefile that I could crib from? My includes are ADC.h, EEPROM.h and...
  7. Thread: Command Line Build

    by DrM
    Replies
    28
    Views
    504

    Good, thank you, presumably you meant teensy3, in...

    Good, thank you, presumably you meant teensy3, in any case I found it.

    It looks like it is setup for .c files and no obvious reference to the .ino files created by the ide.

    What needs to be...
  8. Thread: Command Line Build

    by DrM
    Replies
    28
    Views
    504

    I do indeed know how to read make files. I...

    I do indeed know how to read make files.

    I still don't know where this one is to be found.

    And sometimes makefiles are so complicated that it takes a long time to decipher what a particular...
  9. Thread: Command Line Build

    by DrM
    Replies
    28
    Views
    504

    @WMXZ Sounds great. Where is it in the tree? ...

    @WMXZ Sounds great. Where is it in the tree? And, how do I use it?

    Do I just copy it into the directory with the .ino file, or do I need to edit the makefile?

    And how do I pass the switch...
  10. Thread: Command Line Build

    by DrM
    Replies
    28
    Views
    504

    @blackketter I am sorry, that is not a good...

    @blackketter I am sorry, that is not a good answer for me. I do not want to install more clutter, and I have no use or interest, none whatsoever, in a "a professional collaborative platform of...
  11. Thread: Command Line Build

    by DrM
    Replies
    28
    Views
    504

    Command Line Build

    Is there a way to automatically create (or dump) a makefile to build a sketch from the command line, in linux?

    And within the IDE, is there a way to set a macro definition, i.e. like #define in...
  12. Communication over USB fails with additoinal teensy board connected

    I am bulding an experiment that involves three teensy boards. Two act as spectrometers, and the third acts as an analog i/o and produces a trigger that goes to the two spectrometers. The system is...
  13. Replies
    500
    Views
    308,207

    Hi, nice work. 1) What setup is needed before...

    Hi, nice work.

    1) What setup is needed before calling the fast read function?

    2) Can analogSyncRead() be called from an ISR?

    I notice it appears to disable and enable interrupts. Is...
  14. Replies
    500
    Views
    308,207

    Sorry, I meant to post that on the thread for the...

    Sorry, I meant to post that on the thread for the adc library
  15. Replies
    500
    Views
    308,207

    Very nice work Can analogSyncRead() be called...

    Very nice work

    Can analogSyncRead() be called from an ISR? For example, can it be used in a function that was launched by the timer ?

    Thank you
  16. Replies
    1
    Views
    216

    The problem turns out to be a too small buffer in...

    The problem turns out to be a too small buffer in the Windows USB serial driver.

    The solution is simply to read the input from the teensy faster, and buffer it up manually.
  17. Replies
    1
    Views
    216

    USB Serial Communication problems in Windows

    On a windows 10 computer, using python with pyserial to read output from a Teensy 3.2.

    The Teensy program generates about 4,000 lines of output, but on the desktop, it stops getting input at...
  18. Thread: ADC and DMA

    by DrM
    Replies
    2
    Views
    175

    Thank you, will look for them.

    Thank you, will look for them.
  19. Thread: ADC and DMA

    by DrM
    Replies
    2
    Views
    175

    ADC and DMA

    Are there example codes using DMA to transfer from the ADC, preferably in a Teensy 3.1/2?

    And could someone please point me to the relevant documentation?

    Thank you
  20. Replies
    11
    Views
    472

    That sounds really helpful, both parts; update to...

    That sounds really helpful, both parts; update to current version and use an external editor. I did not realize 1.8.10 was out of date, it seems like not so long ago that I installed it.

    So,...
  21. Replies
    11
    Views
    472

    Yes, I thought it might be the usb flooding the...

    Yes, I thought it might be the usb flooding the serial monitor tool launched by the IDE, and then perhaps crashing the desktop. But it did disconnect spontaneously a few times along the way.
    ...
  22. Replies
    11
    Views
    472

    The PC in this case is not unstable, it has never...

    The PC in this case is not unstable, it has never crashed under any other circumstances. It was very clear at the time that it was the ide and its interaction with the teensy that did it.

    The...
  23. Replies
    11
    Views
    472

    Of course it did save the file when it last...

    Of course it did save the file when it last compiled, and then when it crashed, it overwrote that file up to line #whatever, and that is what I had after the machine rebooted.

    It did not run out...
  24. Replies
    11
    Views
    472

    IDE crashed, source code file corrupted

    While working in the teensy/arduino IDE 1.8.10, in fedora 31, the system first complained that it could not find the teensy device, and then locked the host OS.

    After rebooting, the ino file is...
  25. Replies
    19
    Views
    606

    I did think about the Teensy4. The analog...

    I did think about the Teensy4. The analog input needs to go at 250kS/s, synchronized at a certain phase relative to the first output signal which runs at 1MHz. The other two digital outputs also...
  26. Replies
    19
    Views
    606

    @Pilot DMA sounds interesting, it would surely...

    @Pilot DMA sounds interesting, it would surely be robust. Can it handle digital output on three pins simultaneously with analog input on a fourth?
  27. Replies
    19
    Views
    606

    That's okay, that is certainly the idea. The...

    That's okay, that is certainly the idea. The small difference of course is unavoidable anyway, unless you have hardware that lets you write multiple pins in one register. Fortunately for this...
  28. Replies
    19
    Views
    606

    @defragster Thank you. That looks great. ...

    @defragster Thank you. That looks great. And yes that is the task at hand. In response to a command received through Serial,read(), I need to run three waveforms and read the adc at fixed...
  29. Replies
    19
    Views
    606

    Hmm, yes they are different timers. I...

    Hmm, yes they are different timers. I understood that to mean that the all of the pins on one timer have to output the same frequency. I should perhaps try setting frequencies individually...
  30. Replies
    19
    Views
    606

    Anyway ... I've dug into the code a bit, I...

    Anyway ... I've dug into the code a bit, I wanted to see how analogwrite does it, and it seems like the answer is that it does it in hardware.

    Experimenting with the interval timer, and the pwm,...
  31. Replies
    19
    Views
    606

    "Perhaps editing kinetis.h to be just :: #include...

    "Perhaps editing kinetis.h to be just :: #include "my_kinetis.h""

    I was hoping for something like a path or environment variable that I could set per project. Editing the working source tree for...
  32. Replies
    19
    Views
    606

    Thank you, Can a project have a private...

    Thank you, Can a project have a private version of kinetis.h? How?
  33. Replies
    19
    Views
    606

    Timer interrupts > 1MHz ?

    Is there a way to reliably run a routine at 0.5 usec intervals on a Teensy 3.2?

    Can the IntervalTimer be configured to run at 2MHz (or faster)? How?

    I want to generate a set of synchronized...
  34. Replies
    22
    Views
    4,416

    Hi Reim, I have your configuration and code...

    Hi Reim,

    I have your configuration and code running. But I am not quite sure how it is supposed to work.

    For example, the commands 't' and 'T' seem to decrement or increment t_int and then...
  35. Replies
    30
    Views
    6,977

    Hi, it is a SMT design. So you have to have the...

    Hi, it is a SMT design. So you have to have the actual board. I am interested to make some more if there are a few people to help dilute the assembly costs.
  36. Replies
    22
    Views
    4,416

    I saw a note above somewhere asking if the...

    I saw a note above somewhere asking if the transistor is important. The answer is yes. Alternatively an opamp with a sufficient slew rate should be good. Given the sensor performance, it can be...
  37. Replies
    22
    Views
    4,416

    One more question, I think. Are you using the...

    One more question, I think. Are you using the logic inverter with your code? Would there be any issue in wiring the digital pins from the Teensy directly to the TCD 1304?

    Thank you
  38. Replies
    22
    Views
    4,416

    BTW, the bandwidth of the Teensy 3.2 ADC input, ...

    BTW, the bandwidth of the Teensy 3.2 ADC input, seems a bit tight for this. Do you see any issues with that? What do you think of doing it with the 4.0?
  39. Replies
    22
    Views
    4,416

    Thank you, I found that. Is there any reason you...

    Thank you, I found that. Is there any reason you chose TX3, RX3 rather than, Tx2,RX2 or TX1,RX1?

    The pairs on the side of the Teensy are a little more convenient for routing a pcb.
  40. Replies
    22
    Views
    4,416

    Hi Reim Could you include a listing, or a...

    Hi Reim

    Could you include a listing, or a diagram, to show how you connected the TCD1304 to the Teensy?

    Thank you
    M Nelson
  41. Replies
    7
    Views
    622

    Yes, I think so. My old installation ran the...

    Yes, I think so. My old installation ran the teensy loader from a separate directory. The current setup seems much better.

    I still have problems with the software complaining about running...
  42. Replies
    7
    Views
    622

    The answer is that you unzip the Arduino wherever...

    The answer is that you unzip the Arduino wherever you want it to reside, and the Teensyduino installer copies itself into that directory tree.

    There are some bugs, the ide opens and closes without...
  43. Replies
    7
    Views
    622

    I neglected to mention, it's a Linux machine. ...

    I neglected to mention, it's a Linux machine.

    That sounds like it will be installed alongside the earlier versions, is that correct? I supposed the desktop shortcuts will simply be overwrriten.
  44. Replies
    7
    Views
    622

    Updating the IDE and Teensy support

    Hi, I would like to start working with a new board, and so, it is finally time to update the development environment. But, so far I have not found instructions on how do that.

    Could someone...
  45. Replies
    13
    Views
    1,820

    That is good news that it recovers after cycling...

    That is good news that it recovers after cycling power. At least it's not a total brick at that point. Apart from that, I think we have a different context for what is risky and what is normal,...
  46. Replies
    13
    Views
    1,820

    Hi Paul We are again looking at deploying a...

    Hi Paul

    We are again looking at deploying a product with the Teensy board. This one would be pretty important for a social minded cause.

    And again, we are still stuck on the problem of what...
  47. Replies
    13
    Views
    1,820

    @PaulStoffregen Hi Paul, the need for a more...

    @PaulStoffregen

    Hi Paul, the need for a more deployable function for the button, has come up again. Is there still not adequate time or interest for this? Again, we need that the button result...
  48. Replies
    13
    Views
    1,820

    @PaulStoffregen Hi Paul, is there any chance...

    @PaulStoffregen

    Hi Paul, is there any chance of this happening?

    If you are too busy for this, if instructions and source available, perhaps one of us could have a go at it.
  49. Replies
    30
    Views
    6,977

    The board described in this thread was designed...

    The board described in this thread was designed to provide high precision low noise signal acquisition, waveform generation and digital I/O in a programmable board with an open API that interfaces...
  50. This might be helpful for your project. It is...

    This might be helpful for your project. It is starts with low noise. I can probably help you with the signal processing also.

    ...
Results 1 to 50 of 122
Page 1 of 3 1 2 3