Teensyduino 1.43 Beta #2

Status
Not open for further replies.
installer starts:: user hits NEXT for driver install

{win10 or not win 10 page}:: User hits NEXT

if ( user has 'Windows App version' ) show a notice page ???
 
Can you help me with a little more info, so I can try to figure out what's causing the lag?

First, if your Mac isn't displaying the time with seconds in the menu bar, click the time and choose "Open Date & Time Preferences". The click the "Clock" tab and check the "Display time with seconds" box. Then you should see the time in your menu bar showing seconds.

When the lag happens again, please write down the time to the nearest second. Or if it happens multiple times, get the time to the nearest second for each lag. Just a few recorded is plenty, and even 1 would tremendously help, with the corresponding verbose info.

A minute or two later, ideally after another upload to Teensy, go into the Teensy Loader's Help > Verbose Info. Please copy all the log from around those times (maybe a minute before and after each) and post it here. Of course, also tell me those times you wrote down, since the verbose info won't actually tell me when the Arduino GUI lagged.

To figure out what's going wrong and causing those lags, I really need you to capture that verbose info so I can see the detailed log of what really was done. The answer is probably buried in all that info, but I can't see what really happened until you capture this verbose info during one the lags.

Here is just 12s compilation verbose info, between this time I go quickly to menu system and of course get lags but i didn't see in verbose nothing to indicate that problem. Any way, compilation was successful. If i not touch menu all working nice, much faster compile than 1.8.5/1.42
Time lags 00:37:18 to the end of compilation, but compile in the background.

Code:
00:37:14.918 (ports 5): got command: "list"
00:37:20.537 (loader): file changed
00:37:20.554 (loader): File "Digidoo___pixel_FastLed_lib.ino.hex". 27260 bytes, 10% used
00:37:20.730 (post_compile 19): Begin, version=1.43-beta2
00:37:20.731 (loader): remote connection 19 opened
00:37:20.746 (post_compile 19): Sending command: comment: Teensyduino 1.43-beta2 - MACOSX (teensy_post_compile)
00:37:20.746 (loader): remote cmd from 19: "comment: Teensyduino 1.43-beta2 - MACOSX (teensy_post_compile)"
00:37:20.758 (loader): remote cmd from 19: "status"
00:37:20.777 (post_compile 19): Status: 1, 1, 0, 4, 0, 0, /var/folders/t1/dsfnhz7j74zgcd17ng12p0c00000gn/T/arduino_build_923298/, Digidoo___pixel_FastLed_lib.ino.hex
00:37:20.777 (post_compile 19): Disconnect
00:37:20.848 (ports 5): got command: "list"
00:37:20.848 (ports 5): got command: "list"
00:37:20.859 (post_compile 20): Begin, version=1.43-beta2
00:37:20.995 (loader): remote connection 19 closed
00:37:21.009 (loader): remote connection 19 opened
00:37:21.016 (post_compile 20): Sending command: comment: Teensyduino 1.43-beta2 - MACOSX (teensy_post_compile)
00:37:21.025 (loader): remote cmd from 19: "comment: Teensyduino 1.43-beta2 - MACOSX (teensy_post_compile)"
00:37:21.042 (loader): remote cmd from 19: "status"
00:37:21.061 (post_compile 20): Status: 1, 1, 0, 4, 0, 0, /var/folders/t1/dsfnhz7j74zgcd17ng12p0c00000gn/T/arduino_build_923298/, Digidoo___pixel_FastLed_lib.ino.hex
00:37:21.061 (post_compile 20): Disconnect
00:37:21.124 (post_compile 21): Running teensy_reboot: /Users/user/Desktop/Arduino 1.8.6 TeensyDuino/Arduino.app/Contents/Java/hardware/teensy/../tools/teensy_reboot
00:37:21.373 (loader): remote connection 19 closed
00:37:21.389 (loader): remote connection 19 opened
00:37:21.404 (reboot 22): Begin, version=1.43-beta2
00:37:21.404 (reboot 22): location = /dev/cu.usbmodem4275401
00:37:21.404 (reboot 22): portlabel = /dev/cu.usbmodem4275401 (Teensy)
00:37:21.404 (reboot 22): portprotocol = serial
00:37:21.404 (reboot 22): Serial device /dev/cu.usbmodem4275401 will be tried first
00:37:21.404 (reboot 22): USB device add callback
00:37:21.405 (reboot 22):   loc=4100000, vid=16C0, pid=0489, ver=0275, ser=4275400
00:37:21.405 (reboot 22):   actual serailnum=427540
00:37:21.623 (loader): remote connection 19 closed
00:37:21.638 (loader): remote connection 19 opened
00:37:21.645 (reboot 22): USB device remove callback
00:37:21.645 (reboot 22): Serial add callback
00:37:21.646 (reboot 22):   name=/dev/cu.usbmodem4275401, loc=4100000, vid=16c0, pid=0489, ver=0275
00:37:21.674 (reboot 22): Serial remove callback
00:37:21.692 (reboot 22): HID Manager started
00:37:21.693 (reboot 22): found Teensy Loader, version 1.43
00:37:21.693 (reboot 22): Sending command: show:arduino_attempt_reboot
00:37:21.868 (loader): remote cmd from 19: "show:arduino_attempt_reboot"
00:37:21.877 (loader): got request to show arduino rebooting message
00:37:21.888 (reboot 22): Sending command: comment: Teensyduino 1.43-beta2 - MACOSX (teensy_reboot)
00:37:21.898 (loader): remote cmd from 19: "comment: Teensyduino 1.43-beta2 - MACOSX (teensy_reboot)"
00:37:21.912 (loader): remote cmd from 19: "status"
00:37:21.926 (reboot 22): Status: 1, 1, 0, 4, 0, 0, /var/folders/t1/dsfnhz7j74zgcd17ng12p0c00000gn/T/arduino_build_923298/, Digidoo___pixel_FastLed_lib.ino.hex
00:37:21.926 (reboot 22): do_reset (serial) /dev/cu.usbmodem4275401
00:37:21.949 (loader): remote cmd from 19: "status"
00:37:21.967 (reboot 22): Status: 1, 1, 0, 4, 0, 0, /var/folders/t1/dsfnhz7j74zgcd17ng12p0c00000gn/T/arduino_build_923298/, Digidoo___pixel_FastLed_lib.ino.hex
00:37:21.967 (reboot 22): status read, retry 0
00:37:22.069 (loader): remote cmd from 19: "status"
00:37:22.086 (reboot 22): Status: 1, 1, 0, 4, 0, 0, /var/folders/t1/dsfnhz7j74zgcd17ng12p0c00000gn/T/arduino_build_923298/, Digidoo___pixel_FastLed_lib.ino.hex
00:37:22.086 (reboot 22): status read, retry 1
00:37:22.137 (ports 5): Serial remove callback
00:37:22.137 (ports 5): USB device remove callback
00:37:22.137 (ports 5): remove, loc=4100000
00:37:22.137 (ports 5): usb_remove: usb:4100000
00:37:22.137 (ports 5): del device: location=4100000
00:37:22.345 (loader): remote cmd from 19: "status"
00:37:22.373 (reboot 22): Status: 1, 1, 0, 4, 0, 0, /var/folders/t1/dsfnhz7j74zgcd17ng12p0c00000gn/T/arduino_build_923298/, Digidoo___pixel_FastLed_lib.ino.hex
00:37:22.373 (reboot 22): status read, retry 2
00:37:22.465 (ports 5): USB device add callback
00:37:22.466 (ports 5):   loc=4100000, vid=16C0, pid=0478, ver=0103, ser=00068614
00:37:22.466 (ports 5):   actual serailnum=427540
00:37:22.466 (ports 5):   found prior teensy at this loc, age=0.328
00:37:22.466 (ports 5):     name: [no_device] (Teensy 3.2) Bootloader
00:37:22.628 (loader): remote cmd from 19: "status"
00:37:22.654 (reboot 22): Status: 1, 1, 0, 4, 0, 0, /var/folders/t1/dsfnhz7j74zgcd17ng12p0c00000gn/T/arduino_build_923298/, Digidoo___pixel_FastLed_lib.ino.hex
00:37:22.654 (reboot 22): status read, retry 3
00:37:22.755 (loader): remote cmd from 19: "status"
00:37:22.772 (reboot 22): Status: 1, 1, 0, 4, 0, 0, /var/folders/t1/dsfnhz7j74zgcd17ng12p0c00000gn/T/arduino_build_923298/, Digidoo___pixel_FastLed_lib.ino.hex
00:37:22.772 (reboot 22): status read, retry 4
00:37:22.873 (loader): remote cmd from 19: "status"
00:37:22.888 (reboot 22): Status: 1, 1, 0, 4, 0, 0, /var/folders/t1/dsfnhz7j74zgcd17ng12p0c00000gn/T/arduino_build_923298/, Digidoo___pixel_FastLed_lib.ino.hex
00:37:22.888 (reboot 22): status read, retry 5
00:37:22.990 (loader): remote cmd from 19: "status"
00:37:23.006 (reboot 22): Status: 1, 1, 0, 4, 0, 0, /var/folders/t1/dsfnhz7j74zgcd17ng12p0c00000gn/T/arduino_build_923298/, Digidoo___pixel_FastLed_lib.ino.hex
00:37:23.006 (reboot 22): status read, retry 6
00:37:23.112 (loader): remote cmd from 19: "status"
00:37:23.134 (reboot 22): Status: 1, 1, 0, 4, 0, 0, /var/folders/t1/dsfnhz7j74zgcd17ng12p0c00000gn/T/arduino_build_923298/, Digidoo___pixel_FastLed_lib.ino.hex
00:37:23.134 (reboot 22): status read, retry 7
00:37:23.235 (loader): remote cmd from 19: "status"
00:37:23.247 (reboot 22): Status: 1, 1, 0, 4, 0, 0, /var/folders/t1/dsfnhz7j74zgcd17ng12p0c00000gn/T/arduino_build_923298/, Digidoo___pixel_FastLed_lib.ino.hex
00:37:23.247 (reboot 22): status read, retry 8
00:37:23.350 (loader): remote cmd from 19: "status"
00:37:23.362 (reboot 22): Status: 1, 1, 0, 4, 0, 0, /var/folders/t1/dsfnhz7j74zgcd17ng12p0c00000gn/T/arduino_build_923298/, Digidoo___pixel_FastLed_lib.ino.hex
00:37:23.362 (reboot 22): status read, retry 9
00:37:23.463 (loader): remote cmd from 19: "status"
00:37:23.475 (reboot 22): Status: 1, 1, 0, 4, 0, 0, /var/folders/t1/dsfnhz7j74zgcd17ng12p0c00000gn/T/arduino_build_923298/, Digidoo___pixel_FastLed_lib.ino.hex
00:37:23.475 (reboot 22): status read, retry 10
00:37:23.499 (loader): HID/macos: attach callback
00:37:23.505 (ports 5): HID add callback, vid=16c0, pid=0478, ver=0103, loc=4100000, use=ff9c:21
00:37:23.505 (ports 5):   found prior teensy at this loc, age=1.040
00:37:23.505 (ports 5):     name: HID=16c0:0478.ff9c.21 (Teensy 3.2) Bootloader
00:37:23.537 (loader): Device came online, code_size = 262144
00:37:23.544 (loader): Board is: Teensy 3.2 (MK20DX256), version 1.03
00:37:23.562 (loader): File "Digidoo___pixel_FastLed_lib.ino.hex". 27260 bytes, 10% used
00:37:23.571 (loader): set background IMG_ONLINE
00:37:23.590 (loader): File "Digidoo___pixel_FastLed_lib.ino.hex". 27260 bytes, 10% used
00:37:23.601 (loader): elf size appears to be 262144
00:37:23.608 (loader): elf binary data matches hex file
00:37:23.615 (loader): Code size from .elf file = 262144
00:37:23.623 (loader): begin operation
00:37:23.663 (loader): remote cmd from 19: "status"
00:37:23.686 (loader): flash, block=0, bs=1024, auto=1
00:37:23.708 (loader): flash, block=1, bs=1024, auto=1
00:37:23.729 (loader): flash, block=2, bs=1024, auto=1
00:37:23.744 (reboot 22): Status: 1, 1, 1, 5, 0, 1, /var/folders/t1/dsfnhz7j74zgcd17ng12p0c00000gn/T/arduino_build_923298/, Digidoo___pixel_FastLed_lib.ino.hex
00:37:23.747 (loader): flash, block=3, bs=1024, auto=1
00:37:23.798 (loader): flash, block=4, bs=1024, auto=1
00:37:23.816 (loader): remote cmd from 19: "status"
00:37:23.830 (loader): flash, block=5, bs=1024, auto=1
00:37:23.838 (reboot 22): Status: 1, 1, 1, 5, 0, 1, /var/folders/t1/dsfnhz7j74zgcd17ng12p0c00000gn/T/arduino_build_923298/, Digidoo___pixel_FastLed_lib.ino.hex
00:37:23.846 (loader): flash, block=6, bs=1024, auto=1
00:37:23.865 (loader): flash, block=7, bs=1024, auto=1
00:37:23.881 (loader): flash, block=8, bs=1024, auto=1
00:37:23.895 (loader): remote cmd from 19: "status"
00:37:23.903 (reboot 22): Status: 1, 1, 1, 5, 0, 1, /var/folders/t1/dsfnhz7j74zgcd17ng12p0c00000gn/T/arduino_build_923298/, Digidoo___pixel_FastLed_lib.ino.hex
00:37:23.915 (loader): flash, block=9, bs=1024, auto=1
00:37:23.932 (loader): flash, block=10, bs=1024, auto=1
00:37:23.951 (loader): flash, block=11, bs=1024, auto=1
00:37:23.967 (loader): flash, block=12, bs=1024, auto=1
00:37:23.987 (loader): flash, block=13, bs=1024, auto=1
00:37:24.016 (loader): flash, block=14, bs=1024, auto=1
00:37:24.033 (loader): flash, block=15, bs=1024, auto=1
00:37:24.054 (loader): remote cmd from 19: "status"
00:37:24.069 (loader): flash, block=16, bs=1024, auto=1
00:37:24.070 (reboot 22): Status: 1, 1, 1, 5, 0, 1, /var/folders/t1/dsfnhz7j74zgcd17ng12p0c00000gn/T/arduino_build_923298/, Digidoo___pixel_FastLed_lib.ino.hex
00:37:24.087 (loader): flash, block=17, bs=1024, auto=1
00:37:24.105 (loader): flash, block=18, bs=1024, auto=1
00:37:24.128 (loader): flash, block=19, bs=1024, auto=1
00:37:24.145 (loader): remote cmd from 19: "status"
00:37:24.156 (reboot 22): Status: 1, 1, 1, 5, 0, 1, /var/folders/t1/dsfnhz7j74zgcd17ng12p0c00000gn/T/arduino_build_923298/, Digidoo___pixel_FastLed_lib.ino.hex
00:37:24.181 (loader): flash, block=20, bs=1024, auto=1
00:37:24.216 (loader): remote cmd from 19: "status"
00:37:24.229 (reboot 22): Status: 1, 1, 1, 5, 0, 1, /var/folders/t1/dsfnhz7j74zgcd17ng12p0c00000gn/T/arduino_build_923298/, Digidoo___pixel_FastLed_lib.ino.hex
00:37:24.236 (loader): flash, block=21, bs=1024, auto=1
00:37:24.268 (loader): flash, block=22, bs=1024, auto=1
00:37:24.280 (reboot 22): status read, retry 11
00:37:24.280 (reboot 22): Success
00:37:24.280 (reboot 22): Disconnect
00:37:24.296 (ports 5): got command: "list"
00:37:24.491 (loader): remote connection 19 closed
00:37:24.511 (loader): flash, block=23, bs=1024, auto=1
00:37:24.531 (loader): flash, block=24, bs=1024, auto=1
00:37:24.548 (loader): flash, block=25, bs=1024, auto=1
00:37:24.567 (loader): flash, block=26, bs=1024, auto=1
00:37:24.624 (loader): sending reboot
00:37:24.633 (loader): begin wait_until_offline
00:37:24.648 (loader): HID/macos: status: ok
00:37:24.792 (ports 5): HID remove callback
00:37:24.792 (ports 5): HID add callback, vid=16c0, pid=0478, ver=0103, loc=4100000
00:37:24.792 (ports 5): USB device remove callback
00:37:24.792 (ports 5): remove, loc=4100000
00:37:24.792 (ports 5): usb_remove: usb:4100000
00:37:24.792 (ports 5): del device: location=4100000
00:37:24.816 (loader): HID/macos: detach callback: is currently open device
00:37:24.830 (loader): offline, waited 3
00:37:24.842 (loader): end operation, total time = 1.212 seconds
00:37:24.851 (loader): set background IMG_REBOOT_OK
00:37:24.861 (loader): redraw timer set, image 14 to show for 1200 ms
00:37:25.062 (ports 5): USB device add callback
00:37:25.063 (ports 5):   loc=4100000, vid=16C0, pid=0489, ver=0275, ser=4275400
00:37:25.063 (ports 5):   actual serailnum=427540
00:37:25.063 (ports 5):   found prior teensy at this loc, age=0.271
00:37:25.063 (ports 5):     name: [no_device] (Teensy 3.2) Serial+MIDI
00:37:25.215 (loader): HID/macos: number of devices found = 0
00:37:25.227 (loader): HID/macos: no devices found (empty set)
00:37:26.062 (loader): redraw, image 9

I spend all night for testing other configuration.


beta 143.2 with Arduino 1.8.5 any problem I found. Compilation faster around 15-20% than 1.42 version. Any lags and slow down, all working nice.
An alternative for now - use 1.43 with A1.8.5

A1.8.6 solo without Tensyduino - even like that, lags when menu exploration :D
Of course I use only T3.2 for test.

That is a GUI Arduino problem and Java regarding to the lags and slow down during exploration, I hope that we get soon patch for that bug.
Any way I will looking for solution with guys from GitHub #7935 maybe we manage fix up Ardu, I think that is a not big deal todo. Please test links below.

Paul I will track my work, if I find bugs or so, bounding with Teensy I let you know.
Sory for my English ;) that is my second language.

code using one of the following:

⬇️ http://downloads.arduino.cc/javaide/pull_requests/arduino-PR-7935-BUILD-760-linux32.tar.xz
⬇️ http://downloads.arduino.cc/javaide/pull_requests/arduino-PR-7935-BUILD-760-linux64.tar.xz
⬇️ http://downloads.arduino.cc/javaide/pull_requests/arduino-PR-7935-BUILD-760-windows.zip
⬇️ http://downloads.arduino.cc/javaide/pull_requests/arduino-PR-7935-BUILD-760-macosx.zip
⬇️ http://downloads.arduino.cc/javaide/pull_requests/arduino-PR-7935-BUILD-760-linuxarm.tar.xz

ℹ️ The linuxarm build is still experimental and may not be always available.
 
Last edited:
I see Arduino has committed the fix for #7935. I'll bring it in here and publish a 1.43-beta3 installer, so we can see if it solves this for Teensy too.
 
Yeah I will do testing and let you know. But Arduino downloaded from official website still has slowness. We need use fixed version from links from my last post.
 
I put that #7935 fix into the beta3 installer. When you run it on an original copy of 1.8.6, that fix will be installed.
 
Last edited:
Paul I had done testing, and Arduino with beta3 working fine, I tested it just with T3.2 but in many scenarios and I don’t have any problems with compilations,all was nice and smooth, moreover faster than 1.8.5 with 1.42
Menu slowness seems like fixed, no dramatic lag like before, just 2 times during 5h test I got 2-3 secons lags when I exploring menu Edit and when I try to go from Sketch to Tools menu.
Also I tested beta3 with A1.8.5 and in this case all working nice, any problem any lags.
Tomorrow I will try 1.8.6 beta3 on Mac after clean installation El Capitan 10.11.6 and SSD drive.

By the way I tested also what happens if I install java higher than 8. I chose JDK 10 and A1.8.6beta3 worked without any affecting.
 
Status
Not open for further replies.
Back
Top