PDA

View Full Version : Teensyduino 1.42 Beta #2



Paul
02-27-2018, 12:07 PM
Here is a second beta test for Teensyduino 1.42.

The main new feature is a "Teensy" section in the Tools > Ports menu
which tries to show Teensy in all modes, not just Serial.

I'd like to thank everyone who tested and suffered the problems with 1.42-beta1. This is probably what 1.42-beta1 should have been. Many problems have been fixed, and teensy_reboot has been completely rewritten to use the ports menu info. Several issues remain (see the lists below), so I could really use some help & feedback testing.

Teensy Loader Verbose Info window now offers much better info, so we should at least have a better chance of capturing useful info when/if things go wrong.


Old beta download links removed. Please use the latest version:
https://www.pjrc.com/teensy/td_download.html


Changes since Teensyduino 1.42-beta1 (https://forum.pjrc.com/threads/49831-Teensyduino-1-42-Beta-1)

Unified logging in Teensy Loader's Verbose Info window
Fix teensy_ports crash when/if Teensy Loader closes
major USB device detection code cleanup....
teensy_reboot now uses device location info from Ports menu
teensy_ports quits automatically when Arduino no longer running
Optimize memory usage in Teensy Loader PNG image handling
Fix Teensy Loader Verbose Info menu Log > Clear
Improve elapsed time in teensy_ports, use native monotonic time
Drop support for Arduino 1.8.2 and 1.8.3 and 1.8.4
Fix incorrect serial monitor title bar on Windows
Workaround for 1 second lag when Teensy Loader not running
Fix non-serial reconnect on Windows XP (workaround missing DBT_DEVNODES_CHANGED)


Suspected issues: (please try to reproduce these!)

teensy_serialmon may get "stuck" and remain running, maybe 100% CPU usage
serial monitor slow updates (but still works) some cases, like 2ms delay between Serial.print
serial monitor might have leftover output from prior session when device reopened

Known issues:

verbose info is (sometimes) getting copied into the serial monitor
Teensy Loader does not use Ports menu yet - assumes just-rebooted board is one to upload
auto-restart of sketch on Teensy 2.0 not working
Teensy model (2.0, LC, 3.2, etc) only show in Ports after uploading
teensy_ports doesn't track board (by serial number) as it moves to another physical port
arduino prefs not always getting updated during install
Teensy Loader Verbose Info menu Log > Clear is disabled on Mac, why?
arduino's compiling progress bar is pretty much worthless (arduino issue 7138)
installer re-writes zip file too much, triggering windows defender
shortening of devpath for ports menu needs 2 more chars for Macintosh serial names

Theremingenieur
02-27-2018, 01:05 PM
32bit Warning in macOS persists... :(

13088

KurtE
02-27-2018, 03:10 PM
I have windows 10 64 bit 1.85... Tried with a T3.6 and a T3.2 plugged in.

Tried to reprogram the T3.2 on COM21 (3.6 on COM5)... It did not program:

D:\arduino-1.8.5\arduino-builder -dump-prefs -logger=machine -hardware D:\arduino-1.8.5\hardware -hardware C:\Users\kurte\AppData\Local\Arduino15\packages -hardware C:\Users\kurte\Documents\Arduino\hardware -tools D:\arduino-1.8.5\tools-builder -tools D:\arduino-1.8.5\hardware\tools\avr -tools C:\Users\kurte\AppData\Local\Arduino15\packages -built-in-libraries D:\arduino-1.8.5\libraries -libraries C:\Users\kurte\Documents\Arduino\libraries -fqbn=teensy:avr:teensy31:usb=serial,speed=96,opt=o 2std,keys=en-us -ide-version=10805 -build-path C:\Users\kurte\AppData\Local\Temp\arduino_build_21 548 -warnings=all -build-cache C:\Users\kurte\AppData\Local\Temp\arduino_cache_82 9173 -verbose C:\Users\kurte\Documents\Arduino\Github\Open_CM904 \AX12_Test_OpenCM\AX12_Test_OpenCM.ino
D:\arduino-1.8.5\arduino-builder -compile -logger=machine -hardware D:\arduino-1.8.5\hardware -hardware C:\Users\kurte\AppData\Local\Arduino15\packages -hardware C:\Users\kurte\Documents\Arduino\hardware -tools D:\arduino-1.8.5\tools-builder -tools D:\arduino-1.8.5\hardware\tools\avr -tools C:\Users\kurte\AppData\Local\Arduino15\packages -built-in-libraries D:\arduino-1.8.5\libraries -libraries C:\Users\kurte\Documents\Arduino\libraries -fqbn=teensy:avr:teensy31:usb=serial,speed=96,opt=o 2std,keys=en-us -ide-version=10805 -build-path C:\Users\kurte\AppData\Local\Temp\arduino_build_21 548 -warnings=all -build-cache C:\Users\kurte\AppData\Local\Temp\arduino_cache_82 9173 -verbose C:\Users\kurte\Documents\Arduino\Github\Open_CM904 \AX12_Test_OpenCM\AX12_Test_OpenCM.ino
Using board 'teensy31' from platform in folder: D:\arduino-1.8.5\hardware\teensy\avr
Using core 'teensy3' from platform in folder: D:\arduino-1.8.5\hardware\teensy\avr
Detecting libraries used...
"D:\arduino-1.8.5\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -fno-exceptions -felide-constructors -std=gnu++14 -fno-rtti -mthumb -mcpu=cortex-m4 -fsingle-precision-constant -D__MK20DX256__ -DTEENSYDUINO=142 -DARDUINO=10805 -DF_CPU=96000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\arduino-1.8.5\hardware\teensy\avr\cores\teensy3" "C:\Users\kurte\AppData\Local\Temp\arduino_build_21 548\sketch\AX12_Test_OpenCM.ino.cpp" -o "nul"
"D:\arduino-1.8.5\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -fno-exceptions -felide-constructors -std=gnu++14 -fno-rtti -mthumb -mcpu=cortex-m4 -fsingle-precision-constant -D__MK20DX256__ -DTEENSYDUINO=142 -DARDUINO=10805 -DF_CPU=96000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\arduino-1.8.5\hardware\teensy\avr\cores\teensy3" "-IC:\Users\kurte\Documents\Arduino\libraries\Dynami xelSDK\src" "C:\Users\kurte\AppData\Local\Temp\arduino_build_21 548\sketch\AX12_Test_OpenCM.ino.cpp" -o "nul"
...

Linking everything together...
"D:\arduino-1.8.5\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc" -O2 -Wl,--gc-sections,--relax,--defsym=__rtc_localtime=1519718509 "-TD:\arduino-1.8.5\hardware\teensy\avr\cores\teensy3/mk20dx256.ld" -lstdc++ -mthumb -mcpu=cortex-m4 -fsingle-precision-constant -o "C:\Users\kurte\AppData\Local\Temp\arduino_build_21 548/AX12_Test_OpenCM.ino.elf" "C:\Users\kurte\AppData\Local\Temp\arduino_build_21 548\sketch\AX12_Test_OpenCM.ino.cpp.o" "C:\Users\kurte\AppData\Local\Temp\arduino_build_21 548\libraries\DynamixelSDK\dynamixel_sdk\group_bul k_read.cpp.o" "C:\Users\kurte\AppData\Local\Temp\arduino_build_21 548\libraries\DynamixelSDK\dynamixel_sdk\group_bul k_write.cpp.o" "C:\Users\kurte\AppData\Local\Temp\arduino_build_21 548\libraries\DynamixelSDK\dynamixel_sdk\group_syn c_read.cpp.o" "C:\Users\kurte\AppData\Local\Temp\arduino_build_21 548\libraries\DynamixelSDK\dynamixel_sdk\group_syn c_write.cpp.o" "C:\Users\kurte\AppData\Local\Temp\arduino_build_21 548\libraries\DynamixelSDK\dynamixel_sdk\packet_ha ndler.cpp.o" "C:\Users\kurte\AppData\Local\Temp\arduino_build_21 548\libraries\DynamixelSDK\dynamixel_sdk\port_hand ler.cpp.o" "C:\Users\kurte\AppData\Local\Temp\arduino_build_21 548\libraries\DynamixelSDK\dynamixel_sdk\port_hand ler_arduino.cpp.o" "C:\Users\kurte\AppData\Local\Temp\arduino_build_21 548\libraries\DynamixelSDK\dynamixel_sdk\protocol1 _packet_handler.cpp.o" "C:\Users\kurte\AppData\Local\Temp\arduino_build_21 548\libraries\DynamixelSDK\dynamixel_sdk\protocol2 _packet_handler.cpp.o" "C:\Users\kurte\AppData\Local\Temp\arduino_build_21 548/core\core.a" "-LC:\Users\kurte\AppData\Local\Temp\arduino_build_2 1548" -larm_cortexM4l_math -lm
"D:\arduino-1.8.5\hardware\teensy/../tools/arm/bin/arm-none-eabi-objcopy" -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 "C:\Users\kurte\AppData\Local\Temp\arduino_build_21 548/AX12_Test_OpenCM.ino.elf" "C:\Users\kurte\AppData\Local\Temp\arduino_build_21 548/AX12_Test_OpenCM.ino.eep"
"D:\arduino-1.8.5\hardware\teensy/../tools/arm/bin/arm-none-eabi-objcopy" -O ihex -R .eeprom "C:\Users\kurte\AppData\Local\Temp\arduino_build_21 548/AX12_Test_OpenCM.ino.elf" "C:\Users\kurte\AppData\Local\Temp\arduino_build_21 548/AX12_Test_OpenCM.ino.hex"
"D:\arduino-1.8.5\hardware\teensy/../tools/stdout_redirect" "C:\Users\kurte\AppData\Local\Temp\arduino_build_21 548/AX12_Test_OpenCM.ino.lst" "D:\arduino-1.8.5\hardware\teensy/../tools/arm/bin/arm-none-eabi-objdump" -d -S -C "C:\Users\kurte\AppData\Local\Temp\arduino_build_21 548/AX12_Test_OpenCM.ino.elf"
"D:\arduino-1.8.5\hardware\teensy/../tools/stdout_redirect" "C:\Users\kurte\AppData\Local\Temp\arduino_build_21 548/AX12_Test_OpenCM.ino.sym" "D:\arduino-1.8.5\hardware\teensy/../tools/arm/bin/arm-none-eabi-objdump" -t -C "C:\Users\kurte\AppData\Local\Temp\arduino_build_21 548/AX12_Test_OpenCM.ino.elf"
"D:\arduino-1.8.5\hardware\teensy/../tools/teensy_post_compile" "-file=AX12_Test_OpenCM.ino" "-path=C:\Users\kurte\AppData\Local\Temp\arduino_bui ld_21548" "-tools=D:\arduino-1.8.5\hardware\teensy/../tools/" "-board=TEENSY31"
Opening Teensy Loader...

Using library DynamixelSDK at version 3.5.4 in folder: C:\Users\kurte\Documents\Arduino\libraries\Dynamix elSDK
Sketch uses 55424 bytes (21%) of program storage space. Maximum is 262144 bytes.
Global variables use 8492 bytes (12%) of dynamic memory, leaving 57044 bytes for local variables. Maximum is 65536 bytes.
D:\arduino-1.8.5\hardware\teensy/../tools/teensy_post_compile -file=AX12_Test_OpenCM.ino -path=C:\Users\kurte\AppData\Local\Temp\arduino_bui ld_21548 -tools=D:\arduino-1.8.5\hardware\teensy/../tools -board=TEENSY31 -reboot -port=usb:0/140000/0/2/1 -portlabel=COM21 (Teensy) Serial -portprotocol=Teensy
Unable to open COM21 for reboot request
Windows Error Info: The system cannot find the file specified.
more ideas... https://forum.pjrc.com/threads/40632?p=126667&viewfull=1#post126667
Teensy did not respond to a USB-based request to enter program mode.
Please press the PROGRAM MODE BUTTON on your Teensy to upload your sketch.


I then tried it with just the 3.2 plugged in and it still had issues programming... Could press button and then it reprogrammed. Will try Linux 64 on UP board (X86)... May try RPI or Odroid for Linux ARM...

Update: Tried on UP board (Ubuntu 64bit) and first time I tried... It said something like failed, but still programed the board. I tried again and it worked. Turned on Verbose and so far has worked the next 5 times...

PaulStoffregen
02-27-2018, 05:52 PM
@Kurt - Any chance for the verbose info from those times it failed?

The verbose logging is collected even when the window isn't open. When you open the verbose info window, it should have the info from the moment everything first started running.


Edit: actually, to be more specific, the verbose info window is backed by a 50,000 line buffer. The actual lines of text are dynamically allocated by the wxWidgets code, but a maximum of 50000 are stored before the oldest lines are discarded. While the log appears to be text appended in chronological order, the stuff coming from sources other than Teensy Loader actually arrives with precise timestamps and gets inserted into the list in proper time sequence. If you watch closely, you'll see extra lines sometimes getting inserted into the older history, even from before Teensy Loader started running.

KurtE
02-27-2018, 08:26 PM
Just ran it again on W10 64


13:20:58.065 (ports): LoadLibrary cfgmgr32 ok
13:20:58.065 (ports): LoadLibrary ntdll ok
13:20:58.065 (ports): Begin
13:20:58.070 (ports): hWnd = 395272
13:20:58.071 (ports): not already running
13:20:58.072 (ports): bound to port 28542
13:20:58.072 (ports): socket created
13:20:58.074 (ports): found Ports in classguid_list at index=0
13:20:58.074 (ports): found_usb_device, loc=usb:0/140000/0/3 Port_#0003.Hub_#0001
13:20:58.074 (ports): found_usb_device, hwid=USB\VID_16C0&PID_0483&REV_0200
13:20:58.074 (ports): found_usb_device, devinst=00000004
13:20:58.074 (ports): add: loc=usb:0/140000/0/3, class=Ports, vid=16C0, pid=0483, ver=0200, serial=134, dev=\\?\usb#vid_16c0&pid_0483#1342360#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
13:20:58.074 (ports):
13:20:58.074 (ports): port COM21 found from devnode
13:20:58.074 (ports): found_usb_device, id=\\?\usb#vid_16c0&pid_0483#1342360#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
13:20:58.074 (ports): comport_from_devinst_list attempt
13:20:58.074 (ports): usb_add: usb:0/140000/0/3 COM21 (Teensy) Serial
13:20:58.074 (ports): found something COM port, devinst=00000004
13:21:02.863 (ports): incoming connection, port 49430
13:21:02.864 (ports): got command: "list"
13:21:02.864 (ports): found something COM port, devinst=00000004
13:21:02.864 (ports): update_usb_device, devinst list change
13:21:02.864 (ports): usb_add: usb:0/140000/0/3 COM21 (Teensy) Serial
13:21:09.927 (ports): got command: "list"
13:21:09.928 (ports): update_usb_device, devinst list change
13:21:09.928 (ports): found something COM port, devinst=00000004
13:21:09.928 (ports): usb_add: usb:0/140000/0/3 COM21 (Teensy) Serial
13:21:32.792 (post_compile): Begin
13:21:32.941 (loader): Teensy Loader 1.42-beta2, begin program
13:21:33.008 (loader): initialized, showing main window
13:21:33.008 (loader): Listening for remote control on port 3149
13:21:33.087 (loader): remote connection 1260 opened
13:21:33.088 (post_compile): Sending command: comment: Teensyduino 1.42-beta2 - WINDOWS (teensy_post_compile)
13:21:33.089 (loader): remote cmd from 1260: "comment: Teensyduino 1.42-beta2 - WINDOWS (teensy_post_compile)"
13:21:33.090 (loader): remote cmd from 1260: "status"
13:21:33.090 (post_compile): Sending status request
13:21:33.159 (loader): HID/win32: vid:045E pid:07A5 ver:0797
13:21:33.159 (loader): HID/win32: vid:045E pid:07A5 ver:0797
13:21:33.160 (loader): HID/win32: vid:045E pid:07A5 ver:0797
13:21:33.160 (loader): status data sent
13:21:33.160 (post_compile): Sending command: dir:C:\Users\kurte\AppData\Local\Temp\arduino_buil d_864110\
13:21:33.160 (post_compile): Receive status EOT
13:21:33.160 (loader): HID/win32: vid:045E pid:07A5 ver:0797
13:21:33.160 (post_compile): Receive status dir = C:\Users\kurte\AppData\Local\Temp\arduino_build_21 548\
13:21:33.160 (post_compile): Receive status file = AX12_Test_OpenCM.ino.hex
13:21:33.160 (post_compile): Receive status readable = 0
13:21:33.160 (post_compile): Receive status auto = 0
13:21:33.160 (post_compile): Receive status state = 0
13:21:33.160 (post_compile): Receive status offline_count = 0
13:21:33.160 (post_compile): Receive status online_count = 0
13:21:33.160 (post_compile): Receive status online = 0
13:21:33.161 (loader): remote cmd from 1260: "dir:C:\Users\kurte\AppData\Local\Temp\arduino_buil d_864110\"
13:21:33.161 (post_compile): Sending command: file:AX12_Test_OpenCM.ino.hex
13:21:33.161 (loader): remote cmd from 1260: "file:AX12_Test_OpenCM.ino.hex"
13:21:33.174 (loader): File "AX12_Test_OpenCM.ino.hex". 55436 bytes, 21% used
13:21:33.176 (post_compile): Sending status request
13:21:33.178 (loader): remote cmd from 1260: "status"
13:21:33.179 (post_compile): Receive status auto = 0
13:21:33.179 (loader): status data sent
13:21:33.179 (post_compile): Receive status readable = 1
13:21:33.179 (post_compile): Receive status EOT
13:21:33.179 (post_compile): Sending command: auto:on
13:21:33.179 (post_compile): Receive status dir = C:\Users\kurte\AppData\Local\Temp\arduino_build_86 4110\
13:21:33.179 (post_compile): Receive status online = 0
13:21:33.179 (post_compile): Receive status state = 0
13:21:33.179 (post_compile): Receive status offline_count = 0
13:21:33.179 (post_compile): Receive status online_count = 0
13:21:33.179 (post_compile): Receive status file = AX12_Test_OpenCM.ino.hex
13:21:33.180 (loader): remote cmd from 1260: "log:26"
13:21:33.180 (loader): remote cmd from 1260: "auto:on"
13:21:33.180 (post_compile): Disconnect
13:21:33.192 (loader): remote connection 1260 closed
13:21:33.459 (ports): got command: "list"
13:21:33.460 (loader): remote cmd from 1260: "log:28"
13:21:33.460 (loader): remote connection 1260 opened
13:21:33.463 (ports): usb_add: usb:0/140000/0/3 COM21 (Teensy) Serial
13:21:33.463 (ports): update_usb_device, devinst list change
13:21:33.463 (ports): found something COM port, devinst=00000004
13:21:33.465 (loader): remote cmd from 1260: "log:4"
13:21:33.465 (ports): got command: "list"
13:21:33.465 (ports): update_usb_device, devinst list change
13:21:33.466 (ports): usb_add: usb:0/140000/0/3 COM21 (Teensy) Serial
13:21:33.466 (ports): found something COM port, devinst=00000004
13:21:33.511 (post_compile): Begin
13:21:33.513 (loader): remote connection 1268 opened
13:21:33.513 (post_compile): Sending status request
13:21:33.513 (post_compile): Sending command: comment: Teensyduino 1.42-beta2 - WINDOWS (teensy_post_compile)
13:21:33.513 (loader): remote cmd from 1268: "comment: Teensyduino 1.42-beta2 - WINDOWS (teensy_post_compile)"
13:21:33.514 (post_compile): Receive status auto = 1
13:21:33.514 (post_compile): Receive status EOT
13:21:33.514 (post_compile): Receive status state = 0
13:21:33.514 (loader): status data sent
13:21:33.514 (loader): remote cmd from 1268: "status"
13:21:33.514 (post_compile): Receive status dir = C:\Users\kurte\AppData\Local\Temp\arduino_build_86 4110\
13:21:33.514 (post_compile): Receive status file = AX12_Test_OpenCM.ino.hex
13:21:33.514 (post_compile): Receive status readable = 1
13:21:33.514 (post_compile): Receive status offline_count = 0
13:21:33.514 (post_compile): Receive status online = 0
13:21:33.514 (post_compile): Receive status online_count = 0
13:21:33.514 (post_compile): Sending command: dir:C:\Users\kurte\AppData\Local\Temp\arduino_buil d_864110\
13:21:33.515 (loader): remote cmd from 1268: "file:AX12_Test_OpenCM.ino.hex"
13:21:33.515 (loader): remote cmd from 1268: "dir:C:\Users\kurte\AppData\Local\Temp\arduino_buil d_864110\"
13:21:33.515 (post_compile): Sending command: file:AX12_Test_OpenCM.ino.hex
13:21:33.523 (loader): File "AX12_Test_OpenCM.ino.hex". 55436 bytes, 21% used
13:21:33.524 (post_compile): Sending status request
13:21:33.527 (post_compile): Receive status dir = C:\Users\kurte\AppData\Local\Temp\arduino_build_86 4110\
13:21:33.527 (post_compile): Receive status file = AX12_Test_OpenCM.ino.hex
13:21:33.527 (post_compile): Receive status readable = 1
13:21:33.527 (post_compile): Receive status auto = 1
13:21:33.527 (post_compile): Receive status online = 0
13:21:33.527 (post_compile): Receive status online_count = 0
13:21:33.527 (loader): remote cmd from 1268: "status"
13:21:33.528 (post_compile): Receive status state = 0
13:21:33.528 (post_compile): Receive status EOT
13:21:33.528 (post_compile): Disconnect
13:21:33.528 (loader): status data sent
13:21:33.528 (post_compile): Receive status offline_count = 0
13:21:33.528 (loader): remote cmd from 1268: "log:25"
13:21:33.541 (post_compile): Running teensy_reboot: "D:\arduino-1.8.5\hardware\teensy\..\tools\teensy_reboot.exe" teensy_reboot.exe "-board=TEENSY31" "-port=COM21" "-portlabel=COM21 (Teensy)" "-portprotocol=serial"
13:21:33.542 (loader): remote connection 1268 opened
13:21:33.542 (loader): remote cmd from 1268: "log:1"
13:21:33.542 (loader): remote connection 1268 closed
13:21:33.556 (reboot): portprotocol = serial
13:21:33.556 (reboot): LoadLibrary ntdll ok
13:21:33.556 (reboot): Begin
13:21:33.556 (reboot): location = COM21
13:21:33.556 (reboot): LoadLibrary cfgmgr32 ok
13:21:33.556 (reboot): Serial device COM21 will be tried first
13:21:33.556 (reboot): portlabel = COM21 (Teensy)
13:21:33.557 (reboot): found_usb_device, devinst=00000004
13:21:33.557 (reboot): port COM21 found from devnode
13:21:33.557 (reboot): found Ports in classguid_list at index=0
13:21:33.557 (reboot): comport_from_devinst_list attempt
13:21:33.557 (reboot): add: loc=usb:0/140000/0/3, class=Ports, vid=16C0, pid=0483, ver=0200, serial=134, dev=\\?\usb#vid_16c0&pid_0483#1342360#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
13:21:33.557 (reboot): found_usb_device, hwid=USB\VID_16C0&PID_0483&REV_0200
13:21:33.557 (reboot): found_usb_device, loc=usb:0/140000/0/3 Port_#0003.Hub_#0001
13:21:33.557 (reboot): found_usb_device, id=\\?\usb#vid_16c0&pid_0483#1342360#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
13:21:33.557 (reboot):
13:21:33.558 (reboot): found something COM port, devinst=00000004
13:21:33.560 (reboot): Sending command: show:arduino_attempt_reboot
13:21:33.560 (loader): remote connection 1308 opened
13:21:33.560 (reboot): found Teensy Loader, version 1.42
13:21:33.561 (loader): remote cmd from 1308: "show:arduino_attempt_reboot"
13:21:33.561 (loader): got request to show arduino rebooting message
13:21:33.562 (reboot): Sending command: comment: Teensyduino 1.42-beta2 - WINDOWS (teensy_reboot)
13:21:33.563 (loader): remote cmd from 1308: "status"
13:21:33.563 (loader): remote cmd from 1308: "comment: Teensyduino 1.42-beta2 - WINDOWS (teensy_reboot)"
13:21:33.563 (reboot): Sending status request
13:21:33.564 (loader): status data sent
13:21:33.564 (reboot): Receive status file = AX12_Test_OpenCM.ino.hex
13:21:33.564 (reboot): Receive status dir = C:\Users\kurte\AppData\Local\Temp\arduino_build_86 4110\
13:21:33.564 (reboot): Receive status readable = 1
13:21:33.564 (reboot): Receive status auto = 1
13:21:33.564 (reboot): Receive status online = 0
13:21:33.564 (reboot): Receive status online_count = 0
13:21:33.564 (reboot): Receive status offline_count = 0
13:21:33.564 (reboot): Receive status state = 0
13:21:33.564 (reboot): Sending status request
13:21:33.564 (reboot): do_reset (serial) COM21
13:21:33.564 (reboot): Receive status EOT
13:21:33.565 (loader): remote cmd from 1308: "status"
13:21:33.565 (reboot): Receive status readable = 1
13:21:33.565 (reboot): Receive status file = AX12_Test_OpenCM.ino.hex
13:21:33.565 (reboot): Receive status dir = C:\Users\kurte\AppData\Local\Temp\arduino_build_86 4110\
13:21:33.565 (reboot): Receive status auto = 1
13:21:33.566 (reboot): status read, retry 0
13:21:33.566 (reboot): status read, retry 0
13:21:33.566 (reboot): Receive status EOT
13:21:33.566 (reboot): Receive status state = 0
13:21:33.566 (loader): status data sent
13:21:33.566 (reboot): Receive status offline_count = 0
13:21:33.566 (reboot): Receive status online_count = 0
13:21:33.566 (reboot): Receive status online = 0
13:21:33.667 (reboot): Sending status request
13:21:33.667 (loader): remote cmd from 1308: "status"
13:21:33.668 (reboot): Receive status dir = C:\Users\kurte\AppData\Local\Temp\arduino_build_86 4110\
13:21:33.668 (reboot): Receive status file = AX12_Test_OpenCM.ino.hex
13:21:33.668 (reboot): Receive status readable = 1
13:21:33.668 (reboot): Receive status auto = 1
13:21:33.668 (reboot): Receive status online_count = 0
13:21:33.668 (reboot): Receive status online = 0
13:21:33.668 (loader): status data sent
13:21:33.668 (reboot): Receive status state = 0
13:21:33.668 (reboot): Receive status EOT
13:21:33.668 (reboot): status read, retry 1
13:21:33.668 (reboot): status read, retry 1
13:21:33.668 (reboot): Receive status offline_count = 0
13:21:33.770 (reboot): Sending status request
13:21:33.770 (loader): remote cmd from 1308: "status"
13:21:33.771 (reboot): Receive status file = AX12_Test_OpenCM.ino.hex
13:21:33.771 (reboot): Receive status readable = 1
13:21:33.771 (reboot): Receive status auto = 1
13:21:33.771 (reboot): Receive status dir = C:\Users\kurte\AppData\Local\Temp\arduino_build_86 4110\
13:21:33.772 (reboot): Receive status online = 0
13:21:33.772 (reboot): Receive status online_count = 0
13:21:33.772 (reboot): Receive status offline_count = 0
13:21:33.772 (reboot): Receive status state = 0
13:21:33.772 (reboot): Receive status EOT
13:21:33.772 (loader): status data sent
13:21:33.772 (reboot): status read, retry 2
13:21:33.772 (reboot): status read, retry 2
13:21:33.873 (loader): remote cmd from 1308: "status"
13:21:33.873 (reboot): Sending status request
13:21:33.874 (reboot): Receive status file = AX12_Test_OpenCM.ino.hex
13:21:33.874 (loader): status data sent
13:21:33.874 (reboot): Receive status dir = C:\Users\kurte\AppData\Local\Temp\arduino_build_86 4110\
13:21:33.874 (reboot): Receive status online = 0
13:21:33.874 (reboot): Receive status auto = 1
13:21:33.874 (reboot): Receive status readable = 1
13:21:33.874 (reboot): Receive status online_count = 0
13:21:33.874 (reboot): Receive status offline_count = 0
13:21:33.874 (reboot): Receive status state = 0
13:21:33.874 (reboot): status read, retry 3
13:21:33.874 (reboot): status read, retry 3
13:21:33.874 (reboot): Receive status EOT
13:21:33.974 (loader): remote cmd from 1308: "status"
13:21:33.974 (reboot): Sending status request
13:21:33.977 (reboot): Receive status file = AX12_Test_OpenCM.ino.hex
13:21:33.977 (reboot): Receive status dir = C:\Users\kurte\AppData\Local\Temp\arduino_build_86 4110\
13:21:33.977 (reboot): Receive status auto = 1
13:21:33.977 (reboot): Receive status readable = 1
13:21:33.977 (reboot): Receive status online_count = 0
13:21:33.977 (reboot): Receive status online = 0
13:21:33.978 (reboot): Receive status offline_count = 0
13:21:33.978 (reboot): status read, retry 4
13:21:33.978 (reboot): status read, retry 4
13:21:33.978 (loader): status data sent
13:21:33.978 (reboot): Receive status EOT
13:21:33.978 (reboot): Receive status state = 0
13:21:34.079 (loader): remote cmd from 1308: "status"
13:21:34.079 (reboot): Sending status request
13:21:34.082 (reboot): Receive status readable = 1
13:21:34.082 (reboot): Receive status file = AX12_Test_OpenCM.ino.hex
13:21:34.082 (reboot): Receive status auto = 1
13:21:34.082 (reboot): Receive status online = 0
13:21:34.082 (reboot): Receive status online_count = 0
13:21:34.082 (reboot): Receive status dir = C:\Users\kurte\AppData\Local\Temp\arduino_build_86 4110\
13:21:34.083 (loader): status data sent
13:21:34.083 (reboot): status read, retry 5
13:21:34.083 (reboot): status read, retry 5
13:21:34.083 (reboot): Receive status EOT
13:21:34.083 (reboot): Receive status state = 0
13:21:34.083 (reboot): Receive status offline_count = 0
13:21:34.185 (reboot): Sending status request
13:21:34.185 (reboot): Receive status readable = 1
13:21:34.185 (loader): remote cmd from 1308: "status"
13:21:34.185 (reboot): Receive status auto = 1
13:21:34.185 (reboot): Receive status online = 0
13:21:34.185 (reboot): Receive status dir = C:\Users\kurte\AppData\Local\Temp\arduino_build_86 4110\
13:21:34.185 (reboot): Receive status file = AX12_Test_OpenCM.ino.hex
13:21:34.186 (loader): status data sent
13:21:34.186 (reboot): status read, retry 6
13:21:34.186 (reboot): status read, retry 6
13:21:34.186 (reboot): Receive status EOT
13:21:34.186 (reboot): Receive status online_count = 0
13:21:34.186 (reboot): Receive status offline_count = 0
13:21:34.186 (reboot): Receive status state = 0
13:21:34.287 (loader): remote cmd from 1308: "status"
13:21:34.287 (reboot): Sending status request
13:21:34.289 (reboot): Receive status EOT
13:21:34.289 (reboot): status read, retry 7
13:21:34.289 (reboot): Receive status dir = C:\Users\kurte\AppData\Local\Temp\arduino_build_86 4110\
13:21:34.289 (reboot): Receive status file = AX12_Test_OpenCM.ino.hex
13:21:34.289 (reboot): Receive status readable = 1
13:21:34.289 (reboot): Receive status auto = 1
13:21:34.289 (reboot): Receive status online = 0
13:21:34.289 (reboot): Receive status online_count = 0
13:21:34.289 (reboot): Receive status offline_count = 0
13:21:34.289 (reboot): Receive status state = 0
13:21:34.289 (reboot): status read, retry 7
13:21:34.290 (loader): status data sent
13:21:34.390 (loader): remote cmd from 1308: "status"
13:21:34.390 (reboot): Sending status request
13:21:34.393 (reboot): Receive status dir = C:\Users\kurte\AppData\Local\Temp\arduino_build_86 4110\
13:21:34.393 (reboot): Receive status file = AX12_Test_OpenCM.ino.hex
13:21:34.393 (reboot): Receive status readable = 1
13:21:34.393 (reboot): Receive status auto = 1
13:21:34.393 (reboot): Receive status online = 0
13:21:34.393 (reboot): status read, retry 8
13:21:34.393 (reboot): Receive status offline_count = 0
13:21:34.393 (reboot): Receive status state = 0
13:21:34.393 (reboot): Receive status EOT
13:21:34.393 (reboot): status read, retry 8
13:21:34.393 (reboot): Receive status online_count = 0
13:21:34.393 (loader): status data sent
13:21:34.495 (loader): remote cmd from 1308: "status"
13:21:34.495 (reboot): Sending status request
13:21:34.496 (reboot): Receive status dir = C:\Users\kurte\AppData\Local\Temp\arduino_build_86 4110\
13:21:34.496 (loader): status data sent
13:21:34.496 (reboot): Receive status file = AX12_Test_OpenCM.ino.hex
13:21:34.496 (reboot): Receive status online = 0
13:21:34.496 (reboot): Receive status auto = 1
13:21:34.496 (reboot): Receive status online_count = 0
13:21:34.496 (reboot): Receive status offline_count = 0
13:21:34.496 (reboot): Receive status state = 0
13:21:34.496 (reboot): Receive status EOT
13:21:34.496 (reboot): status read, retry 9
13:21:34.496 (reboot): status read, retry 9
13:21:34.496 (reboot): Receive status readable = 1
13:21:34.596 (reboot): Sending status request
13:21:34.596 (loader): remote cmd from 1308: "status"
13:21:34.597 (reboot): Receive status file = AX12_Test_OpenCM.ino.hex
13:21:34.597 (reboot): Receive status readable = 1
13:21:34.597 (reboot): Receive status auto = 1
13:21:34.597 (reboot): Receive status online = 0
13:21:34.597 (reboot): Receive status online_count = 0
13:21:34.597 (reboot): Receive status offline_count = 0
13:21:34.597 (reboot): Receive status state = 0
13:21:34.597 (reboot): Receive status EOT
13:21:34.597 (reboot): status read, retry 10
13:21:34.597 (reboot): status read, retry 10
13:21:34.597 (reboot): Receive status dir = C:\Users\kurte\AppData\Local\Temp\arduino_build_86 4110\
13:21:34.597 (loader): status data sent
13:21:34.698 (reboot): Sending status request
13:21:34.700 (loader): remote cmd from 1308: "status"
13:21:34.701 (reboot): Receive status auto = 1
13:21:34.701 (reboot): Receive status online = 0
13:21:34.701 (reboot): Receive status online_count = 0
13:21:34.701 (reboot): Receive status readable = 1
13:21:34.701 (reboot): Receive status state = 0
13:21:34.701 (reboot): Receive status EOT
13:21:34.701 (reboot): status read, retry 11
13:21:34.701 (reboot): status read, retry 11
13:21:34.701 (loader): status data sent
13:21:34.701 (reboot): Receive status offline_count = 0
13:21:34.701 (reboot): Receive status dir = C:\Users\kurte\AppData\Local\Temp\arduino_build_86 4110\
13:21:34.701 (reboot): Receive status file = AX12_Test_OpenCM.ino.hex
13:21:34.801 (reboot): Sending status request
13:21:34.801 (reboot): Receive status online_count = 0
13:21:34.801 (reboot): Receive status offline_count = 0
13:21:34.801 (reboot): Receive status state = 0
13:21:34.801 (reboot): Receive status online = 0
13:21:34.801 (reboot): Receive status auto = 1
13:21:34.801 (loader): remote cmd from 1308: "status"
13:21:34.801 (reboot): Receive status dir = C:\Users\kurte\AppData\Local\Temp\arduino_build_86 4110\
13:21:34.801 (reboot): Receive status readable = 1
13:21:34.801 (reboot): Receive status file = AX12_Test_OpenCM.ino.hex
13:21:34.802 (reboot): status read, retry 12
13:21:34.802 (reboot): status read, retry 12
13:21:34.802 (reboot): Receive status EOT
13:21:34.802 (loader): status data sent
13:21:34.903 (reboot): Sending status request
13:21:34.903 (loader): remote cmd from 1308: "status"
13:21:34.906 (reboot): Receive status file = AX12_Test_OpenCM.ino.hex
13:21:34.906 (reboot): Receive status state = 0
13:21:34.906 (reboot): Receive status auto = 1
13:21:34.906 (reboot): Receive status online = 0
13:21:34.906 (reboot): Receive status online_count = 0
13:21:34.906 (reboot): Receive status readable = 1
13:21:34.906 (reboot): Receive status dir = C:\Users\kurte\AppData\Local\Temp\arduino_build_86 4110\
13:21:34.906 (reboot): Receive status offline_count = 0
13:21:34.907 (loader): status data sent
13:21:34.907 (reboot): status read, retry 13
13:21:34.907 (reboot): status read, retry 13
13:21:34.907 (reboot): Receive status EOT
13:21:35.008 (loader): remote cmd from 1308: "status"
13:21:35.008 (reboot): Sending status request
13:21:35.011 (reboot): Receive status online_count = 0
13:21:35.011 (reboot): Receive status offline_count = 0
13:21:35.011 (reboot): Receive status state = 0
13:21:35.011 (reboot): Receive status online = 0
13:21:35.011 (reboot): Receive status readable = 1
13:21:35.011 (reboot): Receive status file = AX12_Test_OpenCM.ino.hex
13:21:35.011 (reboot): Receive status dir = C:\Users\kurte\AppData\Local\Temp\arduino_build_86 4110\
13:21:35.011 (reboot): Receive status auto = 1
13:21:35.012 (reboot): status read, retry 14
13:21:35.012 (reboot): status read, retry 14
13:21:35.012 (reboot): Receive status EOT
13:21:35.012 (loader): status data sent
13:21:35.112 (loader): remote cmd from 1308: "status"
13:21:35.112 (reboot): Sending status request
13:21:35.115 (reboot): status read, retry 15
13:21:35.115 (loader): status data sent
13:21:35.115 (reboot): Receive status auto = 1
13:21:35.115 (reboot): Receive status dir = C:\Users\kurte\AppData\Local\Temp\arduino_build_86 4110\
13:21:35.115 (reboot): Receive status file = AX12_Test_OpenCM.ino.hex
13:21:35.115 (reboot): Receive status readable = 1
13:21:35.115 (reboot): Receive status EOT
13:21:35.115 (reboot): Receive status online = 0
13:21:35.115 (reboot): Receive status online_count = 0
13:21:35.115 (reboot): Receive status offline_count = 0
13:21:35.115 (reboot): Receive status state = 0
13:21:35.115 (reboot): status read, retry 15
13:21:35.216 (loader): remote cmd from 1308: "status"
13:21:35.216 (reboot): Sending status request
13:21:35.217 (loader): status data sent
13:21:35.217 (reboot): Receive status dir = C:\Users\kurte\AppData\Local\Temp\arduino_build_86 4110\
13:21:35.217 (reboot): Receive status file = AX12_Test_OpenCM.ino.hex
13:21:35.217 (reboot): Receive status readable = 1
13:21:35.217 (reboot): Receive status auto = 1
13:21:35.217 (reboot): Receive status online = 0
13:21:35.217 (reboot): Receive status online_count = 0
13:21:35.217 (reboot): Receive status offline_count = 0
13:21:35.217 (reboot): Receive status state = 0
13:21:35.217 (reboot): Receive status EOT
13:21:35.217 (reboot): status read, retry 16
13:21:35.217 (reboot): status read, retry 16
13:21:35.318 (reboot): Sending status request
13:21:35.318 (loader): remote cmd from 1308: "status"
13:21:35.318 (reboot): Receive status file = AX12_Test_OpenCM.ino.hex
13:21:35.318 (reboot): Receive status readable = 1
13:21:35.318 (reboot): Receive status auto = 1
13:21:35.318 (reboot): Receive status online = 0
13:21:35.318 (reboot): Receive status online_count = 0
13:21:35.318 (reboot): Receive status offline_count = 0
13:21:35.318 (reboot): Receive status dir = C:\Users\kurte\AppData\Local\Temp\arduino_build_86 4110\
13:21:35.318 (reboot): Receive status EOT
13:21:35.318 (reboot): status read, retry 17
13:21:35.318 (reboot): status read, retry 17
13:21:35.318 (loader): status data sent
13:21:35.318 (reboot): Receive status state = 0
13:21:35.419 (reboot): Sending status request
13:21:35.419 (loader): remote cmd from 1308: "status"
13:21:35.420 (reboot): Receive status auto = 1
13:21:35.420 (reboot): Receive status online = 0
13:21:35.420 (reboot): Receive status online_count = 0
13:21:35.420 (reboot): Receive status offline_count = 0
13:21:35.420 (reboot): Receive status state = 0
13:21:35.420 (reboot): Receive status EOT
13:21:35.420 (reboot): status read, retry 18
13:21:35.420 (reboot): status read, retry 18
13:21:35.420 (reboot): Receive status readable = 1
13:21:35.420 (reboot): Receive status file = AX12_Test_OpenCM.ino.hex
13:21:35.420 (reboot): Receive status dir = C:\Users\kurte\AppData\Local\Temp\arduino_build_86 4110\
13:21:35.420 (loader): status data sent
13:21:35.521 (loader): remote cmd from 1308: "status"
13:21:35.521 (reboot): Sending status request
13:21:35.522 (reboot): status read, retry 19
13:21:35.522 (reboot): status read, retry 19
13:21:35.522 (loader): status data sent
13:21:35.522 (reboot): Receive status file = AX12_Test_OpenCM.ino.hex
13:21:35.522 (reboot): Receive status dir = C:\Users\kurte\AppData\Local\Temp\arduino_build_86 4110\
13:21:35.522 (reboot): Receive status readable = 1
13:21:35.522 (reboot): Receive status auto = 1
13:21:35.522 (reboot): Receive status online = 0
13:21:35.522 (reboot): Receive status online_count = 0
13:21:35.522 (reboot): Receive status offline_count = 0
13:21:35.522 (reboot): Receive status state = 0
13:21:35.522 (reboot): Receive status EOT
13:21:35.622 (reboot): Sending status request
13:21:35.622 (loader): remote cmd from 1308: "status"
13:21:35.623 (loader): status data sent
13:21:35.623 (reboot): Receive status dir = C:\Users\kurte\AppData\Local\Temp\arduino_build_86 4110\
13:21:35.623 (reboot): Receive status file = AX12_Test_OpenCM.ino.hex
13:21:35.623 (reboot): Receive status readable = 1
13:21:35.623 (reboot): status read, retry 20
13:21:35.623 (reboot): status read, retry 20
13:21:35.623 (reboot): Receive status EOT
13:21:35.623 (reboot): Receive status state = 0
13:21:35.623 (reboot): Receive status offline_count = 0
13:21:35.623 (reboot): Receive status online_count = 0
13:21:35.623 (reboot): Receive status auto = 1
13:21:35.623 (reboot): Receive status online = 0
13:21:35.724 (reboot): Sending status request
13:21:35.724 (loader): remote cmd from 1308: "status"
13:21:35.727 (reboot): Receive status file = AX12_Test_OpenCM.ino.hex
13:21:35.727 (reboot): Receive status readable = 1
13:21:35.727 (reboot): Receive status auto = 1
13:21:35.727 (reboot): Receive status online = 0
13:21:35.727 (reboot): Receive status dir = C:\Users\kurte\AppData\Local\Temp\arduino_build_86 4110\
13:21:35.727 (reboot): Receive status offline_count = 0
13:21:35.727 (reboot): Receive status state = 0
13:21:35.727 (reboot): Receive status EOT
13:21:35.727 (reboot): status read, retry 21
13:21:35.727 (reboot): status read, retry 21
13:21:35.727 (loader): status data sent
13:21:35.727 (reboot): Receive status online_count = 0
13:21:35.828 (loader): remote cmd from 1308: "status"
13:21:35.828 (reboot): Sending status request
13:21:35.829 (reboot): Receive status readable = 1
13:21:35.829 (loader): status data sent
13:21:35.829 (reboot): Receive status dir = C:\Users\kurte\AppData\Local\Temp\arduino_build_86 4110\
13:21:35.829 (reboot): Receive status file = AX12_Test_OpenCM.ino.hex
13:21:35.829 (reboot): status read, retry 22
13:21:35.829 (reboot): status read, retry 22
13:21:35.829 (reboot): Receive status EOT
13:21:35.829 (reboot): Receive status state = 0
13:21:35.829 (reboot): Receive status offline_count = 0
13:21:35.829 (reboot): Receive status online_count = 0
13:21:35.829 (reboot): Receive status online = 0
13:21:35.829 (reboot): Receive status auto = 1
13:21:35.930 (loader): remote cmd from 1308: "status"
13:21:35.930 (reboot): Sending status request
13:21:35.933 (reboot): Receive status file = AX12_Test_OpenCM.ino.hex
13:21:35.933 (reboot): Receive status dir = C:\Users\kurte\AppData\Local\Temp\arduino_build_86 4110\
13:21:35.933 (loader): status data sent
13:21:35.933 (reboot): Receive status auto = 1
13:21:35.933 (reboot): Receive status online = 0
13:21:35.933 (reboot): Receive status online_count = 0
13:21:35.933 (reboot): Receive status offline_count = 0
13:21:35.933 (reboot): Receive status state = 0
13:21:35.933 (reboot): Receive status EOT
13:21:35.933 (reboot): status read, retry 23
13:21:35.933 (reboot): status read, retry 23
13:21:35.933 (reboot): Receive status readable = 1
13:21:36.034 (reboot): Sending status request
13:21:36.034 (loader): remote cmd from 1308: "status"
13:21:36.037 (reboot): Receive status online = 0
13:21:36.037 (reboot): Receive status auto = 1
13:21:36.037 (reboot): Receive status readable = 1
13:21:36.037 (reboot): Receive status online_count = 0
13:21:36.037 (reboot): Receive status dir = C:\Users\kurte\AppData\Local\Temp\arduino_build_86 4110\
13:21:36.037 (reboot): Receive status offline_count = 0
13:21:36.037 (reboot): Receive status EOT
13:21:36.037 (reboot): status read, retry 24
13:21:36.037 (reboot): Receive status file = AX12_Test_OpenCM.ino.hex
13:21:36.037 (loader): status data sent
13:21:36.037 (reboot): status read, retry 24
13:21:36.037 (reboot): Receive status state = 0
13:21:36.138 (reboot): Sending status request
13:21:36.138 (loader): remote cmd from 1308: "status"
13:21:36.139 (reboot): Receive status auto = 1
13:21:36.139 (reboot): status read, retry 25
13:21:36.139 (reboot): status read, retry 25
13:21:36.139 (reboot): Receive status readable = 1
13:21:36.139 (reboot): Receive status file = AX12_Test_OpenCM.ino.hex
13:21:36.139 (reboot): Receive status dir = C:\Users\kurte\AppData\Local\Temp\arduino_build_86 4110\
13:21:36.139 (reboot): Receive status EOT
13:21:36.139 (reboot): Receive status state = 0
13:21:36.139 (reboot): Receive status online = 0
13:21:36.139 (reboot): Receive status online_count = 0
13:21:36.139 (reboot): Receive status offline_count = 0
13:21:36.139 (loader): status data sent
13:21:36.241 (loader): remote cmd from 1308: "status"
13:21:36.241 (reboot): Sending status request
13:21:36.242 (loader): status data sent
13:21:36.242 (reboot): Receive status EOT
13:21:36.242 (reboot): status read, retry 26
13:21:36.242 (reboot): Receive status dir = C:\Users\kurte\AppData\Local\Temp\arduino_build_86 4110\
13:21:36.242 (reboot): Receive status file = AX12_Test_OpenCM.ino.hex
13:21:36.242 (reboot): Receive status readable = 1
13:21:36.242 (reboot): Receive status auto = 1
13:21:36.242 (reboot): Receive status online = 0
13:21:36.242 (reboot): Receive status online_count = 0
13:21:36.242 (reboot): Receive status offline_count = 0
13:21:36.242 (reboot): Receive status state = 0
13:21:36.242 (reboot): status read, retry 26
13:21:36.343 (reboot): Sending status request
13:21:36.343 (loader): remote cmd from 1308: "status"
13:21:36.344 (reboot): status read, retry 27
13:21:36.344 (reboot): Receive status EOT
13:21:36.344 (reboot): Receive status state = 0
13:21:36.344 (reboot): status read, retry 27
13:21:36.344 (loader): status data sent
13:21:36.344 (reboot): Receive status dir = C:\Users\kurte\AppData\Local\Temp\arduino_build_86 4110\
13:21:36.344 (reboot): Receive status file = AX12_Test_OpenCM.ino.hex
13:21:36.344 (reboot): Receive status readable = 1
13:21:36.344 (reboot): Receive status auto = 1
13:21:36.344 (reboot): Receive status online = 0
13:21:36.344 (reboot): Receive status online_count = 0
13:21:36.344 (reboot): Receive status offline_count = 0
13:21:36.445 (loader): remote cmd from 1308: "status"
13:21:36.445 (reboot): Sending status request
13:21:36.446 (loader): status data sent
13:21:36.446 (reboot): Receive status EOT
13:21:36.446 (reboot): status read, retry 28
13:21:36.446 (reboot): Receive status dir = C:\Users\kurte\AppData\Local\Temp\arduino_build_86 4110\
13:21:36.446 (reboot): Receive status file = AX12_Test_OpenCM.ino.hex
13:21:36.446 (reboot): Receive status readable = 1
13:21:36.446 (reboot): Receive status auto = 1
13:21:36.446 (reboot): Receive status online = 0
13:21:36.446 (reboot): Receive status online_count = 0
13:21:36.446 (reboot): Receive status offline_count = 0
13:21:36.446 (reboot): status read, retry 28
13:21:36.446 (reboot): Receive status state = 0
13:21:36.547 (reboot): Sending status request
13:21:36.547 (loader): remote cmd from 1308: "status"
13:21:36.548 (reboot): Receive status offline_count = 0
13:21:36.548 (reboot): Receive status online_count = 0
13:21:36.548 (reboot): Receive status online = 0
13:21:36.548 (reboot): Receive status auto = 1
13:21:36.548 (reboot): Receive status state = 0
13:21:36.548 (reboot): Receive status file = AX12_Test_OpenCM.ino.hex
13:21:36.548 (reboot): Receive status dir = C:\Users\kurte\AppData\Local\Temp\arduino_build_86 4110\
13:21:36.548 (reboot): Receive status EOT
13:21:36.548 (reboot): status read, retry 29
13:21:36.548 (loader): status data sent
13:21:36.548 (reboot): Receive status readable = 1
13:21:36.548 (reboot): status read, retry 29
13:21:36.649 (reboot): Sending status request
13:21:36.650 (loader): status data sent
13:21:36.650 (reboot): Receive status readable = 1
13:21:36.650 (reboot): status read, retry 30
13:21:36.650 (reboot): status read, retry 30
13:21:36.650 (reboot): Receive status EOT
13:21:36.650 (reboot): Receive status state = 0
13:21:36.650 (reboot): Receive status offline_count = 0
13:21:36.650 (reboot): Receive status online_count = 0
13:21:36.650 (reboot): Receive status online = 0
13:21:36.650 (reboot): Receive status auto = 1
13:21:36.650 (reboot): Receive status file = AX12_Test_OpenCM.ino.hex
13:21:36.650 (reboot): Receive status dir = C:\Users\kurte\AppData\Local\Temp\arduino_build_86 4110\
13:21:36.650 (loader): remote cmd from 1308: "status"
13:21:36.752 (reboot): Sending status request
13:21:36.752 (loader): remote cmd from 1308: "status"
13:21:36.755 (loader): status data sent
13:21:36.755 (reboot): Receive status dir = C:\Users\kurte\AppData\Local\Temp\arduino_build_86 4110\
13:21:36.755 (reboot): Receive status file = AX12_Test_OpenCM.ino.hex
13:21:36.755 (reboot): Receive status readable = 1
13:21:36.755 (reboot): Receive status auto = 1
13:21:36.755 (reboot): Receive status online = 0
13:21:36.755 (reboot): Receive status online_count = 0
13:21:36.755 (reboot): Receive status offline_count = 0
13:21:36.755 (reboot): Receive status state = 0
13:21:36.755 (reboot): Receive status EOT
13:21:36.755 (reboot): status read, retry 31
13:21:36.755 (reboot): status read, retry 31
13:21:36.856 (reboot): Sending status request
13:21:36.857 (reboot): Receive status dir = C:\Users\kurte\AppData\Local\Temp\arduino_build_86 4110\
13:21:36.857 (reboot): Receive status file = AX12_Test_OpenCM.ino.hex
13:21:36.857 (loader): remote cmd from 1308: "status"
13:21:36.858 (reboot): Receive status readable = 1
13:21:36.858 (reboot): Receive status auto = 1
13:21:36.858 (reboot): Receive status state = 0
13:21:36.858 (reboot): Receive status online_count = 0
13:21:36.858 (reboot): Receive status offline_count = 0
13:21:36.858 (reboot): Receive status EOT
13:21:36.858 (reboot): status read, retry 32
13:21:36.858 (reboot): status read, retry 32
13:21:36.858 (reboot): Receive status online = 0
13:21:36.858 (loader): status data sent
13:21:36.958 (loader): remote cmd from 1308: "status"
13:21:36.958 (reboot): Sending status request
13:21:36.961 (reboot): Receive status online_count = 0
13:21:36.961 (reboot): Receive status state = 0
13:21:36.961 (reboot): Receive status readable = 1
13:21:36.961 (reboot): Receive status file = AX12_Test_OpenCM.ino.hex
13:21:36.961 (reboot): Receive status online = 0
13:21:36.961 (reboot): Receive status auto = 1
13:21:36.961 (reboot): Receive status offline_count = 0
13:21:36.961 (reboot): Receive status dir = C:\Users\kurte\AppData\Local\Temp\arduino_build_86 4110\
13:21:36.962 (reboot): Receive status EOT
13:21:36.962 (reboot): status read, retry 33
13:21:36.962 (loader): status data sent
13:21:36.962 (reboot): status read, retry 33
13:21:37.062 (loader): remote cmd from 1308: "status"
13:21:37.062 (reboot): Sending status request
13:21:37.063 (reboot): Receive status online_count = 0
13:21:37.063 (reboot): Receive status offline_count = 0
13:21:37.063 (reboot): Receive status state = 0
13:21:37.063 (reboot): Receive status auto = 1
13:21:37.063 (reboot): Receive status readable = 1
13:21:37.063 (reboot): Receive status file = AX12_Test_OpenCM.ino.hex
13:21:37.063 (reboot): Receive status dir = C:\Users\kurte\AppData\Local\Temp\arduino_build_86 4110\
13:21:37.063 (loader): status data sent
13:21:37.063 (reboot): status read, retry 34
13:21:37.063 (reboot): Receive status online = 0
13:21:37.063 (reboot): status read, retry 34
13:21:37.063 (reboot): Receive status EOT
13:21:37.164 (reboot): Receive status offline_count = 0
13:21:37.164 (reboot): Receive status dir = C:\Users\kurte\AppData\Local\Temp\arduino_build_86 4110\
13:21:37.164 (reboot): Receive status online_count = 0
13:21:37.164 (reboot): Receive status online = 0
13:21:37.164 (reboot): Receive status auto = 1
13:21:37.164 (reboot): Receive status readable = 1
13:21:37.164 (reboot): Sending status request
13:21:37.164 (reboot): Receive status file = AX12_Test_OpenCM.ino.hex
13:21:37.164 (loader): remote cmd from 1308: "status"
13:21:37.165 (reboot): Receive status state = 0
13:21:37.165 (reboot): status read, retry 35
13:21:37.165 (loader): status data sent
13:21:37.165 (reboot): status read, retry 35
13:21:37.165 (reboot): Receive status EOT
13:21:37.265 (reboot): Sending status request
13:21:37.266 (reboot): Receive status online = 0
13:21:37.266 (reboot): Receive status state = 0
13:21:37.266 (reboot): Receive status readable = 1
13:21:37.266 (reboot): status read, retry 36
13:21:37.266 (reboot): Receive status dir = C:\Users\kurte\AppData\Local\Temp\arduino_build_86 4110\
13:21:37.266 (reboot): Receive status online_count = 0
13:21:37.266 (reboot): Receive status offline_count = 0
13:21:37.266 (reboot): Receive status EOT
13:21:37.266 (reboot): status read, retry 36
13:21:37.266 (reboot): Receive status auto = 1
13:21:37.266 (reboot): Receive status file = AX12_Test_OpenCM.ino.hex
13:21:37.266 (loader): status data sent
13:21:37.266 (loader): remote cmd from 1308: "status"
13:21:37.367 (reboot): Sending status request
13:21:37.367 (loader): remote cmd from 1308: "status"
13:21:37.368 (reboot): Receive status auto = 1
13:21:37.368 (reboot): Receive status online = 0
13:21:37.368 (reboot): Receive status online_count = 0
13:21:37.368 (reboot): Receive status offline_count = 0
13:21:37.368 (reboot): Receive status state = 0
13:21:37.368 (reboot): Receive status EOT
13:21:37.368 (reboot): status read, retry 37
13:21:37.368 (reboot): status read, retry 37
13:21:37.368 (reboot): Receive status file = AX12_Test_OpenCM.ino.hex
13:21:37.368 (reboot): Receive status dir = C:\Users\kurte\AppData\Local\Temp\arduino_build_86 4110\
13:21:37.368 (loader): status data sent
13:21:37.368 (reboot): Receive status readable = 1
13:21:37.469 (reboot): Sending status request
13:21:37.469 (loader): remote cmd from 1308: "status"
13:21:37.470 (reboot): Receive status state = 0
13:21:37.470 (reboot): Receive status EOT
13:21:37.470 (reboot): Receive status readable = 1
13:21:37.470 (reboot): status read, retry 38
13:21:37.470 (reboot): Receive status offline_count = 0
13:21:37.470 (loader): status data sent
13:21:37.470 (reboot): status read, retry 38
13:21:37.470 (reboot): Receive status online_count = 0
13:21:37.470 (reboot): Receive status file = AX12_Test_OpenCM.ino.hex
13:21:37.470 (reboot): Receive status dir = C:\Users\kurte\AppData\Local\Temp\arduino_build_86 4110\
13:21:37.470 (reboot): Receive status auto = 1
13:21:37.470 (reboot): Receive status online = 0
13:21:37.571 (loader): remote cmd from 1308: "status"
13:21:37.571 (reboot): Sending status request
13:21:37.574 (reboot): Receive status auto = 1
13:21:37.574 (reboot): Receive status readable = 1
13:21:37.574 (reboot): Receive status online = 0
13:21:37.574 (reboot): Receive status dir = C:\Users\kurte\AppData\Local\Temp\arduino_build_86 4110\
13:21:37.574 (reboot): Receive status online_count = 0
13:21:37.574 (reboot): Receive status file = AX12_Test_OpenCM.ino.hex
13:21:37.574 (reboot): Receive status state = 0
13:21:37.574 (reboot): Receive status offline_count = 0
13:21:37.575 (loader): status data sent
13:21:37.575 (reboot): status read, retry 39
13:21:37.575 (reboot): Receive status EOT
13:21:37.575 (reboot): status read, retry 39
13:21:37.676 (reboot): Sending status request
13:21:37.676 (loader): remote cmd from 1308: "status"
13:21:37.677 (loader): status data sent
13:21:37.677 (reboot): Receive status auto = 1
13:21:37.677 (reboot): Receive status readable = 1
13:21:37.677 (reboot): Receive status dir = C:\Users\kurte\AppData\Local\Temp\arduino_build_86 4110\
13:21:37.677 (reboot): Receive status online = 0
13:21:37.677 (reboot): Receive status online_count = 0
13:21:37.677 (reboot): Receive status offline_count = 0
13:21:37.677 (reboot): Receive status state = 0
13:21:37.677 (reboot): Receive status EOT
13:21:37.677 (reboot): status read, retry 40
13:21:37.677 (reboot): status read, retry 40
13:21:37.677 (reboot): Receive status file = AX12_Test_OpenCM.ino.hex
13:21:37.777 (loader): remote cmd from 1308: "status"
13:21:37.777 (reboot): Sending status request
13:21:37.778 (reboot): status read, retry 41
13:21:37.778 (reboot): status read, retry 41
13:21:37.778 (reboot): Receive status EOT
13:21:37.778 (reboot): Receive status state = 0
13:21:37.778 (reboot): Receive status offline_count = 0
13:21:37.778 (loader): status data sent
13:21:37.778 (reboot): Receive status online = 0
13:21:37.778 (reboot): Receive status auto = 1
13:21:37.778 (reboot): Receive status readable = 1
13:21:37.778 (reboot): Receive status file = AX12_Test_OpenCM.ino.hex
13:21:37.778 (reboot): Receive status dir = C:\Users\kurte\AppData\Local\Temp\arduino_build_86 4110\
13:21:37.778 (reboot): Receive status online_count = 0
13:21:37.880 (loader): remote cmd from 1308: "status"
13:21:37.880 (reboot): Sending status request
13:21:37.880 (reboot): status read, retry 42
13:21:37.880 (reboot): Receive status EOT
13:21:37.880 (reboot): Receive status state = 0
13:21:37.880 (reboot): Receive status offline_count = 0
13:21:37.880 (reboot): status read, retry 42
13:21:37.880 (reboot): Receive status online = 0
13:21:37.880 (reboot): Receive status auto = 1
13:21:37.880 (reboot): Receive status readable = 1
13:21:37.880 (reboot): Receive status file = AX12_Test_OpenCM.ino.hex
13:21:37.880 (reboot): Receive status online_count = 0
13:21:37.880 (loader): status data sent
13:21:37.880 (reboot): Receive status dir = C:\Users\kurte\AppData\Local\Temp\arduino_build_86 4110\
13:21:37.982 (loader): remote cmd from 1308: "status"
13:21:37.982 (reboot): Sending status request
13:21:37.983 (loader): status data sent
13:21:37.983 (reboot): Receive status file = AX12_Test_OpenCM.ino.hex
13:21:37.983 (reboot): Receive status readable = 1
13:21:37.983 (reboot): Receive status auto = 1
13:21:37.983 (reboot): Receive status online = 0
13:21:37.983 (reboot): Receive status online_count = 0
13:21:37.983 (reboot): Receive status offline_count = 0
13:21:37.983 (reboot): Receive status state = 0
13:21:37.983 (reboot): Receive status EOT
13:21:37.983 (reboot): status read, retry 43
13:21:37.983 (reboot): status read, retry 43
13:21:37.983 (reboot): Receive status dir = C:\Users\kurte\AppData\Local\Temp\arduino_build_86 4110\
13:21:38.084 (loader): remote cmd from 1308: "status"
13:21:38.084 (reboot): Sending status request
13:21:38.085 (reboot): status read, retry 44
13:21:38.085 (reboot): status read, retry 44
13:21:38.085 (reboot): Receive status EOT
13:21:38.085 (loader): status data sent
13:21:38.085 (reboot): Receive status offline_count = 0
13:21:38.085 (reboot): Receive status online_count = 0
13:21:38.085 (reboot): Receive status online = 0
13:21:38.085 (reboot): Receive status auto = 1
13:21:38.085 (reboot): Receive status state = 0
13:21:38.085 (reboot): Receive status dir = C:\Users\kurte\AppData\Local\Temp\arduino_build_86 4110\
13:21:38.085 (reboot): Receive status file = AX12_Test_OpenCM.ino.hex
13:21:38.085 (reboot): Receive status readable = 1
13:21:38.185 (loader): remote cmd from 1308: "status"
13:21:38.185 (reboot): Sending status request
13:21:38.186 (reboot): Receive status EOT
13:21:38.186 (reboot): Receive status state = 0
13:21:38.186 (reboot): Receive status online_count = 0
13:21:38.186 (loader): status data sent
13:21:38.186 (reboot): status read, retry 45
13:21:38.186 (reboot): status read, retry 45
13:21:38.186 (reboot): Receive status file = AX12_Test_OpenCM.ino.hex
13:21:38.186 (reboot): Receive status dir = C:\Users\kurte\AppData\Local\Temp\arduino_build_86 4110\
13:21:38.186 (reboot): Receive status online = 0
13:21:38.186 (reboot): Receive status readable = 1
13:21:38.186 (reboot): Receive status auto = 1
13:21:38.186 (reboot): Receive status offline_count = 0
13:21:38.288 (loader): remote cmd from 1308: "status"
13:21:38.288 (reboot): Sending status request
13:21:38.291 (reboot): status read, retry 46
13:21:38.291 (reboot): status read, retry 46
13:21:38.291 (reboot): Receive status EOT
13:21:38.291 (reboot): Receive status state = 0
13:21:38.291 (loader): status data sent
13:21:38.291 (reboot): Receive status dir = C:\Users\kurte\AppData\Local\Temp\arduino_build_86 4110\
13:21:38.291 (reboot): Receive status file = AX12_Test_OpenCM.ino.hex
13:21:38.291 (reboot): Receive status readable = 1
13:21:38.291 (reboot): Receive status auto = 1
13:21:38.291 (reboot): Receive status online = 0
13:21:38.291 (reboot): Receive status online_count = 0
13:21:38.291 (reboot): Receive status offline_count = 0
13:21:38.392 (reboot): Receive status auto = 1
13:21:38.392 (reboot): Receive status offline_count = 0
13:21:38.392 (reboot): Receive status online_count = 0
13:21:38.392 (loader): remote cmd from 1308: "status"
13:21:38.392 (reboot): Sending status request
13:21:38.392 (reboot): Receive status dir = C:\Users\kurte\AppData\Local\Temp\arduino_build_86 4110\
13:21:38.392 (reboot): Receive status file = AX12_Test_OpenCM.ino.hex
13:21:38.392 (reboot): Receive status readable = 1
13:21:38.392 (reboot): Receive status online = 0
13:21:38.393 (loader): status data sent
13:21:38.393 (reboot): status read, retry 47
13:21:38.393 (reboot): Receive status state = 0
13:21:38.393 (reboot): Receive status EOT
13:21:38.393 (reboot): status read, retry 47
13:21:38.493 (reboot): Sending status request
13:21:38.493 (loader): remote cmd from 1308: "status"
13:21:38.494 (loader): status data sent
13:21:38.494 (reboot): Receive status dir = C:\Users\kurte\AppData\Local\Temp\arduino_build_86 4110\
13:21:38.494 (reboot): Receive status file = AX12_Test_OpenCM.ino.hex
13:21:38.494 (reboot): Receive status readable = 1
13:21:38.494 (reboot): Receive status auto = 1
13:21:38.494 (reboot): Receive status online = 0
13:21:38.494 (reboot): Receive status online_count = 0
13:21:38.494 (reboot): Receive status offline_count = 0
13:21:38.494 (reboot): Receive status state = 0
13:21:38.494 (reboot): Receive status EOT
13:21:38.494 (reboot): status read, retry 48
13:21:38.494 (reboot): status read, retry 48
13:21:38.595 (reboot): Sending status request
13:21:38.596 (reboot): Receive status dir = C:\Users\kurte\AppData\Local\Temp\arduino_build_86 4110\
13:21:38.596 (reboot): Receive status file = AX12_Test_OpenCM.ino.hex
13:21:38.596 (reboot): Receive status readable = 1
13:21:38.596 (loader): remote cmd from 1308: "status"
13:21:38.597 (reboot): Receive status online = 0
13:21:38.597 (reboot): Receive status online_count = 0
13:21:38.597 (reboot): Receive status auto = 1
13:21:38.597 (reboot): Receive status state = 0
13:21:38.597 (reboot): Receive status EOT
13:21:38.597 (reboot): status read, retry 49
13:21:38.597 (reboot): status read, retry 49
13:21:38.597 (loader): status data sent
13:21:38.597 (reboot): Receive status offline_count = 0
13:21:38.698 (loader): remote cmd from 1308: "log:632"
13:21:38.698 (reboot): Teensy did not respond to a USB-based request to automatically reboot.
13:21:38.717 (loader): remote connection 1308 closed
13:21:38.722 (loader): remote connection 1268 closed
13:21:38.722 (ports): got command: "list"
13:21:38.722 (loader): remote cmd from 1260: "log:4"
13:21:38.723 (ports): usb_add: usb:0/140000/0/3 COM21 (Teensy) Serial
13:21:38.723 (ports): update_usb_device, devinst list change
13:21:38.723 (ports): found something COM port, devinst=00000004
13:21:38.725 (ports): got command: "list"
13:21:38.725 (loader): remote cmd from 1260: "log:4"
13:21:49.102 (loader): Verbose Info event


From other window:

Opening Teensy Loader...

Using library DynamixelSDK at version 3.5.4 in folder: C:\Users\kurte\Documents\Arduino\libraries\Dynamix elSDK
Sketch uses 55424 bytes (21%) of program storage space. Maximum is 262144 bytes.
Global variables use 8492 bytes (12%) of dynamic memory, leaving 57044 bytes for local variables. Maximum is 65536 bytes.
D:\arduino-1.8.5\hardware\teensy/../tools/teensy_post_compile -file=AX12_Test_OpenCM.ino -path=C:\Users\kurte\AppData\Local\Temp\arduino_bui ld_864110 -tools=D:\arduino-1.8.5\hardware\teensy/../tools -board=TEENSY31 -reboot -port=COM21 -portlabel=COM21 (Teensy) -portprotocol=serial
Unable to open COM21 for reboot request
Windows Error Info: The system cannot find the file specified.
more ideas... https://forum.pjrc.com/threads/40632?p=126667&viewfull=1#post126667
Teensy did not respond to a USB-based request to enter program mode.
Please press the PROGRAM MODE BUTTON on your Teensy to upload your sketch.


13094

tonton81
02-27-2018, 09:35 PM
Paul, is it possible to overtax USB serial to a point where it can stop showing output but the rest of the teensy is processing fine until you reboot it then it comes working again?
Is there perhaps a flag set for an overflow than halts the output? 4D displays do this type of behaviour and they have a func in the datasheet to reinit the buffer

PaulStoffregen
02-27-2018, 10:26 PM
Looking over this log data, I don't see *any* WM_DEVICECHANGE change messages!

I don't understand why Windows wouldn't give any of those events. Looks like I need to rethink how things work on Windows, if those aren't reliable....

defragster
02-27-2018, 10:29 PM
I got this T_3.0 on COM5 - when compile started I had COM10 selected - but changed during compile - and TyComm was Serial disabled on the T_3.0 so the port was 'free', except I popped open SerMon after Port change to confirm it could see it - so IDE SerMon owned the port it seems.


Unable to open COM5 for reboot request
Windows Error Info: Access is denied.
more ideas... https://forum.pjrc.com/threads/40632?p=126667&viewfull=1#post126667
Unable to open COM12 for reboot request
Windows Error Info: The system cannot find the file specified.
more ideas... https://forum.pjrc.com/threads/40632?p=126667&viewfull=1#post126667
Unable to open COM10 for reboot request
Windows Error Info: The system cannot find the file specified.
more ideas... https://forum.pjrc.com/threads/40632?p=126667&viewfull=1#post126667
Teensy did not respond to a USB-based request to enter program mode.
Please press the PROGRAM MODE BUTTON on your Teensy to upload your sketch.

I then pushed button and programming completed - here is the Verbose of fail progression - then success.

Online - but Serial Active in TyComm were:: T_3.5 [com12] and T_3.6 [com10]

13095

Ran it again - like I should have and it went fine. Made multiple changes and it is going fine.

Tested this for a Win 10 127 byte print issue and it looks clean:

for ( int ii = 0; ii < 6; ii ++) {
for ( int jj = 0; jj < 124 + ii; jj ++) {
if ( jj % 10 )
Serial.print( (char)('A' + ii) );
else
Serial.print( '_' );
}
Serial.println();
}


Changed the letter each length change here - runs fine the same with just "A"'s.



_AAAAAAAAA_AAAAAAAAA_AAAAAAAAA_AAAAAAAAA_AAAAAAAAA _AAAAAAAAA_AAAAAAAAA_AAAAAAAAA_AAAAAAAAA_AAAAAAAAA _AAAAAAAAA_AAAAAAAAA_AAA
_BBBBBBBBB_BBBBBBBBB_BBBBBBBBB_BBBBBBBBB_BBBBBBBBB _BBBBBBBBB_BBBBBBBBB_BBBBBBBBB_BBBBBBBBB_BBBBBBBBB _BBBBBBBBB_BBBBBBBBB_BBBB
_CCCCCCCCC_CCCCCCCCC_CCCCCCCCC_CCCCCCCCC_CCCCCCCCC _CCCCCCCCC_CCCCCCCCC_CCCCCCCCC_CCCCCCCCC_CCCCCCCCC _CCCCCCCCC_CCCCCCCCC_CCCCC
_DDDDDDDDD_DDDDDDDDD_DDDDDDDDD_DDDDDDDDD_DDDDDDDDD _DDDDDDDDD_DDDDDDDDD_DDDDDDDDD_DDDDDDDDD_DDDDDDDDD _DDDDDDDDD_DDDDDDDDD_DDDDDD
_EEEEEEEEE_EEEEEEEEE_EEEEEEEEE_EEEEEEEEE_EEEEEEEEE _EEEEEEEEE_EEEEEEEEE_EEEEEEEEE_EEEEEEEEE_EEEEEEEEE _EEEEEEEEE_EEEEEEEEE_EEEEEEE
_FFFFFFFFF_FFFFFFFFF_FFFFFFFFF_FFFFFFFFF_FFFFFFFFF _FFFFFFFFF_FFFFFFFFF_FFFFFFFFF_FFFFFFFFF_FFFFFFFFF _FFFFFFFFF_FFFFFFFFF_FFFFFFFF

PaulStoffregen
02-27-2018, 11:00 PM
Paul, is it possible to overtax USB serial to a point where it can stop showing output but the rest of the teensy is processing fine until you reboot it then it comes working again?

Well, the best answer is "maybe", but those aren't quite the words I'd use to describe this possible scenario.

Like all USB devices, Teensy's USB communication is completely at the mercy of when the USB host controller in your computer decides to send IN & OUT tokens. Teensy queues up packets in memory. Teensy's USB controller can only transmit them when it hears an IN token from your PC.

So what should Teensy do if the USB host simply isn't sending IN tokens? You could call that "overtax USB serial", but to be specific, the situation I'm talking about here is whether the USB host controller in your computer is continuing to send IN tokens that give Teensy an opportunity to respond with data. This is sort of a rhetorical question... the answer is in the code of usb_serial_write() in usb_serial.c.

https://github.com/PaulStoffregen/cores/blob/master/teensy3/usb_serial.c#L190

You can see a "wait_count" variable that's compared to TX_TIMEOUT. If no buffers are available to queue up another outgoing packet, this loop eventually gives up. It sets a transmit_previous_timeout to remember if there's a problem. Next time, if that flag is set, only 1 check for an available buffer is made. After the timeout, and after this flag is set, the USB serial code discards everything you try to send. The idea is a USB problem on the host side can only stall your program for a fixed amount of time, and only once.

So the first big question is whether this usb_serial_write() code or something else is responsible for the data loss you're seeing. It should be fairly simple to test, maybe by wiring up a couple LEDs. If that "transmit_previous_timeout" variable is set, you can be sure usb_serial_write() has discarded your outgoing data and will continue to do so until more USB buffers become available.

If that code is being triggered, then the next big question is why? It could be the USB host isn't sending IN tokens. Or there could be a bug somewhere on the Teensy side. Maybe something is going wrong in the USB memory allocator? Or maybe there's a bug deep within usb_dev.c.

Or (perhaps most likely) your code is transmitting from both main program and interrupts? I suspect my usb_serial.c code isn't safe for use that way. It probably should be.... and to be honest, this is one of hundreds of little "minor" or "low priority" things I want to someday investigate, in the huge amount of free time I have! The honest truth is this sort of thing generally waits to get investigated until someone finds a way to reliably reproduce it.

Anyway, there's a lengthy explanation of what I know. It's entirely possible the data loss you're seeing could be happening somewhere other than usb_serial_write(). Who knows, it might even be on the host side. If you can create a program to reproduce the issue without special hardware, I can run it here and watch with my USB protocol analyzer. Then we can at least see if the host is still sending IN tokens and whether Teensy is responding with data packets. If the problem is entirely on the Teensy side (host still sends IN tokens & Teensy's hardware replies with NAK tokens), I will dedicate engineering time to fixing whatever's wrong. But I can't put much time into trying to guess a way to reproduce the problem. As you can see in this thread, I already have my hands quite full with trying to work around Windows problems like how to reliably get those WM_DEVICECHANGE events, or maybe come up with a polling workaround for Windows systems where we just can't get them.

Hopefully this long-winded explanation helps. I can promise you, if you come up with a program I can run here to reliably reproduce the problem, I will investigate. If it's a bug on the Teensy side, I will find and fix it. Might take me a few weeks or even months depending on other tasks, but I will do this if you can give me a program to reproduce the problem.

KurtE
02-27-2018, 11:31 PM
Also having issue on Mac this time to T3.5... High Sierra 10.13.2

Trying to program Blink:

14:48:29.199 (ports): read end, assume connection closed
14:48:29.199 (ports): connection 8 closed
14:48:52.703 (ports): USB add callback
14:48:52.704 (ports): add device: loc=14200000, vid=16C0, pid=0483, ver=0200
14:48:52.704 (ports): devpath=[no_device]
14:48:52.704 (ports): name: [no_device] (Teensy) Serial
14:48:53.580 (ports): client_connect
14:48:53.580 (ports): incoming connection, port 0
14:48:53.581 (ports): write: buffer has 0 bytes, add 12 more
14:48:55.402 (ports): got command: "list"
14:49:03.037 (ports): got command: "list"
14:49:30.037 (ports): got command: "list"
14:49:32.697 (ports): got command: "list"
14:49:43.093 (post_compile): Begin
14:49:43.719 (loader): Teensy Loader 1.42-beta2, begin program
14:49:43.762 (loader): Listening for remote control on port 3149
14:49:43.763 (loader): initialized, showing main window
14:49:43.859 (loader): remote connection 10 opened
14:49:43.861 (post_compile): Sending command: comment: Teensyduino 1.42-beta2 - MACOSX (teensy_post_compile)
14:49:43.862 (loader): remote cmd from 10: "comment: Teensyduino 1.42-beta2 - MACOSX (teensy_post_compile)"
14:49:43.863 (post_compile): Sending status request
14:49:43.863 (loader): remote cmd from 10: "status"
14:49:43.867 (loader): HID/macos: no devices found
14:49:43.868 (post_compile): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_721838/
14:49:43.868 (post_compile): Receive status file = Blink.ino.hex
14:49:43.868 (post_compile): Receive status readable = 0
14:49:43.868 (post_compile): Receive status auto = 0
14:49:43.868 (post_compile): Receive status online = 0
14:49:43.868 (post_compile): Receive status online_count = 0
14:49:43.868 (post_compile): Receive status offline_count = 0
14:49:43.868 (post_compile): Receive status state = 0
14:49:43.868 (loader): status data sent
14:49:43.868 (post_compile): Receive status EOT
14:49:43.868 (post_compile): Sending command: dir:/var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:49:43.869 (loader): remote cmd from 10: "dir:/var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/"
14:49:43.870 (post_compile): Sending command: file:Blink.ino.hex
14:49:43.870 (loader): remote cmd from 10: "file:Blink.ino.hex"
14:49:43.874 (loader): File "Blink.ino.hex". 9984 bytes, 2% used
14:49:43.878 (post_compile): Sending status request
14:49:43.881 (loader): remote cmd from 10: "status"
14:49:43.883 (post_compile): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:49:43.883 (post_compile): Receive status file = Blink.ino.hex
14:49:43.883 (post_compile): Receive status readable = 1
14:49:43.883 (post_compile): Receive status auto = 0
14:49:43.883 (post_compile): Receive status online = 0
14:49:43.883 (post_compile): Receive status online_count = 0
14:49:43.883 (post_compile): Receive status state = 0
14:49:43.883 (post_compile): Receive status offline_count = 0
14:49:43.883 (post_compile): Receive status EOT
14:49:43.883 (post_compile): Sending command: auto:on
14:49:43.883 (loader): status data sent
14:49:43.884 (loader): remote cmd from 10: "auto:on"
14:49:43.885 (post_compile): Disconnect
14:49:43.886 (loader): remote cmd from 10: "log:26"
14:49:43.897 (loader): remote connection 10 closed
14:49:44.010 (ports): got command: "list"
14:49:44.013 (ports): got command: "list"
14:49:44.026 (post_compile): Begin
14:49:44.026 (loader): remote connection 10 opened
14:49:44.027 (post_compile): Sending command: comment: Teensyduino 1.42-beta2 - MACOSX (teensy_post_compile)
14:49:44.027 (loader): remote cmd from 10: "comment: Teensyduino 1.42-beta2 - MACOSX (teensy_post_compile)"
14:49:44.027 (post_compile): Sending status request
14:49:44.027 (loader): remote cmd from 10: "status"
14:49:44.027 (post_compile): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:49:44.027 (post_compile): Receive status file = Blink.ino.hex
14:49:44.027 (post_compile): Receive status readable = 1
14:49:44.027 (post_compile): Receive status auto = 1
14:49:44.027 (post_compile): Receive status online = 0
14:49:44.027 (post_compile): Receive status online_count = 0
14:49:44.027 (post_compile): Receive status state = 0
14:49:44.027 (post_compile): Receive status offline_count = 0
14:49:44.027 (loader): status data sent
14:49:44.027 (post_compile): Receive status EOT
14:49:44.027 (post_compile): Disconnect
14:49:44.028 (loader): remote cmd from 10: "log:13"
14:49:44.039 (post_compile): Running teensy_reboot: /Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/teensy_reboot
14:49:44.039 (loader): remote connection 10 closed
14:49:44.039 (loader): remote connection 10 opened
14:49:44.039 (loader): remote cmd from 10: "log:1"
14:49:44.040 (loader): remote connection 10 closed
14:49:44.043 (reboot): Begin
14:49:44.043 (reboot): location = /dev/cu.usbmodem2416291
14:49:44.043 (reboot): portlabel = /dev/cu.usbmodem2416291 (Teensy)
14:49:44.043 (reboot): Serial device /dev/cu.usbmodem2416291 will be tried first
14:49:44.043 (reboot): portprotocol = serial
14:49:44.044 (reboot): USB add callback
14:49:44.044 (reboot): add device: loc=14200000, vid=16C0, pid=0483, ver=0200
14:49:44.044 (reboot): devpath=[no_device]
14:49:44.046 (loader): remote connection 10 opened
14:49:44.046 (reboot): USB remove callback
14:49:44.046 (reboot): Sending command: show:arduino_attempt_reboot
14:49:44.046 (reboot): found Teensy Loader, version 1.42
14:49:44.046 (loader): remote cmd from 10: "log:8"
14:49:44.046 (loader): remote cmd from 10: "log:1"
14:49:44.046 (loader): remote cmd from 10: "show:arduino_attempt_reboot"
14:49:44.046 (loader): got request to show arduino rebooting message
14:49:44.048 (reboot): Sending command: comment: Teensyduino 1.42-beta2 - MACOSX (teensy_reboot)
14:49:44.050 (loader): remote cmd from 10: "comment: Teensyduino 1.42-beta2 - MACOSX (teensy_reboot)"
14:49:44.050 (reboot): Sending status request
14:49:44.050 (loader): remote cmd from 10: "status"
14:49:44.050 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:49:44.050 (reboot): Receive status file = Blink.ino.hex
14:49:44.050 (reboot): Receive status readable = 1
14:49:44.050 (reboot): Receive status auto = 1
14:49:44.050 (reboot): Receive status online = 0
14:49:44.050 (reboot): Receive status online_count = 0
14:49:44.050 (reboot): Receive status offline_count = 0
14:49:44.050 (reboot): Receive status state = 0
14:49:44.050 (reboot): Receive status EOT
14:49:44.050 (loader): status data sent
14:49:44.050 (reboot): do_reset (serial) [no_device]
14:49:44.050 (reboot): Sending status request
14:49:44.051 (loader): remote cmd from 10: "status"
14:49:44.051 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:49:44.051 (reboot): Receive status file = Blink.ino.hex
14:49:44.051 (reboot): Receive status readable = 1
14:49:44.051 (reboot): Receive status auto = 1
14:49:44.051 (reboot): Receive status online = 0
14:49:44.051 (reboot): Receive status online_count = 0
14:49:44.051 (reboot): Receive status offline_count = 0
14:49:44.051 (reboot): Receive status state = 0
14:49:44.051 (reboot): status read, retry 0
14:49:44.051 (reboot): Receive status EOT
14:49:44.051 (reboot): status read, retry 0
14:49:44.051 (loader): status data sent
14:49:44.155 (reboot): Sending status request
14:49:44.156 (loader): remote cmd from 10: "status"
14:49:44.157 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:49:44.157 (reboot): Receive status file = Blink.ino.hex
14:49:44.157 (reboot): Receive status readable = 1
14:49:44.157 (reboot): Receive status auto = 1
14:49:44.157 (reboot): Receive status online = 0
14:49:44.157 (reboot): Receive status online_count = 0
14:49:44.157 (reboot): Receive status offline_count = 0
14:49:44.157 (reboot): Receive status state = 0
14:49:44.157 (loader): status data sent
14:49:44.157 (reboot): Receive status EOT
14:49:44.157 (reboot): status read, retry 1
14:49:44.157 (reboot): status read, retry 1
14:49:44.262 (reboot): Sending status request
14:49:44.262 (loader): remote cmd from 10: "status"
14:49:44.262 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:49:44.262 (reboot): Receive status file = Blink.ino.hex
14:49:44.262 (reboot): Receive status readable = 1
14:49:44.262 (reboot): Receive status auto = 1
14:49:44.262 (reboot): Receive status online = 0
14:49:44.262 (reboot): Receive status online_count = 0
14:49:44.262 (reboot): Receive status offline_count = 0
14:49:44.262 (reboot): Receive status state = 0
14:49:44.262 (reboot): Receive status EOT
14:49:44.262 (reboot): status read, retry 2
14:49:44.262 (reboot): status read, retry 2
14:49:44.262 (loader): status data sent
14:49:44.365 (reboot): Sending status request
14:49:44.366 (loader): remote cmd from 10: "status"
14:49:44.366 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:49:44.366 (reboot): Receive status file = Blink.ino.hex
14:49:44.366 (reboot): Receive status readable = 1
14:49:44.366 (reboot): Receive status online = 0
14:49:44.366 (reboot): Receive status auto = 1
14:49:44.366 (reboot): Receive status online_count = 0
14:49:44.366 (reboot): Receive status offline_count = 0
14:49:44.366 (reboot): Receive status state = 0
14:49:44.366 (reboot): Receive status EOT
14:49:44.366 (reboot): status read, retry 3
14:49:44.366 (reboot): status read, retry 3
14:49:44.366 (loader): status data sent
14:49:44.469 (reboot): Sending status request
14:49:44.470 (loader): remote cmd from 10: "status"
14:49:44.470 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:49:44.470 (reboot): Receive status file = Blink.ino.hex
14:49:44.470 (reboot): Receive status readable = 1
14:49:44.470 (reboot): Receive status auto = 1
14:49:44.470 (reboot): Receive status online = 0
14:49:44.470 (reboot): Receive status online_count = 0
14:49:44.470 (reboot): Receive status offline_count = 0
14:49:44.470 (reboot): Receive status state = 0
14:49:44.470 (reboot): Receive status EOT
14:49:44.470 (loader): status data sent
14:49:44.470 (reboot): status read, retry 4
14:49:44.470 (reboot): status read, retry 4
14:49:44.573 (reboot): Sending status request
14:49:44.574 (loader): remote cmd from 10: "status"
14:49:44.574 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:49:44.574 (reboot): Receive status file = Blink.ino.hex
14:49:44.575 (reboot): Receive status readable = 1
14:49:44.575 (reboot): Receive status auto = 1
14:49:44.575 (reboot): Receive status online = 0
14:49:44.575 (reboot): Receive status online_count = 0
14:49:44.575 (reboot): Receive status offline_count = 0
14:49:44.575 (loader): status data sent
14:49:44.575 (reboot): Receive status state = 0
14:49:44.575 (reboot): Receive status EOT
14:49:44.575 (reboot): status read, retry 5
14:49:44.575 (reboot): status read, retry 5
14:49:44.680 (reboot): Sending status request
14:49:44.680 (loader): remote cmd from 10: "status"
14:49:44.681 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:49:44.681 (reboot): Receive status file = Blink.ino.hex
14:49:44.681 (reboot): Receive status readable = 1
14:49:44.681 (reboot): Receive status auto = 1
14:49:44.681 (reboot): Receive status online = 0
14:49:44.681 (reboot): Receive status online_count = 0
14:49:44.681 (reboot): Receive status offline_count = 0
14:49:44.681 (reboot): Receive status state = 0
14:49:44.681 (loader): status data sent
14:49:44.681 (reboot): Receive status EOT
14:49:44.681 (reboot): status read, retry 6
14:49:44.681 (reboot): status read, retry 6
14:49:44.783 (reboot): Sending status request
14:49:44.784 (loader): remote cmd from 10: "status"
14:49:44.784 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:49:44.784 (reboot): Receive status file = Blink.ino.hex
14:49:44.784 (reboot): Receive status readable = 1
14:49:44.784 (reboot): Receive status auto = 1
14:49:44.784 (reboot): Receive status online = 0
14:49:44.784 (reboot): Receive status online_count = 0
14:49:44.784 (reboot): Receive status offline_count = 0
14:49:44.784 (reboot): Receive status state = 0
14:49:44.784 (loader): status data sent
14:49:44.784 (reboot): Receive status EOT
14:49:44.784 (reboot): status read, retry 7
14:49:44.784 (reboot): status read, retry 7
14:49:44.890 (reboot): Sending status request
14:49:44.890 (loader): remote cmd from 10: "status"
14:49:44.891 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:49:44.891 (reboot): Receive status file = Blink.ino.hex
14:49:44.891 (reboot): Receive status readable = 1
14:49:44.891 (reboot): Receive status auto = 1
14:49:44.891 (reboot): Receive status online = 0
14:49:44.891 (reboot): Receive status online_count = 0
14:49:44.891 (reboot): Receive status offline_count = 0
14:49:44.891 (reboot): Receive status state = 0
14:49:44.891 (loader): status data sent
14:49:44.891 (reboot): Receive status EOT
14:49:44.891 (reboot): status read, retry 8
14:49:44.891 (reboot): status read, retry 8
14:49:44.991 (reboot): Sending status request
14:49:44.992 (loader): remote cmd from 10: "status"
14:49:44.993 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:49:44.993 (reboot): Receive status file = Blink.ino.hex
14:49:44.993 (reboot): Receive status readable = 1
14:49:44.993 (reboot): Receive status auto = 1
14:49:44.993 (reboot): Receive status online = 0
14:49:44.993 (reboot): Receive status online_count = 0
14:49:44.993 (reboot): Receive status offline_count = 0
14:49:44.993 (loader): status data sent
14:49:44.993 (reboot): Receive status state = 0
14:49:44.993 (reboot): Receive status EOT
14:49:44.993 (reboot): status read, retry 9
14:49:44.993 (reboot): status read, retry 9
14:49:45.093 (reboot): Sending status request
14:49:45.094 (loader): remote cmd from 10: "status"
14:49:45.094 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:49:45.094 (reboot): Receive status file = Blink.ino.hex
14:49:45.094 (reboot): Receive status readable = 1
14:49:45.094 (reboot): Receive status auto = 1
14:49:45.094 (reboot): Receive status online = 0
14:49:45.094 (reboot): Receive status online_count = 0
14:49:45.094 (reboot): Receive status offline_count = 0
14:49:45.094 (reboot): Receive status state = 0
14:49:45.094 (loader): status data sent
14:49:45.094 (reboot): Receive status EOT
14:49:45.094 (reboot): status read, retry 10
14:49:45.094 (reboot): status read, retry 10
14:49:45.195 (reboot): Sending status request
14:49:45.196 (loader): remote cmd from 10: "status"
14:49:45.196 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:49:45.196 (reboot): Receive status file = Blink.ino.hex
14:49:45.196 (reboot): Receive status readable = 1
14:49:45.196 (reboot): Receive status auto = 1
14:49:45.196 (reboot): Receive status online = 0
14:49:45.196 (reboot): Receive status online_count = 0
14:49:45.196 (reboot): Receive status offline_count = 0
14:49:45.196 (reboot): Receive status state = 0
14:49:45.196 (reboot): Receive status EOT
14:49:45.196 (reboot): status read, retry 11
14:49:45.196 (reboot): status read, retry 11
14:49:45.196 (loader): status data sent
14:49:45.301 (reboot): Sending status request
14:49:45.302 (loader): remote cmd from 10: "status"
14:49:45.302 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:49:45.302 (reboot): Receive status file = Blink.ino.hex
14:49:45.302 (reboot): Receive status readable = 1
14:49:45.302 (reboot): Receive status auto = 1
14:49:45.302 (reboot): Receive status online = 0
14:49:45.302 (reboot): Receive status online_count = 0
14:49:45.302 (reboot): Receive status offline_count = 0
14:49:45.302 (reboot): Receive status state = 0
14:49:45.302 (reboot): Receive status EOT
14:49:45.302 (reboot): status read, retry 12
14:49:45.302 (reboot): status read, retry 12
14:49:45.302 (loader): status data sent
14:49:45.407 (reboot): Sending status request
14:49:45.408 (loader): remote cmd from 10: "status"
14:49:45.409 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:49:45.409 (reboot): Receive status file = Blink.ino.hex
14:49:45.409 (reboot): Receive status readable = 1
14:49:45.409 (reboot): Receive status auto = 1
14:49:45.409 (reboot): Receive status online = 0
14:49:45.409 (reboot): Receive status online_count = 0
14:49:45.409 (reboot): Receive status offline_count = 0
14:49:45.409 (reboot): Receive status state = 0
14:49:45.409 (reboot): Receive status EOT
14:49:45.409 (reboot): status read, retry 13
14:49:45.409 (reboot): status read, retry 13
14:49:45.409 (loader): status data sent
14:49:45.511 (reboot): Sending status request
14:49:45.512 (loader): remote cmd from 10: "status"
14:49:45.512 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:49:45.512 (reboot): Receive status file = Blink.ino.hex
14:49:45.512 (reboot): Receive status readable = 1
14:49:45.512 (reboot): Receive status auto = 1
14:49:45.512 (reboot): Receive status online = 0
14:49:45.512 (reboot): Receive status online_count = 0
14:49:45.512 (reboot): Receive status offline_count = 0
14:49:45.512 (reboot): Receive status state = 0
14:49:45.512 (loader): status data sent
14:49:45.512 (reboot): Receive status EOT
14:49:45.512 (reboot): status read, retry 14
14:49:45.512 (reboot): status read, retry 14
14:49:45.615 (reboot): Sending status request
14:49:45.616 (loader): remote cmd from 10: "status"
14:49:45.616 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:49:45.616 (reboot): Receive status file = Blink.ino.hex
14:49:45.616 (reboot): Receive status readable = 1
14:49:45.616 (reboot): Receive status auto = 1
14:49:45.616 (reboot): Receive status online = 0
14:49:45.616 (reboot): Receive status online_count = 0
14:49:45.616 (reboot): Receive status offline_count = 0
14:49:45.617 (loader): status data sent
14:49:45.617 (reboot): Receive status state = 0
14:49:45.617 (reboot): Receive status EOT
14:49:45.617 (reboot): status read, retry 15
14:49:45.617 (reboot): status read, retry 15
14:49:45.720 (reboot): Sending status request
14:49:45.720 (loader): remote cmd from 10: "status"
14:49:45.720 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:49:45.720 (reboot): Receive status file = Blink.ino.hex
14:49:45.720 (reboot): Receive status readable = 1
14:49:45.720 (reboot): Receive status auto = 1
14:49:45.721 (reboot): Receive status online = 0
14:49:45.721 (reboot): Receive status online_count = 0
14:49:45.721 (reboot): Receive status offline_count = 0
14:49:45.721 (reboot): Receive status state = 0
14:49:45.721 (reboot): Receive status EOT
14:49:45.721 (reboot): status read, retry 16
14:49:45.721 (reboot): status read, retry 16
14:49:45.721 (loader): status data sent
14:49:45.826 (reboot): Sending status request
14:49:45.826 (loader): remote cmd from 10: "status"
14:49:45.827 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:49:45.827 (reboot): Receive status file = Blink.ino.hex
14:49:45.827 (reboot): Receive status readable = 1
14:49:45.827 (reboot): Receive status auto = 1
14:49:45.827 (reboot): Receive status online = 0
14:49:45.827 (reboot): Receive status online_count = 0
14:49:45.827 (reboot): Receive status offline_count = 0
14:49:45.827 (loader): status data sent
14:49:45.827 (reboot): Receive status state = 0
14:49:45.827 (reboot): status read, retry 17
14:49:45.827 (reboot): Receive status EOT
14:49:45.827 (reboot): status read, retry 17
14:49:45.928 (reboot): Sending status request
14:49:45.928 (loader): remote cmd from 10: "status"
14:49:45.929 (loader): status data sent
14:49:45.929 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:49:45.929 (reboot): Receive status file = Blink.ino.hex
14:49:45.929 (reboot): Receive status readable = 1
14:49:45.929 (reboot): Receive status online = 0
14:49:45.929 (reboot): Receive status auto = 1
14:49:45.929 (reboot): Receive status offline_count = 0
14:49:45.929 (reboot): Receive status online_count = 0
14:49:45.929 (reboot): Receive status state = 0
14:49:45.929 (reboot): Receive status EOT
14:49:45.929 (reboot): status read, retry 18
14:49:45.929 (reboot): status read, retry 18
14:49:46.029 (reboot): Sending status request
14:49:46.029 (loader): remote cmd from 10: "status"
14:49:46.030 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:49:46.030 (reboot): Receive status file = Blink.ino.hex
14:49:46.030 (reboot): Receive status readable = 1
14:49:46.030 (reboot): Receive status auto = 1
14:49:46.030 (reboot): Receive status online = 0
14:49:46.030 (reboot): Receive status online_count = 0
14:49:46.030 (reboot): Receive status offline_count = 0
14:49:46.030 (loader): status data sent
14:49:46.030 (reboot): Receive status state = 0
14:49:46.030 (reboot): Receive status EOT
14:49:46.030 (reboot): status read, retry 19
14:49:46.030 (reboot): status read, retry 19
14:49:46.132 (reboot): Sending status request
14:49:46.133 (loader): remote cmd from 10: "status"
14:49:46.133 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:49:46.133 (reboot): Receive status file = Blink.ino.hex
14:49:46.133 (reboot): Receive status readable = 1
14:49:46.133 (reboot): Receive status auto = 1
14:49:46.133 (reboot): Receive status online = 0
14:49:46.133 (reboot): Receive status online_count = 0
14:49:46.133 (reboot): Receive status offline_count = 0
14:49:46.133 (reboot): Receive status state = 0
14:49:46.133 (loader): status data sent
14:49:46.133 (reboot): Receive status EOT
14:49:46.133 (reboot): status read, retry 20
14:49:46.133 (reboot): status read, retry 20
14:49:46.238 (reboot): Sending status request
14:49:46.239 (loader): remote cmd from 10: "status"
14:49:46.239 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:49:46.239 (reboot): Receive status file = Blink.ino.hex
14:49:46.239 (reboot): Receive status readable = 1
14:49:46.239 (reboot): Receive status auto = 1
14:49:46.239 (reboot): Receive status online = 0
14:49:46.239 (reboot): Receive status online_count = 0
14:49:46.239 (reboot): Receive status offline_count = 0
14:49:46.239 (reboot): Receive status state = 0
14:49:46.239 (reboot): Receive status EOT
14:49:46.239 (reboot): status read, retry 21
14:49:46.239 (reboot): status read, retry 21
14:49:46.239 (loader): status data sent
14:49:46.344 (reboot): Sending status request
14:49:46.345 (loader): remote cmd from 10: "status"
14:49:46.345 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:49:46.345 (reboot): Receive status file = Blink.ino.hex
14:49:46.345 (reboot): Receive status readable = 1
14:49:46.345 (reboot): Receive status auto = 1
14:49:46.345 (reboot): Receive status online = 0
14:49:46.345 (reboot): Receive status online_count = 0
14:49:46.345 (reboot): Receive status offline_count = 0
14:49:46.345 (reboot): Receive status state = 0
14:49:46.345 (reboot): Receive status EOT
14:49:46.345 (reboot): status read, retry 22
14:49:46.345 (loader): status data sent
14:49:46.345 (reboot): status read, retry 22
14:49:46.446 (reboot): Sending status request
14:49:46.447 (loader): remote cmd from 10: "status"
14:49:46.447 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:49:46.447 (reboot): Receive status file = Blink.ino.hex
14:49:46.447 (reboot): Receive status readable = 1
14:49:46.447 (reboot): Receive status auto = 1
14:49:46.447 (reboot): Receive status online = 0
14:49:46.447 (reboot): Receive status online_count = 0
14:49:46.447 (reboot): Receive status offline_count = 0
14:49:46.447 (loader): status data sent
14:49:46.447 (reboot): Receive status state = 0
14:49:46.447 (reboot): Receive status EOT
14:49:46.447 (reboot): status read, retry 23
14:49:46.447 (reboot): status read, retry 23
14:49:46.552 (reboot): Sending status request
14:49:46.553 (loader): remote cmd from 10: "status"
14:49:46.553 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:49:46.553 (reboot): Receive status file = Blink.ino.hex
14:49:46.553 (reboot): Receive status readable = 1
14:49:46.553 (reboot): Receive status auto = 1
14:49:46.553 (reboot): Receive status online = 0
14:49:46.553 (reboot): Receive status online_count = 0
14:49:46.553 (reboot): Receive status offline_count = 0
14:49:46.554 (reboot): Receive status state = 0
14:49:46.554 (reboot): Receive status EOT
14:49:46.554 (reboot): status read, retry 24
14:49:46.554 (reboot): status read, retry 24
14:49:46.554 (loader): status data sent
14:49:46.656 (reboot): Sending status request
14:49:46.657 (loader): remote cmd from 10: "status"
14:49:46.657 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:49:46.657 (reboot): Receive status file = Blink.ino.hex
14:49:46.657 (reboot): Receive status readable = 1
14:49:46.657 (reboot): Receive status auto = 1
14:49:46.657 (reboot): Receive status online = 0
14:49:46.657 (reboot): Receive status online_count = 0
14:49:46.657 (reboot): Receive status offline_count = 0
14:49:46.657 (reboot): Receive status state = 0
14:49:46.657 (loader): status data sent
14:49:46.657 (reboot): Receive status EOT
14:49:46.657 (reboot): status read, retry 25
14:49:46.657 (reboot): status read, retry 25
14:49:46.762 (reboot): Sending status request
14:49:46.762 (loader): remote cmd from 10: "status"
14:49:46.762 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:49:46.762 (reboot): Receive status file = Blink.ino.hex
14:49:46.762 (reboot): Receive status readable = 1
14:49:46.762 (reboot): Receive status auto = 1
14:49:46.762 (reboot): Receive status online = 0
14:49:46.762 (reboot): Receive status online_count = 0
14:49:46.762 (loader): status data sent
14:49:46.762 (reboot): Receive status offline_count = 0
14:49:46.763 (reboot): Receive status state = 0
14:49:46.763 (reboot): Receive status EOT
14:49:46.763 (reboot): status read, retry 26
14:49:46.763 (reboot): status read, retry 26
14:49:46.864 (reboot): Sending status request
14:49:46.865 (loader): remote cmd from 10: "status"
14:49:46.865 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:49:46.865 (reboot): Receive status file = Blink.ino.hex
14:49:46.865 (reboot): Receive status readable = 1
14:49:46.865 (reboot): Receive status auto = 1
14:49:46.865 (reboot): Receive status online = 0
14:49:46.865 (reboot): Receive status online_count = 0
14:49:46.865 (reboot): Receive status offline_count = 0
14:49:46.865 (loader): status data sent
14:49:46.865 (reboot): Receive status state = 0
14:49:46.865 (reboot): Receive status EOT
14:49:46.865 (reboot): status read, retry 27
14:49:46.865 (reboot): status read, retry 27
14:49:46.970 (reboot): Sending status request
14:49:46.971 (loader): remote cmd from 10: "status"
14:49:46.971 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:49:46.971 (reboot): Receive status file = Blink.ino.hex
14:49:46.971 (reboot): Receive status readable = 1
14:49:46.971 (reboot): Receive status auto = 1
14:49:46.971 (reboot): Receive status online = 0
14:49:46.971 (reboot): Receive status online_count = 0
14:49:46.971 (reboot): Receive status offline_count = 0
14:49:46.971 (loader): status data sent
14:49:46.971 (reboot): Receive status state = 0
14:49:46.971 (reboot): Receive status EOT
14:49:46.971 (reboot): status read, retry 28
14:49:46.971 (reboot): status read, retry 28
14:49:47.074 (reboot): Sending status request
14:49:47.075 (loader): remote cmd from 10: "status"
14:49:47.075 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:49:47.075 (reboot): Receive status file = Blink.ino.hex
14:49:47.075 (reboot): Receive status readable = 1
14:49:47.075 (reboot): Receive status auto = 1
14:49:47.075 (reboot): Receive status online = 0
14:49:47.075 (reboot): Receive status online_count = 0
14:49:47.075 (reboot): Receive status offline_count = 0
14:49:47.075 (reboot): Receive status state = 0
14:49:47.075 (reboot): status read, retry 29
14:49:47.075 (reboot): Receive status EOT
14:49:47.075 (reboot): status read, retry 29
14:49:47.075 (loader): status data sent
14:49:47.178 (reboot): Sending status request
14:49:47.178 (loader): remote cmd from 10: "status"
14:49:47.179 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:49:47.179 (reboot): Receive status file = Blink.ino.hex
14:49:47.179 (reboot): Receive status readable = 1
14:49:47.179 (reboot): Receive status auto = 1
14:49:47.179 (reboot): Receive status online = 0
14:49:47.179 (reboot): Receive status online_count = 0
14:49:47.179 (reboot): Receive status offline_count = 0
14:49:47.179 (reboot): Receive status state = 0
14:49:47.179 (loader): status data sent
14:49:47.179 (reboot): Receive status EOT
14:49:47.179 (reboot): status read, retry 30
14:49:47.179 (reboot): status read, retry 30
14:49:47.282 (reboot): Sending status request
14:49:47.283 (loader): remote cmd from 10: "status"
14:49:47.283 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:49:47.283 (reboot): Receive status file = Blink.ino.hex
14:49:47.283 (reboot): Receive status readable = 1
14:49:47.283 (reboot): Receive status auto = 1
14:49:47.283 (reboot): Receive status online = 0
14:49:47.283 (reboot): Receive status online_count = 0
14:49:47.283 (reboot): Receive status offline_count = 0
14:49:47.283 (reboot): Receive status state = 0
14:49:47.283 (reboot): Receive status EOT
14:49:47.283 (reboot): status read, retry 31
14:49:47.283 (reboot): status read, retry 31
14:49:47.283 (loader): status data sent
14:49:47.388 (reboot): Sending status request
14:49:47.389 (loader): remote cmd from 10: "status"
14:49:47.389 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:49:47.389 (reboot): Receive status file = Blink.ino.hex
14:49:47.389 (reboot): Receive status readable = 1
14:49:47.389 (reboot): Receive status auto = 1
14:49:47.389 (reboot): Receive status online = 0
14:49:47.389 (reboot): Receive status online_count = 0
14:49:47.389 (reboot): Receive status offline_count = 0
14:49:47.389 (reboot): Receive status state = 0
14:49:47.389 (loader): status data sent
14:49:47.389 (reboot): Receive status EOT
14:49:47.389 (reboot): status read, retry 32
14:49:47.389 (reboot): status read, retry 32
14:49:47.492 (reboot): Sending status request
14:49:47.493 (loader): remote cmd from 10: "status"
14:49:47.493 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:49:47.493 (reboot): Receive status file = Blink.ino.hex
14:49:47.493 (reboot): Receive status readable = 1
14:49:47.493 (reboot): Receive status auto = 1
14:49:47.493 (reboot): Receive status online = 0
14:49:47.493 (reboot): Receive status online_count = 0
14:49:47.493 (reboot): Receive status offline_count = 0
14:49:47.493 (reboot): Receive status state = 0
14:49:47.493 (reboot): Receive status EOT
14:49:47.493 (reboot): status read, retry 33
14:49:47.493 (reboot): status read, retry 33
14:49:47.493 (loader): status data sent
14:49:47.598 (reboot): Sending status request
14:49:47.599 (loader): remote cmd from 10: "status"
14:49:47.599 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:49:47.599 (reboot): Receive status file = Blink.ino.hex
14:49:47.599 (reboot): Receive status readable = 1
14:49:47.599 (reboot): Receive status auto = 1
14:49:47.599 (reboot): Receive status online = 0
14:49:47.599 (reboot): Receive status online_count = 0
14:49:47.599 (reboot): Receive status offline_count = 0
14:49:47.599 (reboot): Receive status state = 0
14:49:47.599 (reboot): Receive status EOT
14:49:47.599 (reboot): status read, retry 34
14:49:47.599 (reboot): status read, retry 34
14:49:47.599 (loader): status data sent
14:49:47.703 (reboot): Sending status request
14:49:47.704 (loader): remote cmd from 10: "status"
14:49:47.705 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:49:47.705 (reboot): Receive status file = Blink.ino.hex
14:49:47.705 (reboot): Receive status readable = 1
14:49:47.705 (reboot): Receive status auto = 1
14:49:47.705 (reboot): Receive status online = 0
14:49:47.705 (reboot): Receive status online_count = 0
14:49:47.705 (loader): status data sent
14:49:47.705 (reboot): Receive status offline_count = 0
14:49:47.705 (reboot): Receive status state = 0
14:49:47.705 (reboot): status read, retry 35
14:49:47.705 (reboot): Receive status EOT
14:49:47.705 (reboot): status read, retry 35
14:49:47.810 (reboot): Sending status request
14:49:47.810 (loader): remote cmd from 10: "status"
14:49:47.811 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:49:47.811 (reboot): Receive status file = Blink.ino.hex
14:49:47.811 (reboot): Receive status readable = 1
14:49:47.811 (reboot): Receive status auto = 1
14:49:47.811 (reboot): Receive status online = 0
14:49:47.811 (loader): status data sent
14:49:47.811 (reboot): Receive status online_count = 0
14:49:47.811 (reboot): Receive status offline_count = 0
14:49:47.811 (reboot): Receive status state = 0
14:49:47.811 (reboot): status read, retry 36
14:49:47.811 (reboot): Receive status EOT
14:49:47.811 (reboot): status read, retry 36
14:49:47.916 (reboot): Sending status request
14:49:47.917 (loader): remote cmd from 10: "status"
14:49:47.917 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:49:47.917 (reboot): Receive status file = Blink.ino.hex
14:49:47.917 (reboot): Receive status readable = 1
14:49:47.917 (reboot): Receive status auto = 1
14:49:47.917 (reboot): Receive status online = 0
14:49:47.917 (reboot): Receive status online_count = 0
14:49:47.917 (loader): status data sent
14:49:47.917 (reboot): Receive status offline_count = 0
14:49:47.917 (reboot): Receive status state = 0
14:49:47.917 (reboot): Receive status EOT
14:49:47.917 (reboot): status read, retry 37
14:49:47.917 (reboot): status read, retry 37
14:49:48.018 (reboot): Sending status request
14:49:48.019 (loader): remote cmd from 10: "status"
14:49:48.019 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:49:48.019 (reboot): Receive status file = Blink.ino.hex
14:49:48.019 (reboot): Receive status readable = 1
14:49:48.019 (reboot): Receive status auto = 1
14:49:48.019 (reboot): Receive status online = 0
14:49:48.019 (reboot): Receive status online_count = 0
14:49:48.019 (reboot): Receive status offline_count = 0
14:49:48.019 (reboot): Receive status state = 0
14:49:48.019 (reboot): status read, retry 38
14:49:48.019 (reboot): Receive status EOT
14:49:48.019 (reboot): status read, retry 38
14:49:48.019 (loader): status data sent
14:49:48.119 (reboot): Sending status request
14:49:48.120 (loader): remote cmd from 10: "status"
14:49:48.121 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:49:48.121 (reboot): Receive status file = Blink.ino.hex
14:49:48.121 (reboot): Receive status readable = 1
14:49:48.121 (reboot): Receive status auto = 1
14:49:48.121 (reboot): Receive status online = 0
14:49:48.121 (reboot): Receive status online_count = 0
14:49:48.121 (reboot): Receive status offline_count = 0
14:49:48.121 (reboot): Receive status state = 0
14:49:48.121 (loader): status data sent
14:49:48.121 (reboot): Receive status EOT
14:49:48.121 (reboot): status read, retry 39
14:49:48.121 (reboot): status read, retry 39
14:49:48.222 (reboot): Sending status request
14:49:48.223 (loader): remote cmd from 10: "status"
14:49:48.223 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:49:48.223 (reboot): Receive status file = Blink.ino.hex
14:49:48.223 (reboot): Receive status readable = 1
14:49:48.223 (reboot): Receive status auto = 1
14:49:48.223 (reboot): Receive status online = 0
14:49:48.223 (reboot): Receive status online_count = 0
14:49:48.223 (reboot): Receive status offline_count = 0
14:49:48.223 (reboot): Receive status state = 0
14:49:48.223 (loader): status data sent
14:49:48.223 (reboot): Receive status EOT
14:49:48.223 (reboot): status read, retry 40
14:49:48.223 (reboot): status read, retry 40
14:49:48.328 (reboot): Sending status request
14:49:48.329 (loader): remote cmd from 10: "status"
14:49:48.329 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:49:48.329 (reboot): Receive status file = Blink.ino.hex
14:49:48.329 (reboot): Receive status readable = 1
14:49:48.329 (reboot): Receive status auto = 1
14:49:48.329 (reboot): Receive status online = 0
14:49:48.329 (reboot): Receive status online_count = 0
14:49:48.329 (reboot): Receive status offline_count = 0
14:49:48.329 (reboot): Receive status state = 0
14:49:48.329 (reboot): Receive status EOT
14:49:48.329 (reboot): status read, retry 41
14:49:48.329 (reboot): status read, retry 41
14:49:48.329 (loader): status data sent
14:49:48.434 (reboot): Sending status request
14:49:48.435 (loader): remote cmd from 10: "status"
14:49:48.435 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:49:48.435 (reboot): Receive status file = Blink.ino.hex
14:49:48.435 (reboot): Receive status readable = 1
14:49:48.435 (reboot): Receive status auto = 1
14:49:48.435 (reboot): Receive status online = 0
14:49:48.435 (reboot): Receive status online_count = 0
14:49:48.435 (reboot): Receive status offline_count = 0
14:49:48.435 (reboot): Receive status state = 0
14:49:48.435 (reboot): Receive status EOT
14:49:48.435 (reboot): status read, retry 42
14:49:48.435 (reboot): status read, retry 42
14:49:48.435 (loader): status data sent
14:49:48.536 (reboot): Sending status request
14:49:48.537 (loader): remote cmd from 10: "status"
14:49:48.537 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:49:48.537 (reboot): Receive status file = Blink.ino.hex
14:49:48.537 (reboot): Receive status readable = 1
14:49:48.537 (reboot): Receive status auto = 1
14:49:48.537 (reboot): Receive status online = 0
14:49:48.537 (reboot): Receive status online_count = 0
14:49:48.537 (reboot): Receive status offline_count = 0
14:49:48.537 (reboot): Receive status state = 0
14:49:48.537 (loader): status data sent
14:49:48.538 (reboot): Receive status EOT
14:49:48.538 (reboot): status read, retry 43
14:49:48.538 (reboot): status read, retry 43
14:49:48.640 (reboot): Sending status request
14:49:48.640 (loader): remote cmd from 10: "status"
14:49:48.641 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:49:48.641 (reboot): Receive status file = Blink.ino.hex
14:49:48.641 (reboot): Receive status readable = 1
14:49:48.641 (reboot): Receive status auto = 1
14:49:48.641 (reboot): Receive status online = 0
14:49:48.641 (reboot): Receive status online_count = 0
14:49:48.641 (reboot): Receive status offline_count = 0
14:49:48.641 (reboot): Receive status state = 0
14:49:48.641 (reboot): status read, retry 44
14:49:48.641 (reboot): Receive status EOT
14:49:48.641 (reboot): status read, retry 44
14:49:48.641 (loader): status data sent
14:49:48.746 (reboot): Sending status request
14:49:48.747 (loader): remote cmd from 10: "status"
14:49:48.747 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:49:48.747 (reboot): Receive status file = Blink.ino.hex
14:49:48.747 (reboot): Receive status readable = 1
14:49:48.747 (reboot): Receive status auto = 1
14:49:48.747 (reboot): Receive status online = 0
14:49:48.747 (reboot): Receive status online_count = 0
14:49:48.747 (reboot): Receive status offline_count = 0
14:49:48.747 (reboot): Receive status state = 0
14:49:48.747 (reboot): Receive status EOT
14:49:48.747 (reboot): status read, retry 45
14:49:48.747 (reboot): status read, retry 45
14:49:48.747 (loader): status data sent
14:49:48.850 (reboot): Sending status request
14:49:48.850 (loader): remote cmd from 10: "status"
14:49:48.850 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:49:48.850 (reboot): Receive status file = Blink.ino.hex
14:49:48.850 (reboot): Receive status readable = 1
14:49:48.850 (reboot): Receive status auto = 1
14:49:48.850 (reboot): Receive status online = 0
14:49:48.850 (reboot): Receive status online_count = 0
14:49:48.850 (loader): status data sent
14:49:48.851 (reboot): Receive status offline_count = 0
14:49:48.851 (reboot): Receive status state = 0
14:49:48.851 (reboot): Receive status EOT
14:49:48.851 (reboot): status read, retry 46
14:49:48.851 (reboot): status read, retry 46
14:49:48.954 (reboot): Sending status request
14:49:48.955 (loader): remote cmd from 10: "status"
14:49:48.955 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:49:48.955 (reboot): Receive status file = Blink.ino.hex
14:49:48.955 (reboot): Receive status readable = 1
14:49:48.955 (reboot): Receive status auto = 1
14:49:48.955 (reboot): Receive status online = 0
14:49:48.955 (reboot): Receive status online_count = 0
14:49:48.956 (loader): status data sent
14:49:48.956 (reboot): Receive status offline_count = 0
14:49:48.956 (reboot): Receive status state = 0
14:49:48.956 (reboot): status read, retry 47
14:49:48.956 (reboot): Receive status EOT
14:49:48.956 (reboot): status read, retry 47
14:49:49.056 (reboot): Sending status request
14:49:49.057 (loader): remote cmd from 10: "status"
14:49:49.057 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:49:49.057 (reboot): Receive status file = Blink.ino.hex
14:49:49.057 (reboot): Receive status readable = 1
14:49:49.057 (reboot): Receive status auto = 1
14:49:49.057 (reboot): Receive status online = 0
14:49:49.057 (reboot): Receive status online_count = 0
14:49:49.057 (reboot): Receive status offline_count = 0
14:49:49.057 (reboot): Receive status state = 0
14:49:49.057 (reboot): Receive status EOT
14:49:49.057 (reboot): status read, retry 48
14:49:49.057 (reboot): status read, retry 48
14:49:49.057 (loader): status data sent
14:49:49.158 (reboot): Sending status request
14:49:49.159 (loader): remote cmd from 10: "status"
14:49:49.159 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:49:49.159 (reboot): Receive status file = Blink.ino.hex
14:49:49.159 (reboot): Receive status readable = 1
14:49:49.159 (reboot): Receive status auto = 1
14:49:49.159 (reboot): Receive status online = 0
14:49:49.159 (reboot): Receive status online_count = 0
14:49:49.159 (reboot): Receive status offline_count = 0
14:49:49.159 (loader): status data sent
14:49:49.159 (reboot): Receive status state = 0
14:49:49.159 (reboot): status read, retry 49
14:49:49.159 (reboot): Receive status EOT
14:49:49.159 (reboot): status read, retry 49
14:49:49.262 (reboot): Teensy did not respond to a USB-based request to automatically reboot.
14:49:49.262 (loader): remote cmd from 10: "log:615"
14:49:49.268 (loader): remote connection 10 closed
14:49:49.270 (ports): got command: "list"
14:49:49.271 (ports): got command: "list"
14:50:36.326 (ports): USB remove callback
14:50:36.326 (ports): remove, loc=14200000
14:50:36.326 (ports): usb_remove: 14200000
14:50:36.326 (ports): del device: location=14200000
14:50:36.329 (loader): remote connection 13 opened
14:50:36.330 (loader): remote cmd from 13: "log:21"
14:50:39.899 (ports): USB add callback
14:50:39.900 (ports): add device: loc=14200000, vid=16C0, pid=0483, ver=0200
14:50:39.900 (ports): devpath=[no_device]
14:50:39.900 (ports): name: [no_device] (Teensy) Serial
14:50:39.902 (loader): remote cmd from 13: "log:4"
14:50:48.764 (ports): USB remove callback
14:50:48.764 (ports): remove, loc=14200000
14:50:48.764 (ports): usb_remove: 14200000
14:50:48.764 (ports): del device: location=14200000
14:50:48.766 (loader): remote cmd from 13: "log:4"
14:51:06.120 (ports): purge, name=[no_device] (Teensy) Serial, loc=14200000, age=17.356 sec
14:51:06.120 (ports): got command: "list"
14:51:26.968 (ports): USB add callback
14:51:26.968 (ports): add device: loc=14200000, vid=16C0, pid=0483, ver=0200
14:51:26.968 (ports): devpath=[no_device]
14:51:26.968 (ports): name: [no_device] (Teensy) Serial
14:51:26.970 (loader): remote cmd from 13: "log:6"
14:51:58.762 (loader): file changed
14:51:59.179 (post_compile): Begin
14:51:59.179 (loader): remote connection 16 opened
14:51:59.179 (post_compile): Sending command: comment: Teensyduino 1.42-beta2 - MACOSX (teensy_post_compile)
14:51:59.180 (loader): remote cmd from 16: "comment: Teensyduino 1.42-beta2 - MACOSX (teensy_post_compile)"
14:51:59.180 (post_compile): Sending status request
14:51:59.180 (loader): remote cmd from 16: "status"
14:51:59.180 (loader): file changed
14:51:59.183 (loader): File "Blink.ino.hex". 9776 bytes, 2% used
14:51:59.187 (post_compile): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:51:59.187 (post_compile): Receive status file = Blink.ino.hex
14:51:59.187 (post_compile): Receive status readable = 1
14:51:59.187 (post_compile): Receive status auto = 1
14:51:59.187 (post_compile): Receive status online = 0
14:51:59.187 (post_compile): Receive status online_count = 0
14:51:59.187 (post_compile): Receive status offline_count = 0
14:51:59.187 (post_compile): Receive status state = 0
14:51:59.187 (post_compile): Receive status EOT
14:51:59.187 (loader): status data sent
14:51:59.187 (post_compile): Disconnect
14:51:59.187 (loader): remote cmd from 16: "log:13"
14:51:59.198 (loader): remote connection 16 closed
14:51:59.319 (post_compile): Begin
14:51:59.320 (loader): remote connection 16 opened
14:51:59.320 (post_compile): Sending command: comment: Teensyduino 1.42-beta2 - MACOSX (teensy_post_compile)
14:51:59.320 (loader): remote cmd from 16: "comment: Teensyduino 1.42-beta2 - MACOSX (teensy_post_compile)"
14:51:59.320 (post_compile): Sending status request
14:51:59.320 (loader): remote cmd from 16: "status"
14:51:59.321 (post_compile): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:51:59.321 (post_compile): Receive status file = Blink.ino.hex
14:51:59.321 (post_compile): Receive status readable = 1
14:51:59.321 (post_compile): Receive status auto = 1
14:51:59.321 (post_compile): Receive status online = 0
14:51:59.321 (post_compile): Receive status online_count = 0
14:51:59.321 (post_compile): Receive status offline_count = 0
14:51:59.321 (post_compile): Receive status state = 0
14:51:59.321 (post_compile): Receive status EOT
14:51:59.321 (post_compile): Disconnect
14:51:59.321 (loader): status data sent
14:51:59.321 (loader): remote cmd from 16: "log:13"
14:51:59.332 (post_compile): Running teensy_reboot: /Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/teensy_reboot
14:51:59.333 (loader): remote connection 16 closed
14:51:59.333 (loader): remote connection 16 opened
14:51:59.333 (loader): remote cmd from 16: "log:1"
14:51:59.334 (loader): remote connection 16 closed
14:51:59.338 (reboot): Begin
14:51:59.338 (reboot): location = /dev/cu.usbmodem2277921
14:51:59.338 (reboot): portlabel = /dev/cu.usbmodem2277921 (Teensy)
14:51:59.338 (reboot): portprotocol = serial
14:51:59.338 (reboot): Serial device /dev/cu.usbmodem2277921 will be tried first
14:51:59.339 (reboot): USB add callback
14:51:59.339 (reboot): add device: loc=14200000, vid=16C0, pid=0483, ver=0200
14:51:59.339 (reboot): devpath=[no_device]
14:51:59.341 (loader): remote connection 16 opened
14:51:59.341 (reboot): USB remove callback
14:51:59.341 (reboot): found Teensy Loader, version 1.42
14:51:59.341 (reboot): Sending command: show:arduino_attempt_reboot
14:51:59.341 (loader): remote cmd from 16: "log:8"
14:51:59.341 (loader): remote cmd from 16: "log:1"
14:51:59.341 (loader): remote cmd from 16: "show:arduino_attempt_reboot"
14:51:59.341 (loader): got request to show arduino rebooting message
14:51:59.343 (reboot): Sending command: comment: Teensyduino 1.42-beta2 - MACOSX (teensy_reboot)
14:51:59.345 (loader): remote cmd from 16: "comment: Teensyduino 1.42-beta2 - MACOSX (teensy_reboot)"
14:51:59.345 (reboot): Sending status request
14:51:59.345 (loader): remote cmd from 16: "status"
14:51:59.345 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:51:59.345 (reboot): Receive status file = Blink.ino.hex
14:51:59.345 (reboot): Receive status readable = 1
14:51:59.345 (reboot): Receive status auto = 1
14:51:59.345 (reboot): Receive status online = 0
14:51:59.345 (reboot): Receive status online_count = 0
14:51:59.345 (reboot): Receive status offline_count = 0
14:51:59.345 (reboot): Receive status state = 0
14:51:59.345 (reboot): Receive status EOT
14:51:59.345 (reboot): do_reset (serial) [no_device]
14:51:59.345 (loader): status data sent
14:51:59.345 (reboot): Sending status request
14:51:59.345 (loader): remote cmd from 16: "status"
14:51:59.346 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:51:59.346 (reboot): Receive status file = Blink.ino.hex
14:51:59.346 (reboot): Receive status readable = 1
14:51:59.346 (reboot): Receive status auto = 1
14:51:59.346 (reboot): Receive status online = 0
14:51:59.346 (loader): status data sent
14:51:59.346 (reboot): Receive status online_count = 0
14:51:59.346 (reboot): Receive status offline_count = 0
14:51:59.346 (reboot): Receive status state = 0
14:51:59.346 (reboot): Receive status EOT
14:51:59.346 (reboot): status read, retry 0
14:51:59.346 (reboot): status read, retry 0
14:51:59.450 (reboot): Sending status request
14:51:59.451 (loader): remote cmd from 16: "status"
14:51:59.451 (loader): status data sent
14:51:59.451 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:51:59.451 (reboot): Receive status file = Blink.ino.hex
14:51:59.451 (reboot): Receive status readable = 1
14:51:59.451 (reboot): Receive status auto = 1
14:51:59.451 (reboot): Receive status online = 0
14:51:59.451 (reboot): Receive status online_count = 0
14:51:59.451 (reboot): Receive status offline_count = 0
14:51:59.451 (reboot): Receive status state = 0
14:51:59.451 (reboot): Receive status EOT
14:51:59.451 (reboot): status read, retry 1
14:51:59.451 (reboot): status read, retry 1
14:51:59.554 (reboot): Sending status request
14:51:59.555 (loader): remote cmd from 16: "status"
14:51:59.555 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:51:59.555 (reboot): Receive status file = Blink.ino.hex
14:51:59.555 (reboot): Receive status readable = 1
14:51:59.555 (reboot): Receive status auto = 1
14:51:59.555 (reboot): Receive status online = 0
14:51:59.555 (reboot): Receive status online_count = 0
14:51:59.555 (reboot): Receive status offline_count = 0
14:51:59.555 (reboot): Receive status state = 0
14:51:59.556 (reboot): Receive status EOT
14:51:59.556 (reboot): status read, retry 2
14:51:59.556 (reboot): status read, retry 2
14:51:59.556 (loader): status data sent
14:51:59.656 (reboot): Sending status request
14:51:59.656 (loader): remote cmd from 16: "status"
14:51:59.656 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:51:59.656 (reboot): Receive status file = Blink.ino.hex
14:51:59.656 (reboot): Receive status readable = 1
14:51:59.656 (reboot): Receive status auto = 1
14:51:59.656 (reboot): Receive status online = 0
14:51:59.656 (reboot): Receive status online_count = 0
14:51:59.656 (reboot): Receive status offline_count = 0
14:51:59.657 (reboot): Receive status state = 0
14:51:59.657 (loader): status data sent
14:51:59.657 (reboot): Receive status EOT
14:51:59.657 (reboot): status read, retry 3
14:51:59.657 (reboot): status read, retry 3
14:51:59.759 (reboot): Sending status request
14:51:59.759 (loader): remote cmd from 16: "status"
14:51:59.760 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:51:59.760 (reboot): Receive status file = Blink.ino.hex
14:51:59.760 (reboot): Receive status readable = 1
14:51:59.760 (reboot): Receive status auto = 1
14:51:59.760 (reboot): Receive status online = 0
14:51:59.760 (reboot): Receive status online_count = 0
14:51:59.760 (reboot): Receive status offline_count = 0
14:51:59.760 (reboot): Receive status state = 0
14:51:59.760 (reboot): Receive status EOT
14:51:59.760 (reboot): status read, retry 4
14:51:59.760 (reboot): status read, retry 4
14:51:59.760 (loader): status data sent
14:51:59.863 (reboot): Sending status request
14:51:59.863 (loader): remote cmd from 16: "status"
14:51:59.864 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:51:59.864 (reboot): Receive status file = Blink.ino.hex
14:51:59.864 (reboot): Receive status readable = 1
14:51:59.864 (reboot): Receive status auto = 1
14:51:59.864 (reboot): Receive status online = 0
14:51:59.864 (reboot): Receive status online_count = 0
14:51:59.864 (reboot): Receive status offline_count = 0
14:51:59.864 (reboot): Receive status state = 0
14:51:59.864 (loader): status data sent
14:51:59.864 (reboot): Receive status EOT
14:51:59.864 (reboot): status read, retry 5
14:51:59.864 (reboot): status read, retry 5
14:51:59.964 (reboot): Sending status request
14:51:59.965 (loader): remote cmd from 16: "status"
14:51:59.965 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:51:59.965 (reboot): Receive status file = Blink.ino.hex
14:51:59.965 (reboot): Receive status readable = 1
14:51:59.965 (reboot): Receive status auto = 1
14:51:59.965 (reboot): Receive status online = 0
14:51:59.965 (reboot): Receive status online_count = 0
14:51:59.965 (reboot): Receive status offline_count = 0
14:51:59.965 (reboot): Receive status state = 0
14:51:59.965 (loader): status data sent
14:51:59.965 (reboot): Receive status EOT
14:51:59.965 (reboot): status read, retry 6
14:51:59.965 (reboot): status read, retry 6
14:52:00.066 (reboot): Sending status request
14:52:00.067 (loader): remote cmd from 16: "status"
14:52:00.067 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:52:00.067 (reboot): Receive status file = Blink.ino.hex
14:52:00.067 (reboot): Receive status readable = 1
14:52:00.067 (reboot): Receive status auto = 1
14:52:00.067 (reboot): Receive status online = 0
14:52:00.067 (reboot): Receive status online_count = 0
14:52:00.067 (reboot): Receive status offline_count = 0
14:52:00.068 (reboot): Receive status state = 0
14:52:00.068 (loader): status data sent
14:52:00.068 (reboot): Receive status EOT
14:52:00.068 (reboot): status read, retry 7
14:52:00.068 (reboot): status read, retry 7
14:52:00.173 (reboot): Sending status request
14:52:00.173 (loader): remote cmd from 16: "status"
14:52:00.174 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:52:00.174 (reboot): Receive status file = Blink.ino.hex
14:52:00.174 (reboot): Receive status readable = 1
14:52:00.174 (reboot): Receive status auto = 1
14:52:00.174 (reboot): Receive status online = 0
14:52:00.174 (reboot): Receive status online_count = 0
14:52:00.174 (reboot): Receive status offline_count = 0
14:52:00.174 (reboot): Receive status state = 0
14:52:00.174 (loader): status data sent
14:52:00.174 (reboot): Receive status EOT
14:52:00.174 (reboot): status read, retry 8
14:52:00.174 (reboot): status read, retry 8
14:52:00.279 (reboot): Sending status request
14:52:00.280 (loader): remote cmd from 16: "status"
14:52:00.280 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:52:00.280 (reboot): Receive status file = Blink.ino.hex
14:52:00.280 (reboot): Receive status readable = 1
14:52:00.280 (reboot): Receive status auto = 1
14:52:00.280 (reboot): Receive status online = 0
14:52:00.280 (reboot): Receive status online_count = 0
14:52:00.280 (reboot): Receive status offline_count = 0
14:52:00.280 (reboot): Receive status state = 0
14:52:00.280 (reboot): Receive status EOT
14:52:00.280 (reboot): status read, retry 9
14:52:00.280 (loader): status data sent
14:52:00.280 (reboot): status read, retry 9
14:52:00.381 (reboot): Sending status request
14:52:00.382 (loader): remote cmd from 16: "status"
14:52:00.382 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:52:00.382 (reboot): Receive status file = Blink.ino.hex
14:52:00.382 (reboot): Receive status readable = 1
14:52:00.382 (reboot): Receive status auto = 1
14:52:00.382 (reboot): Receive status online = 0
14:52:00.382 (reboot): Receive status online_count = 0
14:52:00.382 (reboot): Receive status offline_count = 0
14:52:00.382 (loader): status data sent
14:52:00.382 (reboot): Receive status state = 0
14:52:00.382 (reboot): Receive status EOT
14:52:00.382 (reboot): status read, retry 10
14:52:00.382 (reboot): status read, retry 10
14:52:00.483 (reboot): Sending status request
14:52:00.483 (loader): remote cmd from 16: "status"
14:52:00.484 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:52:00.484 (reboot): Receive status file = Blink.ino.hex
14:52:00.484 (reboot): Receive status readable = 1
14:52:00.484 (reboot): Receive status auto = 1
14:52:00.484 (reboot): Receive status online = 0
14:52:00.484 (reboot): Receive status online_count = 0
14:52:00.484 (reboot): Receive status offline_count = 0
14:52:00.484 (reboot): Receive status state = 0
14:52:00.484 (reboot): Receive status EOT
14:52:00.484 (reboot): status read, retry 11
14:52:00.484 (reboot): status read, retry 11
14:52:00.484 (loader): status data sent
14:52:00.587 (reboot): Sending status request
14:52:00.587 (loader): remote cmd from 16: "status"
14:52:00.588 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:52:00.588 (reboot): Receive status file = Blink.ino.hex
14:52:00.588 (reboot): Receive status readable = 1
14:52:00.588 (reboot): Receive status auto = 1
14:52:00.588 (reboot): Receive status online = 0
14:52:00.588 (reboot): Receive status online_count = 0
14:52:00.588 (reboot): Receive status offline_count = 0
14:52:00.588 (reboot): Receive status state = 0
14:52:00.588 (reboot): Receive status EOT
14:52:00.588 (reboot): status read, retry 12
14:52:00.588 (reboot): status read, retry 12
14:52:00.588 (loader): status data sent
14:52:00.691 (reboot): Sending status request
14:52:00.692 (loader): remote cmd from 16: "status"
14:52:00.692 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:52:00.692 (reboot): Receive status file = Blink.ino.hex
14:52:00.692 (reboot): Receive status readable = 1
14:52:00.692 (reboot): Receive status auto = 1
14:52:00.692 (reboot): Receive status online = 0
14:52:00.692 (reboot): Receive status online_count = 0
14:52:00.692 (reboot): Receive status offline_count = 0
14:52:00.692 (reboot): Receive status state = 0
14:52:00.692 (loader): status data sent
14:52:00.692 (reboot): Receive status EOT
14:52:00.692 (reboot): status read, retry 13
14:52:00.692 (reboot): status read, retry 13
14:52:00.796 (reboot): Sending status request
14:52:00.797 (loader): remote cmd from 16: "status"
14:52:00.797 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:52:00.797 (reboot): Receive status file = Blink.ino.hex
14:52:00.797 (reboot): Receive status readable = 1
14:52:00.797 (loader): status data sent
14:52:00.797 (reboot): Receive status auto = 1
14:52:00.797 (reboot): Receive status online = 0
14:52:00.797 (reboot): Receive status online_count = 0
14:52:00.797 (reboot): Receive status offline_count = 0
14:52:00.797 (reboot): Receive status state = 0
14:52:00.797 (reboot): Receive status EOT
14:52:00.797 (reboot): status read, retry 14
14:52:00.797 (reboot): status read, retry 14
14:52:00.899 (reboot): Sending status request
14:52:00.900 (loader): remote cmd from 16: "status"
14:52:00.900 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:52:00.900 (reboot): Receive status file = Blink.ino.hex
14:52:00.900 (reboot): Receive status readable = 1
14:52:00.900 (reboot): Receive status auto = 1
14:52:00.900 (reboot): Receive status online = 0
14:52:00.900 (reboot): Receive status online_count = 0
14:52:00.900 (reboot): Receive status offline_count = 0
14:52:00.900 (reboot): Receive status state = 0
14:52:00.901 (loader): status data sent
14:52:00.901 (reboot): Receive status EOT
14:52:00.901 (reboot): status read, retry 15
14:52:00.901 (reboot): status read, retry 15
14:52:01.001 (reboot): Sending status request
14:52:01.002 (loader): remote cmd from 16: "status"
14:52:01.002 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:52:01.002 (reboot): Receive status file = Blink.ino.hex
14:52:01.002 (reboot): Receive status readable = 1
14:52:01.002 (reboot): Receive status auto = 1
14:52:01.002 (reboot): Receive status online = 0
14:52:01.002 (reboot): Receive status online_count = 0
14:52:01.002 (reboot): Receive status offline_count = 0
14:52:01.002 (reboot): Receive status state = 0
14:52:01.002 (reboot): Receive status EOT
14:52:01.002 (reboot): status read, retry 16
14:52:01.002 (reboot): status read, retry 16
14:52:01.002 (loader): status data sent
14:52:01.107 (reboot): Sending status request
14:52:01.108 (loader): remote cmd from 16: "status"
14:52:01.108 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:52:01.108 (reboot): Receive status file = Blink.ino.hex
14:52:01.108 (reboot): Receive status readable = 1
14:52:01.108 (reboot): Receive status auto = 1
14:52:01.108 (reboot): Receive status online = 0
14:52:01.108 (reboot): Receive status online_count = 0
14:52:01.108 (reboot): Receive status offline_count = 0
14:52:01.108 (reboot): Receive status state = 0
14:52:01.108 (loader): status data sent
14:52:01.108 (reboot): Receive status EOT
14:52:01.108 (reboot): status read, retry 17
14:52:01.108 (reboot): status read, retry 17
14:52:01.210 (reboot): Sending status request
14:52:01.210 (loader): remote cmd from 16: "status"
14:52:01.210 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:52:01.210 (reboot): Receive status file = Blink.ino.hex
14:52:01.210 (reboot): Receive status readable = 1
14:52:01.210 (reboot): Receive status auto = 1
14:52:01.210 (reboot): Receive status online = 0
14:52:01.210 (reboot): Receive status offline_count = 0
14:52:01.210 (reboot): Receive status online_count = 0
14:52:01.211 (loader): status data sent
14:52:01.211 (reboot): Receive status state = 0
14:52:01.211 (reboot): Receive status EOT
14:52:01.211 (reboot): status read, retry 18
14:52:01.211 (reboot): status read, retry 18
14:52:01.316 (reboot): Sending status request
14:52:01.316 (loader): remote cmd from 16: "status"
14:52:01.317 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:52:01.317 (reboot): Receive status file = Blink.ino.hex
14:52:01.317 (reboot): Receive status readable = 1
14:52:01.317 (reboot): Receive status auto = 1
14:52:01.317 (reboot): Receive status online = 0
14:52:01.317 (reboot): Receive status online_count = 0
14:52:01.317 (reboot): Receive status offline_count = 0
14:52:01.317 (loader): status data sent
14:52:01.317 (reboot): Receive status state = 0
14:52:01.317 (reboot): Receive status EOT
14:52:01.317 (reboot): status read, retry 19
14:52:01.317 (reboot): status read, retry 19
14:52:01.419 (reboot): Sending status request
14:52:01.419 (loader): remote cmd from 16: "status"
14:52:01.420 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:52:01.420 (reboot): Receive status file = Blink.ino.hex
14:52:01.420 (reboot): Receive status readable = 1
14:52:01.420 (reboot): Receive status auto = 1
14:52:01.420 (reboot): Receive status online = 0
14:52:01.420 (reboot): Receive status online_count = 0
14:52:01.420 (reboot): Receive status offline_count = 0
14:52:01.420 (reboot): Receive status state = 0
14:52:01.420 (loader): status data sent
14:52:01.420 (reboot): Receive status EOT
14:52:01.420 (reboot): status read, retry 20
14:52:01.420 (reboot): status read, retry 20
14:52:01.521 (reboot): Sending status request
14:52:01.522 (loader): remote cmd from 16: "status"
14:52:01.522 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:52:01.522 (reboot): Receive status file = Blink.ino.hex
14:52:01.522 (reboot): Receive status readable = 1
14:52:01.522 (reboot): Receive status auto = 1
14:52:01.522 (reboot): Receive status online = 0
14:52:01.522 (reboot): Receive status online_count = 0
14:52:01.522 (reboot): Receive status state = 0
14:52:01.522 (reboot): Receive status offline_count = 0
14:52:01.522 (reboot): Receive status EOT
14:52:01.522 (reboot): status read, retry 21
14:52:01.522 (reboot): status read, retry 21
14:52:01.522 (loader): status data sent
14:52:01.627 (reboot): Sending status request
14:52:01.628 (loader): remote cmd from 16: "status"
14:52:01.628 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:52:01.628 (reboot): Receive status file = Blink.ino.hex
14:52:01.628 (reboot): Receive status readable = 1
14:52:01.628 (reboot): Receive status auto = 1
14:52:01.628 (reboot): Receive status online = 0
14:52:01.628 (reboot): Receive status online_count = 0
14:52:01.628 (reboot): Receive status offline_count = 0
14:52:01.628 (reboot): Receive status state = 0
14:52:01.628 (reboot): Receive status EOT
14:52:01.628 (reboot): status read, retry 22
14:52:01.628 (reboot): status read, retry 22
14:52:01.628 (loader): status data sent
14:52:01.732 (reboot): Sending status request
14:52:01.733 (loader): remote cmd from 16: "status"
14:52:01.733 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:52:01.733 (reboot): Receive status file = Blink.ino.hex
14:52:01.733 (reboot): Receive status readable = 1
14:52:01.733 (reboot): Receive status auto = 1
14:52:01.733 (reboot): Receive status online = 0
14:52:01.733 (reboot): Receive status online_count = 0
14:52:01.733 (reboot): Receive status offline_count = 0
14:52:01.733 (reboot): Receive status state = 0
14:52:01.733 (reboot): Receive status EOT
14:52:01.733 (reboot): status read, retry 23
14:52:01.733 (reboot): status read, retry 23
14:52:01.733 (loader): status data sent
14:52:01.836 (reboot): Sending status request
14:52:01.836 (loader): remote cmd from 16: "status"
14:52:01.837 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:52:01.837 (reboot): Receive status file = Blink.ino.hex
14:52:01.837 (reboot): Receive status readable = 1
14:52:01.837 (reboot): Receive status auto = 1
14:52:01.837 (reboot): Receive status online = 0
14:52:01.837 (reboot): Receive status online_count = 0
14:52:01.837 (reboot): Receive status offline_count = 0
14:52:01.837 (reboot): Receive status state = 0
14:52:01.837 (reboot): Receive status EOT
14:52:01.837 (reboot): status read, retry 24
14:52:01.837 (reboot): status read, retry 24
14:52:01.837 (loader): status data sent
14:52:01.937 (reboot): Sending status request
14:52:01.938 (loader): remote cmd from 16: "status"
14:52:01.938 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:52:01.938 (reboot): Receive status file = Blink.ino.hex
14:52:01.938 (reboot): Receive status readable = 1
14:52:01.938 (reboot): Receive status auto = 1
14:52:01.938 (reboot): Receive status online = 0
14:52:01.938 (reboot): Receive status online_count = 0
14:52:01.938 (reboot): Receive status offline_count = 0
14:52:01.938 (reboot): Receive status state = 0
14:52:01.938 (reboot): Receive status EOT
14:52:01.938 (reboot): status read, retry 25
14:52:01.938 (reboot): status read, retry 25
14:52:01.938 (loader): status data sent
14:52:02.043 (reboot): Sending status request
14:52:02.044 (loader): remote cmd from 16: "status"
14:52:02.044 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:52:02.044 (reboot): Receive status file = Blink.ino.hex
14:52:02.044 (reboot): Receive status readable = 1
14:52:02.044 (reboot): Receive status auto = 1
14:52:02.044 (reboot): Receive status online = 0
14:52:02.044 (reboot): Receive status offline_count = 0
14:52:02.044 (reboot): Receive status online_count = 0
14:52:02.044 (reboot): Receive status state = 0
14:52:02.044 (loader): status data sent
14:52:02.044 (reboot): Receive status EOT
14:52:02.044 (reboot): status read, retry 26
14:52:02.044 (reboot): status read, retry 26
14:52:02.146 (reboot): Sending status request
14:52:02.147 (loader): remote cmd from 16: "status"
14:52:02.147 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:52:02.147 (reboot): Receive status file = Blink.ino.hex
14:52:02.147 (reboot): Receive status readable = 1
14:52:02.147 (reboot): Receive status auto = 1
14:52:02.147 (reboot): Receive status online = 0
14:52:02.147 (reboot): Receive status online_count = 0
14:52:02.147 (reboot): Receive status offline_count = 0
14:52:02.147 (reboot): Receive status state = 0
14:52:02.147 (loader): status data sent
14:52:02.147 (reboot): Receive status EOT
14:52:02.147 (reboot): status read, retry 27
14:52:02.147 (reboot): status read, retry 27
14:52:02.250 (reboot): Sending status request
14:52:02.251 (loader): remote cmd from 16: "status"
14:52:02.251 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:52:02.251 (reboot): Receive status file = Blink.ino.hex
14:52:02.251 (reboot): Receive status readable = 1
14:52:02.251 (reboot): Receive status auto = 1
14:52:02.251 (reboot): Receive status online = 0
14:52:02.251 (reboot): Receive status online_count = 0
14:52:02.251 (reboot): Receive status offline_count = 0
14:52:02.251 (reboot): Receive status state = 0
14:52:02.251 (reboot): Receive status EOT
14:52:02.251 (reboot): status read, retry 28
14:52:02.251 (reboot): status read, retry 28
14:52:02.251 (loader): status data sent
14:52:02.354 (reboot): Sending status request
14:52:02.355 (loader): remote cmd from 16: "status"
14:52:02.355 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:52:02.355 (reboot): Receive status file = Blink.ino.hex
14:52:02.355 (reboot): Receive status readable = 1
14:52:02.355 (reboot): Receive status auto = 1
14:52:02.355 (reboot): Receive status online = 0
14:52:02.355 (reboot): Receive status online_count = 0
14:52:02.355 (reboot): Receive status offline_count = 0
14:52:02.355 (loader): status data sent
14:52:02.355 (reboot): Receive status state = 0
14:52:02.355 (reboot): Receive status EOT
14:52:02.355 (reboot): status read, retry 29
14:52:02.355 (reboot): status read, retry 29
14:52:02.456 (reboot): Sending status request
14:52:02.456 (loader): remote cmd from 16: "status"
14:52:02.456 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:52:02.456 (reboot): Receive status file = Blink.ino.hex
14:52:02.456 (reboot): Receive status readable = 1
14:52:02.456 (reboot): Receive status auto = 1
14:52:02.456 (reboot): Receive status online = 0
14:52:02.456 (reboot): Receive status online_count = 0
14:52:02.456 (reboot): Receive status offline_count = 0
14:52:02.456 (reboot): Receive status state = 0
14:52:02.456 (reboot): Receive status EOT
14:52:02.456 (reboot): status read, retry 30
14:52:02.456 (reboot): status read, retry 30
14:52:02.456 (loader): status data sent
14:52:02.558 (reboot): Sending status request
14:52:02.558 (loader): remote cmd from 16: "status"
14:52:02.559 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:52:02.559 (reboot): Receive status file = Blink.ino.hex
14:52:02.559 (reboot): Receive status readable = 1
14:52:02.559 (reboot): Receive status auto = 1
14:52:02.559 (reboot): Receive status online = 0
14:52:02.559 (reboot): Receive status online_count = 0
14:52:02.559 (reboot): Receive status offline_count = 0
14:52:02.559 (reboot): Receive status state = 0
14:52:02.559 (loader): status data sent
14:52:02.559 (reboot): Receive status EOT
14:52:02.559 (reboot): status read, retry 31
14:52:02.559 (reboot): status read, retry 31
14:52:02.663 (reboot): Sending status request
14:52:02.663 (loader): remote cmd from 16: "status"
14:52:02.664 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:52:02.664 (reboot): Receive status file = Blink.ino.hex
14:52:02.664 (reboot): Receive status readable = 1
14:52:02.664 (reboot): Receive status auto = 1
14:52:02.664 (reboot): Receive status online = 0
14:52:02.664 (reboot): Receive status online_count = 0
14:52:02.664 (reboot): Receive status offline_count = 0
14:52:02.664 (reboot): Receive status state = 0
14:52:02.664 (loader): status data sent
14:52:02.664 (reboot): Receive status EOT
14:52:02.664 (reboot): status read, retry 32
14:52:02.664 (reboot): status read, retry 32
14:52:02.765 (reboot): Sending status request
14:52:02.765 (loader): remote cmd from 16: "status"
14:52:02.765 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:52:02.765 (reboot): Receive status file = Blink.ino.hex
14:52:02.765 (reboot): Receive status readable = 1
14:52:02.765 (reboot): Receive status auto = 1
14:52:02.765 (reboot): Receive status online = 0
14:52:02.765 (reboot): Receive status online_count = 0
14:52:02.766 (reboot): Receive status offline_count = 0
14:52:02.766 (loader): status data sent
14:52:02.766 (reboot): Receive status state = 0
14:52:02.766 (reboot): Receive status EOT
14:52:02.766 (reboot): status read, retry 33
14:52:02.766 (reboot): status read, retry 33
14:52:02.871 (reboot): Sending status request
14:52:02.871 (loader): remote cmd from 16: "status"
14:52:02.872 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:52:02.872 (reboot): Receive status file = Blink.ino.hex
14:52:02.872 (reboot): Receive status readable = 1
14:52:02.872 (reboot): Receive status auto = 1
14:52:02.872 (reboot): Receive status online = 0
14:52:02.872 (reboot): Receive status online_count = 0
14:52:02.872 (reboot): Receive status offline_count = 0
14:52:02.872 (reboot): Receive status state = 0
14:52:02.872 (reboot): Receive status EOT
14:52:02.872 (reboot): status read, retry 34
14:52:02.872 (reboot): status read, retry 34
14:52:02.872 (loader): status data sent
14:52:02.973 (reboot): Sending status request
14:52:02.973 (loader): remote cmd from 16: "status"
14:52:02.974 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:52:02.974 (reboot): Receive status file = Blink.ino.hex
14:52:02.974 (reboot): Receive status readable = 1
14:52:02.974 (reboot): Receive status auto = 1
14:52:02.974 (reboot): Receive status online = 0
14:52:02.974 (reboot): Receive status online_count = 0
14:52:02.974 (reboot): Receive status offline_count = 0
14:52:02.974 (loader): status data sent
14:52:02.974 (reboot): Receive status state = 0
14:52:02.974 (reboot): Receive status EOT
14:52:02.974 (reboot): status read, retry 35
14:52:02.974 (reboot): status read, retry 35
14:52:03.074 (reboot): Sending status request
14:52:03.075 (loader): remote cmd from 16: "status"
14:52:03.075 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:52:03.075 (reboot): Receive status file = Blink.ino.hex
14:52:03.075 (reboot): Receive status readable = 1
14:52:03.075 (reboot): Receive status auto = 1
14:52:03.075 (reboot): Receive status online = 0
14:52:03.075 (reboot): Receive status online_count = 0
14:52:03.075 (reboot): Receive status offline_count = 0
14:52:03.075 (reboot): Receive status state = 0
14:52:03.075 (reboot): Receive status EOT
14:52:03.075 (reboot): status read, retry 36
14:52:03.075 (loader): status data sent
14:52:03.075 (reboot): status read, retry 36
14:52:03.180 (reboot): Sending status request
14:52:03.181 (loader): remote cmd from 16: "status"
14:52:03.181 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:52:03.181 (reboot): Receive status file = Blink.ino.hex
14:52:03.181 (reboot): Receive status readable = 1
14:52:03.181 (reboot): Receive status auto = 1
14:52:03.181 (reboot): Receive status online = 0
14:52:03.181 (reboot): Receive status online_count = 0
14:52:03.181 (reboot): Receive status offline_count = 0
14:52:03.181 (reboot): Receive status state = 0
14:52:03.181 (loader): status data sent
14:52:03.181 (reboot): Receive status EOT
14:52:03.181 (reboot): status read, retry 37
14:52:03.181 (reboot): status read, retry 37
14:52:03.283 (reboot): Sending status request
14:52:03.283 (loader): remote cmd from 16: "status"
14:52:03.284 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:52:03.284 (reboot): Receive status file = Blink.ino.hex
14:52:03.284 (reboot): Receive status readable = 1
14:52:03.284 (reboot): Receive status auto = 1
14:52:03.284 (reboot): Receive status online = 0
14:52:03.284 (reboot): Receive status online_count = 0
14:52:03.284 (reboot): Receive status offline_count = 0
14:52:03.284 (reboot): Receive status state = 0
14:52:03.284 (reboot): Receive status EOT
14:52:03.284 (reboot): status read, retry 38
14:52:03.284 (reboot): status read, retry 38
14:52:03.284 (loader): status data sent
14:52:03.389 (reboot): Sending status request
14:52:03.390 (loader): remote cmd from 16: "status"
14:52:03.390 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:52:03.390 (reboot): Receive status file = Blink.ino.hex
14:52:03.390 (reboot): Receive status readable = 1
14:52:03.390 (reboot): Receive status auto = 1
14:52:03.390 (reboot): Receive status online = 0
14:52:03.390 (reboot): Receive status online_count = 0
14:52:03.390 (reboot): Receive status offline_count = 0
14:52:03.390 (reboot): Receive status state = 0
14:52:03.390 (loader): status data sent
14:52:03.390 (reboot): Receive status EOT
14:52:03.390 (reboot): status read, retry 39
14:52:03.390 (reboot): status read, retry 39
14:52:03.492 (reboot): Sending status request
14:52:03.493 (loader): remote cmd from 16: "status"
14:52:03.493 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:52:03.493 (reboot): Receive status file = Blink.ino.hex
14:52:03.493 (reboot): Receive status readable = 1
14:52:03.493 (reboot): Receive status auto = 1
14:52:03.493 (reboot): Receive status online = 0
14:52:03.493 (reboot): Receive status online_count = 0
14:52:03.493 (reboot): Receive status offline_count = 0
14:52:03.493 (reboot): Receive status state = 0
14:52:03.493 (loader): status data sent
14:52:03.493 (reboot): Receive status EOT
14:52:03.493 (reboot): status read, retry 40
14:52:03.493 (reboot): status read, retry 40
14:52:03.594 (reboot): Sending status request
14:52:03.594 (loader): remote cmd from 16: "status"
14:52:03.594 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:52:03.594 (reboot): Receive status file = Blink.ino.hex
14:52:03.594 (reboot): Receive status readable = 1
14:52:03.594 (reboot): Receive status auto = 1
14:52:03.594 (reboot): Receive status online = 0
14:52:03.594 (reboot): Receive status online_count = 0
14:52:03.594 (reboot): Receive status offline_count = 0
14:52:03.594 (reboot): Receive status state = 0
14:52:03.594 (loader): status data sent
14:52:03.594 (reboot): Receive status EOT
14:52:03.594 (reboot): status read, retry 41
14:52:03.594 (reboot): status read, retry 41
14:52:03.696 (reboot): Sending status request
14:52:03.696 (loader): remote cmd from 16: "status"
14:52:03.697 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:52:03.697 (reboot): Receive status file = Blink.ino.hex
14:52:03.697 (reboot): Receive status readable = 1
14:52:03.697 (reboot): Receive status auto = 1
14:52:03.697 (reboot): Receive status online = 0
14:52:03.697 (reboot): Receive status online_count = 0
14:52:03.697 (reboot): Receive status offline_count = 0
14:52:03.697 (reboot): Receive status state = 0
14:52:03.697 (reboot): Receive status EOT
14:52:03.697 (reboot): status read, retry 42
14:52:03.697 (reboot): status read, retry 42
14:52:03.697 (loader): status data sent
14:52:03.802 (reboot): Sending status request
14:52:03.802 (loader): remote cmd from 16: "status"
14:52:03.802 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:52:03.803 (reboot): Receive status file = Blink.ino.hex
14:52:03.803 (reboot): Receive status readable = 1
14:52:03.803 (reboot): Receive status auto = 1
14:52:03.803 (reboot): Receive status online = 0
14:52:03.803 (reboot): Receive status online_count = 0
14:52:03.803 (reboot): Receive status offline_count = 0
14:52:03.803 (reboot): Receive status state = 0
14:52:03.803 (reboot): Receive status EOT
14:52:03.803 (reboot): status read, retry 43
14:52:03.803 (reboot): status read, retry 43
14:52:03.803 (loader): status data sent
14:52:03.907 (reboot): Sending status request
14:52:03.908 (loader): remote cmd from 16: "status"
14:52:03.908 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:52:03.908 (reboot): Receive status file = Blink.ino.hex
14:52:03.908 (reboot): Receive status readable = 1
14:52:03.908 (reboot): Receive status auto = 1
14:52:03.908 (reboot): Receive status online = 0
14:52:03.908 (reboot): Receive status online_count = 0
14:52:03.908 (reboot): Receive status offline_count = 0
14:52:03.908 (reboot): Receive status state = 0
14:52:03.908 (reboot): Receive status EOT
14:52:03.908 (reboot): status read, retry 44
14:52:03.908 (reboot): status read, retry 44
14:52:03.908 (loader): status data sent
14:52:04.013 (reboot): Sending status request
14:52:04.013 (loader): remote cmd from 16: "status"
14:52:04.013 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:52:04.013 (reboot): Receive status file = Blink.ino.hex
14:52:04.013 (reboot): Receive status readable = 1
14:52:04.013 (reboot): Receive status auto = 1
14:52:04.013 (reboot): Receive status online = 0
14:52:04.013 (reboot): Receive status online_count = 0
14:52:04.013 (reboot): Receive status offline_count = 0
14:52:04.013 (reboot): Receive status state = 0
14:52:04.013 (reboot): Receive status EOT
14:52:04.013 (reboot): status read, retry 45
14:52:04.013 (reboot): status read, retry 45
14:52:04.013 (loader): status data sent
14:52:04.118 (reboot): Sending status request
14:52:04.119 (loader): remote cmd from 16: "status"
14:52:04.119 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:52:04.119 (reboot): Receive status file = Blink.ino.hex
14:52:04.119 (reboot): Receive status readable = 1
14:52:04.119 (reboot): Receive status auto = 1
14:52:04.119 (reboot): Receive status online = 0
14:52:04.120 (loader): status data sent
14:52:04.120 (reboot): Receive status online_count = 0
14:52:04.120 (reboot): Receive status offline_count = 0
14:52:04.120 (reboot): Receive status state = 0
14:52:04.120 (reboot): status read, retry 46
14:52:04.120 (reboot): Receive status EOT
14:52:04.120 (reboot): status read, retry 46
14:52:04.220 (reboot): Sending status request
14:52:04.220 (loader): remote cmd from 16: "status"
14:52:04.221 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:52:04.221 (reboot): Receive status file = Blink.ino.hex
14:52:04.221 (reboot): Receive status readable = 1
14:52:04.221 (reboot): Receive status auto = 1
14:52:04.221 (reboot): Receive status online = 0
14:52:04.221 (reboot): Receive status online_count = 0
14:52:04.221 (reboot): Receive status offline_count = 0
14:52:04.221 (reboot): Receive status state = 0
14:52:04.221 (reboot): Receive status EOT
14:52:04.221 (reboot): status read, retry 47
14:52:04.221 (reboot): status read, retry 47
14:52:04.221 (loader): status data sent
14:52:04.326 (reboot): Sending status request
14:52:04.326 (loader): remote cmd from 16: "status"
14:52:04.327 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:52:04.327 (reboot): Receive status file = Blink.ino.hex
14:52:04.327 (reboot): Receive status readable = 1
14:52:04.327 (reboot): Receive status auto = 1
14:52:04.327 (reboot): Receive status online = 0
14:52:04.327 (reboot): Receive status online_count = 0
14:52:04.327 (reboot): Receive status offline_count = 0
14:52:04.327 (reboot): Receive status state = 0
14:52:04.327 (reboot): Receive status EOT
14:52:04.327 (reboot): status read, retry 48
14:52:04.327 (reboot): status read, retry 48
14:52:04.327 (loader): status data sent
14:52:04.429 (reboot): Sending status request
14:52:04.429 (loader): remote cmd from 16: "status"
14:52:04.430 (reboot): Receive status dir = /var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/
14:52:04.430 (reboot): Receive status file = Blink.ino.hex
14:52:04.430 (reboot): Receive status readable = 1
14:52:04.430 (reboot): Receive status auto = 1
14:52:04.430 (reboot): Receive status online = 0
14:52:04.430 (reboot): Receive status online_count = 0
14:52:04.430 (reboot): Receive status offline_count = 0
14:52:04.430 (reboot): Receive status state = 0
14:52:04.430 (reboot): Receive status EOT
14:52:04.430 (reboot): status read, retry 49
14:52:04.430 (reboot): status read, retry 49
14:52:04.430 (loader): status data sent
14:52:04.531 (reboot): Teensy did not respond to a USB-based request to automatically reboot.
14:52:04.532 (loader): remote cmd from 16: "log:615"
14:52:04.537 (loader): remote connection 16 closed
15:19:12.190 (loader): Verbose Info event


Main window:

Linking everything together...
"/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc" -O2 -Wl,--gc-sections,--relax,--defsym=__rtc_localtime=1519743109 "-T/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy3/mk64fx512.ld" -lstdc++ -mthumb -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsingle-precision-constant -o "/var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/Blink.ino.elf" "/var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/sketch/Blink.ino.cpp.o" "/var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/core/core.a" "-L/var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870" -larm_cortexM4lf_math -lm
"/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-objcopy" -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 "/var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/Blink.ino.elf" "/var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/Blink.ino.eep"
"/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-objcopy" -O ihex -R .eeprom "/var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/Blink.ino.elf" "/var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/Blink.ino.hex"
"/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/stdout_redirect" "/var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/Blink.ino.lst" "/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-objdump" -d -S -C "/var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/Blink.ino.elf"
"/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/stdout_redirect" "/var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/Blink.ino.sym" "/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-objdump" -t -C "/var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870/Blink.ino.elf"
"/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/teensy_post_compile" "-file=Blink.ino" "-path=/var/folders/c8/jzlb4l7j6lb513z19lj2rclr0000gp/T/arduino_build_841870" "-tools=/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/" "-board=TEENSY35"
Sketch uses 9772 bytes (1%) of program storage space. Maximum is 524288 bytes.
Global variables use 3768 bytes (1%) of dynamic memory, leaving 192840 bytes for local variables. Maximum is 196608 bytes.
Unable to open [no_device] for reboot request
Teensy did not respond to a USB-based request to enter program mode.
Please press the PROGRAM MODE BUTTON on your Teensy to upload your sketch.
An error occurred while uploading the sketch


Teensy did program after hitting the program button:13097

PaulStoffregen
02-27-2018, 11:57 PM
@Defragster - Are you seeing the slow serial reconnect problem?

Please test with the Tools > Port selected from the "Teensy" section. If you select the port from the "Serial" section of the menu, it uses the old serial monitor where all the communication goes through Arduino's JSSC Java library. When you select the port from the "Teensy" section, a new serial monitor is used which communicates with the "teensy_serialmon" program.

Then again, I'm concerned about this windows event delivery problem. A "beta3" might be coming soon....

defragster
02-28-2018, 01:36 AM
opps - Indeed I had picked the wrong one ...

Switching to T_3.5 sketch ... next post

T_3.0 is online in 400 ms - that is at the end of this other feedback - first run shows the 127 byte test:

usb_add: usb:0/140000/0/2
usb_add: usb:0/140000/0/3/1
translate "COM5" -> "\\.\COM5"
WM_DEVICECHANGE DBT_DEVNODES_CHANGED
update_usb_device, devinst list change
update_usb_device, devinst list change
update_usb_device, devinst list change
found something COM port, devinst=00000002
portname=COM5
found something COM port, devinst=00000007
found something COM port, devinst=00000008
usb_add: usb:0/140000/0/1
usb_add: usb:0/140000/0/2
usb_add: usb:0/140000/0/3/1
Teensy Online @ millis=400

T:\tCode\_GPSimuDK\uBLOX_PROXY0\uBLOX_PROXY0.ino Feb 27 2018 18:30:15
_AAAAAAAAA_AAAAAAAAA_AAAAAAAAA_AAAAAAAAA_AAAAAAAAA _AAAAAAAAA_AAAAAAAAA_AAAAAAAAA_AAAAAAAAA_AAAAAAAAA _AAAAAAAAA_AAAAAAAAA_AAA
_AAAAAAAAA_AAAAAAAAA_AAAAAAAAA_AAAAAAAAA_AAAAAAAAA _AAAAAAAAA_AAAAAAAAA_AAAAAAAAA_AAAAAAAAA_AAAAAAAAA _AAAAAAAAA_AAAAAAAAA_AAAA
_AAAAAAAAA_AAAAAAAAA_AAAAAAAAA_AAAAAAAAA_AAAAAAAAA _AAAAAAAAA_AAAAAAAAA_AAAAAAAAA_AAAAAAAAA_AAAAAAAAA _AAAAAAAAA_AAAAAAAAA_AAAAA
_AAAAAAAAA_AAAAAAAAA_AAAAAAAAA_AAAAAAAAA_AAAAAAAAA _AAAAAAAAA_AAAAAAAAA_AAAAAAAAA_AAAAAAAAA_AAAAAAAAA _AAAAAAAAA_AAAAAAAAA_AAAAAA
_AAAAAAAAA_AAAAAAAAA_AAAAAAAAA_AAAAAAAAA_AAAAAAAAA _AAAAAAAAA_AAAAAAAAA_AAAAAAAAA_AAAAAAAAA_AAAAAAAAA _AAAAAAAAA_AAAAAAAAA_AAAAAAA
_AAAAAAAAA_AAAAAAAAA_AAAAAAAAA_AAAAAAAAA_AAAAAAAAA _AAAAAAAAA_AAAAAAAAA_AAAAAAAAA_AAAAAAAAA_AAAAAAAAA _AAAAAAAAA_AAAAAAAAA_AAAAAAAA



WM_DEVICECHANGE DBT_DEVNODES_CHANGED
update_usb_device, devinst list change
update_usb_device, devinst list change
found something COM port, devinst=0000001C
found something COM port, devinst=00000006
found something COM port, devinst=00000007
usb_add: usb:0/140000/0/1
usb_add: usb:0/140000/0/2
WM_DEVICECHANGE DBT_DEVICEARRIVAL
0000001C, class=Ports, addr=1
0000001D, class=USB, addr=3
00000008, class=USB, addr=0
00000009, class=USB, addr=140000
0000000A, class=System, addr=0
0000000B, class=System, R=37
0000000C, class=Computer, R=37
0000000D, R=37, R=37
found_usb_device, id=\\?\usb#vid_16c0&pid_0483#359630#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
found_usb_device, loc=usb:0/140000/0/3/1 Port_#0001.Hub_#0003
found_usb_device, hwid=USB\VID_16C0&PID_0483&REV_0200
found_usb_device, devinst=0000001c
add: loc=usb:0/140000/0/3/1, class=Ports, vid=16C0, pid=0483, ver=0200, serial=359, dev=\\?\usb#vid_16c0&pid_0483#359630#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
0000001C, class=Ports, portname=COM5, id=USB\VID_16C0&PID_0483\359630
comport_from_devinst_list attempt
found Ports in classguid_list at index=0
port COM5 found from devnode

update_usb_device, devinst list change
update_usb_device, devinst list change
found something COM port, devinst=0000001C
found something COM port, devinst=00000006
found something COM port, devinst=00000007
usb_add: usb:0/140000/0/3/1
translate "COM5" -> "\\.\COM5"
usb_add: usb:0/140000/0/1
usb_add: usb:0/140000/0/2
WM_DEVICECHANGE DBT_DEVICEARRIVAL
update_usb_device, devinst list change
update_usb_device, devinst list change
update_usb_device, devinst list change
found something COM port, devinst=0000001C
portname=COM5
found something COM port, devinst=00000006
found something COM port, devinst=00000007
usb_add: usb:0/140000/0/3/1
usb_add: usb:0/140000/0/1
usb_add: usb:0/140000/0/2
WM_DEVICECHANGE DBT_DEVNODES_CHANGED
update_usb_device, devinst list change
update_usb_device, devinst list change
update_usb_device, devinst list change
found something COM port, devinst=0000001C
found something COM port, devinst=00000006
found something COM port, devinst=00000007
usb_add: usb:0/140000/0/3/1
usb_add: usb:0/140000/0/1
usb_add: usb:0/140000/0/2
Teensy Online @ millis=400

T:\tCode\_GPSimuDK\uBLOX_PROXY0\uBLOX_PROXY0.ino Feb 27 2018 18:13:58

defragster
02-28-2018, 02:01 AM
Okay opened the sketch for my T_3.5 IDE 1.8.5 and TD 1.42b2 on Win 10. Changed the CPU to T_3.5 - didn't change the port until AFTER compile started - but it shows failure on the COM12 of T_3.5:



Unable to open COM12 for reboot request
Windows Error Info: The system cannot find the file specified.
more ideas... https://forum.pjrc.com/threads/40632?p=126667&viewfull=1#post126667
Teensy did not respond to a USB-based request to enter program mode.
Please press the PROGRAM MODE BUTTON on your Teensy to upload your sketch.

TyComm was removed from Serial - this repeated again ? TyComm closed and it It is very busy printing USB?

Something is horribly wrong - Port set properly - and connected with IDE teensy_serialmon before pressing UPLOAD - it fails.

About 8 tries and it will not program the T_3.5? This shows from the teensy_serialmon that was closed by IDE on compile start - Cleared - opened to debug notes - and picked up with the T_3.5 running uninterrupted and not programmed with new code.

Pushed the button - finally reprogrammed? There were error notes streaming on the teensy_serialmon - but cannot 'Select All' to copy - and they have scrolled off - it did finally reprogram the new code.

Here is TLoader Verbose: 13098 { had to ZIP it ended up at 1+ MB }
Cleared Verbose of multiple attempts above and did it again - and it again failed with this in Verbose: 13099


teensy_serialmon, cmdline='T:\arduino_1.8.5_142\hardware\tools\teens y_serialmon -v usb:0/140000/0/1'
listening for location: usb:0/140000/0/1
LoadLibrary cfgmgr32 ok
LoadLibrary ntdll ok
hWnd = 5903114
loop stdin, ready=2097151
00000002, class=Ports, addr=1
00000009, class=USB, addr=3
0000000A, class=USB, addr=0
0000000B, class=USB, addr=140000
0000000C, class=System, addr=0
0000000D, class=System, R=37
0000000E, class=Computer, R=37
0000000F, R=37, R=37
found_usb_device, id=\\?\usb#vid_16c0&pid_0483#359630#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
found_usb_device, loc=usb:0/140000/0/3/1 Port_#0001.Hub_#0003
found_usb_device, hwid=USB\VID_16C0&PID_0483&REV_0200
found_usb_device, devinst=00000002
add: loc=usb:0/140000/0/3/1, class=Ports, vid=16C0, pid=0483, ver=0200, serial=359, dev=\\?\usb#vid_16c0&pid_0483#359630#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
00000002, class=Ports, portname=COM5, id=USB\VID_16C0&PID_0483\359630
comport_from_devinst_list attempt
found Ports in classguid_list at index=0
port COM5 found from devnode

00000007, class=Ports, addr=2
0000000A, class=USB, addr=0
0000000B, class=USB, addr=140000
0000000C, class=System, addr=0
0000000D, class=System, R=37
0000000E, class=Computer, R=37
0000000F, R=37, R=37
found_usb_device, id=\\?\usb#vid_16c0&pid_0483#2273070#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
found_usb_device, loc=usb:0/140000/0/2 Port_#0002.Hub_#0001
found_usb_device, hwid=USB\VID_16C0&PID_0483&REV_0200
found_usb_device, devinst=00000007
add: loc=usb:0/140000/0/2, class=Ports, vid=16C0, pid=0483, ver=0200, serial=227, dev=\\?\usb#vid_16c0&pid_0483#2273070#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
00000007, class=Ports, portname=COM10, id=USB\VID_16C0&PID_0483\2273070
comport_from_devinst_list attempt
found Ports in classguid_list at index=0
port COM10 found from devnode

00000008, class=Ports, addr=1
0000000A, class=USB, addr=0
0000000B, class=USB, addr=140000
0000000C, class=System, addr=0
0000000D, class=System, R=37
0000000E, class=Computer, R=37
0000000F, R=37, R=37
found_usb_device, id=\\?\usb#vid_16c0&pid_0483#2114150#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
found_usb_device, loc=usb:0/140000/0/1 Port_#0001.Hub_#0001
found_usb_device, hwid=USB\VID_16C0&PID_0483&REV_0200
found_usb_device, devinst=00000008
add: loc=usb:0/140000/0/1, class=Ports, vid=16C0, pid=0483, ver=0200, serial=211, dev=\\?\usb#vid_16c0&pid_0483#2114150#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
00000008, class=Ports, portname=COM12, id=USB\VID_16C0&PID_0483\2114150
comport_from_devinst_list attempt
found Ports in classguid_list at index=0
port COM12 found from devnode

found something COM port, devinst=00000002
found something COM port, devinst=00000007
found something COM port, devinst=00000008
usb_add: usb:0/140000/0/1
translate "COM12" -> "\\.\COM12"
usb_add: usb:0/140000/0/2
usb_add: usb:0/140000/0/3/1
55

C1F4 __ 49652 | C1F5 __ 49653 | C1F6 __ 49654 | C1F7 __ 49655 | C1F8 __ 49656 | C1F9 __ 49657 | C1FA __ 49658 | C1FB __ 49659 | C1FC __ 49660 | C1FD __ 49661 | C1FE __ 49662 | C1FF __ 49663 | 55

C200 __ 49664 | C201 __ 49665 | C202 __ 49666 | C203 __ 49667 | C204 __ 49668 | C205 __ 49669 | C206 __ 49670 | C207 __ 49671 | C208 __ 49672 | C209 __ 49673 | C20A __ 49674 | C20B __ 49675 | 55

C20C __ 49676 | C20D __ 49677 | C20E __ 49678 | C20F __ 49679 | 5B0C __ 23308 | 5B0D __ 23309 | 5B0E __ 23310 | 5B0F __ 23311 | 5B10 __ 23312 | 5B11 __ 23313 | 5B12 __ 23314 | 5B13 __ 23315 | 5B14 __ 23316 | 5B15 __ 23317 | 5B16 __ 23318 | 5B17 __ 23319 | 55

PaulStoffregen
02-28-2018, 12:01 PM
Also having issue on Mac this time to T3.5... High Sierra 10.13.2


I'm testing now on High Sierra 10.13.3. I can reproduce the problem, but so far I don't understand why it's not able to find the device info. Hope to know more soon....

PaulStoffregen
02-28-2018, 01:15 PM
Oh, I think I see what happened. Looks like Apple changed their ioreg hierarchy at some point. Previously all the stuff from a USB device used to be child nodes from the io_service_t node representing the whole device. High Sierra is creating at least 2 separate hierarchies, and sadly it seems IOServiceMatching(kIOUSBDeviceClassName) now find the one without child nodes representing anything beyond the USB interface nodes. :(

I'm adding code now to fall back to IOServiceMatching(kIOSerialBSDServiceValue) and then traverse up parent nodes to find the location info. Hopefully that will be able to cover all versions of MacOS?

FWIW, I believe this is the first time I've ever had to set up both of my mac test machines on the bench at the same time!

13104

defragster
02-28-2018, 11:03 PM
Paul - was there any useful info in my post? T_3.5 still fails upload - fresh data below.

With the T_3.6 running tonton81's SPI to the T_3.5 and just shared, I can move from the trusted TD 1.41 and commit to the TD 1.42 for testing without TyCommander.

I made the CORE edits I need in 1.42Beta2 [Serial2 Rx buffer = 128 and T_3.6 F_BUS=120 at F_CPU==240 ]- and compiling now.

<EDIT> :: NOT A PROBLEM >> // First thing it seems a unique instance of the IDE now shares 'Tools' settings?

I programmed the Master T_3.6 no problem! It is online COM_10.

Then in what was to be a second IDE instance I loaded SLAVE T_3.5 ( online as COM_12 ) - pointed to the correct port - and it fails to program like noted above?


Unable to open COM12 for reboot request
Windows Error Info: The system cannot find the file specified.
more ideas... https://forum.pjrc.com/threads/40632?p=126667&viewfull=1#post126667
Teensy did not respond to a USB-based request to enter program mode.
Please press the PROGRAM MODE BUTTON on your Teensy to upload your sketch.

If failed to 'Upload' on a second attempt - then a button push worked - then IDE Upload failed again. Attached is first notes in teensy_serialmon, followed by TLoader Verbose with two fails and the button press success.

13114

<edit>: attached text may not have the successful button push upload at the end? May not have resaved the txt file before zipping. Let me know if not and you want to see it.

<edit 2>: BTW I have to IDE TEENSY_SerMon open - T_3.6 and T_3.5 and both are running very well.

13115

defragster
02-28-2018, 11:27 PM
Paul: I pulled my T_3.6 to see if Upload would work to T_3.5 as only Teensy online.

>> When I pulled the USB on T_3.6 BOTH teensy_sermon windows went offline - even though T_3.5 was still active.

>> Attempt to program the T_3.5 when replugged and open in Teensy_sermon still failed to program as above?

IDE and Teensy closed for now. Let me know if you have Repro request directions/questions or an update.

The T_3.6 IDE had this fault in it after pulling the T_3.6:

Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
at javax.swing.text.GapContent.allocateArray(GapConte nt.java:94)
at javax.swing.text.GapVector.resize(GapVector.java:2 14)
at javax.swing.text.GapVector.shiftEnd(GapVector.java :229)
at javax.swing.text.GapContent.shiftEnd(GapContent.ja va:345)
at javax.swing.text.GapVector.open(GapVector.java:201 )
at javax.swing.text.GapVector.replace(GapVector.java: 142)
at javax.swing.text.GapContent.insertString(GapConten t.java:132)
at javax.swing.text.AbstractDocument.handleInsertStri ng(AbstractDocument.java:723)
at javax.swing.text.AbstractDocument.insertString(Abs tractDocument.java:707)
at javax.swing.text.PlainDocument.insertString(PlainD ocument.java:130)
at javax.swing.JTextArea.append(JTextArea.java:477)
at processing.app.AbstractTextMonitor$3.run(AbstractT extMonitor.java:161)
at java.awt.event.InvocationEvent.dispatch(Invocation Event.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.j ava:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessI mpl.doIntersectionPrivilege(ProtectionDomain.java: 80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java: 726)
at java.awt.EventDispatchThread.pumpOneEventForFilter s(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(E ventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarch y(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThre ad.java:82)
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
at javax.swing.text.GapContent.allocateArray(GapConte nt.java:94)
at javax.swing.text.GapVector.resize(GapVector.java:2 14)
at javax.swing.text.GapVector.shiftEnd(GapVector.java :229)
at javax.swing.text.GapContent.shiftEnd(GapContent.ja va:345)
at javax.swing.text.GapVector.open(GapVector.java:201 )
at javax.swing.text.GapVector.replace(GapVector.java: 142)
at javax.swing.text.GapContent.insertString(GapConten t.java:132)
at javax.swing.text.AbstractDocument.handleInsertStri ng(AbstractDocument.java:723)
at javax.swing.text.AbstractDocument.insertString(Abs tractDocument.java:707)
at javax.swing.text.PlainDocument.insertString(PlainD ocument.java:130)
at javax.swing.JTextArea.append(JTextArea.java:477)
at processing.app.AbstractTextMonitor$3.run(AbstractT extMonitor.java:161)
at java.awt.event.InvocationEvent.dispatch(Invocation Event.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.j ava:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessI mpl.doIntersectionPrivilege(ProtectionDomain.java: 80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java: 726)
at java.awt.EventDispatchThread.pumpOneEventForFilter s(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(E ventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarch y(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThre ad.java:82)
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
at javax.swing.text.GapContent.allocateArray(GapConte nt.java:94)
at javax.swing.text.GapVector.resize(GapVector.java:2 14)
at javax.swing.text.GapVector.shiftEnd(GapVector.java :229)
at javax.swing.text.GapContent.shiftEnd(GapContent.ja va:345)
at javax.swing.text.GapVector.open(GapVector.java:201 )
at javax.swing.text.GapVector.replace(GapVector.java: 142)
at javax.swing.text.GapContent.insertString(GapConten t.java:132)
at javax.swing.text.AbstractDocument.handleInsertStri ng(AbstractDocument.java:723)
at javax.swing.text.AbstractDocument.insertString(Abs tractDocument.java:707)
at javax.swing.text.PlainDocument.insertString(PlainD ocument.java:130)
at javax.swing.JTextArea.append(JTextArea.java:477)
at processing.app.AbstractTextMonitor$3.run(AbstractT extMonitor.java:161)
at java.awt.event.InvocationEvent.dispatch(Invocation Event.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.j ava:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessI mpl.doIntersectionPrivilege(ProtectionDomain.java: 80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java: 726)
at java.awt.EventDispatchThread.pumpOneEventForFilter s(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(E ventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarch y(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThre ad.java:82)
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
at javax.swing.text.GapContent.allocateArray(GapConte nt.java:94)
at javax.swing.text.GapVector.resize(GapVector.java:2 14)
at javax.swing.text.GapVector.shiftEnd(GapVector.java :229)
at javax.swing.text.GapContent.shiftEnd(GapContent.ja va:345)
at javax.swing.text.GapVector.open(GapVector.java:201 )
at javax.swing.text.GapVector.replace(GapVector.java: 142)
at javax.swing.text.GapContent.insertString(GapConten t.java:132)
at javax.swing.text.AbstractDocument.handleInsertStri ng(AbstractDocument.java:723)
at javax.swing.text.AbstractDocument.insertString(Abs tractDocument.java:707)
at javax.swing.text.PlainDocument.insertString(PlainD ocument.java:130)
at javax.swing.JTextArea.append(JTextArea.java:477)
at processing.app.AbstractTextMonitor$3.run(AbstractT extMonitor.java:161)
at java.awt.event.InvocationEvent.dispatch(Invocation Event.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.j ava:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessI mpl.doIntersectionPrivilege(ProtectionDomain.java: 80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java: 726)
at java.awt.EventDispatchThread.pumpOneEventForFilter s(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(E ventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarch y(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThre ad.java:82)
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space

// ad infinitum

PaulStoffregen
03-01-2018, 12:57 AM
Paul - was there any useful info in my post?

Not sure yet. Working on Macintosh right now. Will get back to the Windows stuff soon...

defragster
03-01-2018, 01:44 AM
Not sure yet. Working on Macintosh right now. Will get back to the Windows stuff soon...

Okay, starting with p#16/17 when you get there might be more clear - and is where I can test/repro from. With IDE closed - I'll work at closing down my other dozen windows and 26 browser pages and restarting to see if it shows up the same.

<edit>: restarted machine and saw same failure to 'Upload' program the T_3.5 as lone Teensy connected until button push. Did a simpler blink program with Button and 'Upload' failed again after that so it wasn't the nature of the running sketch.

PaulStoffregen
03-01-2018, 04:15 PM
Here are fixes for Macintosh High Sierra. To install, extract the 3 utils from this zip. Control-click Arduino and "Show Package Contents", then put them into Contents/Java/hardware/tools. You'll need to restart Arduino to get it to run the new teensy_ports.

defragster
03-01-2018, 07:38 PM
Today unable to program my T_3.6 without Button press - same fail message I was getting on T_3.5.

Unable to open COM10 for reboot request
Windows Error Info: The system cannot find the file specified.
more ideas... https://forum.pjrc.com/threads/40632?p=126667&viewfull=1#post126667
Teensy did not respond to a USB-based request to enter program mode.
Please press the PROGRAM MODE BUTTON on your Teensy to upload your sketch.

Note: T_3.5 also online at this time using TyComm as SerMon
Note: teensy_sermon does reconnect when USB unplugged.replugged

KurtE
03-01-2018, 08:13 PM
Here are fixes for Macintosh High Sierra. To install, extract the 3 utils from this zip. Control-click Arduino and "Show Package Contents", then put them into Contents/Java/hardware/tools. You'll need to restart Arduino to get it to run the new teensy_ports.

Worked on my MAC, at least it worked enough to do blink... Also did the hello world test, and it also reflashed and restarted the terminal...

PaulStoffregen
03-01-2018, 08:57 PM
@Defragster - Looking at the log from message #16. Wow, your heavily loaded Windows system sure can bring out my bugs! Looks like there's some sort of problem with the logging itself, especially lots of blank lines starting at 15:52:13.001. :(

Clearly I have a lot more work to do here. This project has been a ton of work over the last few weeks. I think I'm going to take the weekend off, and start fresh next week on the Windows side.

defragster
03-01-2018, 09:32 PM
@Defragster - Looking at the log from message #16. Wow, your heavily loaded Windows system sure can bring out my bugs! ...

You are Welcome :) Wouldn't want you to have a false sense of completeness ...

Heavily loaded? - that's just 'normal' ... Have a good weekend. I'll be here and can make adjustments, or a special case on this or a second machine if it helps. Hopefully you can see what is missing on those blank lines to fill in the picture as you need it to guide you.

PaulStoffregen
03-02-2018, 01:05 AM
Oh, I see at least 2 problems causing those blank lines. My code isn't printing full lines in a few places. That's easy to fix.

The harder part is lack of precision in Windows timestamps. Looks like system time from gettimeofday() increments with 1, 10 or 16 ms resolution, rather than microseconds like we get on Mac and Linux. Lots of stuff is getting identical timestamps, then everything with the same timestamp gets put in random order when the list gets sorted.

Looks like Microsoft finally did add a function called GetSystemTimePreciseAsFileTime (https://msdn.microsoft.com/en-us/library/windows/desktop/hh706895(v=vs.85).aspx) in Windows 8, which does pretty much the same thing as gettimeofday() on Linux and Mac. I might use that, but there needs to be a fallback so things can at least still work on Windows 7 & XP.

All versions of Windows do have QueryPerformanceCounter (https://msdn.microsoft.com/en-us/library/windows/desktop/ms644904(v=vs.85).aspx). I'm already using that check how long a Teensy has been offline (using using clock_gettime CLOCK_MONOTONIC on Linux and mach_absolute_time() on Macintosh - both provide nanoseconds). But QueryPerformanceCounter doesn't match up to system time. I've seen some sites talking about doing complicated calibration tests, to use it to extend system time. Kinda want to avoid that.

I've seen a mention that using timeBeginPeriod (https://msdn.microsoft.com/en-us/library/windows/desktop/dd757624(v=vs.85).aspx) forces Windows to run its time service with higher resolution, up at 1 millisecond. But it comes with caveats of thwarting power management, according to that page. Maybe this would be worth doing at least for now, while trying to get a better handle on what's going wrong? Not sure if I want to ship a non-beta release using this...

For now, I'll probably add a little hack to check if the system time is the same as the previous line printed. I'll just increment by 1 microsecond. That won't let lines from different programs be shown in the proper chronological order, but at least it'll keep all the stuff from 1 program lined up correctly. Might just have to live with poor logging results on Windows 7 & XP.

defragster
03-02-2018, 06:28 AM
That certainly would add to confusion and not help keep things clear watching events pass by.

My COM10 T_3.6 teensy_sermon is working and connecting well - after Button or USB RePlug. Seems NOT to be seeing this (!Serial ) going false?



#define cout Serial
while (!Serial && (millis() < 1000) ) { }
coutD.print("\n" __FILE__ " " __DATE__ " " __TIME__ " @ms=");
coutD.println( millis());
delay(4000);


Here I have 1000 - but I can make that 410, 2000 or 4000 and it stays in the while until the millis() times out? Then the .print() shows up - but millis() is always the same as the limit value?

If I comment the while() line it connects and prints at 400!

As noted T_3.6 was taking IDE Upload, the T_3.5 was not. Now the T_3.5 code is stable (and connected) so I'm back to the T_3.6 and it always requires the Button. Message as above.

If I button press when TLoader shows this message: "Arduino is attempting to put Teensy into programming mode"
The IDE text shown is this - after a successful programming:

Unable to open COM10 for reboot request
Windows Error Info: The system cannot find the file specified.
more ideas... https://forum.pjrc.com/threads/40632?p=126667&viewfull=1#post126667

Theremingenieur
03-02-2018, 06:53 AM
Here are fixes for Macintosh High Sierra. To install, extract the 3 utils from this zip. Control-click Arduino and "Show Package Contents", then put them into Contents/Java/hardware/tools. You'll need to restart Arduino to get it to run the new teensy_ports.

I'm happy to confirm that this seems to solve the previous upload problems to 100% (besides the 32bit performance warning :( ) on High Sierra beta 10.13.4 (17E160e)

defragster
03-02-2018, 05:28 PM
Compiling again on T_3.6 and compile failed - Doing Verify build because I always need to push Button - TLoader not ready?

REASON FOUND :: I find a pop-up buried behind other windows: "Unable to program because file is not readable".
>> Seems I pushed the button at the wrong time - Verify does not give a good 'End of Compile' signal? I watched the Yellow 'Checkmark' icon to go white ... too fast?

Note: This "Unable find Teensy Loader" was not COLORED to stand out - it was white.


// ...
Opening Teensy Loader...

Unable find Teensy Loader. (p) Is the Teensy Loader application running?

Is a firewall (eg, ZoneAlarm) blocking localhost communication?

Using library MPU9250 in folder: t:\tcode\libraries\MPU9250 (legacy)
Using library SPI at version 1.0 in folder: T:\arduino_1.8.5_142\hardware\teensy\avr\libraries \SPI
Using library i2c_t3 in folder: T:\arduino_1.8.5_142\hardware\teensy\avr\libraries \i2c_t3 (legacy)
Using library EEPROM at version 2.0 in folder: T:\arduino_1.8.5_142\hardware\teensy\avr\libraries \EEPROM
Using library Eigen in folder: t:\tcode\libraries\Eigen (legacy)
Using library UBLOX in folder: t:\tcode\libraries\UBLOX (legacy)
Using library SPI_MSTransfer in folder: t:\tcode\libraries\SPI_MSTransfer (legacy)
quitexit status 1
Error compiling for board Teensy 3.6.

PaulStoffregen
03-02-2018, 09:51 PM
REASON FOUND :: I find a pop-up buried behind other windows: "Unable to program because file is not readable".


I hit this same problem while testing on Macintosh, and added it to my known bug list. The Help>About dialog does it too. Both of those need to be made non-modal.

On the Windows side, I went with detecting repeated identical timestamps and incrementing the microsecond count, and timeBeginPeriod. Right now I'm testing on Windows 7. Will reimage my test machine to Windows 10 soon, and probably put in code to use GetSystemTimePreciseAsFileTime if it's available. Hopefully over time Windows 7 will fade away like XP mostly has. I'm still debating whether to keep using timeBeginPeriod for 1ms precision on Windows 7 and lower.

Also going to try some of the excessive logging of Teensy Loader status messages.

With these fixes, I think it'll be time to roll everything up into "beta3".

defragster
03-02-2018, 10:08 PM
Looking forward to Beta 3 - awkward pushing the button.

Some folks still afraid of Win 10 - mostly cosmetic issues for casual user but 'they heard' something ... but they don't know the difference. Yesterday moved somebody to her new computer she had refused to use because it had Win 10 ... side note .... her old computer was running windows 10 too . . . :?

Win 10 is a good upgrade to Win 7 - not the Vista like Win 8 experience.

BTW: I wiped or reset three Windows machines last month, NEW HDD {old HDD too bad to even clone} on two and the other just wiped. Using USB disk of current Win 10 - it installs and licenses the equivalent version of Win 10 (assuming if it was running Win 7 or Win 8). I always wondered how that would work out. Two Dell's and a Lenovo - both booted up and showed 'Activated' on first connection when "license #" was 'skipped' in setup. The Dells were both 'home' and the fancy Lenovo accepted PRO. { I did PRO on the one DELL and that failed as it knew it wasn't paid for }

PaulStoffregen
03-02-2018, 11:19 PM
@Defragster - The other thing I keep noticing in your logs is an absence of any WM_DEVICECHANGE events. It's supposed to look like this:

13133

Are you ever seeing these?

Maybe running as admin vs non-admin makes a difference? EDIT: tried just now, still getting WM_DEVICECHANGE on Windows 7 when running at a non-admin user.

defragster
03-02-2018, 11:49 PM
Will they show in TLoader Verbose - or am I missing a step running teensy_ports from the beta 1 thread : *before* starting Arduino. Add a "-v" to the command line, like "teensy_ports -v" (https://forum.pjrc.com/threads/49831-Teensyduino-1-42-Beta-1?p=168529&viewfull=1#post168529)

I do see these and a few like them: WM_DEVICECHANGE DBT_DEVNODES_CHANGED

PaulStoffregen
03-03-2018, 12:46 AM
WM_DEVICECHANGE is supposed to show in both verbose output and the Teensy Loader verbose info log.

You should see these every time Teensy reboots.

defragster
03-03-2018, 01:28 AM
Started clean - tried to put code to fix on T_3.6 then on T_3.5. Had to Button Push to both to program.

Let me know if this shows anything new . . .

Here is TLoader Verbose file: 13137

<edit>: Here is "teensy_ports -v" extended set of uploads by Button to both units: 13139


Started Teensy_ports -v from admin CMD:


T:\>cd arduino_1.8.5_142

T:\arduino_1.8.5_142>teensy_ports.exe -v
teensy_ports, verbose mode
begin
LoadLibrary cfgmgr32 ok
LoadLibrary ntdll ok
LoadLibrary iphlpapi ok
hWnd = 459434
GetTcpTable success, 58 rows
not already running
socket created
bound to port 28542
00000002, class=Ports, addr=1
00000008, class=USB, addr=3
00000009, class=USB, addr=0
0000000A, class=USB, addr=140000
0000000B, class=System, addr=0
0000000C, class=System, R=37
0000000D, class=Computer, R=37
0000000E, R=37, R=37
found_usb_device, id=\\?\usb#vid_16c0&pid_0483#2114150#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
found_usb_device, loc=usb:0/140000/0/3/1 Port_#0001.Hub_#0003
found_usb_device, hwid=USB\VID_16C0&PID_0483&REV_0200
found_usb_device, devinst=00000002
add: loc=usb:0/140000/0/3/1, class=Ports, vid=16C0, pid=0483, ver=0200, serial=2114150, dev=\\?\usb#vid_16c0&pid_0483#2114150#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
00000002, class=Ports, portname=COM12, id=USB\VID_16C0&PID_0483\2114150
comport_from_devinst_list attempt
found Ports in classguid_list at index=0
port COM12 found from devnode

00000007, class=Ports, addr=1
00000009, class=USB, addr=0
0000000A, class=USB, addr=140000
0000000B, class=System, addr=0
0000000C, class=System, R=37
0000000D, class=Computer, R=37
0000000E, R=37, R=37
found_usb_device, id=\\?\usb#vid_16c0&pid_0483#2273070#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
found_usb_device, loc=usb:0/140000/0/1 Port_#0001.Hub_#0001
found_usb_device, hwid=USB\VID_16C0&PID_0483&REV_0200
found_usb_device, devinst=00000007
add: loc=usb:0/140000/0/1, class=Ports, vid=16C0, pid=0483, ver=0200, serial=2273070, dev=\\?\usb#vid_16c0&pid_0483#2273070#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
00000007, class=Ports, portname=COM10, id=USB\VID_16C0&PID_0483\2273070
comport_from_devinst_list attempt
found Ports in classguid_list at index=0
port COM10 found from devnode

found something COM port, devinst=00000007
found something COM port, devinst=00000002
usb_add: usb:0/140000/0/1 COM10 (Teensy) Serial
usb_add: usb:0/140000/0/3/1 COM12 (Teensy) Serial
incoming connection, port 52790
read 5 bytes on 456: "list
"
got command: "list"
update_usb_device, devinst list change
update_usb_device, devinst list change
found something COM port, devinst=00000007
found something COM port, devinst=00000002
usb_add: usb:0/140000/0/1 COM10 (Teensy) Serial
usb_add: usb:0/140000/0/3/1 COM12 (Teensy) Serial
read 5 bytes on 456: "list
"
got command: "list"
update_usb_device, devinst list change
update_usb_device, devinst list change
found something COM port, devinst=00000007
found something COM port, devinst=00000002
usb_add: usb:0/140000/0/1 COM10 (Teensy) Serial
usb_add: usb:0/140000/0/3/1 COM12 (Teensy) Serial
read 5 bytes on 456: "list
"
got command: "list"
update_usb_device, devinst list change
update_usb_device, devinst list change
found something COM port, devinst=00000007
found something COM port, devinst=00000002
usb_add: usb:0/140000/0/1 COM10 (Teensy) Serial
usb_add: usb:0/140000/0/3/1 COM12 (Teensy) Serial
read 5 bytes on 456: "list
"
got command: "list"
update_usb_device, devinst list change
update_usb_device, devinst list change
found something COM port, devinst=00000007
found something COM port, devinst=00000002
usb_add: usb:0/140000/0/1 COM10 (Teensy) Serial
usb_add: usb:0/140000/0/3/1 COM12 (Teensy) Serial
read 5 bytes on 456: "list
"
got command: "list"
update_usb_device, devinst list change
update_usb_device, devinst list change
found something COM port, devinst=00000007
found something COM port, devinst=00000002
usb_add: usb:0/140000/0/1 COM10 (Teensy) Serial
usb_add: usb:0/140000/0/3/1 COM12 (Teensy) Serial
read 5 bytes on 456: "list
"
got command: "list"
update_usb_device, devinst list change
update_usb_device, devinst list change
found something COM port, devinst=00000007
found something COM port, devinst=00000002
usb_add: usb:0/140000/0/1 COM10 (Teensy) Serial
usb_add: usb:0/140000/0/3/1 COM12 (Teensy) Serial
read 5 bytes on 456: "list
"
got command: "list"
update_usb_device, devinst list change
update_usb_device, devinst list change
found something COM port, devinst=00000007
found something COM port, devinst=00000002
usb_add: usb:0/140000/0/1 COM10 (Teensy) Serial
usb_add: usb:0/140000/0/3/1 COM12 (Teensy) Serial
read 5 bytes on 456: "list
"
got command: "list"
update_usb_device, devinst list change
update_usb_device, devinst list change
found something COM port, devinst=00000007
found something COM port, devinst=00000002
usb_add: usb:0/140000/0/1 COM10 (Teensy) Serial
usb_add: usb:0/140000/0/3/1 COM12 (Teensy) Serial
read 5 bytes on 456: "list
"
got command: "list"
update_usb_device, devinst list change
update_usb_device, devinst list change
found something COM port, devinst=00000007
found something COM port, devinst=00000002
usb_add: usb:0/140000/0/1 COM10 (Teensy) Serial
usb_add: usb:0/140000/0/3/1 COM12 (Teensy) Serial
read 5 bytes on 456: "list
"
got command: "list"
update_usb_device, devinst list change
update_usb_device, devinst list change
found something COM port, devinst=00000007
found something COM port, devinst=00000002
usb_add: usb:0/140000/0/1 COM10 (Teensy) Serial
usb_add: usb:0/140000/0/3/1 COM12 (Teensy) Serial
WM_DEVICECHANGE DBT_DEVICEREMOVECOMPLETE
update_usb_device, devinst list change
remove: loc=usb:0/140000/0/1
usb_remove: usb:0/140000/0/1
found something COM port, devinst=00000002
usb_add: usb:0/140000/0/3/1 COM12 (Teensy) Serial
WM_DEVICECHANGE DBT_DEVNODES_CHANGED
update_usb_device, devinst list change
found something COM port, devinst=00000002
usb_add: usb:0/140000/0/3/1 COM12 (Teensy) Serial
WM_DEVICECHANGE DBT_DEVICEREMOVECOMPLETE
update_usb_device, devinst list change
found something COM port, devinst=00000002
usb_add: usb:0/140000/0/3/1 COM12 (Teensy) Serial
WM_DEVICECHANGE DBT_DEVNODES_CHANGED
update_usb_device, devinst list change
found something COM port, devinst=00000002
usb_add: usb:0/140000/0/3/1 COM12 (Teensy) Serial
WM_DEVICECHANGE DBT_DEVICEARRIVAL
0000001D, class=HID, addr=1
00000009, class=USB, addr=0
0000000A, class=USB, addr=140000
0000000B, class=System, addr=0
0000000C, class=System, R=37
0000000D, class=Computer, R=37
0000000E, R=37, R=37
found_usb_device, id=\\?\usb#vid_16c0&pid_0478#000377eb#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
found_usb_device, loc=usb:0/140000/0/1 Port_#0001.Hub_#0001
found_usb_device, hwid=USB\VID_16C0&PID_0478&REV_0103
found_usb_device, devinst=0000001d
add: loc=usb:0/140000/0/1, class=HID, vid=16C0, pid=0478, ver=0103, serial=000377eb, dev=\\?\usb#vid_16c0&pid_0478#000377eb#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
0000001D, class=HID, id=USB\VID_16C0&PID_0478\000377EB
0000001E, class=HID, id=HID\VID_16C0&PID_0478\6&258B1F3&0&0000
hiddev_from_devinst_list: iface=0
index=0
index=1
index=2
index=3
index=4
index=5
index=6
index=7
index=8
index=9
index=10
index=11
index=12
index=13
index=14
index=15

update_usb_device, devinst list change
hid, found devinst=0000001E
hid, path=\\?\hid#vid_16c0&pid_0478#6&258b1f3&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
hid, opened handle
devinst=0000001E, location=usb:0/140000/0/1
vid=16C0, pid=0478, ver=0103, usepage=FF9C, use=0022
devpath=\\?\hid#vid_16c0&pid_0478#6&258b1f3&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
found something COM port, devinst=00000002
usb_add: usb:0/140000/0/1 \\?\hid#vid_16c0&pid_0478#6&258b1f3&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030} (Teensy 3.6) Bootloader
usb_add: usb:0/140000/0/3/1 COM12 (Teensy) Serial
WM_DEVICECHANGE DBT_DEVNODES_CHANGED
update_usb_device, devinst list change
update_usb_device, devinst list change
hid, found devinst=0000001E
found something COM port, devinst=00000002
usb_add: usb:0/140000/0/1 \\?\hid#vid_16c0&pid_0478#6&258b1f3&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030} (Teensy 3.6) Bootloader
usb_add: usb:0/140000/0/3/1 COM12 (Teensy) Serial
WM_DEVICECHANGE DBT_DEVNODES_CHANGED
update_usb_device, devinst list change
update_usb_device, devinst list change
hid, found devinst=0000001E
found something COM port, devinst=00000002
usb_add: usb:0/140000/0/1 \\?\hid#vid_16c0&pid_0478#6&258b1f3&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030} (Teensy 3.6) Bootloader
usb_add: usb:0/140000/0/3/1 COM12 (Teensy) Serial
WM_DEVICECHANGE DBT_DEVICEREMOVECOMPLETE
update_usb_device, devinst list change
remove: loc=usb:0/140000/0/1
usb_remove: usb:0/140000/0/1
found something COM port, devinst=00000002
usb_add: usb:0/140000/0/3/1 COM12 (Teensy) Serial
WM_DEVICECHANGE DBT_DEVNODES_CHANGED
update_usb_device, devinst list change
found something COM port, devinst=00000002
usb_add: usb:0/140000/0/3/1 COM12 (Teensy) Serial
WM_DEVICECHANGE DBT_DEVNODES_CHANGED
update_usb_device, devinst list change
00000007, class=Ports, addr=1
00000009, class=USB, addr=0
0000000A, class=USB, addr=140000
0000000B, class=System, addr=0
0000000C, class=System, R=37
0000000D, class=Computer, R=37
0000000E, R=37, R=37
found_usb_device, id=\\?\usb#vid_16c0&pid_0483#2273070#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
found_usb_device, loc=usb:0/140000/0/1 Port_#0001.Hub_#0001
found_usb_device, hwid=USB\VID_16C0&PID_0483&REV_0200
found_usb_device, devinst=00000007
add: loc=usb:0/140000/0/1, class=Ports, vid=16C0, pid=0483, ver=0200, serial=2273070, dev=\\?\usb#vid_16c0&pid_0483#2273070#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
00000007, class=Ports, portname=COM10, id=USB\VID_16C0&PID_0483\2273070
comport_from_devinst_list attempt
found Ports in classguid_list at index=0
port COM10 found from devnode

found something COM port, devinst=00000007
found something COM port, devinst=00000002
usb_add: usb:0/140000/0/1 COM10 (Teensy 3.6) Serial
usb_add: usb:0/140000/0/3/1 COM12 (Teensy) Serial
WM_DEVICECHANGE DBT_DEVICEARRIVAL
WM_DEVICECHANGE DBT_DEVICEARRIVAL
update_usb_device, devinst list change
update_usb_device, devinst list change
found something COM port, devinst=00000007
found something COM port, devinst=00000002
usb_add: usb:0/140000/0/1 COM10 (Teensy 3.6) Serial
usb_add: usb:0/140000/0/3/1 COM12 (Teensy) Serial
WM_DEVICECHANGE DBT_DEVNODES_CHANGED
update_usb_device, devinst list change
update_usb_device, devinst list change
found something COM port, devinst=00000007
found something COM port, devinst=00000002
usb_add: usb:0/140000/0/1 COM10 (Teensy 3.6) Serial
usb_add: usb:0/140000/0/3/1 COM12 (Teensy) Serial
read 5 bytes on 456: "list
"
got command: "list"
update_usb_device, devinst list change
update_usb_device, devinst list change
found something COM port, devinst=00000007
found something COM port, devinst=00000002
usb_add: usb:0/140000/0/1 COM10 (Teensy 3.6) Serial
usb_add: usb:0/140000/0/3/1 COM12 (Teensy) Serial
read 5 bytes on 456: "list
"
got command: "list"
update_usb_device, devinst list change
update_usb_device, devinst list change
found something COM port, devinst=00000007
found something COM port, devinst=00000002
usb_add: usb:0/140000/0/1 COM10 (Teensy 3.6) Serial
usb_add: usb:0/140000/0/3/1 COM12 (Teensy) Serial
read 5 bytes on 456: "list
"
got command: "list"
update_usb_device, devinst list change
update_usb_device, devinst list change
found something COM port, devinst=00000007
found something COM port, devinst=00000002
usb_add: usb:0/140000/0/1 COM10 (Teensy 3.6) Serial
usb_add: usb:0/140000/0/3/1 COM12 (Teensy) Serial
read 5 bytes on 456: "list
"
got command: "list"
update_usb_device, devinst list change
update_usb_device, devinst list change
found something COM port, devinst=00000007
found something COM port, devinst=00000002
usb_add: usb:0/140000/0/1 COM10 (Teensy 3.6) Serial
usb_add: usb:0/140000/0/3/1 COM12 (Teensy) Serial
read 5 bytes on 456: "list
"
got command: "list"
update_usb_device, devinst list change
update_usb_device, devinst list change
found something COM port, devinst=00000007
found something COM port, devinst=00000002
usb_add: usb:0/140000/0/1 COM10 (Teensy 3.6) Serial
usb_add: usb:0/140000/0/3/1 COM12 (Teensy) Serial
read 5 bytes on 456: "list
"
got command: "list"
update_usb_device, devinst list change
update_usb_device, devinst list change
found something COM port, devinst=00000007
found something COM port, devinst=00000002
usb_add: usb:0/140000/0/1 COM10 (Teensy 3.6) Serial
usb_add: usb:0/140000/0/3/1 COM12 (Teensy) Serial
read 5 bytes on 456: "list
"
got command: "list"
update_usb_device, devinst list change
update_usb_device, devinst list change
found something COM port, devinst=00000007
found something COM port, devinst=00000002
usb_add: usb:0/140000/0/1 COM10 (Teensy 3.6) Serial
usb_add: usb:0/140000/0/3/1 COM12 (Teensy) Serial
read 5 bytes on 456: "list
"
got command: "list"
update_usb_device, devinst list change
update_usb_device, devinst list change
found something COM port, devinst=00000007
found something COM port, devinst=00000002
usb_add: usb:0/140000/0/1 COM10 (Teensy 3.6) Serial
usb_add: usb:0/140000/0/3/1 COM12 (Teensy) Serial
read 5 bytes on 456: "list
"
got command: "list"
update_usb_device, devinst list change
update_usb_device, devinst list change
found something COM port, devinst=00000007
found something COM port, devinst=00000002
usb_add: usb:0/140000/0/1 COM10 (Teensy 3.6) Serial
usb_add: usb:0/140000/0/3/1 COM12 (Teensy) Serial
WM_DEVICECHANGE DBT_DEVICEREMOVECOMPLETE
update_usb_device, devinst list change
remove: loc=usb:0/140000/0/3/1
usb_remove: usb:0/140000/0/3/1
found something COM port, devinst=00000007
usb_add: usb:0/140000/0/1 COM10 (Teensy 3.6) Serial
WM_DEVICECHANGE DBT_DEVNODES_CHANGED
update_usb_device, devinst list change
found something COM port, devinst=00000007
usb_add: usb:0/140000/0/1 COM10 (Teensy 3.6) Serial
WM_DEVICECHANGE DBT_DEVICEREMOVECOMPLETE
update_usb_device, devinst list change
found something COM port, devinst=00000007
usb_add: usb:0/140000/0/1 COM10 (Teensy 3.6) Serial
WM_DEVICECHANGE DBT_DEVICEARRIVAL
0000001F, class=HID, addr=1
00000008, class=USB, addr=3
00000009, class=USB, addr=0
0000000A, class=USB, addr=140000
0000000B, class=System, addr=0
0000000C, class=System, R=37
0000000D, class=Computer, R=37
0000000E, R=37, R=37
found_usb_device, id=\\?\usb#vid_16c0&pid_0478#000339d7#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
found_usb_device, loc=usb:0/140000/0/3/1 Port_#0001.Hub_#0003
found_usb_device, hwid=USB\VID_16C0&PID_0478&REV_0103
found_usb_device, devinst=0000001f
add: loc=usb:0/140000/0/3/1, class=HID, vid=16C0, pid=0478, ver=0103, serial=000339d7, dev=\\?\usb#vid_16c0&pid_0478#000339d7#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
0000001F, class=HID, id=USB\VID_16C0&PID_0478\000339D7
00000020, class=HID, id=HID\VID_16C0&PID_0478\6&3171F9&0&0000
hiddev_from_devinst_list: iface=0
index=0
index=1
index=2
index=3
index=4
index=5
index=6
index=7
index=8
index=9
index=10
index=11
index=12
index=13
index=14
index=15

update_usb_device, devinst list change
hid, found devinst=00000020
hid, path=\\?\hid#vid_16c0&pid_0478#6&3171f9&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
hid, opened handle
devinst=00000020, location=usb:0/140000/0/3/1
vid=16C0, pid=0478, ver=0103, usepage=FF9C, use=001F
devpath=\\?\hid#vid_16c0&pid_0478#6&3171f9&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
found something COM port, devinst=00000007
usb_add: usb:0/140000/0/3/1 \\?\hid#vid_16c0&pid_0478#6&3171f9&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030} (Teensy 3.5) Bootloader
usb_add: usb:0/140000/0/1 COM10 (Teensy 3.6) Serial
WM_DEVICECHANGE DBT_DEVNODES_CHANGED
update_usb_device, devinst list change
update_usb_device, devinst list change
hid, found devinst=00000020
found something COM port, devinst=00000007
usb_add: usb:0/140000/0/3/1 \\?\hid#vid_16c0&pid_0478#6&3171f9&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030} (Teensy 3.5) Bootloader
usb_add: usb:0/140000/0/1 COM10 (Teensy 3.6) Serial
WM_DEVICECHANGE DBT_DEVNODES_CHANGED
update_usb_device, devinst list change
update_usb_device, devinst list change
hid, found devinst=00000020
found something COM port, devinst=00000007
usb_add: usb:0/140000/0/3/1 \\?\hid#vid_16c0&pid_0478#6&3171f9&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030} (Teensy 3.5) Bootloader
usb_add: usb:0/140000/0/1 COM10 (Teensy 3.6) Serial
WM_DEVICECHANGE DBT_DEVICEREMOVECOMPLETE
update_usb_device, devinst list change
remove: loc=usb:0/140000/0/3/1
usb_remove: usb:0/140000/0/3/1
found something COM port, devinst=00000007
usb_add: usb:0/140000/0/1 COM10 (Teensy 3.6) Serial
WM_DEVICECHANGE DBT_DEVNODES_CHANGED
update_usb_device, devinst list change
found something COM port, devinst=00000007
usb_add: usb:0/140000/0/1 COM10 (Teensy 3.6) Serial
WM_DEVICECHANGE DBT_DEVICEARRIVAL
00000002, class=Ports, addr=1
00000008, class=USB, addr=3
00000009, class=USB, addr=0
0000000A, class=USB, addr=140000
0000000B, class=System, addr=0
0000000C, class=System, R=37
0000000D, class=Computer, R=37
0000000E, R=37, R=37
found_usb_device, id=\\?\usb#vid_16c0&pid_0483#2114150#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
found_usb_device, loc=usb:0/140000/0/3/1 Port_#0001.Hub_#0003
found_usb_device, hwid=USB\VID_16C0&PID_0483&REV_0200
found_usb_device, devinst=00000002
add: loc=usb:0/140000/0/3/1, class=Ports, vid=16C0, pid=0483, ver=0200, serial=2114150, dev=\\?\usb#vid_16c0&pid_0483#2114150#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
00000002, class=Ports, portname=COM12, id=USB\VID_16C0&PID_0483\2114150
comport_from_devinst_list attempt
found Ports in classguid_list at index=0
port COM12 found from devnode

update_usb_device, devinst list change
found something COM port, devinst=00000007
found something COM port, devinst=00000002
usb_add: usb:0/140000/0/3/1 COM12 (Teensy 3.5) Serial
usb_add: usb:0/140000/0/1 COM10 (Teensy 3.6) Serial
WM_DEVICECHANGE DBT_DEVICEARRIVAL
WM_DEVICECHANGE DBT_DEVNODES_CHANGED
update_usb_device, devinst list change
update_usb_device, devinst list change
found something COM port, devinst=00000007
found something COM port, devinst=00000002
usb_add: usb:0/140000/0/3/1 COM12 (Teensy 3.5) Serial
usb_add: usb:0/140000/0/1 COM10 (Teensy 3.6) Serial
read 5 bytes on 456: "list
"
got command: "list"
update_usb_device, devinst list change
update_usb_device, devinst list change
found something COM port, devinst=00000007
found something COM port, devinst=00000002
usb_add: usb:0/140000/0/3/1 COM12 (Teensy 3.5) Serial
usb_add: usb:0/140000/0/1 COM10 (Teensy 3.6) Serial
read 5 bytes on 456: "list
"
got command: "list"
update_usb_device, devinst list change
update_usb_device, devinst list change
found something COM port, devinst=00000007
found something COM port, devinst=00000002
usb_add: usb:0/140000/0/3/1 COM12 (Teensy 3.5) Serial
usb_add: usb:0/140000/0/1 COM10 (Teensy 3.6) Serial
read 5 bytes on 456: "list
"
got command: "list"
update_usb_device, devinst list change
update_usb_device, devinst list change
found something COM port, devinst=00000007
found something COM port, devinst=00000002
usb_add: usb:0/140000/0/3/1 COM12 (Teensy 3.5) Serial
usb_add: usb:0/140000/0/1 COM10 (Teensy 3.6) Serial
WM_DEVICECHANGE DBT_DEVICEREMOVECOMPLETE
update_usb_device, devinst list change
remove: loc=usb:0/140000/0/3/1
usb_remove: usb:0/140000/0/3/1
found something COM port, devinst=00000007
usb_add: usb:0/140000/0/1 COM10 (Teensy 3.6) Serial
WM_DEVICECHANGE DBT_DEVICEREMOVECOMPLETE
WM_DEVICECHANGE DBT_DEVNODES_CHANGED
update_usb_device, devinst list change
found something COM port, devinst=00000007
usb_add: usb:0/140000/0/1 COM10 (Teensy 3.6) Serial
WM_DEVICECHANGE DBT_DEVICEARRIVAL
0000001F, class=HID, addr=1
00000008, class=USB, addr=3
00000009, class=USB, addr=0
0000000A, class=USB, addr=140000
0000000B, class=System, addr=0
0000000C, class=System, R=37
0000000D, class=Computer, R=37
0000000E, R=37, R=37
found_usb_device, id=\\?\usb#vid_16c0&pid_0478#000339d7#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
found_usb_device, loc=usb:0/140000/0/3/1 Port_#0001.Hub_#0003
found_usb_device, hwid=USB\VID_16C0&PID_0478&REV_0103
found_usb_device, devinst=0000001f
add: loc=usb:0/140000/0/3/1, class=HID, vid=16C0, pid=0478, ver=0103, serial=000339d7, dev=\\?\usb#vid_16c0&pid_0478#000339d7#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
0000001F, class=HID, id=USB\VID_16C0&PID_0478\000339D7
00000020, class=HID, id=HID\VID_16C0&PID_0478\6&3171F9&0&0000
hiddev_from_devinst_list: iface=0
index=0
index=1
index=2
index=3
index=4
index=5
index=6
index=7
index=8
index=9
index=10
index=11
index=12
index=13
index=14
index=15

update_usb_device, devinst list change
hid, found devinst=00000020
hid, path=\\?\hid#vid_16c0&pid_0478#6&3171f9&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
hid, opened handle
devinst=00000020, location=usb:0/140000/0/3/1
vid=16C0, pid=0478, ver=0103, usepage=FF9C, use=001F
devpath=\\?\hid#vid_16c0&pid_0478#6&3171f9&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
found something COM port, devinst=00000007
usb_add: usb:0/140000/0/3/1 \\?\hid#vid_16c0&pid_0478#6&3171f9&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030} (Teensy 3.5) Bootloader
usb_add: usb:0/140000/0/1 COM10 (Teensy 3.6) Serial
WM_DEVICECHANGE DBT_DEVNODES_CHANGED
update_usb_device, devinst list change
update_usb_device, devinst list change
hid, found devinst=00000020
found something COM port, devinst=00000007
usb_add: usb:0/140000/0/3/1 \\?\hid#vid_16c0&pid_0478#6&3171f9&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030} (Teensy 3.5) Bootloader
usb_add: usb:0/140000/0/1 COM10 (Teensy 3.6) Serial
WM_DEVICECHANGE DBT_DEVNODES_CHANGED
update_usb_device, devinst list change
update_usb_device, devinst list change
hid, found devinst=00000020
found something COM port, devinst=00000007
usb_add: usb:0/140000/0/3/1 \\?\hid#vid_16c0&pid_0478#6&3171f9&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030} (Teensy 3.5) Bootloader
usb_add: usb:0/140000/0/1 COM10 (Teensy 3.6) Serial
WM_DEVICECHANGE DBT_DEVICEREMOVECOMPLETE
update_usb_device, devinst list change
remove: loc=usb:0/140000/0/3/1
usb_remove: usb:0/140000/0/3/1
found something COM port, devinst=00000007
usb_add: usb:0/140000/0/1 COM10 (Teensy 3.6) Serial
WM_DEVICECHANGE DBT_DEVNODES_CHANGED
update_usb_device, devinst list change
found something COM port, devinst=00000007
usb_add: usb:0/140000/0/1 COM10 (Teensy 3.6) Serial
WM_DEVICECHANGE DBT_DEVICEARRIVAL
00000002, class=Ports, addr=1
00000008, class=USB, addr=3
00000009, class=USB, addr=0
0000000A, class=USB, addr=140000
0000000B, class=System, addr=0
0000000C, class=System, R=37
0000000D, class=Computer, R=37
0000000E, R=37, R=37
found_usb_device, id=\\?\usb#vid_16c0&pid_0483#2114150#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
found_usb_device, loc=usb:0/140000/0/3/1 Port_#0001.Hub_#0003
found_usb_device, hwid=USB\VID_16C0&PID_0483&REV_0200
found_usb_device, devinst=00000002
add: loc=usb:0/140000/0/3/1, class=Ports, vid=16C0, pid=0483, ver=0200, serial=2114150, dev=\\?\usb#vid_16c0&pid_0483#2114150#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
00000002, class=Ports, portname=COM12, id=USB\VID_16C0&PID_0483\2114150
comport_from_devinst_list attempt
found Ports in classguid_list at index=0
port COM12 found from devnode

found something COM port, devinst=00000007
found something COM port, devinst=00000002
usb_add: usb:0/140000/0/3/1 COM12 (Teensy 3.5) Serial
WM_DEVICECHANGE DBT_DEVNODES_CHANGED
update_usb_device, devinst list change
found something COM port, devinst=00000007
found something COM port, devinst=00000002
usb_add: usb:0/140000/0/3/1 COM12 (Teensy 3.5) Serial
WM_DEVICECHANGE DBT_DEVICEARRIVAL
update_usb_device, devinst list change
found something COM port, devinst=00000007
found something COM port, devinst=00000002
usb_add: usb:0/140000/0/3/1 COM12 (Teensy 3.5) Serial
WM_DEVICECHANGE DBT_DEVNODES_CHANGED
update_usb_device, devinst list change
found something COM port, devinst=00000007
found something COM port, devinst=00000002
usb_add: usb:0/140000/0/3/1 COM12 (Teensy 3.5) Serial


This is the start of a T_sermon for COM12 T_3.5:


WM_DEVICECHANGE DBT_DEVICEARRIVAL
00000002, class=Ports, addr=1
00000008, class=USB, addr=3
00000009, class=USB, addr=0
0000000A, class=USB, addr=140000
0000000B, class=System, addr=0
0000000C, class=System, R=37
0000000D, class=Computer, R=37
0000000E, R=37, R=37
found_usb_device, id=\\?\usb#vid_16c0&pid_0483#2114150#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
found_usb_device, loc=usb:0/140000/0/3/1 Port_#0001.Hub_#0003
found_usb_device, hwid=USB\VID_16C0&PID_0483&REV_0200
found_usb_device, devinst=00000002
add: loc=usb:0/140000/0/3/1, class=Ports, vid=16C0, pid=0483, ver=0200, serial=211, dev=\\?\usb#vid_16c0&pid_0483#2114150#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
00000002, class=Ports, portname=COM12, id=USB\VID_16C0&PID_0483\2114150
comport_from_devinst_list attempt
found Ports in classguid_list at index=0
port COM12 found from devnode

update_usb_device, devinst list change
found something COM port, devinst=00000007
found something COM port, devinst=00000002
usb_add: usb:0/140000/0/3/1
translate "COM12" -> "\\.\COM12"
usb_add: usb:0/140000/0/1
WM_DEVICECHANGE DBT_DEVNODES_CHANGED
update_usb_device, devinst list change
update_usb_device, devinst list change
found something COM port, devinst=00000007
found something COM port, devinst=00000002
portname=COM12
usb_add: usb:0/140000/0/3/1
usb_add: usb:0/140000/0/1
WM_DEVICECHANGE DBT_DEVICEARRIVAL
update_usb_device, devinst list change
update_usb_device, devinst list change
found something COM port, devinst=00000007
found something COM port, devinst=00000002
usb_add: usb:0/140000/0/3/1
usb_add: usb:0/140000/0/1
WM_DEVICECHANGE DBT_DEVNODES_CHANGED
update_usb_device, devinst list change
update_usb_device, devinst list change
found something COM port, devinst=00000007
found something COM port, devinst=00000002
usb_add: usb:0/140000/0/3/1
usb_add: usb:0/140000/0/1

PaulStoffregen
03-03-2018, 11:01 AM
@Defragster - Here's a new set of the utils with some fixes, including use of high-res timestamps on Windows 8 & 10. The remaining dialogs in Teensy Loader are now non-blocking, which should solve the problem you had before where the file unreadable dialog caused problems.

This stuff goes into Arduino's hardware/tools folder.

https://www.pjrc.com/teensy/beta/windows_util_142b2_fixes.zip

I'm still working on the missing WM_DEVICECHANGE problem. When I run teensy_ports from the command line, it works. But when Arduino runs it, no WM_DEVICECHANGE. This matters, because teensy_serialmon also uses WM_DEVICECHANGE to (hopefully) give rapid response to disconnecting and reconnecting while the serial monitor window is active.

PaulStoffregen
03-04-2018, 03:28 AM
I found the WM_DEVICECHANGE logging bug!

Going to clean up some other logging stuff and add more logging into teensy_serialmon. Hopefully that will be enough to figure out why it's not detecting your COM port.

defragster
03-04-2018, 04:39 AM
opps - on here for hours today and just catching your 4:01 am post . . . is there an update with the WM_DEVICECHANGE about ready?

Edit>: BTW - I went back to TyComm on TD 1.41 and it works without error. Two IDE instances - one on T_3.5 and T_3.6 - programming and giving one SerMon each for some dozen compiles. So there is no change in my normal ability to program.

defragster
03-04-2018, 06:44 AM
Shut down IDE and opened T_ports -v, then IDE 1.8.5 on Win 10 with TD1.42b2 and provided posted binaries.

Summary:: Failed to Program without Button.

Did the T_3.6 saved files in zip for 3.6 then closed down - opened and switched to T_3.5 and did the same steps.

First the zip so I don't forget:13161

Steps:
both devices running - Master.ino is T_3.6
Open Single instance of IDE
Selected T_3.6 after Button to be sure what port it was on - shown as HID ID, not COM# when selected
UPLOAD
Opened T_sermon
UPLOAD AGAIN
BUTTON > Programmed
Saved T_ports3_6.txt
Saved TLoader3_6.txt

closed T_Loader and T_ports and IDE
Opened T_ports -v, T_loader then IDE
Selected T_3.5 on COM12
Sketch Slave.ino - Set to T_3.5
Opened T_sermon - it was active
UPLOAD - FAILED
Button - Programmed
T_Sermon shows streaming data with title bar : [offline] (Teensy)
Saved T_ports3_5.txt
Saved TLoader3_5.txt
copied and saved bottom of IDE to IDEtext3_5

>> Packed the ZIP shown above.

Let me know if those were good steps and it shows anything - I can repeat them with new binaires when ready.

<EDIT>: In case it matters AFAIK Both Teensy's are on USB 3.0: One front Panel T_3.6, the T_3.5 a USB 3 Hub.
Returned to TyComm TD_1.41 and T_3.5 programs normally from that app.

PaulStoffregen
03-04-2018, 09:34 AM
Oh, I believe I see what might be causing this trouble. Working on a fix now....

defragster
03-04-2018, 09:40 AM
Awesome ... I'll look after some shut eye . . .

PaulStoffregen
03-04-2018, 11:37 AM
Ok, here are many fixes for Windows.

https://www.pjrc.com/teensy/beta/windows_util_142b2_fixes2.zip

KurtE
03-04-2018, 02:28 PM
Hi Paul,

Thought I might try out your zip file... Assume they all went into hardware\tools...

When I tried a build (after reverting back from tycommander), I did a build for T3.6... W10 64 bit...

Got to the end of build and error:

"D:\arduino-1.8.5\hardware\teensy/../tools/teensy_post_compile" "-file=Mouse.ino" "-path=C:\Users\kurte\AppData\Local\Temp\arduino_bui ld_348310" "-tools=D:\arduino-1.8.5\hardware\teensy/../tools/" "-board=TEENSY36"
Opening Teensy Loader...

Could not start Teensy Loader application! (r=1)

attempted: D:\arduino-1.8.5\hardware\teensy/../tools/\teensy.exe

Multiple libraries were found for "USBHost_t36.h"
Used: C:\Users\kurte\Documents\Arduino\libraries\USBHost _t36
Not used: D:\arduino-1.8.5\hardware\teensy\avr\libraries\USBHost_t36
Using library USBHost_t36 at version 0.1 in folder: C:\Users\kurte\Documents\Arduino\libraries\USBHost _t36
quitexit status 1
Error compiling for board Teensy 3.6.


If I simply double click on teensy.exe, I get an error screen.

13163

PaulStoffregen
03-04-2018, 02:38 PM
I don't understand why it won't run. I extracted the ZIP file here on Windows 10. The extracted file runs.

13164

These are the MD5s for the files. Maybe something got corrupted?


71fd39970ec12d68a9f73649f1a9e90f teensy.exe
4f341c873b3f38caa03b45088a7eb7c8 teensy_ports.exe
a6d114c0fa34e4c42df4af4e9854fd6b teensy_post_compile.exe
ae9eaec2e565e474adf6627f2a1307fc teensy_reboot.exe
b4d29b9226c5c1b266d2a4353bc1ed5e teensy_serialmon.exe

PaulStoffregen
03-04-2018, 02:46 PM
Oh, this looks like it might be a problem....

13165

KurtE
03-04-2018, 04:07 PM
Looks like Norton eat it... Trying to work around Norton right now..

Disabled the real time scan in folder, now it allowed me to put the updated file there...

It runs and now does allow me to download to T3.6 :D


Sorry if this is obvious, but when I look at the new ports menu, I am not sure which one I should use...

That is if I use the one from the bottom list, it works:

13167

But if Instead I use the one from the top list, which looks better as it actually knows it is a Teensy 3.6... the resultant serial window says off line:

13168

defragster
03-04-2018, 06:36 PM
Downloaded fine for me - and worked on T_3.6! First and repeat times! Then Button push too!

NOTE: I was expecting to Cut/Paste from Verbose - FAILS with streaming messages - finally found Save As. BUT:: Pushing Button one more time hoping to stop messages got it in a Neurotic state - see end of file - unplugged both and that didn't help.

That drama aside - here are T_3.6 files I saw in case they show something::
13170
13171
13172

I'll run it quick with T_3.5 to see it works - and note if not - but not upload until later if needed

<edit> notice there was No Comment on Norton the most expensive stupid waste of bits on the planet.

defragster
03-04-2018, 06:39 PM
Looks like Norton eat it... Trying to work around Norton right now..

Disabled the real time scan in folder, now it allowed me to put the updated file there...

It runs and now does allow me to download to T3.6 :D


But if Instead I use the one from the top list, which looks better as it actually knows it is a Teensy 3.6... the resultant serial window says off line:



Yes the UPPER list - confused me the other day too. That should open and show Teensy_sermon - and in bootloader mode it show the raw USB device name.

defragster
03-04-2018, 06:47 PM
Runs fine on T_3.5 as well to program SLAVE.ino - Upload, Upload, Button logged here :13173

NOTE: I still see teensy_sermon actively streaming USB but titlebar :: [offline] (Teensy)

Both T_35 and T_3.6 show alive on the :: Tools / Ports

13175

PaulStoffregen
03-04-2018, 08:41 PM
But if Instead I use the one from the top list, which looks better as it actually knows it is a Teensy 3.6... the resultant serial window says off line:

13168

Any chance you still have Teensy Loader open and the Verbose Info window has the log from when that unresponsive serial monitor window opened?

defragster
03-04-2018, 08:43 PM
Just closed T_sermon and re-opened : Showing [offline] seems to be the normal connected state - that will be in my log post #48

defragster
03-04-2018, 09:39 PM
Rebooted Win 10. Opened twin IDE's - one for T_3.5 and one for T_3.6. Programmed both devices in turn.

Pressed T_3.5 button and got ERROR: Code for T_3.6.

Can Teensyloader track which .HEX last went to the device and send the proper one in response to a device Button?

Then pushed button T_3.6 and it has gone NEUROTIC again: 13179

PaulStoffregen
03-04-2018, 10:09 PM
Can Teensyloader track which .HEX last went to the device and send the proper one in response to a device Button?


No, it can't.

If fact, Teensy Loader doesn't even (yet) have the ability to verify the board it's programming is really the intended location. In fact, on top of that, so far the teensy_reboot program doesn't even have a way to send that location info to Teensy Loader.

At this point, Teensy Loader is still a very simple single-file, single-board approach. Multiple boards only works because teensy_reboot can now send the reboot request to the correct board, and the ports menu now offers selection based on actual physical port location. It all depends on Teensy Loader having the right file open and be configure in auto mode (both of which teensy_reboot does do) when the Teensy shows up in bootloader mode.

I'm very likely going to leave Teensy Loader this way for 1.42. We're already into March, which means the ~3 month release cycle is coming up soon. I really want to get the new ports menu and serial monitor working well, and then roll up a big batch of minor fixes and improvements for a 1.42 release. Expanding the scope of this work to also change how Teensy Loader works internally would delay 1.42 too much.

KurtE
03-04-2018, 10:32 PM
Any chance you still have Teensy Loader open and the Verbose Info window has the log from when that unresponsive serial monitor window opened?

I ran another one... The interesting thing is the window says offline... But I am getting output showing up in the window, although it is grayed/dimmed in the off line state...


15:29:07.992 (ports): nothing new, skipping HID & Ports enum
15:30:22.457 (ports): got command: "list"
15:30:22.458 (ports): nothing new, skipping HID & Ports enum
15:30:30.867 (post_compile): Begin, version=1.42-beta3-pre2, high-res time
15:30:31.020 (loader): Teensy Loader 1.42-beta3-pre2, begin program
15:30:31.075 (loader): File "WellMonitor.ino.hex". 74696 bytes, 7% used
15:30:31.083 (loader): Listening for remote control on port 3149
15:30:31.084 (loader): initialized, showing main window
15:30:31.167 (loader): remote connection 1252 opened
15:30:31.168 (loader): remote cmd from 1252: "comment: Teensyduino 1.42-beta3-pre2 - WINDOWS (teensy_post_compile)"
15:30:31.169 (post_compile): Sending command: comment: Teensyduino 1.42-beta3-pre2 - WINDOWS (teensy_post_compile)
15:30:31.169 (loader): remote cmd from 1252: "status"
15:30:31.171 (loader): HID/win32: vid:045E pid:07A5 ver:0797
15:30:31.171 (loader): HID/win32: vid:045E pid:07A5 ver:0797
15:30:31.172 (loader): HID/win32: vid:045E pid:07A5 ver:0797
15:30:31.172 (loader): HID/win32: vid:045E pid:07A5 ver:0797
15:30:31.172 (loader): remote cmd from 1252: "dir:C:\Users\kurte\AppData\Local\Temp\arduino_buil d_606612\"
15:30:31.172 (loader): remote cmd from 1252: "file:WellMonitor.ino.hex"
15:30:31.173 (post_compile): Status: 1, 0, 0, 0, 0, 0, C:\Users\kurte\AppData\Local\Temp\arduino_build_60 6612\, WellMonitor.ino.hex
15:30:31.173 (post_compile): Sending command: dir:C:\Users\kurte\AppData\Local\Temp\arduino_buil d_606612\
15:30:31.173 (post_compile): Sending command: file:WellMonitor.ino.hex
15:30:31.183 (loader): File "WellMonitor.ino.hex". 74696 bytes, 7% used
15:30:31.187 (loader): remote cmd from 1252: "status"
15:30:31.189 (post_compile): Status: 1, 0, 0, 0, 0, 0, C:\Users\kurte\AppData\Local\Temp\arduino_build_60 6612\, WellMonitor.ino.hex
15:30:31.189 (post_compile): Sending command: auto:on
15:30:31.189 (loader): remote cmd from 1252: "auto:on"
15:30:31.190 (post_compile): Disconnect
15:30:31.201 (loader): remote connection 1252 closed
15:30:31.470 (loader): remote connection 1252 opened
15:30:31.475 (ports): got command: "list"
15:30:31.476 (ports): nothing new, skipping HID & Ports enum
15:30:31.476 (ports): got command: "list"
15:30:31.477 (ports): nothing new, skipping HID & Ports enum
15:30:31.502 (loader): remote connection 1304 opened
15:30:31.502 (loader): remote cmd from 1304: "comment: Teensyduino 1.42-beta3-pre2 - WINDOWS (teensy_post_compile)"
15:30:31.502 (loader): remote cmd from 1304: "status"
15:30:31.502 (loader): remote cmd from 1304: "dir:C:\Users\kurte\AppData\Local\Temp\arduino_buil d_606612\"
15:30:31.502 (loader): remote cmd from 1304: "file:WellMonitor.ino.hex"
15:30:31.504 (post_compile): Begin, version=1.42-beta3-pre2, high-res time
15:30:31.506 (post_compile): Sending command: comment: Teensyduino 1.42-beta3-pre2 - WINDOWS (teensy_post_compile)
15:30:31.507 (post_compile): Status: 1, 1, 0, 0, 0, 0, C:\Users\kurte\AppData\Local\Temp\arduino_build_60 6612\, WellMonitor.ino.hex
15:30:31.507 (post_compile): Sending command: dir:C:\Users\kurte\AppData\Local\Temp\arduino_buil d_606612\
15:30:31.507 (post_compile): Sending command: file:WellMonitor.ino.hex
15:30:31.517 (loader): File "WellMonitor.ino.hex". 74696 bytes, 7% used
15:30:31.517 (loader): remote cmd from 1304: "status"
15:30:31.522 (post_compile): Status: 1, 1, 0, 0, 0, 0, C:\Users\kurte\AppData\Local\Temp\arduino_build_60 6612\, WellMonitor.ino.hex
15:30:31.522 (post_compile): Disconnect
15:30:31.533 (loader): remote connection 1304 closed
15:30:31.533 (loader): remote connection 1304 opened
15:30:31.533 (loader): remote connection 1328 opened
15:30:31.533 (loader): remote cmd from 1328: "show:arduino_attempt_reboot"
15:30:31.533 (loader): got request to show arduino rebooting message
15:30:31.533 (post_compile): Running teensy_reboot: "D:\arduino-1.8.5\hardware\teensy\..\tools\teensy_reboot.exe" teensy_reboot.exe "-board=TEENSY36" "-port=usb:0/140000/0/2/1" "-portlabel=hid#vid_16c0&pid_0478... (Teensy 3.6) Bootloader" "-portprotocol=Teensy"
15:30:31.544 (reboot): Begin, version=1.42-beta3-pre2, high-res time
15:30:31.544 (reboot): location = usb:0/140000/0/2/1
15:30:31.544 (reboot): portlabel = hid#vid_16c0&pid_0478... (Teensy 3.6) Bootloader
15:30:31.544 (reboot): portprotocol = Teensy
15:30:31.544 (reboot): Only location usb:0/140000/0/2/1 will be tried
15:30:31.544 (reboot): LoadLibrary cfgmgr32 ok
15:30:31.544 (reboot): LoadLibrary ntdll ok
15:30:31.545 (reboot): found_usb_device, id=\\?\usb#vid_16c0&pid_0483#2320690#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
15:30:31.545 (reboot): found_usb_device, loc=usb:0/140000/0/2/1 Port_#0001.Hub_#0003
15:30:31.545 (reboot): found_usb_device, hwid=USB\VID_16C0&PID_0483&REV_0200
15:30:31.545 (reboot): found_usb_device, devinst=00000003
15:30:31.545 (reboot): add: loc=usb:0/140000/0/2/1, class=Ports, vid=16C0, pid=0483, ver=0200, serial=232, dev=\\?\usb#vid_16c0&pid_0483#2320690#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
15:30:31.545 (reboot): comport_from_devinst_list attempt
15:30:31.545 (reboot): found Ports in classguid_list at index=0
15:30:31.545 (reboot): port COM25 found from devnode
15:30:31.545 (reboot): found_usb_device complete
15:30:31.548 (reboot): found Teensy Loader, version 1.42
15:30:31.548 (reboot): Sending command: show:arduino_attempt_reboot
15:30:31.549 (loader): remote cmd from 1328: "comment: Teensyduino 1.42-beta3-pre2 - WINDOWS (teensy_reboot)"
15:30:31.549 (loader): remote cmd from 1328: "status"
15:30:31.549 (loader): remote cmd from 1328: "status"
15:30:31.551 (reboot): Sending command: comment: Teensyduino 1.42-beta3-pre2 - WINDOWS (teensy_reboot)
15:30:31.552 (reboot): Status: 1, 1, 0, 0, 0, 0, C:\Users\kurte\AppData\Local\Temp\arduino_build_60 6612\, WellMonitor.ino.hex
15:30:31.552 (reboot): do_reset (serial) COM25
15:30:31.560 (reboot): Status: 1, 1, 0, 0, 0, 0, C:\Users\kurte\AppData\Local\Temp\arduino_build_60 6612\, WellMonitor.ino.hex
15:30:31.560 (reboot): status read, retry 0
15:30:31.654 (ports): WM_DEVICECHANGE DBT_DEVICEREMOVECOMPLETE
15:30:31.656 (ports): remove: loc=usb:0/140000/0/2/1
15:30:31.656 (ports): usb_remove: usb:0/140000/0/2/1
15:30:31.656 (ports): nothing new, skipping HID & Ports enum
15:30:31.664 (ports): WM_DEVICECHANGE DBT_DEVNODES_CHANGED
15:30:31.664 (ports): nothing new, skipping HID & Ports enum
15:30:31.665 (ports): WM_DEVICECHANGE DBT_DEVICEREMOVECOMPLETE
15:30:31.666 (ports): nothing new, skipping HID & Ports enum
15:30:31.674 (loader): remote cmd from 1328: "status"
15:30:31.675 (reboot): Status: 1, 1, 0, 0, 0, 0, C:\Users\kurte\AppData\Local\Temp\arduino_build_60 6612\, WellMonitor.ino.hex
15:30:31.675 (reboot): status read, retry 1
15:30:31.782 (loader): remote cmd from 1328: "status"
15:30:31.785 (reboot): Status: 1, 1, 0, 0, 0, 0, C:\Users\kurte\AppData\Local\Temp\arduino_build_60 6612\, WellMonitor.ino.hex
15:30:31.785 (reboot): status read, retry 2
15:30:31.891 (loader): remote cmd from 1328: "status"
15:30:31.895 (reboot): Status: 1, 1, 0, 0, 0, 0, C:\Users\kurte\AppData\Local\Temp\arduino_build_60 6612\, WellMonitor.ino.hex
15:30:31.895 (reboot): status read, retry 3
15:30:32.000 (loader): remote cmd from 1328: "status"
15:30:32.002 (reboot): Status: 1, 1, 0, 0, 0, 0, C:\Users\kurte\AppData\Local\Temp\arduino_build_60 6612\, WellMonitor.ino.hex
15:30:32.002 (reboot): status read, retry 4
15:30:32.107 (loader): remote cmd from 1328: "status"
15:30:32.108 (reboot): Status: 1, 1, 0, 0, 0, 0, C:\Users\kurte\AppData\Local\Temp\arduino_build_60 6612\, WellMonitor.ino.hex
15:30:32.108 (reboot): status read, retry 5
15:30:32.214 (loader): remote cmd from 1328: "status"
15:30:32.216 (reboot): Status: 1, 1, 0, 0, 0, 0, C:\Users\kurte\AppData\Local\Temp\arduino_build_60 6612\, WellMonitor.ino.hex
15:30:32.216 (reboot): status read, retry 6
15:30:32.322 (loader): remote cmd from 1328: "status"
15:30:32.323 (reboot): Status: 1, 1, 0, 0, 0, 0, C:\Users\kurte\AppData\Local\Temp\arduino_build_60 6612\, WellMonitor.ino.hex
15:30:32.323 (reboot): status read, retry 7
15:30:32.429 (loader): remote cmd from 1328: "status"
15:30:32.430 (reboot): Status: 1, 1, 0, 0, 0, 0, C:\Users\kurte\AppData\Local\Temp\arduino_build_60 6612\, WellMonitor.ino.hex
15:30:32.430 (reboot): status read, retry 8
15:30:32.538 (loader): remote cmd from 1328: "status"
15:30:32.540 (reboot): Status: 1, 1, 0, 0, 0, 0, C:\Users\kurte\AppData\Local\Temp\arduino_build_60 6612\, WellMonitor.ino.hex
15:30:32.540 (reboot): status read, retry 9
15:30:32.600 (ports): WM_DEVICECHANGE DBT_DEVICEARRIVAL
15:30:32.601 (ports): found_usb_device, id=\\?\usb#vid_16c0&pid_0478#00038a85#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
15:30:32.601 (ports): found_usb_device, loc=usb:0/140000/0/2/1 Port_#0001.Hub_#0003
15:30:32.601 (ports): found_usb_device, hwid=USB\VID_16C0&PID_0478&REV_0103
15:30:32.601 (ports): found_usb_device, devinst=00000015
15:30:32.601 (ports): add: loc=usb:0/140000/0/2/1, class=HID, vid=16C0, pid=0478, ver=0103, serial=000, dev=\\?\usb#vid_16c0&pid_0478#00038a85#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
15:30:32.601 (ports): hiddev_from_devinst_list: iface=0
15:30:32.602 (ports): found_usb_device complete
15:30:32.602 (ports): usb_add: usb:0/140000/0/2/1 [no_device] (Teensy 3.6) Bootloader
15:30:32.604 (ports): WM_DEVICECHANGE DBT_DEVNODES_CHANGED
15:30:32.605 (ports): hid, found devinst=00000016
15:30:32.605 (ports): hid, path=\\?\hid#vid_16c0&pid_0478#7&11b7d899&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
15:30:32.605 (ports): hid, opened handle
15:30:32.605 (ports): devinst=00000016, location=usb:0/140000/0/2/1
15:30:32.605 (ports): vid=16C0, pid=0478, ver=0103, usepage=FF9C, use=0022
15:30:32.605 (ports): devpath=\\?\hid#vid_16c0&pid_0478#7&11b7d899&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
15:30:32.605 (ports): usb_add: usb:0/140000/0/2/1 \\?\hid#vid_16c0&pid_0478#7&11b7d899&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030} (Teensy 3.6) Bootloader
15:30:32.653 (loader): remote cmd from 1328: "status"
15:30:32.654 (loader): Device came online, code_size = 1048576
15:30:32.654 (loader): Board is: Teensy 3.6 (MK66FX1M0), version 1.03
15:30:32.667 (loader): File "WellMonitor.ino.hex". 74696 bytes, 7% used
15:30:32.667 (loader): set background IMG_ONLINE
15:30:32.681 (loader): File "WellMonitor.ino.hex". 74696 bytes, 7% used
15:30:32.682 (loader): elf size appears to be 1048576
15:30:32.682 (loader): elf binary data matches hex file
15:30:32.682 (loader): Code size from .elf file = 1048576
15:30:32.682 (loader): begin operation
15:30:32.690 (reboot): Status: 1, 1, 1, 1, 0, 1, C:\Users\kurte\AppData\Local\Temp\arduino_build_60 6612\, WellMonitor.ino.hex
15:30:32.696 (loader): flash, block=0, bs=1024, auto=1
15:30:32.702 (loader): flash, block=1, bs=1024, auto=1
15:30:32.704 (loader): flash, block=2, bs=1024, auto=1
15:30:32.706 (loader): flash, block=3, bs=1024, auto=1
15:30:32.981 (loader): remote cmd from 1328: "status"
15:30:32.981 (reboot): Status: 1, 1, 1, 1, 0, 1, C:\Users\kurte\AppData\Local\Temp\arduino_build_60 6612\, WellMonitor.ino.hex
15:30:32.981 (loader): flash, block=4, bs=1024, auto=1
15:30:33.012 (loader): flash, block=5, bs=1024, auto=1
15:30:33.013 (loader): flash, block=6, bs=1024, auto=1
15:30:33.015 (loader): flash, block=7, bs=1024, auto=1
15:30:33.016 (loader): flash, block=8, bs=1024, auto=1
15:30:33.043 (loader): flash, block=9, bs=1024, auto=1
15:30:33.045 (loader): flash, block=10, bs=1024, auto=1
15:30:33.046 (loader): flash, block=11, bs=1024, auto=1
15:30:33.074 (loader): remote cmd from 1328: "status"
15:30:33.074 (loader): flash, block=12, bs=1024, auto=1
15:30:33.074 (reboot): Status: 1, 1, 1, 1, 0, 1, C:\Users\kurte\AppData\Local\Temp\arduino_build_60 6612\, WellMonitor.ino.hex
15:30:33.076 (loader): flash, block=13, bs=1024, auto=1
15:30:33.077 (loader): flash, block=14, bs=1024, auto=1
15:30:33.079 (loader): flash, block=15, bs=1024, auto=1
15:30:33.106 (loader): flash, block=16, bs=1024, auto=1
15:30:33.108 (loader): flash, block=17, bs=1024, auto=1
15:30:33.109 (loader): flash, block=18, bs=1024, auto=1
15:30:33.136 (loader): remote cmd from 1328: "status"
15:30:33.136 (reboot): Status: 1, 1, 1, 1, 0, 1, C:\Users\kurte\AppData\Local\Temp\arduino_build_60 6612\, WellMonitor.ino.hex
15:30:33.136 (loader): flash, block=19, bs=1024, auto=1
15:30:33.138 (loader): flash, block=20, bs=1024, auto=1
15:30:33.139 (loader): flash, block=21, bs=1024, auto=1
15:30:33.141 (loader): flash, block=22, bs=1024, auto=1
15:30:33.168 (loader): flash, block=23, bs=1024, auto=1
15:30:33.170 (loader): flash, block=24, bs=1024, auto=1
15:30:33.171 (loader): flash, block=25, bs=1024, auto=1
15:30:33.198 (loader): remote cmd from 1328: "status"
15:30:33.198 (reboot): Status: 1, 1, 1, 1, 0, 1, C:\Users\kurte\AppData\Local\Temp\arduino_build_60 6612\, WellMonitor.ino.hex
15:30:33.198 (loader): flash, block=26, bs=1024, auto=1
15:30:33.200 (loader): flash, block=27, bs=1024, auto=1
15:30:33.201 (loader): flash, block=28, bs=1024, auto=1
15:30:33.203 (loader): flash, block=29, bs=1024, auto=1
15:30:33.230 (loader): flash, block=30, bs=1024, auto=1
15:30:33.231 (loader): flash, block=31, bs=1024, auto=1
15:30:33.233 (loader): flash, block=32, bs=1024, auto=1
15:30:33.260 (loader): flash, block=33, bs=1024, auto=1
15:30:33.262 (loader): remote cmd from 1328: "status"
15:30:33.262 (loader): flash, block=34, bs=1024, auto=1
15:30:33.262 (reboot): Status: 1, 1, 1, 1, 0, 1, C:\Users\kurte\AppData\Local\Temp\arduino_build_60 6612\, WellMonitor.ino.hex
15:30:33.263 (loader): flash, block=35, bs=1024, auto=1
15:30:33.265 (loader): flash, block=36, bs=1024, auto=1
15:30:33.291 (loader): flash, block=37, bs=1024, auto=1
15:30:33.292 (loader): flash, block=38, bs=1024, auto=1
15:30:33.294 (loader): flash, block=39, bs=1024, auto=1
15:30:33.321 (reboot): status read, retry 10
15:30:33.321 (reboot): Disconnect
15:30:33.321 (reboot): Success
15:30:33.322 (loader): flash, block=40, bs=1024, auto=1
15:30:33.323 (loader): flash, block=41, bs=1024, auto=1
15:30:33.325 (loader): flash, block=42, bs=1024, auto=1
15:30:33.326 (loader): flash, block=43, bs=1024, auto=1
15:30:33.342 (ports): got command: "list"
15:30:33.343 (ports): nothing new, skipping HID & Ports enum
15:30:33.343 (ports): got command: "list"
15:30:33.343 (ports): nothing new, skipping HID & Ports enum
15:30:33.353 (loader): remote connection 1328 closed
15:30:33.353 (loader): remote connection 1304 closed
15:30:33.354 (loader): flash, block=44, bs=1024, auto=1
15:30:33.355 (loader): flash, block=45, bs=1024, auto=1
15:30:33.357 (loader): flash, block=46, bs=1024, auto=1
15:30:33.384 (loader): flash, block=47, bs=1024, auto=1
15:30:33.386 (loader): flash, block=48, bs=1024, auto=1
15:30:33.387 (loader): flash, block=49, bs=1024, auto=1
15:30:33.389 (loader): flash, block=50, bs=1024, auto=1
15:30:33.415 (loader): flash, block=51, bs=1024, auto=1
15:30:33.417 (loader): flash, block=52, bs=1024, auto=1
15:30:33.418 (loader): flash, block=53, bs=1024, auto=1
15:30:33.447 (loader): flash, block=54, bs=1024, auto=1
15:30:33.448 (loader): flash, block=55, bs=1024, auto=1
15:30:33.450 (loader): flash, block=56, bs=1024, auto=1
15:30:33.451 (loader): flash, block=57, bs=1024, auto=1
15:30:33.478 (loader): flash, block=58, bs=1024, auto=1
15:30:33.479 (loader): flash, block=59, bs=1024, auto=1
15:30:33.481 (loader): flash, block=60, bs=1024, auto=1
15:30:33.509 (loader): flash, block=61, bs=1024, auto=1
15:30:33.511 (loader): flash, block=62, bs=1024, auto=1
15:30:33.512 (loader): flash, block=63, bs=1024, auto=1
15:30:33.513 (loader): flash, block=64, bs=1024, auto=1
15:30:33.540 (loader): flash, block=65, bs=1024, auto=1
15:30:33.541 (loader): flash, block=66, bs=1024, auto=1
15:30:33.543 (loader): flash, block=67, bs=1024, auto=1
15:30:33.571 (loader): flash, block=68, bs=1024, auto=1
15:30:33.572 (loader): flash, block=69, bs=1024, auto=1
15:30:33.574 (loader): flash, block=70, bs=1024, auto=1
15:30:33.575 (loader): flash, block=71, bs=1024, auto=1
15:30:33.602 (loader): flash, block=72, bs=1024, auto=1
15:30:33.607 (loader): sending reboot
15:30:33.609 (loader): begin wait_until_offline
15:30:33.686 (ports): WM_DEVICECHANGE DBT_DEVICEREMOVECOMPLETE
15:30:33.686 (ports): remove: loc=usb:0/140000/0/2/1
15:30:33.686 (ports): usb_remove: usb:0/140000/0/2/1
15:30:33.686 (ports): nothing new, skipping HID & Ports enum
15:30:33.713 (loader): offline, waited 2
15:30:33.713 (loader): end operation, total time = 1.031 seconds
15:30:33.713 (loader): set background IMG_REBOOT_OK
15:30:33.713 (loader): redraw timer set, image 14 to show for 1200 ms
15:30:33.822 (loader): HID/win32: vid:045E pid:07A5 ver:0797
15:30:33.822 (loader): HID/win32: vid:045E pid:07A5 ver:0797
15:30:33.823 (loader): HID/win32: vid:045E pid:07A5 ver:0797
15:30:33.823 (loader): HID/win32: vid:045E pid:07A5 ver:0797
15:30:33.961 (ports): WM_DEVICECHANGE DBT_DEVICEARRIVAL
15:30:33.961 (ports): found_usb_device, id=\\?\usb#vid_16c0&pid_0483#2320690#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
15:30:33.961 (ports): found_usb_device, loc=usb:0/140000/0/2/1 Port_#0001.Hub_#0003
15:30:33.961 (ports): found_usb_device, hwid=USB\VID_16C0&PID_0483&REV_0200
15:30:33.961 (ports): found_usb_device, devinst=00000013
15:30:33.961 (ports): add: loc=usb:0/140000/0/2/1, class=Ports, vid=16C0, pid=0483, ver=0200, serial=232, dev=\\?\usb#vid_16c0&pid_0483#2320690#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
15:30:33.961 (ports): comport_from_devinst_list attempt
15:30:33.961 (ports): found Ports in classguid_list at index=0
15:30:33.961 (ports): port COM25 found from devnode
15:30:33.961 (ports): found_usb_device complete
15:30:33.962 (ports): usb_add: usb:0/140000/0/2/1 COM25 (Teensy 3.6) Serial
15:30:33.967 (ports): WM_DEVICECHANGE DBT_DEVICEARRIVAL
15:30:33.968 (ports): nothing new, skipping HID & Ports enum
15:30:34.172 (ports): WM_DEVICECHANGE DBT_DEVNODES_CHANGED
15:30:34.172 (ports): nothing new, skipping HID & Ports enum
15:30:34.928 (loader): redraw, image 9
15:30:36.300 (ports): got command: "list"
15:30:36.339 (loader): remote connection 1260 opened
15:30:36.346 (serialmon): Begin, version=1.42-beta3-pre2, high-res time
15:30:36.346 (serialmon): teensy_serialmon, cmdline='D:\arduino-1.8.5\hardware\tools\teensy_serialmon -v usb:0/140000/0/2/1'
15:30:36.346 (serialmon): listening for location: usb:0/140000/0/2/1
15:30:36.346 (serialmon): LoadLibrary cfgmgr32 ok
15:30:36.346 (serialmon): LoadLibrary ntdll ok
15:30:36.348 (serialmon): callback 0024
15:30:36.348 (serialmon): callback 0081
15:30:36.349 (serialmon): callback 0083
15:30:36.350 (serialmon): hWnd = 3279444
15:30:36.350 (serialmon): loop stdin, ready=2097151
15:30:36.351 (serialmon): found_usb_device, id=\\?\usb#vid_16c0&pid_0483#2320690#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
15:30:36.351 (serialmon): found_usb_device, loc=usb:0/140000/0/2/1 Port_#0001.Hub_#0003
15:30:36.351 (serialmon): found_usb_device, hwid=USB\VID_16C0&PID_0483&REV_0200
15:30:36.351 (serialmon): found_usb_device, devinst=00000003
15:30:36.351 (serialmon): add: loc=usb:0/140000/0/2/1, class=Ports, vid=16C0, pid=0483, ver=0200, serial=232, dev=\\?\usb#vid_16c0&pid_0483#2320690#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
15:30:36.351 (serialmon): comport_from_devinst_list attempt
15:30:36.352 (serialmon): found Ports in classguid_list at index=0
15:30:36.352 (serialmon): port COM25 found from devnode
15:30:36.352 (serialmon): found_usb_device complete
15:30:36.353 (serialmon): usb_add: usb:0/140000/0/2/1
15:30:36.353 (serialmon): translate "COM25" -> "\\.\COM25"
15:30:36.353 (serialmon): Opened \\.\COM25 Serial
15:30:48.013 (loader): Verbose Info event

PaulStoffregen
03-04-2018, 11:00 PM
Thanks for posting this! It's a huge help.


Then pushed button T_3.6 and it has gone NEUROTIC again: 13179

I see at least a couple small things going wrong, so going to focus on those first. Also going to add a little more logging into teensy_serialmon. Hopefully you'll be able to get this neurotic thing to happen again?

One of my many goals in this new scheme is making everything respond as quickly as possible. Previously I've "solved" problems by just adding delays. Trying really hard to avoid delays this time, and instead drive everything as much as possible from WM_DEVICECHANGE. But Windows is incredibly difficult. If you're willing to keep running these tests, maybe I'll try creating a version that registers for WM_DEVICECHANGE on more device class GUIDs? I can find lots of details on MSDN and in the header files, but Microsoft seems to have a terrible lack of guidance on how to actually use this stuff to rapidly respond to composite USB device arrival and removal. The really frustrating part how much things seem to vary between a fairly fresh Windows install and one that's been heavily used. At least we're finally getting better logging with high-res timestamps. Your testing is really helping now!

defragster
03-04-2018, 11:00 PM
No, it can't.

...

Good answer. Nice step forward. So much for taking the weekend off :)

NOTE: I have STREAMING USB output - I stop AutoScroll and attempt to select to copy an output section - BAM - before I can select and copy 4 out of 5 tries the windows text jumps and the selection is voided. I have to page to the target area and try again. I suppose that behavior is beyond your control - but just in case . . .

{ kudos to koromix for his focus on this with tycommander! }

defragster
03-04-2018, 11:23 PM
Thanks for posting this! It's a huge help.

I see at least a couple small things going wrong, so going to focus on those first. Also going to add a little more logging into teensy_serialmon. Hopefully you'll be able to get this neurotic thing to happen again?

... If you're willing to keep running these tests, ... Your testing is really helping now!

Glad to help, yes I can run more tests.

I have seen the neurosis twice now - IIRC it was caused both times with a Button press after successfully programming had the Teensy running - both times IIRC it was the T_3.6's Button.

It seems neurosis also showed up when I unplugged both my running Teensys - the messages started spewing? Just did that again now and it did not go there with multiple plugs and a T_3.6 Button.

HOWEVER - then doing a T_3.5 button and it is in SPAZ mode: 13182

PaulStoffregen
03-05-2018, 02:41 PM
So much for taking the weekend off :)


Yeah, some weekend plans didn't quite work out. Might take a little time this week, so if you see my pace slowing over the next few days... that's why.

PaulStoffregen
03-07-2018, 12:18 PM
The interesting thing is the window says offline... But I am getting output showing up in the window, although it is grayed/dimmed in the off line state...

Yeah, that's a bug on the Java side looking for the "Opened" string. It's assuming data will arrive 1 line at a time, which isn't true on Windows. I'll put in better parsing for the next beta.

PaulStoffregen
03-07-2018, 12:27 PM
@defragster - Can you try to get the neurotic problem to happen with these files?

https://www.pjrc.com/teensy/beta/windows_util_142b2_fixes3.zip

This update adds numbering to the remote logging instances, which will make sorting out the similar-looking multiple instances much easier. I also fixed a minor bug in detecting HID devices, but that's unlikely to be the problem.

Edit: this update also has several minor improvements on the Windows side, like showing anything teensy_reboot prints to the Arduino console without waiting for the process to end (not nearly as easy in Windows as on Mac & Linux).

defragster
03-07-2018, 05:00 PM
Downloaded - will test in coming hours.

Paul - I wasn't sure which to link where - but this user might have an issue to test? : PT-8211-and-teensy-3-2 >> mac with Elcapitan not working (https://forum.pjrc.com/threads/49793-PT-8211-and-teensy-3-2?p=170873&viewfull=1#post170873)

defragster
03-07-2018, 07:34 PM
Paul - switched to IDE w/td 1.42 beta w/fixes#3

Here is a long TLoader_Verbose:
13227

This has twin T_3.5 + T_3.6 and various uploads that seemed to work - though the sketch pair isn't working just now. NOTE: TyCommander has HUNG some times after T_3.5 uploads on my system.

I just saw this "Board at usb:0/140000/0/1 is not available" after I closed t_sermon after upload - then hit the T_ports and moved to Com10 - until then there was no connected t_sermon output?::


WM_DEVICECHANGE DBT_DEVICEARRIVAL
nothing new, skipping HID & Ports enum
WM_DEVICECHANGE DBT_DEVNODES_CHANGED
nothing new, skipping HID & Ports enum
Board at usb:0/140000/0/1 is not available
teensy_serialmon, cmdline='T:\arduino_1.8.5_142\hardware\tools\teens y_serialmon -v usb:0/140000/0/2'
listening for location: usb:0/140000/0/2
LoadLibrary cfgmgr32 ok
LoadLibrary ntdll ok
callback 0024
callback 0081
callback 0083
hWnd = 1117928
loop stdin, ready=2097151
found_usb_device, id=\\?\usb#vid_16c0&pid_0483#2114150#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
found_usb_device, loc=usb:0/140000/0/3/1 Port_#0001.Hub_#0003
found_usb_device, hwid=USB\VID_16C0&PID_0483&REV_0200
found_usb_device, devinst=00000002
add: loc=usb:0/140000/0/3/1, class=Ports, vid=16C0, pid=0483, ver=0200, serial=211, dev=\\?\usb#vid_16c0&pid_0483#2114150#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
00000002, class=Ports, portname=COM12, id=USB\VID_16C0&PID_0483\2114150
comport_from_devinst_list attempt
found Ports in classguid_list at index=0
port COM12 found from devnode
found_usb_device complete
found_usb_device, id=\\?\usb#vid_16c0&pid_0483#2273070#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
found_usb_device, loc=usb:0/140000/0/2 Port_#0002.Hub_#0001
found_usb_device, hwid=USB\VID_16C0&PID_0483&REV_0200
found_usb_device, devinst=00000007
add: loc=usb:0/140000/0/2, class=Ports, vid=16C0, pid=0483, ver=0200, serial=227, dev=\\?\usb#vid_16c0&pid_0483#2273070#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
00000007, class=Ports, portname=COM10, id=USB\VID_16C0&PID_0483\2273070
comport_from_devinst_list attempt
found Ports in classguid_list at index=0
port COM10 found from devnode
found_usb_device complete
usb_add: usb:0/140000/0/2
translate "COM10" -> "\\.\COM10"
Opened COM10 Serial
usb_add: usb:0/140000/0/3/1

You can set up a repro of what I'm doing with two SPI teensys wired like this: Project-SPI_MSTransfer :: Connects (https://forum.pjrc.com/threads/50008-Project-SPI_MSTransfer?p=170874&viewfull=1#post170874)

And it should run from Master/Slave in this library examples: Project-SPI_MSTransfer :: Library > SPI_MSTransfer.zip (https://forum.pjrc.com/threads/50008-Project-SPI_MSTransfer?p=170914&viewfull=1#post170914) <link edited to V_0.0.16>

Theremingenieur
03-07-2018, 09:57 PM
Paul - I wasn't sure which to link where - but this user might have an issue to test? : PT-8211-and-teensy-3-2 >> mac with Elcapitan not working (https://forum.pjrc.com/threads/49793-PT-8211-and-teensy-3-2?p=170873&viewfull=1#post170873)

OSX 10.11 El Capitan was released in 2015. Since then, all users could upgrade for free to 10.12 Sierra in Sept 2016 and, again for free, to 10.13 High Sierra in Sept 2017. Thus, I‘m not sure if it makes sense to bother with that outdated stuff...

defragster
03-07-2018, 10:08 PM
Paul - All is working well on Win 10 with teensy_sermon and two instances of the IDE [ one T_3.5 Slave code and the other T_3.6 Master code ].

Both T_sermon title bars ODDLY indicate as before "[offline] (Teensy)" - when both are streaming data at 1,000 msgs/sec.

For your reading enjoyment here is the current TLoader since my last post (opps 400K too big - have to zip):
13229


Thiery: that sounds to be an old and obscure build - but maybe it will work for free with the changes?

PaulStoffregen
03-07-2018, 11:16 PM
My goal as been to support Mac 10.7 (Lion) to the latest High Sierra. That's currently the range Arduino supports, but it's looking like they may drop Lion and maybe Mountain Lion support with a JRE update on 1.9.0.

When the next version comes out with the 32 bit warnings, might be time to update my build system and drop Lion? Or maybe I can coax it to build 64 bit versions with my current system? (seem to recall an issue deep within wxWidgets using 64 bits & supporting very old MacOS)

Theremingenieur
03-07-2018, 11:52 PM
These 32bit warnings are already in the current High Sierra 10.13.4 beta and I can tell you that these are annoying... Fortunately, I could already update or replace all my other apps to have a clean 64bit system - out of Teensyduino.

PaulStoffregen
03-07-2018, 11:52 PM
Both T_sermon title bars ODDLY indicate as before "[offline] (Teensy)" - when both are streaming data at 1,000 msgs/sec.


Yeah, that's a known bug. I'll work on it soon. I believe the Java code isn't properly parse the message teensy_serialmon sends to tell it the device is back online. Or it could be the Windows version of teensy_serialmon isn't sending it properly, or maybe some other issue? Been prioritizing the other problems higher than this, but it does need to get fixed before a 1.42 release.

PaulStoffregen
03-07-2018, 11:58 PM
These 32bit warnings are already in the current High Sierra 10.13.4 beta and I can tell you that these are annoying...

I've got this on my list of upcoming issues. I'm not planning to install 10.13.4 beta. Going to deal with it when 10.13.4 releases.

So far, I'm still on 10.13.3.

13230

defragster
03-08-2018, 12:40 AM
Yeah, that's a known bug. I'll work on it soon. I believe the Java code isn't properly parse the message teensy_serialmon sends to tell it the device is back online. Or it could be the Windows version of teensy_serialmon isn't sending it properly, or maybe some other issue? Been prioritizing the other problems higher than this, but it does need to get fixed before a 1.42 release.

Okay - noted as known - ugly but not critical.
>> Is there any chance it relates to the one time the T_sermon didn't come back online - maybe it is sending an unexpected string/ID - COM10 was back online but: Board at usb:0/140000/0/1 is not available

I've done muiltiple Uploads to both paired T_3.5 and T_3.6 with NO ISSUES.

In the last 2.7+ hours at 1,000 / sec both T_sermons are running strong and fine message counter is at 10,063,420 and counting. { and the output on Slave comes from a 49 uS SPI message of 96 bytes from the Master }

PaulStoffregen
03-08-2018, 12:58 AM
>> Is there any chance it relates to the one time the T_sermon didn't come back online - maybe it is sending an unexpected string/ID - COM10 was back online but: Board at usb:0/140000/0/1 is not available


Nope, that's a "real" bug. If it happens again, please save the log file!

PaulStoffregen
03-08-2018, 01:00 AM
Another question, how is the interactive speed looking on your system? One of the long-standing problems this was meant to solve is the need for extra delays (especially on Windows) before opening the COM port after uploading.

defragster
03-08-2018, 01:25 AM
Nope, that's a "real" bug. If it happens again, please save the log file!

Was logged - see post #61

defragster
03-08-2018, 01:28 AM
Another question, how is the interactive speed looking on your system? One of the long-standing problems this was meant to solve is the need for extra delays (especially on Windows) before opening the COM port after uploading.

So far it seems Good and fast since first noted - reports Serial connect at 400 ms no issues.

defragster
03-09-2018, 05:18 AM
So far it seems Good and fast since first noted - reports Serial connect at 400 ms no issues.

Paul - is seems T_sermon is not asserting Serial ? Early note was clouded by having micros()<5000 not millis() - DOH!

Sketch below shows lots of printing coming to T_sermon ( and IDE SerMon ) while ( !Serial )? It also shows IDE SerMon able to print but not 'telling' Teensy as fast as TyCommander, this agrees with prior discoveries of slow starting SerMon.

It prints this in T_sermon either after Upload or on plugging in USB:


Not Serial ??? @ millis=400
Not Serial ??? @ millis=901
Not Serial ??? @ millis=1401
Not Serial ??? @ millis=1901
Not Serial ??? @ millis=2401
Not Serial ??? @ millis=2901
Not Serial ??? @ millis=3401
Not Serial ??? @ millis=3901
Not Serial ??? @ millis=4401
Not Serial ??? @ millis=4901
Teensy !Serial ??? @ millis=5401

T:\tCode\_TEENSY_INFO\StartPrint\StartPrint.ino Mar 8 2018 22:09:35
Not Serial ???


This Sketch running on T_3.5:


void setup() {
Serial.begin(115200);
uint32_t foo = millis();
while (!Serial && millis() < 5000 )
{ Serial.print( "Not Serial ??? @ millis=" );
Serial.println( millis() );
while ( !Serial && ( millis() <= (foo + 500) ) );
foo += 500;
}
if ( !Serial )
Serial.print( "Teensy !Serial ??? @ millis=" );
else
Serial.print( "Teensy Serial Online !!! @ millis=" );
Serial.println( millis() );
Serial.println("\n" __FILE__ " " __DATE__ " " __TIME__);
if ( !Serial )
Serial.println( "Not Serial ???" );
else
Serial.println( "YES Serial !!!" );
}

void loop() {
}}

Programming with IDE SerMon shows:

Not Serial ??? @ millis=400
Not Serial ??? @ millis=901
Not Serial ??? @ millis=1401
Not Serial ??? @ millis=1901
Teensy Serial Online !!! @ millis=1926

T:\tCode\_TEENSY_INFO\StartPrint\StartPrint.ino Mar 8 2018 22:08:26
YES Serial !!!


TyCommander shows this on plugging it in:


Teensy Serial Online !!! @ millis=466

T:\tCode\_TEENSY_INFO\StartPrint\StartPrint.ino Mar 8 2018 22:09:35
YES Serial !!!

PaulStoffregen
03-09-2018, 11:17 AM
Paul - is seems T_sermon is not asserting Serial ?

Here's a fix.

PaulStoffregen
03-09-2018, 11:23 AM
Also, this fixes a sort-of related problem, where (Serial) doesn't become false with Windows when you close the serial monitor.

https://github.com/PaulStoffregen/cores/commit/5ae453cc5c8bf21708be6d12d092941b3cc03acd

You'll probably also like another small change I put in, to shave the startup delay from 400 to 300 ms. :)

defragster
03-09-2018, 04:17 PM
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.

PaulStoffregen
03-11-2018, 02:54 PM
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.

PaulStoffregen
03-11-2018, 03:02 PM
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.

PaulStoffregen
03-11-2018, 04:14 PM
Both T_sermon title bars ODDLY indicate as before "[offline] (Teensy)" - when both are streaming data at 1,000 msgs/sec.


... 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/Arduino-1.8.5-Teensyduino/commit/59d43e637d54835236bed83d49d21c1e40fe5847

KurtE
03-11-2018, 04:49 PM
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...)

PaulStoffregen
03-11-2018, 05:15 PM
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.

defragster
03-11-2018, 07:46 PM
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: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 }

Paul
03-12-2018, 12:06 AM
Ok, beta3 is available now.

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

Closing this thread.