Forum Rule: Always post complete source code & details to reproduce any issue!
Page 4 of 4 FirstFirst ... 2 3 4
Results 76 to 83 of 83

Thread: Teensyduino 1.42 Beta #2

  1. #76
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    8,799
    Quote Originally Posted by PaulStoffregen View Post
    Here's a fix.
    Using p#74 T_sermon it Changes USB Plug in behavior!:
    Not Serial ??? @ millis=400
    Teensy Serial Online !!! @ millis=531

    T:\tCode\_TEENSY_INFO\StartPrint\StartPrint.ino Mar 9 2018 09:06:23
    YES Serial !!!
    Interesting to see the PC buffers the early messages.

    Upload restart better but still looks like this - perhaps this is the handoff delay after Upload/restart?:
    Not Serial ??? @ millis=1401
    Not Serial ??? @ millis=1901
    Teensy Serial Online !!! @ millis=2130

    T:\tCode\_TEENSY_INFO\StartPrint\StartPrint.ino Mar 9 2018 09:07:55
    YES Serial !!!
    Faster Teensy online under 400 ms will be nice.

  2. #77
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    20,169
    Is that online at 2130 ms using the "Teensy" part of the Ports menu, or the old "Serial" part? If you select from the Serial section, the old delays are used. The fast stuff is only used when you select from the Teensy part.

  3. #78
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    20,169
    These last couple days I've been working on speeding up compile times. There's 2 main changes coming. I've hacked the Arduino build process to turn Arduino.h into a precompiled Arduino.h.gch header. This makes C++ compiling go faster, if the first header included is <Arduino.h>. The other change is removing #include <algorithm> in wiring.h.

    I've been doing quite a lot of speed testing on all 3 systems.

    Together these make a nice speedup, especially on Mac and Linux. Windows gets faster too, but I can't seem to do anything about the huge overhead Windows seems to have starting the compiler. It always runs slower than Mac & Linux.

  4. #79
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    20,169
    Quote Originally Posted by defragster View Post
    Both T_sermon title bars ODDLY indicate as before "[offline] (Teensy)" - when both are streaming data at 1,000 msgs/sec.
    Quote Originally Posted by KurtE View Post
    ... the window says offline... But I am getting output showing up in the window, although it is grayed/dimmed in the off line state...
    Hopefully this will fix the wrong title bar display and online/offline status update.

    https://github.com/PaulStoffregen/Ar...d21c1e40fe5847

  5. #80
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    4,870
    Sounds great! Will give it a try, but it may have to wait until Tomorrow.

    If you are trying to setup a new release, should I try to get some of the USB Host stuff ready?

    a) easily right now I could setup to take in the XBox-one wireless support. There was the start of Bluetooth support in that branch which I should remove and move the Bluetooth stuff to new top level branch (currently it is child of the wireless one...)

    b) Bluetooth: more longer term, although could cobble a version that maybe creates a keyboard object or a Joystick. Stick working on this part, but also have other projects going on (like finally doing something with my Well monitoring...)

  6. #81
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    20,169
    Quote Originally Posted by KurtE View Post
    If you are trying to setup a new release, should I try to get some of the USB Host stuff ready?
    I already packaged up beta3. Going to do more testing here after a little sleep, in case I made any big embarrassing mistakes. Planning to upload it tonight.

    Let's plan on getting USB host updates into beta4. Assuming all these IDE changes are becoming stable, I'd like to roll up lots of smaller updates into beta4 in about 1 week, and maybe a beta5 shortly after... with a goal of a final 1.42 release near the end of March.

  7. #82
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    8,799
    Quote Originally Posted by PaulStoffregen View Post
    Is that online at 2130 ms using the "Teensy" part of the Ports menu, or the old "Serial" part? If you select from the Serial section, the old delays are used. The fast stuff is only used when you select from the Teensy part.
    FYI: Looking to test that - Tools menu was not responsive ... Did not load new version yet. [<edit>: just read - not a new version out yet ]
    I found this in TaskMan with no open apps:Click image for larger version. 

Name:	StuckProcesses.PNG 
Views:	67 
Size:	18.2 KB 
ID:	13262

    <Had to close EDGE and restart to upload image - machine has been up 10 days of abuse>

    Perhaps that was the SerMon and not T_sermon as I was swapping. Using the prior fixes3 and T_sermon I got times from 400 ( i.e. ON Entry ) up to 540 ms:
    Not Serial ??? @ millis=400
    Teensy Serial Online !!! @ millis=473

    T:\tCode\_TEENSY_INFO\StartPrint\StartPrint.ino Mar 11 2018 12:51:01
    YES Serial !!!
    { having the path\sketch printed helped me find the sketch - also nice when picking up a random Teensy to re-use }
    Last edited by defragster; 03-11-2018 at 07:58 PM.

  8. #83
    Administrator Paul's Avatar
    Join Date
    Oct 2012
    Posts
    333
    Ok, beta3 is available now.

    https://forum.pjrc.com/threads/50254...no-1-42-Beta-3

    Closing this thread.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •