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

Search:

Type: Posts; User: luni

Page 1 of 10 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    24
    Views
    266

    At k=4 a heat source of 1.8W inside the box would...

    At k=4 a heat source of 1.8W inside the box would generate a temperature rise of about 20mK if my estimations are correct. Spreadsheet attached.

    (Assuming k=4 for the thin air film it would be...
  2. Replies
    24
    Views
    266

    That is certainly true, but how much power would...

    That is certainly true, but how much power would radiate from the box at about 25C? Radiated energy is proportional to T^4. I may be wrong but I'd say at those low temperatures the dominating...
  3. Replies
    24
    Views
    266

    That's of course a different story. In this case...

    That's of course a different story. In this case the thermal equilibrium would be defined by the radiating properties of the box I'd assume. Might be fun to do some radiation estimations. On the...
  4. Replies
    24
    Views
    266

    That is of course correct in principle. However,...

    That is of course correct in principle. However, due to the large surface of such a box, I would say it won't be easy to thermally isolate it good enough that you'll get a significant increase of...
  5. Great, let me know if you find something else.

    Great, let me know if you find something else.
  6. Accepted. Did you try if the hack is working?

    Accepted.

    Did you try if the hack is working?
  7. If you are only interested in the COM ports of...

    If you are only interested in the COM ports of the connected Teensies and don't need their serial number and don't want to upload firmware you can simply hack TeensyWatcher.cs:

    From the point of...
  8. Replies
    2
    Views
    94

    Power supply: The most easy and straight...

    Power supply:
    The most easy and straight forward solution would be to power the Teensy via the USB cable and the rest of your device from an external supply. But, even then, you can not directly...
  9. Replies
    46
    Views
    2,231

    Sticky: TeensySharp...

    TeensySharp was written some 6 years ago and has a rather small user base (<300 downloads at nuget). So, I have to admit that it was not very well maintained over the years. However, ~two years ago...
  10. Replies
    25
    Views
    1,251

    Wow, what did you feed it ?

    Wow, what did you feed it ?
  11. Replies
    944
    Views
    36,851

    I'm afraid that putting those short/generic names...

    I'm afraid that putting those short/generic names in the global namespace calls for trouble with third party libraries. Might be a good idea to put them in their own namespace. I.e.


    ...
  12. Replies
    4
    Views
    131

    Yes there is a cycle counter here an example: ...

    Yes there is a cycle counter here an example:



    void setup()
    {
    // The following 2 lines are only necessary for T3.0, T3.1 and T3.2
    ARM_DEMCR |= ARM_DEMCR_TRCENA; // enable...
  13. Thread: TeensyTimerTool

    by luni
    Replies
    271
    Views
    24,810

    MicroMod compatibility

    FYI: I just uploaded a new TeensyTimerTool version which is compatible to the Teensy MicroMod boards.

    https://github.com/luni64/TeensyTimerTool
  14. Replies
    2
    Views
    166

    You might be interested in this thread:...

    You might be interested in this thread: https://forum.pjrc.com/threads/28473-Quick-Guide-Using-printf()-on-Teensy-ARM?p=269343#post269343
  15. Replies
    14
    Views
    252

    Here some info and example programs (Win10 /...

    Here some info and example programs (Win10 / Teensy) showing how to communicate with a PC via USB-Serial https://github.com/TeensyUser/doc/wiki/Serial. And here examples showing how to use the RawHID...
  16. Thread: TeensyTimerTool

    by luni
    Replies
    271
    Views
    24,810

    Glad it works, have fun with the TimerTool

    Glad it works, have fun with the TimerTool
  17. Thread: TeensyTimerTool

    by luni
    Replies
    271
    Views
    24,810

    In c++ you can not initiate a member class...

    In c++ you can not initiate a member class directly in the parents class declaration if the member class has a constructor. You need to do this in the definition of the parent class (your...
  18. Thread: TeensyTimerTool

    by luni
    Replies
    271
    Views
    24,810

    Short answer: You use 16bit hardware timers for...

    Short answer:
    You use 16bit hardware timers for the second LED which can not handle your 1s delay.


    Details:
    If you don't specify which timer module to use, the TimerTool chooses the next...
  19. Selecting optimizing level 'smallest' for a T-LC...

    Selecting optimizing level 'smallest' for a T-LC does not only change the level to -Os it also adds --specs=nano.specs to the linker flags which changes the linked in c-library. I assume it is...
  20. As an alternative to the traditional text...

    As an alternative to the traditional text searching tools like grep I would like to point out that these days IDEs are quite good in finding that kind of information. I added a (not yet complete)...
  21. Replies
    14
    Views
    354

    Sounds good. I'll have a look at this...

    Sounds good. I'll have a look at this Costura.Fody. How large is the exe ?
  22. Replies
    14
    Views
    354

    Just had a look at the sources. TeensySharp...

    Just had a look at the sources. TeensySharp itself references moreLinq and hidLibrary. So, even if you include the TeensySharp sources you'll have the moreLinq.dll and the hidLibrary.dll to handle....
  23. Replies
    14
    Views
    354

    Since dotNet doesn't support static linking you...

    Since dotNet doesn't support static linking you can not have a dotNet application in a single exe if it uses additional libraries *). So, either use some tool to generate an installer (which can be a...
  24. Replies
    80
    Views
    2,709

    That's a very clearly written readme. I like it a...

    That's a very clearly written readme. I like it a lot.

    You asked for suggestions, so here two remarks:

    If you put a c++ after the three opening back ticks of a code section, gitHub will...
  25. Replies
    14
    Views
    354

    Glad you like it. Of course you can check if...

    Glad you like it.

    Of course you can check if no boards are connected. Watcher.ConnectedDevices contains a list of all found Teensies. Simply check for Watcher.ConnectedDevices.count == 0.
    If...
  26. Replies
    14
    Views
    354

    Didn't use it for quite some time. I remember...

    Didn't use it for quite some time. I remember that I implemented the T4.0 when it came out. Chances are that it will work for the T4.1 as well. Let me know if not. If necessary, adapting it to the...
  27. Replies
    14
    Views
    354

    Sure, here https://github.com/luni64/TeensySharp...

    Sure, here https://github.com/luni64/TeensySharp a library which identifies Teenies on the bus and can upload firmware. For easy installation it is also available via nuget:...
  28. Thread: Rawhid

    by luni
    Replies
    14
    Views
    404

    Thanks, I'll add a high level example and your...

    Thanks, I'll add a high level example and your low level access example to the user WIKI. Do you have a GitHub handle which I can mention as author? I'm currently occupied with family things, so give...
  29. Replies
    14
    Views
    289

    Very wild guess: PC is trying to go into some...

    Very wild guess: PC is trying to go into some sleep mode and trying to power off USB devices?
  30. Replies
    18
    Views
    551

    Sorry for being sloppy. That means "in my humble...

    Sorry for being sloppy. That means "in my humble opinion" and is just a disclaimer that I have no monopoly on truth :-)



    I tested JLINK EDU and a JLINK Mini both from Segger. You can easily...
  31. Replies
    18
    Views
    551

    The video in the link from #13 shows debugging...

    The video in the link from #13 shows debugging with with a hardware probe (JLink EDU). The mod link (the same as you linked above) shows how to modify a T3.6 board to be able to connect a SWD probe....
  32. Replies
    18
    Views
    551

    If you are willing to modify the board you can...

    If you are willing to modify the board you can easily attach a SWD/JTAG probe to a T3.5 / T3.6 board. For example: see here https://github.com/luni64/VisualTeensy/releases/tag/v0.9.7.0 for some...
  33. Thread: Rawhid

    by luni
    Replies
    14
    Views
    404

    As far as I'm concerned you can directly upload...

    As far as I'm concerned you can directly upload it to the wiki I linked above. Alternatively, just zip it and attach it here, I'll copy it to the Wiki then.
  34. Replies
    3
    Views
    134

    APPENDIX: I installed python and the mentioned...

    APPENDIX:
    I installed python and the mentioned HID library and had a look if it works with the custom serial number set by the code from the link in #2.



    import hid

    for device_dict in...
  35. Replies
    3
    Views
    134

    Technically, you can easily change those fields...

    Technically, you can easily change those fields in the core files. Look at the usb*.* files.

    Following remarks:

    In case you are using a development system which uses a fixed location of the...
  36. Thread: Rawhid

    by luni
    Replies
    14
    Views
    404

    Did you finally manage to read the enumerators...

    Did you finally manage to read the enumerators correctly? If so, and if you are willig to share the code, I would like to add it as Python example to the user WIKI .
  37. Thread: Rawhid

    by luni
    Replies
    14
    Views
    404

    I'm not a Python guy and can't really help you...

    I'm not a Python guy and can't really help you with this library. But, since I use them quite often I definitely know that the HID usage pages and HID usages are as listed above for Raw HID devices....
  38. Thread: Rawhid

    by luni
    Replies
    14
    Views
    404

    In principle you can of course directly talk to...

    In principle you can of course directly talk to the endpoints. After all, this is what any USB driver needs to do. But, why spending a lot of time reinventing the wheel. Operating systems provide...
  39. Thread: Rawhid

    by luni
    Replies
    14
    Views
    404

    I can't help with the Python part of your...

    I can't help with the Python part of your question but the two interfaces are easy to explain: One is the actual RAW HID interface, the other one is an interface (SerEmu) which is used by uploaders...
  40. Replies
    3
    Views
    228

    If you don't need a customized GUI you can simply...

    If you don't need a customized GUI you can simply use https://github.com/Koromix/tytools to do the PC part of your tasks. Communication would be Serial or SerEmu (HID), whichever you prefer...
  41. I usually use the "solder drag" technique...

    I usually use the "solder drag" technique and remove bridges with a wick. I used to use small pin point irons but actually it works best wit a large tip which quickly transports heat. I find aligning...
  42. That one https://www.adafruit.com/product/3930...

    That one https://www.adafruit.com/product/3930 should be good, here is a project description which might give you a head start:...
  43. Ups sorry not my day :-) Embarrassing :-)

    Ups sorry not my day :-) Embarrassing :-)
  44. Hm, at 3000rpm? If you use a 100cpr encoder...

    Hm, at 3000rpm? If you use a 100cpr encoder you'll end up with a count rate of 3000*60*100 = 18MHz :-) I'd use a disc with a hole and a (fast) optical switch. Would give 180kHz which seems more...
  45. Replies
    86
    Views
    8,396

    Sorry, overlooked your post. I don't think this...

    Sorry, overlooked your post. I don't think this is related to the standard library since it works perfectly well with TD1.53. And I don't think that the standard library was exchanged between 1.53...
  46. Replies
    86
    Views
    8,396

    Just in case someone cares here additional info...

    Just in case someone cares here additional info for the GCC9 problem:

    If I change the following in the T4 linkerscript (line 72ff)



    .text.csf : {
    FILL(0xFF)
    . = ALIGN(1024);
    ...
  47. Replies
    86
    Views
    8,396

    The last answer from the link Kurt gave in #13...

    The last answer from the link Kurt gave in #13 seems to describe the root cause and how to solve it. See here...
  48. You might also give the tyTools a try...

    You might also give the tyTools a try https://github.com/Koromix/tytools. It comes with a nice GUI + SerMon, provides a command line tool and can handle multiple Teensies.
  49. Replies
    58
    Views
    3,628

    At the end both methods do the same. Either...

    At the end both methods do the same. Either overwrite an existing copy with the new files or just copy the 4 missing math libraries to a new installation.
  50. Replies
    58
    Views
    3,628

    You first need to copy the math libraries to the...

    You first need to copy the math libraries to the gcc folder as explained in the WIKI.

    Here the error messages I get. They are from the linker not from the compiler and are related to the changes...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4