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

Search:

Type: Posts; User: Koromix

Page 1 of 4 1 2 3 4

Search: Search took 0.00 seconds.

  1. Thread: Teensy Qt

    by Koromix
    Replies
    445
    Views
    135,336

    Okay :) Thanks!

    Okay :)
    Thanks!
  2. Thread: Teensy Qt

    by Koromix
    Replies
    445
    Views
    135,336

    Just made an (official) release with Teensy 4.1...

    Just made an (official) release with Teensy 4.1 support, based on the patch from @KurtE!
    https://github.com/Koromix/tytools/releases

    Is there anyway to update the first post of this topic?
  3. Thread: Teensy Qt

    by Koromix
    Replies
    445
    Views
    135,336

    Perfect, thanks!

    Perfect, thanks!
  4. Thread: Teensy Qt

    by Koromix
    Replies
    445
    Views
    135,336

    I've pushed a new version (0.8.10), the main...

    I've pushed a new version (0.8.10), the main changes are :
    - Detect Teensy model without bootloader (if built with Teensyduino 1.42+) with bcdDevice field
    - Fix support for Teensy 3.5 firmwares...
  5. Thread: Teensy Qt

    by Koromix
    Replies
    445
    Views
    135,336

    @Wayne: The board model can only be identified...

    @Wayne: The board model can only be identified while the Teensy is in bootloader mode. TyCommander keeps the serial <=> model information in cache to remember it.

    If the cache is wrong, you can...
  6. Thread: Teensy Qt

    by Koromix
    Replies
    445
    Views
    135,336

    The serial setting in the IDE is ignored because...

    The serial setting in the IDE is ignored because it poses more problems than it solves. First, in non-Serial modes you could not select the board you want. This is especially bad if you happen to...
  7. Thread: Teensy Qt

    by Koromix
    Replies
    445
    Views
    135,336

    I've just switched to "TyCommander" for the main...

    I've just switched to "TyCommander" for the main GUI and TyTools for the whole project. Hopefully it's easier to type :)

    The UI thing sounds like a bug, I'll look into it tomorrow.

    Actually,...
  8. Thread: Teensy Qt

    by Koromix
    Replies
    445
    Views
    135,336

    First, this whole project is being renamed...

    First, this whole project is being renamed TyTools because it is a collection of three tools at this point, and TyQt is just one of them (though it is the biggest as of now). The name "ty" was just...
  9. Thread: Teensy Qt

    by Koromix
    Replies
    445
    Views
    135,336

    There's no setting to do that at the moment, but...

    There's no setting to do that at the moment, but I'll try to add it soon. Along with font settings for the serial monitor.



    Thanks for the report, it should work correctly in the latest build...
  10. Thread: Teensy Qt

    by Koromix
    Replies
    445
    Views
    135,336

    I'd like to add something like that. When I have...

    I'd like to add something like that. When I have some time it could make a nice addition to TyQt.



    The log files are written to as soon as something comes up on the USB serial. I'll fix the two...
  11. Thread: Teensy Qt

    by Koromix
    Replies
    445
    Views
    135,336

    I have just released TyQt 0.8.0. It supports the...

    I have just released TyQt 0.8.0. It supports the new Teensy boards and fixes some long-standing issues regarding device enumeration on Windows, such as invisible Teensies on some USB 3.0 host...
  12. Thread: K66 Beta Test

    by Koromix
    Replies
    1,558
    Views
    568,772

    Be careful that Teensy Loader is not running or...

    Be careful that Teensy Loader is not running or that its autoflash mode is disabled when you do a reset (or upload) with TyQt. The reset button puts the Teensy in bootloader mode first, and then it...
  13. Thread: Teensy Qt

    by Koromix
    Replies
    445
    Views
    135,336

    Sorry for the delay, I moved to a new city and...

    Sorry for the delay, I moved to a new city and things are finally settling down. And now I got a nice 100 Mbps down / 100 Mbps up fiber connection, which is always nice!



    Thanks for the...
  14. Thread: Teensy Qt

    by Koromix
    Replies
    445
    Views
    135,336

    Very interesting, thanks for the report. I'm...

    Very interesting, thanks for the report. I'm really interested in finding out where it comes from (when I have more time), could you tell me what kind of hardware is running on this server, or any of...
  15. Thread: K66 Beta Test

    by Koromix
    Replies
    1,558
    Views
    568,772

    It's a desktop computer, I plug the Teensy...

    It's a desktop computer, I plug the Teensy directly in the USB 2.0 port (tried all of them). The computer is quite a few years old, made from spare parts that include a Seasonic BG-500 S12II-520...
  16. Thread: K66 Beta Test

    by Koromix
    Replies
    1,558
    Views
    568,772

    I can reliably prevent my Teensy 3.6 (round 3)...

    I can reliably prevent my Teensy 3.6 (round 3) from starting, with the Blink sketch loaded on the board, when I:
    - shut down the computer and remove the power cord
    - wait a bit for the capacitors...
  17. Thread: Teensy Qt

    by Koromix
    Replies
    445
    Views
    135,336

    Glad you like it :) I have to say that except...

    Glad you like it :)

    I have to say that except for loading the always useful Blink sketch and testing, I don't use the Arduino IDE. So I'm not sure what it does when you switch board type but it...
  18. Thread: Teensy Qt

    by Koromix
    Replies
    445
    Views
    135,336

    Sorry, I can't find anything going wrong. The...

    Sorry, I can't find anything going wrong. The Teensy Loader does basically the same thing as TyQt, according to strace.

    Still, you might want to try the Teensy Loader on the server, to see if it...
  19. Thread: Teensy Qt

    by Koromix
    Replies
    445
    Views
    135,336

    Thanks for the log. Everything seems to go as it...

    Thanks for the log. Everything seems to go as it should, but the baudrate change does not trigger a Teensy reboot. You did not change the Teensy core code, by any chance?

    I've pushed a workaround...
  20. Thread: Teensy Qt

    by Koromix
    Replies
    445
    Views
    135,336

    Sorry, I messed it up. Should have checked, here...

    Sorry, I messed it up. Should have checked, here is the correct version: "TY_DEBUG=1 strace tyc reset >tyc_log.txt 2>&1". Indeed without the strace statements the log is useless :)
  21. Thread: Teensy Qt

    by Koromix
    Replies
    445
    Views
    135,336

    You can pull from GitHub to change the 'Unknown'...

    You can pull from GitHub to change the 'Unknown' label thing. For the actual problem, it's... weird. It looks like things are done correctly, but for some reason the board won't reboot.

    Could you...
  22. Thread: Teensy Qt

    by Koromix
    Replies
    445
    Views
    135,336

    I did a test on the Live CD of Ubuntu 16.04.1,...

    I did a test on the Live CD of Ubuntu 16.04.1, and both TyQt and tyc worked well after installing the udev rules file. At least the latest GitHub version. You need to unplug / replug the Teensy after...
  23. Thread: Teensy Qt

    by Koromix
    Replies
    445
    Views
    135,336

    Does TyQt report a permission error? You can see...

    Does TyQt report a permission error? You can see the log in "Tools > Open Log".

    I develop TyQt mostly on Arch Linux, and I haven't tested it on Ubuntu in a while... and it was 14.04, I believe....
  24. Thread: Teensy Qt

    by Koromix
    Replies
    445
    Views
    135,336

    Did you install the udev file available at...

    Did you install the udev file available at https://www.pjrc.com/teensy/49-teensy.rules? Without it, only root can open the Teensy device files, so upload / reset / serial actions won't work.

    The...
  25. Thread: Teensy Qt

    by Koromix
    Replies
    445
    Views
    135,336

    I've just found that I introduced a pretty bad...

    I've just found that I introduced a pretty bad leak a few commits ago, which could also cause weird issues in some cases (board swaps, upload, reset, etc.). You might want to update your copy to the...
  26. Thread: Teensy Qt

    by Koromix
    Replies
    445
    Views
    135,336

    The -187 build is the same as -184, the three...

    The -187 build is the same as -184, the three commits are small build and documentation changes.

    In the latest builds, boards without a valid S/N are named "Unknown", instead of "0-Teensy", and...
  27. Thread: Teensy Qt

    by Koromix
    Replies
    445
    Views
    135,336

    I know Windows XP 64 exists, but it had many...

    I know Windows XP 64 exists, but it had many problems and the driver support was poor. The number of XP-64 users is probably *much* lower than XP, so not worth any effort. If anything, in a year or...
  28. Thread: Teensy Qt

    by Koromix
    Replies
    445
    Views
    135,336

    I just pushed a commit that fixes the "fatal: Not...

    I just pushed a commit that fixes the "fatal: Not a git repository (or any of the parent directories): .git" error above. This one was on me. You can find the change needed here:...
  29. Thread: Teensy Qt

    by Koromix
    Replies
    445
    Views
    135,336

    This means you built Qt for 64-bit builds. You...

    This means you built Qt for 64-bit builds. You should probably omit "-T v140_xp" for 64-bit builds because there's no point to XP support in this case. I had to put a few workarounds in my CMake...
  30. Thread: Teensy Qt

    by Koromix
    Replies
    445
    Views
    135,336

    Oh, I see. You need to build the whole project,...

    Oh, I see. You need to build the whole project, not just "src/tyqt/CMakeLists.txt" which is only the GUI part of the project, without all the lower-level parts that make it work.

    So the...
  31. Thread: Teensy Qt

    by Koromix
    Replies
    445
    Views
    135,336

    Yes, sorry, I've been meaning to put VS2015...

    Yes, sorry, I've been meaning to put VS2015 instructions.

    First, you need to build static Qt for MSVC (see the qt5 instructions above). Then, to generate VS2015 project files for 32-bit builds:
    -...
  32. Thread: Teensy Qt

    by Koromix
    Replies
    445
    Views
    135,336

    Cool :) Qt static builds are a pain. I...

    Cool :)



    Qt static builds are a pain. I have a bunch of workarounds in https://github.com/Koromix/ty/blob/master/cmake/FindEasyQt5.cmake to make it work with this particular set of flags, but...
  33. Thread: Teensy Qt

    by Koromix
    Replies
    445
    Views
    135,336

    It's funny you mention that because I got my...

    It's funny you mention that because I got my first crash in this function yesterday. Mine only happens if you have used "Reset Application (& Settings)" at least once. Did you?

    I have pushed a fix...
  34. Thread: Teensy Qt

    by Koromix
    Replies
    445
    Views
    135,336

    Yes, you can open CMakeLists.txt with Qt Creator....

    Yes, you can open CMakeLists.txt with Qt Creator. For a while I maintained a set of qmake .pro files in the repository for Qt Creator, but I dropped them because they were regularly broken and Qt...
  35. Thread: K66 Beta Test

    by Koromix
    Replies
    1,558
    Views
    568,772

    Got my gift today! Thank you :) I haven't done...

    Got my gift today! Thank you :)

    I haven't done much yet. It blinks! I knew from defragster that early boards report "00000064" as the USB S/N in bootloader mode, and I figured it was only the case...
  36. Thread: Teensy Qt

    by Koromix
    Replies
    445
    Views
    135,336

    Thanks, glad it's useful. There are many things I...

    Thanks, glad it's useful. There are many things I don't really like about the current code, but it's not all bad. A bit over-engineered, I guess. But hey, that's how you learn. My next project,...
  37. Thread: Teensy Qt

    by Koromix
    Replies
    445
    Views
    135,336

    Thanks for the report, I saw your posts a couple...

    Thanks for the report, I saw your posts a couple hours ago. It's a silly mistake in my code, where the wrong exit code is used from the command-line client used by Arduino. Until 1.6.10, the IDE did...
  38. Replies
    10
    Views
    7,742

    I can't build Blink for my Teensy LC, with...

    I can't build Blink for my Teensy LC, with Teensyduino 1.30b1 + Arduino 1.6.10 on Linux:


    /home/niels/bureau/arduino-1.6.10/arduino-builder -dump-prefs -logger=machine -hardware...
  39. There are various ways to initialize member...

    There are various ways to initialize member objects, you can use initializer lists in your constructor (classes A and B below) and or the new C++11 brace-init thingy (class C).


    class Base
    {
    ...
  40. Thread: Teensy Qt

    by Koromix
    Replies
    445
    Views
    135,336

    Tiens je n'avais même pas réalisé que l'ECN...

    Tiens je n'avais même pas réalisé que l'ECN médecine finissait en même temps que le BAC. C'était donc ça tout ce bruit à la bibliothèque :)



    Thanks, I will do so. I'm very interested, though...
  41. Thread: Teensy Qt

    by Koromix
    Replies
    445
    Views
    135,336

    Hi raflyer, and sorry for the delay. I just...

    Hi raflyer, and sorry for the delay. I just finished my exams and I can come back to life now, and fix stuff.

    In theory there is no limitation to how many Teensy you can plug... but right now, the...
  42. Thread: Teensy Qt

    by Koromix
    Replies
    445
    Views
    135,336

    So first, I want to thank Theremingenieur for his...

    So first, I want to thank Theremingenieur for his gift, which got my MacBook back in working order :) I had not been able to actually test TyQt on OSX for many commits prior to 0.7.5, it seems to...
  43. Thread: Teensy Qt

    by Koromix
    Replies
    445
    Views
    135,336

    RawHID should work, and indeed it does on my...

    RawHID should work, and indeed it does on my system. Did it occur again? Could be a transient problem, which tends to happen when the Windows driver installer does its thing. Probably need to add a...
  44. Thread: Teensy Qt

    by Koromix
    Replies
    445
    Views
    135,336

    No but this is a very small software, there's not...

    No but this is a very small software, there's not much to it beyond what is on the screenshot. It can replace Teensy Loader as the uploader used by Arduino IDE, if you need to program multiple...
  45. Thread: Teensy Qt

    by Koromix
    Replies
    445
    Views
    135,336

    I've published TyQt 0.7.5, so that people stop...

    I've published TyQt 0.7.5, so that people stop downloading TyQt 0.7.0, which has a few annoying bugs on Windows and OSX.

    @defragster: The qt archives you can find on my BinTray contain a pre-built...
  46. Thread: Teensy Qt

    by Koromix
    Replies
    445
    Views
    135,336

    I just tested it, and it also happens with a...

    I just tested it, and it also happens with a simple cat from the serial device on Linux. It comes from your sketch, your are writing past the end of your analogInputs array.


    #define analogInputs...
  47. Thread: Teensy Qt

    by Koromix
    Replies
    445
    Views
    135,336

    I am aware of that, this is what I said in the...

    I am aware of that, this is what I said in the first paragraph. "\n\r" (LF+CR) is the form I have never seen, which is what Arctic_Eddie was trying to use.
  48. Thread: Teensy Qt

    by Koromix
    Replies
    445
    Views
    135,336

    You should use "\n" (LF) or "\r\n" (CRLF) for...

    You should use "\n" (LF) or "\r\n" (CRLF) for newlines. The first is the standard newline character on Unix derivatives, the combined form tends to be used on DOS and Windows. Both should work the...
  49. Thread: Teensy Qt

    by Koromix
    Replies
    445
    Views
    135,336

    Well the icon changes to a "house" in bootloader...

    Well the icon changes to a "house" in bootloader mode, although it remains black. I prefer to reserve colors for ponctual states (orange = working / red = error).



    It does nothing special....
  50. Thread: Teensy Qt

    by Koromix
    Replies
    445
    Views
    135,336

    Context menus in the latest build, as requested....

    Context menus in the latest build, as requested. That took some very complex and skillful programming ;D

    https://bintray.com/koromix/ty/ty/view#files/
Results 1 to 50 of 200
Page 1 of 4 1 2 3 4