Forum Rule: Always post complete source code & details to reproduce any issue!
Page 142 of 173 FirstFirst ... 42 92 132 140 141 142 143 144 152 ... LastLast
Results 3,526 to 3,550 of 4319

Thread: Teensy 4.0 First Beta Test

  1. #3526
    Senior Member+ mjs513's Avatar
    Join Date
    Jul 2014
    Location
    New York
    Posts
    4,108
    Quote Originally Posted by PaulStoffregen View Post
    Today we mailed pinout cards to all 27 people who have the beta hardware. They're coming by ordinary postal mail, just 2 cards in an envelope.
    Thank you appreciate it. I printed out the basic card on card stock and really did look good. Should be even better from the printers. Getting closer to release think we are all getting excited now.

  2. #3527
    Senior Member
    Join Date
    Aug 2017
    Posts
    127
    @mjs513 - Thanks

    No never did get it working. There was a problem with the SD library and its on the msg#6 list for Paul to Check out.
    I guess this is probably where I need to start. I have the latest TD software. TD1.47B4 if I have not missed something. Frank B's MP3 player works perfectly with the SDcard on PJRC's audio board.
    I do not have a prop-shield so I cannot test with that.

    Breaking from MSC to play. See if I can get the audio board to work with the T4 SDCard slot on the break out board and SD.

  3. #3528
    Senior Member pictographer's Avatar
    Join Date
    May 2013
    Location
    San Jose, CA
    Posts
    664
    KeyPad library appears to work. Very lightly tested. Used the example from https://www.pjrc.com/teensy/td_libs_Keypad.html

  4. #3529
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    9,739
    @pictographer - you noted EEPROM and KEYPAD working - I updated post #4 with 'works'

    TD 1.47 b4 is the latest - no reply to recent query about a planned TD Beta update with any wrapped up features from taking recent PR's or other.

    Looking forward to the Cards Paul, Thx.

  5. #3530
    Senior Member
    Join Date
    Aug 2017
    Posts
    127
    @defragster

    TD 1.47 b4 is the latest - no reply to recent query about a planned TD Beta update with any wrapped up features from taking recent PR's or other.
    Thanks

  6. #3531
    Senior Member
    Join Date
    Jul 2014
    Posts
    2,341
    Quote Originally Posted by mjs513 View Post
    No never did get it working. There was a problem with the SD library and its on the msg#6 list for Paul to Check out.
    But in https://forum.pjrc.com/threads/54711...l=1#post203973 you said it is working.
    The original port was for T4b1 and needed obviously modified for T4b2, which you did.
    Are there other issues?
    BTW, why did you use another BUILTIN_SDCARD number than the other boards (36 instead of 254)?

  7. #3532
    Senior Member pictographer's Avatar
    Join Date
    May 2013
    Location
    San Jose, CA
    Posts
    664
    The Metro library appears to work, but the example at https://www.pjrc.com/teensy/td_libs_Metro.html uses the obsolete BYTE constant and fails to compile for this reason. I'm not sure if the timing is as precise as we should expect, judging by the time stamps in the Serial Monitor window.

    <added>: linked to this post in Post #4:: Metro Fails for BYTE usage and possible timing issue
    Last edited by defragster; 07-07-2019 at 06:27 AM. Reason: Added msg #4

  8. #3533
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    9,739
    @mjs513 - when you got that recent T4 FAULT - did you have LED blinking?

    I'm wondering if this code was updated to 1062 fast io?
    IOMUXC_SW_MUX_CTL_PAD_GPIO_B0_03 = 5; // pin 13
    IOMUXC_SW_PAD_CTL_PAD_GPIO_B0_03 = IOMUXC_PAD_DSE(7);
    GPIO2_GDIR |= (1 << 3);
    GPIO2_DR_SET = (1 << 3);
    GPIO2_DR_CLEAR = (1 << 3); //digitalWrite(13, LOW);

    if ( F_CPU_ACTUAL >= 600000000 )
    set_arm_clock(300000000);

    while (1)
    {
    GPIO2_DR_SET = (1 << 3); //digitalWrite(13, HIGH);
    // digitalWrite(13, HIGH);
    for (nn = 0; nn < 2000000/2; nn++) ;
    GPIO2_DR_CLEAR = (1 << 3); //digitalWrite(13, LOW);
    // digitalWrite(13, LOW);
    for (nn = 0; nn < 18000000/2; nn++) ;
    }
    Not wondering much though because this works as well when FAULTED:
    Code:
        while ( 1 ) {
          volatile unsigned int nn ;
          digitalWriteFast( 13, HIGH);
          for (nn = 0; nn < 2000000 / 2; nn++) ;
          digitalWriteFast( 13, 0);
          for (nn = 0; nn < 18000000 / 2; nn++) ;
        }
    I got back to the debug_tt library now working on T4 USB Serial. The weak :: void HardFault_HandlerC(unsigned int *hardfault_args) {//…} that PJRC Fault Code currently sends to Serial4 (until it gets turned off ?) can be brought back with :: #include "debug_tt.h" and
    debBegin_tt( (HardwareSerial*)&Serial1, LED_BUILTIN, 12); // Use Serial1, Blink pin #13 on fault, {opt} watch pin #12 for _isr() CHANGE and break into debug_tt code.
    **COOL Note: not checked today - but last I saw loop() can HALT and _isr() code still gets calls and USB Serial can still print - as it does below even when MCU FAULTED. As below it dumps the sketch generated 'call trace' - and then allows calling the 'Debug_Dump()' code and return to execution.

    I am finding as before that Serial.printf() can handle a NAN - but printf() causes a fault - with this code:
    Code:
        deb_tt( 6, 0xdeadbeef );    // THIS IS LINE #114 where '0xdeadbeef' is recorded in value '6 =>'
      float x = 0.0 / 0.0;
      Serial.printf("NAN >> %f\n", x); // Hard Fault with printf()
      deb_tt( 7, __LINE__ );  // THIS IS LINE #119
      printf("NAN >> %f\n", x); // Hard Fault with printf()

    You can see up to the FAULT in line #120 {last func:: DebugTest2()} - then the FAULT register dump happens - then it returns to debug_tt code where you can see the recording of line #119 setting entry '7 =>' shows the last logged entry before the FAULT.
    That information shown after : Last debug_tt helper @ L#:31 Debug_Dump() where the SKETCH can place a 'weak' override for Debug_Dump() to print any other global sketch data that function can access.
    After calling that code it then proceeds to print the last updated 'call trace' (?) of the log entries mad with debug_tt funcs() and then a FAST BLINK HALT of execution.
    #### Debug trace Show debug_tt Info: [Last debug_tt helper @ L#:114 DebugTest2()
    2 => 14916973 0x00E39D6D [L#109_C#4
    3 => 1052929 0x00101101 [L#112_C#5
    4 => 615047 0x00096287 [L#68_C#3
    6 => 3735928559 0xDEADBEEF [L#114_C#6 _<< last func:: DebugTest2()
    NAN >> nan

    Fault irq 3
    stacked_r0 :: 00000001
    stacked_r1 :: 20200008
    stacked_r2 :: 0000000B
    stacked_r3 :: 00000000
    stacked_r12 :: FFFFFFFF
    stacked_lr :: 000016AF
    stacked_pc :: 00000000
    stacked_psr :: 400F0000
    _CFSR :: 00020000
    (INVSTATE) Instruction makes illegal use of EPSR)
    _HFSR :: 40000000
    (FORCED) Forced Hard Fault
    _DFSR :: 00000000
    _AFSR :: 00000000
    _BFAR :: 00000000
    _MMAR :: 00000000
    in Debug_Dump @L#31 stack var addr: 0x2006FD14
    User Custom Debug Dump. Micros==14945934
    userDebugDumptt() in debug_tt ___

    F_CPU=300000000
    >>>> Debug Fault >>>> debug_fault >>>> TYPE:T_4
    debug_tt Info: [Last debug_tt helper @ L#:31 Debug_Dump()
    2 => 14916973 0x00E39D6D [L#109_C#4
    3 => 1052929 0x00101101 [L#112_C#5
    4 => 615047 0x00096287 [L#68_C#3
    6 => 3735928559 0xDEADBEEF [L#114_C#6
    7 => 119 0x00000077 [L#119_C#7 _<< last func:: DebugTest2()

    >>>> Debug Fault >>>> TYPE:T_4
    --- Faulted >>>> Execution Halted.

    For more info - print it in sketch :: Debug_Dump(void)
    The code seems usable but horribly written and much abused as I transitioned it from T_3.x on Beta 1 T4_1052. I can post it soon - or sooner by request - but I should make a better example or two.

    But for now it runs similarly on T_3.5 with the same code - it just has a different register DUMP and output ordering:
    Code:
     #### Debug trace Show debug_tt Info:	[Last debug_tt helper @ L#:114  DebugTest2()
    2 => 10436433	0x009F3F51	[L#109_C#4
    3 => 1052929	0x00101101	[L#112_C#5
    4 => 648498	0x0009E532	[L#68_C#3
    6 => 3735928559	0xDEADBEEF	[L#114_C#6 _<< last func:: DebugTest2()
    NAN >> nan
    
     >>>> Debug Fault   >>>> debug_fault   >>>> TYPE:hrd
    debug_tt Info:	[Last debug_tt helper @ L#:119  DebugTest2()
    2 => 10436433	0x009F3F51	[L#109_C#4
    3 => 1052929	0x00101101	[L#112_C#5
    4 => 648498	0x0009E532	[L#68_C#3
    6 => 3735928559	0xDEADBEEF	[L#114_C#6
    7 => 119	0x00000077	[L#119_C#7 _<< last func:: DebugTest2()
    
    fault: 
    ??: 00000001		??: 1FFF0CE0		??: 00008809
    psr: 1FFF0CE0		adr: 00000001		lr: 0000000B
    r12: 00001623		r3: 00000000
    r2: 1FFF171C
    r1: 7FF80000
    r0: 00000000
    r4: 1FFF0C20
    lr: 1FFF0CE0
    ---
    CFR: :: 00008200
    HFR: :: 40000000
    DFR: :: 00000000
    MMA: :: 99200303
    BFA: :: 99200303
    ASR: :: 00000000
    Another T4 example:: Doing something like this at line #60 - using something not enabled:
    Code:
      deb_tt( 2, micros() );  // LINE #58 in setup() - as noted below
    #if defined(__IMXRT1062__)
      GPT1_CNT = 5; // FAULT
    #endif
    Would end with output like this with the deb_tt() entry as shown above:
    Code:
     begin ...
    
    Fault irq 3
     stacked_r0 ::  20000010
     stacked_r1 ::  20000000
     stacked_r2 ::  0000005F
     stacked_r3 ::  0000005F
     stacked_r12 ::  200024D8
     stacked_lr ::  00000351
     stacked_pc ::  600012F4
     stacked_psr ::  01070000
     _CFSR ::  00000400
          (IMPRECISERR) Data bus error but address not related to instruction
     _HFSR ::  40000000
          (FORCED) Forced Hard Fault
     _DFSR ::  00000000
     _AFSR ::  00000000
     _BFAR ::  00000000
     _MMAR ::  00000000
    in Debug_Dump @L#31	stack var addr: 0x2006FEE4
     User Custom Debug Dump. Micros==797938
     userDebugDumptt() in debug_tt  ___ 
    
     F_CPU=300000000
     >>>> Debug Fault   >>>> debug_fault   >>>> TYPE:T_4
    debug_tt Info:	[Last debug_tt helper @ L#:31  Debug_Dump()
    2 => 769006	0x000BBBEE	[L#58_C#1 _<< last func:: setup()
    
     >>>> Debug Fault   >>>> TYPE:T_4
    --- Faulted >>>>  Execution Halted.
    
    For more info - print it in sketch :: Debug_Dump(void)

  9. #3534
    Senior Member+ mjs513's Avatar
    Join Date
    Jul 2014
    Location
    New York
    Posts
    4,108
    Quote Originally Posted by WMXZ View Post
    But in https://forum.pjrc.com/threads/54711...l=1#post203973 you said it is working.
    The original port was for T4b1 and needed obviously modified for T4b2, which you did.
    Are there other issues?
    BTW, why did you use another BUILTIN_SDCARD number than the other boards (36 instead of 254)?
    @WMXZ
    If you look at msg #6 there are two open issues:
    1. WavFilePlayer issue with BUILTIN_SDCARD, #3008,
    2. SD lib datalogger issue, #3135,[/TD]


    Not sure what is causing the issue but Paul in a follow-on to my Datalogger issue did indicate that there was an issue with the lib that he needed to rewicker the library. To be honest I can not find that post right now.

    Why did I use 36 instead of 254 - I can't remember now but Paul did change that when he incorporated the PR to 254: https://github.com/PaulStoffregen/SD/pull/18

    EDIT: You might want to check this out as well: https://github.com/PaulStoffregen/Audio/pull/294
    Last edited by mjs513; 07-07-2019 at 11:20 AM.

  10. #3535
    Senior Member
    Join Date
    Mar 2015
    Location
    UK
    Posts
    300
    @mjs513 - Thanks, it all helps. XBAR is a new area for me.

    Just reading the 1060 RM XBAR chapters, there is an intriguing statement 60.2.1 that "...any input (typically FROM external GPIO pin or internal modules) can be connected to any output (typically TO external GPIO pin or internal modules). This seems to be a big difference of T4 with T3? On the surface, the old issue of not being able to access a peripheral - because the IOMUX table did not config it to the available pins that Paul designed as Teensy pins - appears to be circumvented.

    Conceptually, these XBAR modules (A and B) seem to be "overtaking" the old idea of "ALT"ernatives for a specific GPIO pin (previously a more limited muxing arrangement). Or have I got the wrong end of the stick?

  11. #3536
    Senior Member+ mjs513's Avatar
    Join Date
    Jul 2014
    Location
    New York
    Posts
    4,108
    @TelephoneBill

    Its new to me as well - still don't have it all down. Check out 3.5 XBAR Resource Assignments, think its page 60 of the RM and should give you an idea of how its mapped to peripherial pins

    UPDATE: Just to make your life a little easier the XBARA assignments that you see in the example were extracted from the IMXRT1060.h file in the sdk. I extracted the whole pin assignment list for you, Input and output for XBAR:
    Attached Files Attached Files
    Last edited by mjs513; 07-07-2019 at 01:35 PM.

  12. #3537
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    20,580
    Quote Originally Posted by TelephoneBill View Post
    On the surface, the old issue of not being able to access a peripheral - because the IOMUX table did not config it to the available pins that Paul designed as Teensy pins - appears to be circumvented.
    Oh, if only all the peripheral signals connected to the crossbar switch. But they don't. Only a relatively small number of trigger signals are routed to it. There are a few cases where it might be usable this way, but most of the I/O signals go to normal pin muxes, not the crossbar.

  13. #3538
    Senior Member
    Join Date
    Nov 2012
    Posts
    271
    Quote Originally Posted by Paul View Post
    No, but I'm pretty sure it won't work. NXP didn't assign the SPI signals to the pins in a way that matches the corresponding SDIO pins. For example, SCK2 ends up in pin 37, but would need to be on pin 36. I know this could have been done better, but it's simply the way NXP designed the chip. No amount of wishful thinking or software trickery can re-wire the muxes they put into the silicon.

    You can find the pinout info on msg #3.
    Looks like there is no way to correctly mux the SPI pins to the SD socket. It is nice that Teensy 3.5/3.6 allows this.

    SPI access is nice since you can insure the max latency for a write is small by doing very large write transactions.

    SD RUs, Record Units, are very large, 512 KiB. If you do a write smaller than an RU, data is copied to a new RU. Think of RUs as flash pages. 512 byte sectors are emulated, 1024 sectors are in a typical RU. If you write multiple RUs in a single transaction, The SD makes maximum use of internal buffering and you get maximum performance.

    I hope I can get the uSDHC controller on T4 to do huge, many MB, writes as a single transaction this was only possible on T3.6 with programmed I/O to the FIFO. It was not possible with DMA.

  14. #3539
    Senior Member pictographer's Avatar
    Join Date
    May 2013
    Location
    San Jose, CA
    Posts
    664
    The Time library used in the TimeSerial example documented in https://www.pjrc.com/teensy/td_libs_Time.html works.

    To set the time, I needed to use /dev/ttyACM1 because I had a Teensy LC at ttyACM0 so the Teensy 4.0 was at ttyACM1. Was able to set the time using the Processing sketch as well as the Linux command line. First time using Processing. Looks nice.

  15. #3540
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    9,739
    @Paul: Made a note in post here.

    IIRC > Just a reminder - You asked once about startup Hook()'s in some fashion - adding a new one?

    Looking at current T4 startup.c::ResetHandler() code I'm not seeing the ones present on T_3.x?
    Code:
    void startup_early_hook(void)		__attribute__ ((weak, alias("startup_default_early_hook")));
    void startup_late_hook(void)		__attribute__ ((weak, alias("startup_default_late_hook")));
    No need or ideas now - just wondering if they were on a list?

    This post #1142 is the one I was referring to:
    Quote Originally Posted by Frank B View Post
    Would be perfect if there were some early hooks - before and after USB init. Setup() is too late - all objects get initialized before Setup().
    Quote Originally Posted by PaulStoffregen View Post
    I believe we have 2 hooks in Teensy 3.x startup.

    void startup_early_hook(void)
    void startup_late_hook(void)

    The first is very early before the PLLs or static C variables initialized, mainly for taking control of the watchdog. The second is after C++ constructors but before setup().

    Are these 2 good enough? Do we need a 3rd, maybe before constructors but after PLLs running and static variables initialized? Before USB, after USB, etc? Do we need 4, 5 or even more?!

    Whatever ends up being done, I'd like to have the same names and roughly similar places in the startup process on Teensy 3 & 4.
    Last edited by defragster; 07-08-2019 at 12:06 AM.

  16. #3541
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    9,739
    Quote Originally Posted by pictographer View Post
    The Time library used in the TimeSerial example documented in https://www.pjrc.com/teensy/td_libs_Time.html works.

    To set the time, I needed to use /dev/ttyACM1 because I had a Teensy LC at ttyACM0 so the Teensy 4.0 was at ttyACM1. Was able to set the time using the Processing sketch as well as the Linux command line. First time using Processing. Looks nice.
    Marked 'Time' as working in Msg #4 list.
    Code:
    works   Time   post #3539   based on : www.pjrc.com/teensy/td_libs_Time.html
    @pictographer - note the TeensyLoader now prepopulates the 'Time' at time of upload. Did you see that working in conjunction with this? No longer static compile time - but pushed to T4 from PC during upload. It was seen to work with last updated to bootloader - if time already set it may not present a change.

  17. #3542
    Senior Member pictographer's Avatar
    Join Date
    May 2013
    Location
    San Jose, CA
    Posts
    664
    @defragster, thank you.

    The time appears to be set reasonably by the TeensyLoader. I modified the example to report the time during setup. The example does not recognize that the Teensy is synchronized until it gets time from the source it expects, even though it already has the time from the loader.

    If I understand correctly, the TeensyLoader wouldn't run if the Teensy were unplugged and replugged, so the Teensy would reflect the time as of last upload, not last start, so the Time library is still useful.

  18. #3543
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    5,424
    @mjs513 - @Paul - As mentioned in other thread.
    I was playing with the uncanny eyes as modified by @mjs513 to work with our ST7735_t3 library, the program is up at: https://forum.pjrc.com/threads/55735...l=1#post209650

    I made a few changes to his app on configuration as to work with your breakout boards, so configured the 2nd display to use pin 23(MCLK) and reset pin 20 (LRCLK)... Was working. Then made a code change to try it out and then when it uploads,
    The Windows machine shows

    Then stopped being able to upload and startup that program...
    Was able to upload blink, after hitting program button. Then uploaded that app again... This time I had debug setup to Serial4:
    Code:
    sof 31
    sof 30
    sof 29
    sof 28
    sof 27
    sof 26
    sof 25
    sof 24
    sof 23
    sof 22
    sof 21
    sof 20
    sof 19
    sof 18
    sof 17
    sof 16
    sof 15
    sof 14
    sof 13
    sof 12
    sof 11
    sof 10
    sof 9
    sof 8
    sof 7
    sof 6
    sof 5
    sof 4
    sof 3
    sof 2
    sof 1
    CB  a
    CBAd pe !a en ad db ata ch `k `dpabf pe clfac `e if DCD    " @
    @@L @DD$! ABL @DD d@@L @DD$! BE5 D  APE,!q
    ED p p p p !p p p !p           @B@ _@FSR ::  00000000
     _@FAR ::  00000000
     _@DAR ::  00020004
    n ad db ata ch `k `dpabf pe clfac `e if DCD    " @
    @@L @DD$! ABL @DD d@@L @DD$! BE5 D  APE,!q
    De pe !a e
    This time had what looks like some debug stuff at the end...

    Verbose info not sure if it will show much:
    Code:
    17:07:06.506 (ports 5): WM_DEVICECHANGE DBT_DEVICEARRIVAL
    17:07:06.507 (ports 5): nothing new, skipping HID & Ports enum
    17:07:06.508 (ports 5): WM_DEVICECHANGE DBT_DEVICEREMOVECOMPLETE
    17:07:06.509 (ports 5): nothing new, skipping HID & Ports enum
    17:07:06.808 (ports 5): WM_DEVICECHANGE DBT_DEVNODES_CHANGED
    17:07:06.809 (ports 5): nothing new, skipping HID & Ports enum
    17:07:08.813 (ports 5): WM_DEVICECHANGE DBT_DEVNODES_CHANGED
    17:07:08.814 (ports 5): nothing new, skipping HID & Ports enum
    17:09:01.170 (post_compile 1): Begin, version=1.47-beta4, high-res time
    17:09:01.641 (loader): Teensy Loader 1.47-beta4, begin program
    17:09:01.736 (loader): File "uncannyEyes.ino.hex". 197012 bytes, 10% used
    17:09:01.748 (loader): Listening for remote control on port 3149
    17:09:01.748 (loader): initialized, showing main window
    17:09:01.772 (loader): remote connection 1260 opened
    17:09:01.772 (loader): remote cmd from 1260: "comment: Teensyduino 1.47-beta4 - WINDOWS (teensy_post_compile)"
    17:09:01.773 (post_compile 1): Sending command: comment: Teensyduino 1.47-beta4 - WINDOWS (teensy_post_compile)
    17:09:01.773 (loader): remote cmd from 1260: "status"
    17:09:01.775 (loader): HID/win32:  vid:0A5C pid:8502 ver:0000
    17:09:01.776 (loader): HID/win32:  vid:0A5C pid:8502 ver:0000
    17:09:01.776 (loader): HID/win32:  vid:0A5C pid:8502 ver:0000
    17:09:01.776 (loader): HID/win32:  vid:0A5C pid:8502 ver:0000
    17:09:01.776 (loader): HID/win32:  vid:046D pid:B01A ver:0003
    17:09:01.777 (loader): HID/win32:  vid:0A5C pid:8502 ver:0000
    17:09:01.777 (loader): HID/win32:  vid:0A5C pid:8502 ver:0000
    17:09:01.778 (loader): remote cmd from 1260: "dir:C:\Users\kurte\AppData\Local\Temp\arduino_build_79524\"
    17:09:01.778 (loader): remote cmd from 1260: "file:Blink.ino.hex"
    17:09:01.779 (post_compile 1): Status: 1, 0, 0, 0, 0, 0, C:\Users\kurte\AppData\Local\Temp\arduino_build_853169\, uncannyEyes.ino.hex
    17:09:01.779 (post_compile 1): Sending command: dir:C:\Users\kurte\AppData\Local\Temp\arduino_build_79524\
    17:09:01.779 (post_compile 1): Sending command: file:Blink.ino.hex
    17:09:01.783 (loader): File "Blink.ino.hex". 15444 bytes, 1% used
    17:09:01.787 (loader): remote cmd from 1260: "status"
    17:09:01.789 (loader): remote cmd from 1260: "auto:on"
    17:09:01.790 (post_compile 1): Status: 1, 0, 0, 0, 0, 0, C:\Users\kurte\AppData\Local\Temp\arduino_build_79524\, Blink.ino.hex
    17:09:01.790 (post_compile 1): Sending command: auto:on
    17:09:01.790 (post_compile 1): Disconnect
    17:09:01.801 (loader): remote connection 1260 closed
    17:09:02.009 (post_compile 2): Begin, version=1.47-beta4, high-res time
    17:09:02.011 (loader): remote connection 1332 opened
    17:09:02.011 (loader): remote cmd from 1332: "comment: Teensyduino 1.47-beta4 - WINDOWS (teensy_post_compile)"
    17:09:02.011 (loader): remote cmd from 1332: "status"
    17:09:02.011 (post_compile 2): Sending command: comment: Teensyduino 1.47-beta4 - WINDOWS (teensy_post_compile)
    17:09:02.013 (loader): remote cmd from 1332: "dir:C:\Users\kurte\AppData\Local\Temp\arduino_build_79524\"
    17:09:02.013 (post_compile 2): Status: 1, 1, 0, 0, 0, 0, C:\Users\kurte\AppData\Local\Temp\arduino_build_79524\, Blink.ino.hex
    17:09:02.013 (post_compile 2): Sending command: dir:C:\Users\kurte\AppData\Local\Temp\arduino_build_79524\
    17:09:02.014 (post_compile 2): Sending command: file:Blink.ino.hex
    17:09:02.014 (loader): remote cmd from 1332: "file:Blink.ino.hex"
    17:09:02.018 (loader): File "Blink.ino.hex". 15444 bytes, 1% used
    17:09:02.021 (loader): remote cmd from 1332: "status"
    17:09:02.023 (post_compile 2): Status: 1, 1, 0, 0, 0, 0, C:\Users\kurte\AppData\Local\Temp\arduino_build_79524\, Blink.ino.hex
    17:09:02.023 (post_compile 2): Disconnect
    17:09:02.035 (loader): remote connection 1332 closed
    17:09:02.035 (loader): remote connection 1332 opened
    17:09:02.035 (post_compile 3): Running teensy_reboot: "D:\arduino-1.8.9\hardware\teensy\..\tools\teensy_reboot.exe" teensy_reboot.exe "-board=TEENSY40" "-port=usb:0/140000/0/7/2" "-portlabel=(null)" "-portprotocol=(null)"
    17:09:02.051 (reboot 4): Begin, version=1.47-beta4, high-res time
    17:09:02.051 (reboot 4): location = usb:0/140000/0/7/2
    17:09:02.051 (reboot 4): portlabel = (null)
    17:09:02.051 (reboot 4): portprotocol = (null)
    17:09:02.051 (reboot 4): LoadLibrary cfgmgr32 ok
    17:09:02.051 (reboot 4): LoadLibrary ntdll ok
    17:09:02.053 (reboot 4): nothing new, skipping HID & Ports enum
    17:09:02.055 (loader): remote connection 1268 opened
    17:09:02.055 (reboot 4): Disconnect
    17:09:02.067 (loader): remote connection 1268 closed
    17:09:02.077 (loader): remote connection 1332 closed
    17:09:03.160 (ports 5): WM_DEVICECHANGE DBT_DEVICEARRIVAL
    17:09:03.161 (loader): remote connection 1352 opened
    17:09:03.164 (ports 5): found_usb_device, id=\\?\usb#vid_16c0&pid_0478#0008f870#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
    17:09:03.164 (ports 5): found_usb_device, loc=usb:0/140000/0/7/2    Port_#0002.Hub_#0003
    17:09:03.164 (ports 5): found_usb_device, hwid=USB\VID_16C0&PID_0478&REV_0004
    17:09:03.164 (ports 5): found_usb_device, devinst=0000001c
    17:09:03.164 (ports 5): add: loc=usb:0/140000/0/7/2, class=HID, vid=16C0, pid=0478, ver=0004, serial=0008f870, dev=\\?\usb#vid_16c0&pid_0478#0008f870#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
    17:09:03.164 (ports 5): hiddev_from_devinst_list: iface=0
    17:09:03.165 (ports 5): found_usb_device complete
    17:09:03.166 (ports 5): hid, found devinst=0000001D
    17:09:03.166 (ports 5): hid, path=\\?\hid#vid_16c0&pid_0478#7&283234e0&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
    17:09:03.166 (ports 5): hid,  opened handle
    17:09:03.166 (ports 5):  devinst=0000001D, location=usb:0/140000/0/7/2
    17:09:03.166 (ports 5):  vid=16C0, pid=0478, ver=0004, usepage=FF9C, use=0024
    17:09:03.166 (ports 5):  devpath=\\?\hid#vid_16c0&pid_0478#7&283234e0&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
    17:09:03.166 (ports 5): usb_add: usb:0/140000/0/7/2  hid#vid_16c0&pid_0478 (Teensy 4-Beta2) Bootloader
    17:09:03.233 (loader): Device came online, code_size = 2031616
    17:09:03.233 (loader): Board is: Teensy 4-Beta2 (IMXRT1062), version 0.04
    17:09:03.237 (loader): File "Blink.ino.hex". 15444 bytes, 1% used
    17:09:03.238 (loader): set background IMG_ONLINE
    17:09:03.243 (loader): File "Blink.ino.hex". 15444 bytes, 1% used
    17:09:03.244 (loader): elf appears to be for Teensy 4-Beta2 (IMXRT1062) (2031616 bytes)
    17:09:03.244 (loader): elf binary data matches hex file
    17:09:03.244 (loader): elf file is for Teensy 4-Beta2 (IMXRT1062)
    17:09:03.244 (loader): begin operation
    17:09:03.260 (loader): flash, block=0, bs=1024, auto=1
    17:09:03.261 (loader):  gauge old value = 0
    17:09:03.264 (loader): flash, block=1, bs=1024, auto=1
    17:09:03.394 (loader):  gauge old value = 1
    17:09:03.396 (loader): flash, block=2, bs=1024, auto=1
    17:09:03.512 (ports 5): WM_DEVICECHANGE DBT_DEVNODES_CHANGED
    17:09:03.513 (ports 5): nothing new, skipping HID & Ports enum
    17:09:03.664 (loader):  gauge old value = 2
    17:09:03.665 (loader): flash, block=3, bs=1024, auto=1
    17:09:03.665 (loader):  gauge old value = 3
    17:09:03.665 (loader): flash, block=4, bs=1024, auto=1
    17:09:03.666 (loader):  gauge old value = 4
    17:09:03.666 (loader): flash, block=5, bs=1024, auto=1
    17:09:03.667 (loader):  gauge old value = 5
    17:09:03.668 (loader): flash, block=6, bs=1024, auto=1
    17:09:03.669 (loader):  gauge old value = 6
    17:09:03.669 (loader): flash, block=7, bs=1024, auto=1
    17:09:03.670 (loader):  gauge old value = 7
    17:09:03.671 (loader): flash, block=8, bs=1024, auto=1
    17:09:03.672 (loader):  gauge old value = 8
    17:09:03.672 (loader): flash, block=9, bs=1024, auto=1
    17:09:03.673 (loader):  gauge old value = 9
    17:09:03.674 (loader): flash, block=10, bs=1024, auto=1
    17:09:03.675 (loader):  gauge old value = 10
    17:09:03.676 (loader): flash, block=11, bs=1024, auto=1
    17:09:03.676 (loader):  gauge old value = 11
    17:09:03.678 (loader): flash, block=12, bs=1024, auto=1
    17:09:03.678 (loader):  gauge old value = 12
    17:09:03.680 (loader): flash, block=13, bs=1024, auto=1
    17:09:03.680 (loader):  gauge old value = 13
    17:09:03.681 (loader): flash, block=14, bs=1024, auto=1
    17:09:03.682 (loader):  gauge old value = 14
    17:09:03.682 (loader): flash, block=15, bs=1024, auto=1
    17:09:03.683 (loader):  gauge old value = 15
    17:09:03.689 (loader): sending reboot
    17:09:03.690 (loader): begin wait_until_offline
    17:09:03.707 (ports 5): WM_DEVICECHANGE DBT_DEVICEREMOVECOMPLETE
    17:09:03.708 (ports 5): remove: loc=usb:0/140000/0/7/2
    17:09:03.708 (ports 5): usb_remove: usb:0/140000/0/7/2
    17:09:03.708 (ports 5): nothing new, skipping HID & Ports enum
    17:09:03.741 (loader): offline, waited 1
    17:09:03.741 (loader): end operation, total time = 0.497 seconds
    17:09:03.742 (loader): set background IMG_REBOOT_OK
    17:09:03.743 (loader): redraw timer set, image 14 to show for 1200 ms
    17:09:03.748 (loader): HID/win32:  vid:0A5C pid:8502 ver:0000
    17:09:03.748 (loader): HID/win32:  vid:0A5C pid:8502 ver:0000
    17:09:03.748 (loader): HID/win32:  vid:0A5C pid:8502 ver:0000
    17:09:03.748 (loader): HID/win32:  vid:0A5C pid:8502 ver:0000
    17:09:03.748 (loader): HID/win32:  vid:046D pid:B01A ver:0003
    17:09:03.748 (loader): HID/win32:  vid:0A5C pid:8502 ver:0000
    17:09:03.748 (loader): HID/win32:  vid:0A5C pid:8502 ver:0000
    17:09:03.982 (ports 5): WM_DEVICECHANGE DBT_DEVICEARRIVAL
    17:09:03.983 (ports 5): found_usb_device, id=\\?\usb#vid_16c0&pid_0483#5878880#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
    17:09:03.983 (ports 5): found_usb_device, loc=usb:0/140000/0/7/2    Port_#0002.Hub_#0003
    17:09:03.983 (ports 5): found_usb_device, hwid=USB\VID_16C0&PID_0483&REV_0279
    17:09:03.983 (ports 5): found_usb_device, devinst=0000001b
    17:09:03.983 (ports 5): add: loc=usb:0/140000/0/7/2, class=Ports, vid=16C0, pid=0483, ver=0279, serial=5878880, dev=\\?\usb#vid_16c0&pid_0483#5878880#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
    17:09:03.983 (ports 5):   comport_from_devinst_list attempt
    17:09:03.983 (ports 5):   found Ports in classguid_list at index=0
    17:09:03.983 (ports 5):   port COM32 found from devnode
    17:09:03.983 (ports 5): found_usb_device complete
    17:09:03.984 (ports 5): usb_add: usb:0/140000/0/7/2  COM32 (Teensy 4-Beta2) Serial
    17:09:04.265 (ports 5): WM_DEVICECHANGE DBT_DEVICEARRIVAL
    17:09:04.266 (ports 5): nothing new, skipping HID & Ports enum
    17:09:04.764 (ports 5): WM_DEVICECHANGE DBT_DEVNODES_CHANGED
    17:09:04.765 (ports 5): nothing new, skipping HID & Ports enum
    17:09:04.944 (loader): redraw, image 9
    17:09:10.896 (loader): Verbose Info event
    17:18:12.261 (ports 5): WM_DEVICECHANGE DBT_DEVICEREMOVECOMPLETE
    17:18:12.262 (ports 5): remove: loc=usb:0/140000/0/7/2
    17:18:12.262 (ports 5): usb_remove: usb:0/140000/0/7/2
    17:18:12.262 (ports 5): nothing new, skipping HID & Ports enum
    17:18:12.312 (ports 5): WM_DEVICECHANGE DBT_DEVICEREMOVECOMPLETE
    17:18:12.312 (ports 5): WM_DEVICECHANGE DBT_DEVNODES_CHANGED
    17:18:12.312 (ports 5): nothing new, skipping HID & Ports enum
    17:18:12.726 (ports 5): WM_DEVICECHANGE DBT_DEVICEARRIVAL
    17:18:12.727 (ports 5): found_usb_device, id=\\?\usb#vid_16c0&pid_0478#0008f870#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
    17:18:12.727 (ports 5): found_usb_device, loc=usb:0/140000/0/7/2    Port_#0002.Hub_#0003
    17:18:12.727 (ports 5): found_usb_device, hwid=USB\VID_16C0&PID_0478&REV_0004
    17:18:12.727 (ports 5): found_usb_device, devinst=0000001c
    17:18:12.727 (ports 5): add: loc=usb:0/140000/0/7/2, class=HID, vid=16C0, pid=0478, ver=0004, serial=0008f870, dev=\\?\usb#vid_16c0&pid_0478#0008f870#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
    17:18:12.728 (ports 5): hiddev_from_devinst_list: iface=0
    17:18:12.729 (ports 5): found_usb_device complete
    17:18:12.731 (ports 5): usb_add: usb:0/140000/0/7/2  [no_device] (Teensy 4-Beta2) Bootloader
    17:18:12.829 (loader): Device came online, code_size = 2031616
    17:18:12.834 (loader): Board is: Teensy 4-Beta2 (IMXRT1062), version 0.04
    17:18:12.844 (loader): File "Blink.ino.hex". 15444 bytes, 1% used
    17:18:12.849 (loader): set background IMG_ONLINE
    17:18:12.859 (loader): File "Blink.ino.hex". 15444 bytes, 1% used
    17:18:12.864 (loader): elf appears to be for Teensy 4-Beta2 (IMXRT1062) (2031616 bytes)
    17:18:12.868 (loader): elf binary data matches hex file
    17:18:12.880 (loader): elf file is for Teensy 4-Beta2 (IMXRT1062)
    17:18:12.887 (loader): begin operation
    17:18:12.909 (loader): flash, block=0, bs=1024, auto=1
    17:18:12.914 (loader):  gauge old value = 0
    17:18:12.920 (loader): flash, block=1, bs=1024, auto=1
    17:18:13.045 (loader):  gauge old value = 1
    17:18:13.069 (loader): flash, block=2, bs=1024, auto=1
    17:18:13.074 (loader):  gauge old value = 2
    17:18:13.078 (loader): flash, block=3, bs=1024, auto=1
    17:18:13.082 (loader):  gauge old value = 3
    17:18:13.086 (loader): flash, block=4, bs=1024, auto=1
    17:18:13.091 (loader):  gauge old value = 4
    17:18:13.095 (loader): flash, block=5, bs=1024, auto=1
    17:18:13.100 (loader):  gauge old value = 5
    17:18:13.105 (loader): flash, block=6, bs=1024, auto=1
    17:18:13.109 (loader):  gauge old value = 6
    17:18:13.113 (loader): flash, block=7, bs=1024, auto=1
    17:18:13.117 (loader):  gauge old value = 7
    17:18:13.121 (loader): flash, block=8, bs=1024, auto=1
    17:18:13.125 (loader):  gauge old value = 8
    17:18:13.128 (loader): flash, block=9, bs=1024, auto=1
    17:18:13.132 (loader):  gauge old value = 9
    17:18:13.136 (loader): flash, block=10, bs=1024, auto=1
    17:18:13.140 (loader):  gauge old value = 10
    17:18:13.145 (loader): flash, block=11, bs=1024, auto=1
    17:18:13.148 (loader):  gauge old value = 11
    17:18:13.152 (loader): flash, block=12, bs=1024, auto=1
    17:18:13.155 (loader):  gauge old value = 12
    17:18:13.160 (loader): flash, block=13, bs=1024, auto=1
    17:18:13.164 (loader):  gauge old value = 13
    17:18:13.167 (loader): flash, block=14, bs=1024, auto=1
    17:18:13.172 (loader):  gauge old value = 14
    17:18:13.177 (loader): flash, block=15, bs=1024, auto=1
    17:18:13.180 (loader):  gauge old value = 15
    17:18:13.186 (loader): sending reboot
    17:18:13.192 (loader): begin wait_until_offline
    17:18:13.202 (ports 5): WM_DEVICECHANGE DBT_DEVICEREMOVECOMPLETE
    17:18:13.203 (ports 5): remove: loc=usb:0/140000/0/7/2
    17:18:13.203 (ports 5): usb_remove: usb:0/140000/0/7/2
    17:18:13.203 (ports 5): nothing new, skipping HID & Ports enum
    17:18:13.246 (loader): offline, waited 1
    17:18:13.250 (loader): end operation, total time = 0.358 seconds
    17:18:13.255 (loader): set background IMG_REBOOT_OK
    17:18:13.260 (loader): redraw timer set, image 14 to show for 1200 ms
    17:18:13.331 (loader): HID/win32:  vid:0A5C pid:8502 ver:0000
    17:18:13.335 (loader): HID/win32:  vid:0A5C pid:8502 ver:0000
    17:18:13.340 (loader): HID/win32:  vid:0A5C pid:8502 ver:0000
    17:18:13.344 (loader): HID/win32:  vid:0A5C pid:8502 ver:0000
    17:18:13.348 (loader): HID/win32:  vid:046D pid:B01A ver:0003
    17:18:13.352 (loader): HID/win32:  vid:0A5C pid:8502 ver:0000
    17:18:13.355 (loader): HID/win32:  vid:0A5C pid:8502 ver:0000
    17:18:13.488 (ports 5): WM_DEVICECHANGE DBT_DEVICEARRIVAL
    17:18:13.490 (ports 5): found_usb_device, id=\\?\usb#vid_16c0&pid_0483#5878880#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
    17:18:13.490 (ports 5): found_usb_device, loc=usb:0/140000/0/7/2    Port_#0002.Hub_#0003
    17:18:13.490 (ports 5): found_usb_device, hwid=USB\VID_16C0&PID_0483&REV_0279
    17:18:13.490 (ports 5): found_usb_device, devinst=0000001b
    17:18:13.490 (ports 5): add: loc=usb:0/140000/0/7/2, class=Ports, vid=16C0, pid=0483, ver=0279, serial=5878880, dev=\\?\usb#vid_16c0&pid_0483#5878880#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
    17:18:13.490 (ports 5):   comport_from_devinst_list attempt
    17:18:13.490 (ports 5):   found Ports in classguid_list at index=0
    17:18:13.490 (ports 5):   port COM32 found from devnode
    17:18:13.490 (ports 5): found_usb_device complete
    17:18:13.492 (ports 5): usb_add: usb:0/140000/0/7/2  COM32 (Teensy 4-Beta2) Serial
    17:18:14.068 (ports 5): WM_DEVICECHANGE DBT_DEVICEARRIVAL
    17:18:14.068 (ports 5): WM_DEVICECHANGE DBT_DEVNODES_CHANGED
    17:18:14.069 (ports 5): nothing new, skipping HID & Ports enum
    17:18:14.450 (loader): redraw, image 9
    17:18:49.331 (loader): file changed
    17:18:49.343 (loader): File "Blink.ino.hex". 15444 bytes, 1% used
    17:18:49.409 (post_compile 6): Begin, version=1.47-beta4, high-res time
    17:18:49.410 (loader): remote connection 1532 opened
    17:18:49.415 (post_compile 6): Sending command: comment: Teensyduino 1.47-beta4 - WINDOWS (teensy_post_compile)
    17:18:49.415 (loader): remote cmd from 1532: "comment: Teensyduino 1.47-beta4 - WINDOWS (teensy_post_compile)"
    17:18:49.423 (loader): remote cmd from 1532: "status"
    17:18:49.429 (loader): remote cmd from 1532: "dir:C:\Users\kurte\AppData\Local\Temp\arduino_build_79524\"
    17:18:49.430 (post_compile 6): Status: 1, 1, 0, 2, 0, 0, C:\Users\kurte\AppData\Local\Temp\arduino_build_79524\, Blink.ino.hex
    17:18:49.430 (post_compile 6): Sending command: dir:C:\Users\kurte\AppData\Local\Temp\arduino_build_79524\
    17:18:49.434 (loader): remote cmd from 1532: "file:Blink.ino.hex"
    17:18:49.434 (post_compile 6): Sending command: file:Blink.ino.hex
    17:18:49.443 (loader): File "Blink.ino.hex". 15444 bytes, 1% used
    17:18:49.453 (loader): remote cmd from 1532: "status"
    17:18:49.459 (post_compile 6): Status: 1, 1, 0, 2, 0, 0, C:\Users\kurte\AppData\Local\Temp\arduino_build_79524\, Blink.ino.hex
    17:18:49.459 (post_compile 6): Disconnect
    17:18:49.473 (loader): remote connection 1532 closed
    17:18:49.670 (post_compile 7): Begin, version=1.47-beta4, high-res time
    17:18:49.671 (loader): remote connection 1536 opened
    17:18:49.676 (loader): remote cmd from 1536: "comment: Teensyduino 1.47-beta4 - WINDOWS (teensy_post_compile)"
    17:18:49.677 (post_compile 7): Sending command: comment: Teensyduino 1.47-beta4 - WINDOWS (teensy_post_compile)
    17:18:49.681 (loader): remote cmd from 1536: "status"
    17:18:49.691 (loader): remote cmd from 1536: "dir:C:\Users\kurte\AppData\Local\Temp\arduino_build_79524\"
    17:18:49.692 (post_compile 7): Status: 1, 1, 0, 2, 0, 0, C:\Users\kurte\AppData\Local\Temp\arduino_build_79524\, Blink.ino.hex
    17:18:49.692 (post_compile 7): Sending command: dir:C:\Users\kurte\AppData\Local\Temp\arduino_build_79524\
    17:18:49.695 (loader): remote cmd from 1536: "file:Blink.ino.hex"
    17:18:49.696 (post_compile 7): Sending command: file:Blink.ino.hex
    17:18:49.703 (loader): File "Blink.ino.hex". 15444 bytes, 1% used
    17:18:49.712 (loader): remote cmd from 1536: "status"
    17:18:49.719 (post_compile 7): Status: 1, 1, 0, 2, 0, 0, C:\Users\kurte\AppData\Local\Temp\arduino_build_79524\, Blink.ino.hex
    17:18:49.719 (post_compile 7): Disconnect
    17:18:49.731 (post_compile 8): Running teensy_reboot: "D:\arduino-1.8.9\hardware\teensy\..\tools\teensy_reboot.exe" teensy_reboot.exe "-board=TEENSY40" "-port=usb:0/140000/0/7/2" "-portlabel=(null)" "-portprotocol=(null)"
    17:18:49.731 (loader): remote connection 1536 closed
    17:18:49.742 (loader): remote connection 1536 opened
    17:18:49.764 (reboot 9): Begin, version=1.47-beta4, high-res time
    17:18:49.764 (reboot 9): location = usb:0/140000/0/7/2
    17:18:49.764 (reboot 9): portlabel = (null)
    17:18:49.764 (reboot 9): portprotocol = (null)
    17:18:49.764 (reboot 9): LoadLibrary cfgmgr32 ok
    17:18:49.764 (reboot 9): LoadLibrary ntdll ok
    17:18:49.765 (reboot 9): found_usb_device, id=\\?\usb#vid_16c0&pid_0483#5878880#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
    17:18:49.765 (reboot 9): found_usb_device, loc=usb:0/140000/0/7/2    Port_#0002.Hub_#0003
    17:18:49.765 (reboot 9): found_usb_device, hwid=USB\VID_16C0&PID_0483&REV_0279
    17:18:49.765 (reboot 9): found_usb_device, devinst=00000003
    17:18:49.765 (reboot 9): add: loc=usb:0/140000/0/7/2, class=Ports, vid=16C0, pid=0483, ver=0279, serial=5878880, dev=\\?\usb#vid_16c0&pid_0483#5878880#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
    17:18:49.765 (reboot 9):   comport_from_devinst_list attempt
    17:18:49.765 (reboot 9):   found Ports in classguid_list at index=0
    17:18:49.765 (reboot 9):   port COM32 found from devnode
    17:18:49.765 (reboot 9): found_usb_device complete
    17:18:49.768 (loader): remote connection 1568 opened
    17:18:49.772 (loader): remote cmd from 1568: "show:arduino_attempt_reboot"
    17:18:49.773 (reboot 9): found Teensy Loader, version 1.47
    17:18:49.773 (reboot 9): Sending command: show:arduino_attempt_reboot
    17:18:49.775 (loader): got request to show arduino rebooting message
    17:18:49.781 (loader): remote cmd from 1568: "comment: Teensyduino 1.47-beta4 - WINDOWS (teensy_reboot)"
    17:18:49.782 (reboot 9): Sending command: comment: Teensyduino 1.47-beta4 - WINDOWS (teensy_reboot)
    17:18:49.787 (loader): remote cmd from 1568: "status"
    17:18:49.794 (reboot 9): Status: 1, 1, 0, 2, 0, 0, C:\Users\kurte\AppData\Local\Temp\arduino_build_79524\, Blink.ino.hex
    17:18:49.794 (reboot 9): do_reset (serial) COM32
    17:18:49.805 (loader): remote cmd from 1568: "status"
    17:18:49.811 (reboot 9): Status: 1, 1, 0, 2, 0, 0, C:\Users\kurte\AppData\Local\Temp\arduino_build_79524\, Blink.ino.hex
    17:18:49.811 (reboot 9): status read, retry 0
    17:18:49.868 (ports 5): WM_DEVICECHANGE DBT_DEVICEREMOVECOMPLETE
    17:18:49.871 (ports 5): remove: loc=usb:0/140000/0/7/2
    17:18:49.871 (ports 5): usb_remove: usb:0/140000/0/7/2
    17:18:49.871 (ports 5): nothing new, skipping HID & Ports enum
    17:18:49.913 (loader): remote cmd from 1568: "status"
    17:18:49.920 (reboot 9): Status: 1, 1, 0, 2, 0, 0, C:\Users\kurte\AppData\Local\Temp\arduino_build_79524\, Blink.ino.hex
    17:18:49.920 (reboot 9): status read, retry 1
    17:18:50.021 (loader): remote cmd from 1568: "status"
    17:18:50.038 (reboot 9): Status: 1, 1, 0, 2, 0, 0, C:\Users\kurte\AppData\Local\Temp\arduino_build_79524\, Blink.ino.hex
    17:18:50.038 (reboot 9): status read, retry 2
    17:18:50.073 (ports 5): WM_DEVICECHANGE DBT_DEVICEARRIVAL
    17:18:50.074 (ports 5): found_usb_device, id=\\?\usb#vid_16c0&pid_0478#0008f870#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
    17:18:50.074 (ports 5): found_usb_device, loc=usb:0/140000/0/7/2    Port_#0002.Hub_#0003
    17:18:50.074 (ports 5): found_usb_device, hwid=USB\VID_16C0&PID_0478&REV_0004
    17:18:50.074 (ports 5): found_usb_device, devinst=0000001c
    17:18:50.074 (ports 5): add: loc=usb:0/140000/0/7/2, class=HID, vid=16C0, pid=0478, ver=0004, serial=0008f870, dev=\\?\usb#vid_16c0&pid_0478#0008f870#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
    17:18:50.074 (ports 5): hiddev_from_devinst_list: iface=0
    17:18:50.074 (ports 5): found_usb_device complete
    17:18:50.075 (ports 5): usb_add: usb:0/140000/0/7/2  [no_device] (Teensy 4-Beta2) Bootloader
    17:18:50.148 (loader): remote cmd from 1568: "status"
    17:18:50.158 (loader): Device came online, code_size = 2031616
    17:18:50.163 (loader): Board is: Teensy 4-Beta2 (IMXRT1062), version 0.04
    17:18:50.172 (loader): File "Blink.ino.hex". 15444 bytes, 1% used
    17:18:50.177 (loader): set background IMG_ONLINE
    17:18:50.186 (loader): File "Blink.ino.hex". 15444 bytes, 1% used
    17:18:50.191 (loader): elf appears to be for Teensy 4-Beta2 (IMXRT1062) (2031616 bytes)
    17:18:50.195 (loader): elf binary data matches hex file
    17:18:50.199 (loader): elf file is for Teensy 4-Beta2 (IMXRT1062)
    17:18:50.207 (loader): begin operation
    17:18:50.226 (reboot 9): Status: 1, 1, 1, 3, 0, 1, C:\Users\kurte\AppData\Local\Temp\arduino_build_79524\, Blink.ino.hex
    17:18:50.232 (loader): flash, block=0, bs=1024, auto=1
    17:18:50.237 (loader):  gauge old value = 0
    17:18:50.244 (loader): flash, block=1, bs=1024, auto=1
    17:18:50.367 (ports 5): WM_DEVICECHANGE DBT_DEVNODES_CHANGED
    17:18:50.367 (ports 5): WM_DEVICECHANGE DBT_DEVICEREMOVECOMPLETE
    17:18:50.368 (loader):  gauge old value = 1
    17:18:50.370 (ports 5): hid, found devinst=0000001D
    17:18:50.370 (ports 5): hid, path=\\?\hid#vid_16c0&pid_0478#7&283234e0&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
    17:18:50.370 (ports 5): hid,  opened handle
    17:18:50.370 (ports 5):  devinst=0000001D, location=usb:0/140000/0/7/2
    17:18:50.370 (ports 5):  vid=16C0, pid=0478, ver=0004, usepage=FF9C, use=0024
    17:18:50.370 (ports 5):  devpath=\\?\hid#vid_16c0&pid_0478#7&283234e0&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
    17:18:50.370 (ports 5): usb_add: usb:0/140000/0/7/2  hid#vid_16c0&pid_0478 (Teensy 4-Beta2) Bootloader
    17:18:50.377 (loader): remote cmd from 1568: "status"
    17:18:50.386 (reboot 9): Status: 1, 1, 1, 3, 0, 1, C:\Users\kurte\AppData\Local\Temp\arduino_build_79524\, Blink.ino.hex
    17:18:50.407 (loader): flash, block=2, bs=1024, auto=1
    17:18:50.411 (loader):  gauge old value = 2
    17:18:50.417 (loader): flash, block=3, bs=1024, auto=1
    17:18:50.421 (loader):  gauge old value = 3
    17:18:50.425 (loader): flash, block=4, bs=1024, auto=1
    17:18:50.428 (loader):  gauge old value = 4
    17:18:50.432 (loader): flash, block=5, bs=1024, auto=1
    17:18:50.437 (loader):  gauge old value = 5
    17:18:50.440 (loader): flash, block=6, bs=1024, auto=1
    17:18:50.444 (loader):  gauge old value = 6
    17:18:50.448 (loader): flash, block=7, bs=1024, auto=1
    17:18:50.454 (loader):  gauge old value = 7
    17:18:50.459 (loader): flash, block=8, bs=1024, auto=1
    17:18:50.462 (loader):  gauge old value = 8
    17:18:50.466 (loader): flash, block=9, bs=1024, auto=1
    17:18:50.471 (loader):  gauge old value = 9
    17:18:50.474 (loader): flash, block=10, bs=1024, auto=1
    17:18:50.478 (loader):  gauge old value = 10
    17:18:50.481 (loader): flash, block=11, bs=1024, auto=1
    17:18:50.485 (loader):  gauge old value = 11
    17:18:50.489 (loader): flash, block=12, bs=1024, auto=1
    17:18:50.494 (loader):  gauge old value = 12
    17:18:50.498 (loader): flash, block=13, bs=1024, auto=1
    17:18:50.509 (loader):  gauge old value = 13
    17:18:50.512 (loader): flash, block=14, bs=1024, auto=1
    17:18:50.515 (loader):  gauge old value = 14
    17:18:50.525 (loader): flash, block=15, bs=1024, auto=1
    17:18:50.528 (loader):  gauge old value = 15
    17:18:50.537 (loader): remote cmd from 1568: "status"
    17:18:50.543 (loader): sending reboot
    17:18:50.544 (reboot 9): Status: 1, 1, 1, 3, 0, 2, C:\Users\kurte\AppData\Local\Temp\arduino_build_79524\, Blink.ino.hex
    17:18:50.547 (loader): begin wait_until_offline
    17:18:50.551 (loader): offline, waited 0
    17:18:50.553 (ports 5): WM_DEVICECHANGE DBT_DEVICEREMOVECOMPLETE
    17:18:50.554 (ports 5): remove: loc=usb:0/140000/0/7/2
    17:18:50.554 (ports 5): usb_remove: usb:0/140000/0/7/2
    17:18:50.554 (ports 5): nothing new, skipping HID & Ports enum
    17:18:50.558 (loader): end operation, total time = 0.347 seconds
    17:18:50.563 (loader): set background IMG_REBOOT_OK
    17:18:50.574 (loader): redraw timer set, image 14 to show for 1200 ms
    17:18:50.618 (loader): remote cmd from 1568: "status"
    17:18:50.628 (loader): HID/win32:  vid:0A5C pid:8502 ver:0000
    17:18:50.632 (loader): HID/win32:  vid:0A5C pid:8502 ver:0000
    17:18:50.636 (loader): HID/win32:  vid:0A5C pid:8502 ver:0000
    17:18:50.649 (loader): HID/win32:  vid:0A5C pid:8502 ver:0000
    17:18:50.659 (loader): HID/win32:  vid:046D pid:B01A ver:0003
    17:18:50.665 (loader): HID/win32:  vid:0A5C pid:8502 ver:0000
    17:18:50.672 (loader): HID/win32:  vid:0A5C pid:8502 ver:0000
    17:18:50.682 (reboot 9): Status: 1, 1, 0, 3, 0, 0, C:\Users\kurte\AppData\Local\Temp\arduino_build_79524\, Blink.ino.hex
    17:18:50.682 (reboot 9): status read, retry 3
    17:18:50.682 (reboot 9): Success
    17:18:50.682 (reboot 9): Disconnect
    17:18:50.705 (loader): remote connection 1568 closed
    17:18:50.711 (loader): remote connection 1536 closed
    17:18:50.824 (ports 5): WM_DEVICECHANGE DBT_DEVICEARRIVAL
    17:18:50.825 (ports 5): found_usb_device, id=\\?\usb#vid_16c0&pid_0483#5878880#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
    17:18:50.825 (ports 5): found_usb_device, loc=usb:0/140000/0/7/2    Port_#0002.Hub_#0003
    17:18:50.825 (ports 5): found_usb_device, hwid=USB\VID_16C0&PID_0483&REV_0279
    17:18:50.825 (ports 5): found_usb_device, devinst=0000001b
    17:18:50.825 (ports 5): add: loc=usb:0/140000/0/7/2, class=Ports, vid=16C0, pid=0483, ver=0279, serial=5878880, dev=\\?\usb#vid_16c0&pid_0483#5878880#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
    17:18:50.825 (ports 5):   comport_from_devinst_list attempt
    17:18:50.825 (ports 5):   found Ports in classguid_list at index=0
    17:18:50.825 (ports 5):   port COM32 found from devnode
    17:18:50.825 (ports 5): found_usb_device complete
    17:18:50.826 (ports 5): usb_add: usb:0/140000/0/7/2  COM32 (Teensy 4-Beta2) Serial
    17:18:51.120 (ports 5): WM_DEVICECHANGE DBT_DEVNODES_CHANGED
    17:18:51.120 (ports 5): nothing new, skipping HID & Ports enum
    17:18:51.370 (ports 5): WM_DEVICECHANGE DBT_DEVICEARRIVAL
    17:18:51.370 (ports 5): nothing new, skipping HID & Ports enum
    17:18:51.762 (loader): redraw, image 9
    17:18:53.138 (ports 5): WM_DEVICECHANGE DBT_DEVNODES_CHANGED
    17:18:53.141 (ports 5): nothing new, skipping HID & Ports enum
    17:21:01.016 (post_compile 10): Begin, version=1.47-beta4, high-res time
    17:21:01.018 (loader): remote connection 1564 opened
    17:21:01.022 (loader): remote cmd from 1564: "comment: Teensyduino 1.47-beta4 - WINDOWS (teensy_post_compile)"
    17:21:01.022 (post_compile 10): Sending command: comment: Teensyduino 1.47-beta4 - WINDOWS (teensy_post_compile)
    17:21:01.026 (loader): remote cmd from 1564: "status"
    17:21:01.029 (loader): file changed
    17:21:01.039 (loader): File "Blink.ino.hex". 15444 bytes, 1% used
    17:21:01.046 (post_compile 10): Status: 1, 1, 0, 3, 0, 0, C:\Users\kurte\AppData\Local\Temp\arduino_build_79524\, Blink.ino.hex
    17:21:01.046 (post_compile 10): Sending command: dir:C:\Users\kurte\AppData\Local\Temp\arduino_build_79524\
    17:21:01.050 (loader): remote cmd from 1564: "dir:C:\Users\kurte\AppData\Local\Temp\arduino_build_79524\"
    17:21:01.054 (post_compile 10): Sending command: file:Blink.ino.hex
    17:21:01.055 (loader): remote cmd from 1564: "file:Blink.ino.hex"
    17:21:01.063 (loader): File "Blink.ino.hex". 15444 bytes, 1% used
    17:21:01.075 (loader): remote cmd from 1564: "status"
    17:21:01.081 (post_compile 10): Status: 1, 1, 0, 3, 0, 0, C:\Users\kurte\AppData\Local\Temp\arduino_build_79524\, Blink.ino.hex
    17:21:01.081 (post_compile 10): Disconnect
    17:21:01.097 (loader): remote connection 1564 closed
    17:21:01.286 (post_compile 11): Begin, version=1.47-beta4, high-res time
    17:21:01.288 (loader): remote connection 1604 opened
    17:21:01.293 (post_compile 11): Sending command: comment: Teensyduino 1.47-beta4 - WINDOWS (teensy_post_compile)
    17:21:01.293 (loader): remote cmd from 1604: "comment: Teensyduino 1.47-beta4 - WINDOWS (teensy_post_compile)"
    17:21:01.297 (loader): remote cmd from 1604: "status"
    17:21:01.303 (loader): remote cmd from 1604: "dir:C:\Users\kurte\AppData\Local\Temp\arduino_build_79524\"
    17:21:01.304 (post_compile 11): Status: 1, 1, 0, 3, 0, 0, C:\Users\kurte\AppData\Local\Temp\arduino_build_79524\, Blink.ino.hex
    17:21:01.304 (post_compile 11): Sending command: dir:C:\Users\kurte\AppData\Local\Temp\arduino_build_79524\
    17:21:01.311 (loader): remote cmd from 1604: "file:Blink.ino.hex"
    17:21:01.311 (post_compile 11): Sending command: file:Blink.ino.hex
    17:21:01.318 (loader): File "Blink.ino.hex". 15444 bytes, 1% used
    17:21:01.327 (loader): remote cmd from 1604: "status"
    17:21:01.332 (post_compile 11): Status: 1, 1, 0, 3, 0, 0, C:\Users\kurte\AppData\Local\Temp\arduino_build_79524\, Blink.ino.hex
    17:21:01.332 (post_compile 11): Disconnect
    17:21:01.344 (post_compile 12): Running teensy_reboot: "D:\arduino-1.8.9\hardware\teensy\..\tools\teensy_reboot.exe" teensy_reboot.exe "-board=TEENSY40" "-port=usb:0/140000/0/7/2" "-portlabel=hid#vid_16c0&pid_0478 Bootloader" "-portprotocol=Teensy"
    17:21:01.348 (loader): remote connection 1604 closed
    17:21:01.357 (loader): remote connection 1604 opened
    17:21:01.377 (reboot 13): Begin, version=1.47-beta4, high-res time
    17:21:01.377 (reboot 13): location = usb:0/140000/0/7/2
    17:21:01.377 (reboot 13): portlabel = hid#vid_16c0&pid_0478 Bootloader
    17:21:01.377 (reboot 13): portprotocol = Teensy
    17:21:01.377 (reboot 13): Only location usb:0/140000/0/7/2 will be tried
    17:21:01.377 (reboot 13): LoadLibrary cfgmgr32 ok
    17:21:01.377 (reboot 13): LoadLibrary ntdll ok
    17:21:01.378 (reboot 13): found_usb_device, id=\\?\usb#vid_16c0&pid_0483#5878880#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
    17:21:01.378 (reboot 13): found_usb_device, loc=usb:0/140000/0/7/2    Port_#0002.Hub_#0003
    17:21:01.378 (reboot 13): found_usb_device, hwid=USB\VID_16C0&PID_0483&REV_0279
    17:21:01.378 (reboot 13): found_usb_device, devinst=00000003
    17:21:01.378 (reboot 13): add: loc=usb:0/140000/0/7/2, class=Ports, vid=16C0, pid=0483, ver=0279, serial=5878880, dev=\\?\usb#vid_16c0&pid_0483#5878880#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
    17:21:01.378 (reboot 13):   comport_from_devinst_list attempt
    17:21:01.378 (reboot 13):   found Ports in classguid_list at index=0
    17:21:01.378 (reboot 13):   port COM32 found from devnode
    17:21:01.378 (reboot 13): found_usb_device complete
    17:21:01.384 (loader): remote connection 1564 opened
    17:21:01.393 (loader): remote cmd from 1564: "show:arduino_attempt_reboot"
    17:21:01.393 (reboot 13): found Teensy Loader, version 1.47
    17:21:01.393 (reboot 13): Sending command: show:arduino_attempt_reboot
    17:21:01.397 (loader): got request to show arduino rebooting message
    17:21:01.403 (reboot 13): Sending command: comment: Teensyduino 1.47-beta4 - WINDOWS (teensy_reboot)
    17:21:01.404 (loader): remote cmd from 1564: "comment: Teensyduino 1.47-beta4 - WINDOWS (teensy_reboot)"
    17:21:01.408 (loader): remote cmd from 1564: "status"
    17:21:01.413 (reboot 13): Status: 1, 1, 0, 3, 0, 0, C:\Users\kurte\AppData\Local\Temp\arduino_build_79524\, Blink.ino.hex
    17:21:01.413 (reboot 13): do_reset (serial) COM32
    17:21:01.426 (loader): remote cmd from 1564: "status"
    17:21:01.431 (reboot 13): Status: 1, 1, 0, 3, 0, 0, C:\Users\kurte\AppData\Local\Temp\arduino_build_79524\, Blink.ino.hex
    17:21:01.431 (reboot 13): status read, retry 0
    17:21:01.485 (ports 5): WM_DEVICECHANGE DBT_DEVICEREMOVECOMPLETE
    17:21:01.486 (ports 5): remove: loc=usb:0/140000/0/7/2
    17:21:01.486 (ports 5): usb_remove: usb:0/140000/0/7/2
    17:21:01.486 (ports 5): nothing new, skipping HID & Ports enum
    17:21:01.532 (loader): remote cmd from 1564: "status"
    17:21:01.540 (reboot 13): Status: 1, 1, 0, 3, 0, 0, C:\Users\kurte\AppData\Local\Temp\arduino_build_79524\, Blink.ino.hex
    17:21:01.540 (reboot 13): status read, retry 1
    17:21:01.641 (loader): remote cmd from 1564: "status"
    17:21:01.664 (reboot 13): Status: 1, 1, 0, 3, 0, 0, C:\Users\kurte\AppData\Local\Temp\arduino_build_79524\, Blink.ino.hex
    17:21:01.664 (reboot 13): status read, retry 2
    17:21:01.692 (ports 5): WM_DEVICECHANGE DBT_DEVICEARRIVAL
    17:21:01.692 (ports 5): found_usb_device, id=\\?\usb#vid_16c0&pid_0478#0008f870#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
    17:21:01.692 (ports 5): found_usb_device, loc=usb:0/140000/0/7/2    Port_#0002.Hub_#0003
    17:21:01.692 (ports 5): found_usb_device, hwid=USB\VID_16C0&PID_0478&REV_0004
    17:21:01.692 (ports 5): found_usb_device, devinst=0000001c
    17:21:01.692 (ports 5): add: loc=usb:0/140000/0/7/2, class=HID, vid=16C0, pid=0478, ver=0004, serial=0008f870, dev=\\?\usb#vid_16c0&pid_0478#0008f870#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
    17:21:01.692 (ports 5): hiddev_from_devinst_list: iface=0
    17:21:01.693 (ports 5): found_usb_device complete
    17:21:01.694 (ports 5): usb_add: usb:0/140000/0/7/2  [no_device] (Teensy 4-Beta2) Bootloader
    17:21:01.764 (loader): remote cmd from 1564: "status"
    17:21:01.775 (loader): Device came online, code_size = 2031616
    17:21:01.779 (loader): Board is: Teensy 4-Beta2 (IMXRT1062), version 0.04
    17:21:01.787 (loader): File "Blink.ino.hex". 15444 bytes, 1% used
    17:21:01.793 (loader): set background IMG_ONLINE
    17:21:01.801 (loader): File "Blink.ino.hex". 15444 bytes, 1% used
    17:21:01.807 (loader): elf appears to be for Teensy 4-Beta2 (IMXRT1062) (2031616 bytes)
    17:21:01.812 (loader): elf binary data matches hex file
    17:21:01.816 (loader): elf file is for Teensy 4-Beta2 (IMXRT1062)
    17:21:01.820 (loader): begin operation
    17:21:01.834 (ports 5): WM_DEVICECHANGE DBT_DEVICEREMOVECOMPLETE
    17:21:01.834 (ports 5): WM_DEVICECHANGE DBT_DEVNODES_CHANGED
    17:21:01.835 (ports 5): hid, found devinst=0000001D
    17:21:01.835 (ports 5): hid, path=\\?\hid#vid_16c0&pid_0478#7&283234e0&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
    17:21:01.835 (ports 5): hid,  opened handle
    17:21:01.835 (ports 5):  devinst=0000001D, location=usb:0/140000/0/7/2
    17:21:01.835 (ports 5):  vid=16C0, pid=0478, ver=0004, usepage=FF9C, use=0024
    17:21:01.835 (ports 5):  devpath=\\?\hid#vid_16c0&pid_0478#7&283234e0&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
    17:21:01.836 (ports 5): usb_add: usb:0/140000/0/7/2  hid#vid_16c0&pid_0478 (Teensy 4-Beta2) Bootloader
    17:21:01.843 (reboot 13): Status: 1, 1, 1, 4, 0, 1, C:\Users\kurte\AppData\Local\Temp\arduino_build_79524\, Blink.ino.hex
    17:21:01.896 (loader): remote cmd from 1564: "status"
    17:21:01.906 (reboot 13): Status: 1, 1, 1, 4, 0, 1, C:\Users\kurte\AppData\Local\Temp\arduino_build_79524\, Blink.ino.hex
    17:21:01.912 (loader): flash, block=0, bs=1024, auto=1
    17:21:01.916 (loader):  gauge old value = 0
    17:21:01.923 (loader): flash, block=1, bs=1024, auto=1
    17:21:02.048 (loader):  gauge old value = 1
    17:21:02.057 (loader): remote cmd from 1564: "status"
    17:21:02.067 (reboot 13): Status: 1, 1, 1, 4, 0, 1, C:\Users\kurte\AppData\Local\Temp\arduino_build_79524\, Blink.ino.hex
    17:21:02.068 (loader): flash, block=2, bs=1024, auto=1
    17:21:02.073 (loader):  gauge old value = 2
    17:21:02.076 (loader): flash, block=3, bs=1024, auto=1
    17:21:02.082 (loader):  gauge old value = 3
    17:21:02.085 (loader): flash, block=4, bs=1024, auto=1
    17:21:02.089 (loader):  gauge old value = 4
    17:21:02.093 (loader): flash, block=5, bs=1024, auto=1
    17:21:02.097 (loader):  gauge old value = 5
    17:21:02.101 (loader): flash, block=6, bs=1024, auto=1
    17:21:02.105 (loader):  gauge old value = 6
    17:21:02.111 (loader): flash, block=7, bs=1024, auto=1
    17:21:02.116 (loader):  gauge old value = 7
    17:21:02.120 (loader): flash, block=8, bs=1024, auto=1
    17:21:02.129 (loader):  gauge old value = 8
    17:21:02.135 (loader): remote cmd from 1564: "status"
    17:21:02.140 (loader): flash, block=9, bs=1024, auto=1
    17:21:02.140 (reboot 13): Status: 1, 1, 1, 4, 0, 1, C:\Users\kurte\AppData\Local\Temp\arduino_build_79524\, Blink.ino.hex
    17:21:02.145 (loader):  gauge old value = 9
    17:21:02.148 (loader): flash, block=10, bs=1024, auto=1
    17:21:02.152 (loader):  gauge old value = 10
    17:21:02.155 (loader): flash, block=11, bs=1024, auto=1
    17:21:02.158 (loader):  gauge old value = 11
    17:21:02.165 (loader): flash, block=12, bs=1024, auto=1
    17:21:02.168 (loader):  gauge old value = 12
    17:21:02.172 (loader): flash, block=13, bs=1024, auto=1
    17:21:02.176 (loader):  gauge old value = 13
    17:21:02.180 (loader): flash, block=14, bs=1024, auto=1
    17:21:02.183 (loader):  gauge old value = 14
    17:21:02.198 (loader): flash, block=15, bs=1024, auto=1
    17:21:02.202 (loader):  gauge old value = 15
    17:21:02.234 (loader): remote cmd from 1564: "status"
    17:21:02.243 (loader): sending reboot
    17:21:02.244 (reboot 13): Status: 1, 1, 1, 4, 0, 2, C:\Users\kurte\AppData\Local\Temp\arduino_build_79524\, Blink.ino.hex
    17:21:02.254 (loader): begin wait_until_offline
    17:21:02.259 (loader): offline, waited 0
    17:21:02.261 (ports 5): WM_DEVICECHANGE DBT_DEVICEREMOVECOMPLETE
    17:21:02.262 (ports 5): remove: loc=usb:0/140000/0/7/2
    17:21:02.262 (ports 5): usb_remove: usb:0/140000/0/7/2
    17:21:02.262 (ports 5): nothing new, skipping HID & Ports enum
    17:21:02.265 (loader): end operation, total time = 0.439 seconds
    17:21:02.269 (loader): set background IMG_REBOOT_OK
    17:21:02.279 (loader): redraw timer set, image 14 to show for 1200 ms
    17:21:02.315 (loader): remote cmd from 1564: "status"
    17:21:02.351 (loader): HID/win32:  vid:0A5C pid:8502 ver:0000
    17:21:02.357 (loader): HID/win32:  vid:0A5C pid:8502 ver:0000
    17:21:02.361 (loader): HID/win32:  vid:0A5C pid:8502 ver:0000
    17:21:02.368 (loader): HID/win32:  vid:0A5C pid:8502 ver:0000
    17:21:02.373 (loader): HID/win32:  vid:046D pid:B01A ver:0003
    17:21:02.383 (loader): HID/win32:  vid:0A5C pid:8502 ver:0000
    17:21:02.404 (loader): HID/win32:  vid:0A5C pid:8502 ver:0000
    17:21:02.410 (reboot 13): Status: 1, 1, 0, 4, 0, 0, C:\Users\kurte\AppData\Local\Temp\arduino_build_79524\, Blink.ino.hex
    17:21:02.410 (reboot 13): status read, retry 3
    17:21:02.410 (reboot 13): Success
    17:21:02.410 (reboot 13): Disconnect
    17:21:02.463 (loader): remote connection 1564 closed
    17:21:02.477 (loader): remote connection 1604 closed
    17:21:02.550 (ports 5): WM_DEVICECHANGE DBT_DEVICEARRIVAL
    17:21:02.551 (ports 5): found_usb_device, id=\\?\usb#vid_16c0&pid_0483#5878880#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
    17:21:02.551 (ports 5): found_usb_device, loc=usb:0/140000/0/7/2    Port_#0002.Hub_#0003
    17:21:02.551 (ports 5): found_usb_device, hwid=USB\VID_16C0&PID_0483&REV_0279
    17:21:02.551 (ports 5): found_usb_device, devinst=0000001b
    17:21:02.551 (ports 5): add: loc=usb:0/140000/0/7/2, class=Ports, vid=16C0, pid=0483, ver=0279, serial=5878880, dev=\\?\usb#vid_16c0&pid_0483#5878880#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
    17:21:02.551 (ports 5):   comport_from_devinst_list attempt
    17:21:02.551 (ports 5):   found Ports in classguid_list at index=0
    17:21:02.551 (ports 5):   port COM32 found from devnode
    17:21:02.551 (ports 5): found_usb_device complete
    17:21:02.552 (ports 5): usb_add: usb:0/140000/0/7/2  COM32 (Teensy 4-Beta2) Serial
    17:21:02.833 (ports 5): WM_DEVICECHANGE DBT_DEVNODES_CHANGED
    17:21:02.833 (ports 5): WM_DEVICECHANGE DBT_DEVICEARRIVAL
    17:21:02.834 (ports 5): nothing new, skipping HID & Ports enum
    17:21:03.485 (loader): redraw, image 9
    17:21:50.846 (post_compile 14): Begin, version=1.47-beta4, high-res time
    17:21:50.848 (loader): remote connection 1640 opened
    17:21:50.852 (loader): remote cmd from 1640: "comment: Teensyduino 1.47-beta4 - WINDOWS (teensy_post_compile)"
    17:21:50.852 (post_compile 14): Sending command: comment: Teensyduino 1.47-beta4 - WINDOWS (teensy_post_compile)
    17:21:50.860 (loader): remote cmd from 1640: "status"
    17:21:50.869 (loader): remote cmd from 1640: "dir:C:\Users\kurte\AppData\Local\Temp\arduino_build_853169\"
    17:21:50.869 (post_compile 14): Status: 1, 1, 0, 4, 0, 0, C:\Users\kurte\AppData\Local\Temp\arduino_build_79524\, Blink.ino.hex
    17:21:50.869 (post_compile 14): Sending command: dir:C:\Users\kurte\AppData\Local\Temp\arduino_build_853169\
    17:21:50.874 (loader): remote cmd from 1640: "file:uncannyEyes.ino.hex"
    17:21:50.874 (post_compile 14): Sending command: file:uncannyEyes.ino.hex
    17:21:50.906 (loader): File "uncannyEyes.ino.hex". 197012 bytes, 10% used
    17:21:50.916 (loader): remote cmd from 1640: "status"
    17:21:50.923 (post_compile 14): Status: 1, 1, 0, 4, 0, 0, C:\Users\kurte\AppData\Local\Temp\arduino_build_853169\, uncannyEyes.ino.hex
    17:21:50.923 (post_compile 14): Disconnect
    17:21:50.945 (loader): remote connection 1640 closed
    17:21:51.230 (post_compile 15): Begin, version=1.47-beta4, high-res time
    17:21:51.232 (loader): remote connection 1640 opened
    17:21:51.238 (loader): remote cmd from 1640: "comment: Teensyduino 1.47-beta4 - WINDOWS (teensy_post_compile)"
    17:21:51.238 (post_compile 15): Sending command: comment: Teensyduino 1.47-beta4 - WINDOWS (teensy_post_compile)
    17:21:51.242 (loader): remote cmd from 1640: "status"
    17:21:51.248 (loader): remote cmd from 1640: "dir:C:\Users\kurte\AppData\Local\Temp\arduino_build_853169\"
    17:21:51.248 (post_compile 15): Status: 1, 1, 0, 4, 0, 0, C:\Users\kurte\AppData\Local\Temp\arduino_build_853169\, uncannyEyes.ino.hex
    17:21:51.248 (post_compile 15): Sending command: dir:C:\Users\kurte\AppData\Local\Temp\arduino_build_853169\
    17:21:51.255 (loader): remote cmd from 1640: "file:uncannyEyes.ino.hex"
    17:21:51.255 (post_compile 15): Sending command: file:uncannyEyes.ino.hex
    17:21:51.284 (loader): File "uncannyEyes.ino.hex". 197012 bytes, 10% used
    17:21:51.297 (loader): remote cmd from 1640: "status"
    17:21:51.303 (post_compile 15): Status: 1, 1, 0, 4, 0, 0, C:\Users\kurte\AppData\Local\Temp\arduino_build_853169\, uncannyEyes.ino.hex
    17:21:51.303 (post_compile 15): Disconnect
    17:21:51.315 (post_compile 16): Running teensy_reboot: "D:\arduino-1.8.9\hardware\teensy\..\tools\teensy_reboot.exe" teensy_reboot.exe "-board=TEENSY40" "-port=usb:0/140000/0/7/2" "-portlabel=hid#vid_16c0&pid_0478 Bootloader" "-portprotocol=Teensy"
    17:21:51.322 (loader): remote connection 1640 closed
    17:21:51.331 (loader): remote connection 1640 opened
    17:21:51.350 (reboot 17): Begin, version=1.47-beta4, high-res time
    17:21:51.350 (reboot 17): location = usb:0/140000/0/7/2
    17:21:51.350 (reboot 17): portlabel = hid#vid_16c0&pid_0478 Bootloader
    17:21:51.350 (reboot 17): portprotocol = Teensy
    17:21:51.350 (reboot 17): Only location usb:0/140000/0/7/2 will be tried
    17:21:51.350 (reboot 17): LoadLibrary cfgmgr32 ok
    17:21:51.350 (reboot 17): LoadLibrary ntdll ok
    17:21:51.351 (reboot 17): found_usb_device, id=\\?\usb#vid_16c0&pid_0483#5878880#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
    17:21:51.351 (reboot 17): found_usb_device, loc=usb:0/140000/0/7/2    Port_#0002.Hub_#0003
    17:21:51.351 (reboot 17): found_usb_device, hwid=USB\VID_16C0&PID_0483&REV_0279
    17:21:51.351 (reboot 17): found_usb_device, devinst=00000003
    17:21:51.351 (reboot 17): add: loc=usb:0/140000/0/7/2, class=Ports, vid=16C0, pid=0483, ver=0279, serial=5878880, dev=\\?\usb#vid_16c0&pid_0483#5878880#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
    17:21:51.351 (reboot 17):   comport_from_devinst_list attempt
    17:21:51.351 (reboot 17):   found Ports in classguid_list at index=0
    17:21:51.351 (reboot 17):   port COM32 found from devnode
    17:21:51.351 (reboot 17): found_usb_device complete
    17:21:51.355 (loader): remote connection 1620 opened
    17:21:51.367 (loader): remote cmd from 1620: "show:arduino_attempt_reboot"
    17:21:51.368 (reboot 17): found Teensy Loader, version 1.47
    17:21:51.368 (reboot 17): Sending command: show:arduino_attempt_reboot
    17:21:51.372 (loader): got request to show arduino rebooting message
    17:21:51.379 (reboot 17): Sending command: comment: Teensyduino 1.47-beta4 - WINDOWS (teensy_reboot)
    17:21:51.379 (loader): remote cmd from 1620: "comment: Teensyduino 1.47-beta4 - WINDOWS (teensy_reboot)"
    17:21:51.383 (loader): remote cmd from 1620: "status"
    17:21:51.389 (reboot 17): Status: 1, 1, 0, 4, 0, 0, C:\Users\kurte\AppData\Local\Temp\arduino_build_853169\, uncannyEyes.ino.hex
    17:21:51.389 (reboot 17): do_reset (serial) COM32
    17:21:51.402 (loader): remote cmd from 1620: "status"
    17:21:51.418 (reboot 17): Status: 1, 1, 0, 4, 0, 0, C:\Users\kurte\AppData\Local\Temp\arduino_build_853169\, uncannyEyes.ino.hex
    17:21:51.418 (reboot 17): status read, retry 0
    17:21:51.489 (ports 5): WM_DEVICECHANGE DBT_DEVICEREMOVECOMPLETE
    17:21:51.490 (ports 5): remove: loc=usb:0/140000/0/7/2
    17:21:51.490 (ports 5): usb_remove: usb:0/140000/0/7/2
    17:21:51.490 (ports 5): nothing new, skipping HID & Ports enum
    17:21:51.519 (loader): remote cmd from 1620: "status"
    17:21:51.526 (reboot 17): Status: 1, 1, 0, 4, 0, 0, C:\Users\kurte\AppData\Local\Temp\arduino_build_853169\, uncannyEyes.ino.hex
    17:21:51.526 (reboot 17): status read, retry 1
    17:21:51.627 (loader): remote cmd from 1620: "status"
    17:21:51.647 (reboot 17): Status: 1, 1, 0, 4, 0, 0, C:\Users\kurte\AppData\Local\Temp\arduino_build_853169\, uncannyEyes.ino.hex
    17:21:51.647 (reboot 17): status read, retry 2
    17:21:51.682 (ports 5): WM_DEVICECHANGE DBT_DEVICEARRIVAL
    17:21:51.683 (ports 5): found_usb_device, id=\\?\usb#vid_16c0&pid_0478#0008f870#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
    17:21:51.683 (ports 5): found_usb_device, loc=usb:0/140000/0/7/2    Port_#0002.Hub_#0003
    17:21:51.683 (ports 5): found_usb_device, hwid=USB\VID_16C0&PID_0478&REV_0004
    17:21:51.683 (ports 5): found_usb_device, devinst=0000001c
    17:21:51.683 (ports 5): add: loc=usb:0/140000/0/7/2, class=HID, vid=16C0, pid=0478, ver=0004, serial=0008f870, dev=\\?\usb#vid_16c0&pid_0478#0008f870#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
    17:21:51.683 (ports 5): hiddev_from_devinst_list: iface=0
    17:21:51.685 (ports 5): found_usb_device complete
    17:21:51.686 (ports 5): hid, found devinst=0000001D
    17:21:51.686 (ports 5): hid, path=\\?\hid#vid_16c0&pid_0478#7&283234e0&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
    17:21:51.686 (ports 5): hid,  opened handle
    17:21:51.686 (ports 5):  devinst=0000001D, location=usb:0/140000/0/7/2
    17:21:51.686 (ports 5):  vid=16C0, pid=0478, ver=0004, usepage=FF9C, use=0024
    17:21:51.686 (ports 5):  devpath=\\?\hid#vid_16c0&pid_0478#7&283234e0&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
    17:21:51.686 (ports 5): usb_add: usb:0/140000/0/7/2  hid#vid_16c0&pid_0478 (Teensy 4-Beta2) Bootloader
    17:21:51.781 (loader): remote cmd from 1620: "status"
    17:21:51.790 (loader): Device came online, code_size = 2031616
    17:21:51.795 (loader): Board is: Teensy 4-Beta2 (IMXRT1062), version 0.04
    17:21:51.824 (loader): File "uncannyEyes.ino.hex". 197012 bytes, 10% used
    17:21:51.830 (loader): set background IMG_ONLINE
    17:21:51.862 (loader): File "uncannyEyes.ino.hex". 197012 bytes, 10% used
    17:21:51.868 (loader): elf appears to be for Teensy 4-Beta2 (IMXRT1062) (2031616 bytes)
    17:21:51.872 (loader): elf binary data matches hex file
    17:21:51.877 (loader): elf file is for Teensy 4-Beta2 (IMXRT1062)
    17:21:51.890 (loader): begin operation
    17:21:51.908 (ports 5): WM_DEVICECHANGE DBT_DEVNODES_CHANGED
    17:21:51.908 (ports 5): WM_DEVICECHANGE DBT_DEVICEREMOVECOMPLETE
    17:21:51.909 (ports 5): nothing new, skipping HID & Ports enum
    17:21:51.909 (reboot 17): Status: 1, 1, 1, 5, 0, 1, C:\Users\kurte\AppData\Local\Temp\arduino_build_853169\, uncannyEyes.ino.hex
    17:21:51.938 (loader): flash, block=0, bs=1024, auto=1
    17:21:51.943 (loader):  gauge old value = 0
    17:21:51.951 (loader): flash, block=1, bs=1024, auto=1
    17:21:52.074 (loader):  gauge old value = 1
    17:21:52.087 (loader): remote cmd from 1620: "status"
    17:21:52.091 (loader): flash, block=2, bs=1024, auto=1
    17:21:52.091 (reboot 17): Status: 1, 1, 1, 5, 0, 1, C:\Users\kurte\AppData\Local\Temp\arduino_build_853169\, uncannyEyes.ino.hex
    17:21:52.096 (loader):  gauge old value = 2
    17:21:52.099 (loader): flash, block=3, bs=1024, auto=1
    17:21:52.103 (loader):  gauge old value = 3
    17:21:52.107 (loader): flash, block=4, bs=1024, auto=1
    17:21:52.113 (loader):  gauge old value = 4
    17:21:52.120 (loader): flash, block=5, bs=1024, auto=1
    17:21:52.124 (loader):  gauge old value = 5
    17:21:52.128 (loader): flash, block=6, bs=1024, auto=1
    17:21:52.133 (loader):  gauge old value = 6
    17:21:52.143 (loader): flash, block=7, bs=1024, auto=1
    17:21:52.147 (loader):  gauge old value = 7
    17:21:52.155 (loader): flash, block=8, bs=1024, auto=1
    17:21:52.159 (loader):  gauge old value = 8
    17:21:52.168 (loader): flash, block=9, bs=1024, auto=1
    17:21:52.173 (loader):  gauge old value = 9
    17:21:52.177 (loader): remote cmd from 1620: "status"
    17:21:52.182 (loader): flash, block=10, bs=1024, auto=1
    17:21:52.182 (reboot 17): Status: 1, 1, 1, 5, 0, 1, C:\Users\kurte\AppData\Local\Temp\arduino_build_853169\, uncannyEyes.ino.hex
    17:21:52.186 (loader):  gauge old value = 10
    17:21:52.189 (loader): flash, block=11, bs=1024, auto=1
    17:21:52.195 (loader):  gauge old value = 11
    17:21:52.199 (loader): flash, block=12, bs=1024, auto=1
    17:21:52.205 (loader):  gauge old value = 12
    17:21:52.211 (loader): flash, block=13, bs=1024, auto=1
    17:21:52.218 (loader):  gauge old value = 13
    17:21:52.224 (loader): flash, block=14, bs=1024, auto=1
    17:21:52.233 (loader):  gauge old value = 14
    17:21:52.238 (loader): flash, block=15, bs=1024, auto=1
    17:21:52.242 (loader):  gauge old value = 15
    17:21:52.246 (loader): flash, block=16, bs=1024, auto=1
    17:21:52.254 (loader):  gauge old value = 16
    17:21:52.260 (loader): flash, block=17, bs=1024, auto=1
    17:21:52.265 (loader):  gauge old value = 17
    17:21:52.270 (loader): flash, block=18, bs=1024, auto=1
    17:21:52.275 (loader):  gauge old value = 18
    17:21:52.281 (loader): flash, block=19, bs=1024, auto=1
    17:21:52.286 (loader):  gauge old value = 19
    17:21:52.293 (loader): flash, block=20, bs=1024, auto=1
    17:21:52.302 (loader):  gauge old value = 20
    17:21:52.306 (loader): flash, block=21, bs=1024, auto=1
    17:21:52.313 (loader):  gauge old value = 21
    17:21:52.323 (loader): flash, block=22, bs=1024, auto=1
    17:21:52.328 (loader):  gauge old value = 22
    17:21:52.333 (loader): flash, block=23, bs=1024, auto=1
    17:21:52.337 (loader):  gauge old value = 23
    17:21:52.341 (loader): flash, block=24, bs=1024, auto=1
    17:21:52.346 (loader):  gauge old value = 24
    17:21:52.350 (loader): flash, block=25, bs=1024, auto=1
    17:21:52.355 (loader):  gauge old value = 25
    17:21:52.359 (loader): flash, block=26, bs=1024, auto=1
    17:21:52.363 (loader):  gauge old value = 26
    17:21:52.369 (loader): flash, block=27, bs=1024, auto=1
    17:21:52.376 (loader):  gauge old value = 27
    17:21:52.380 (loader): flash, block=28, bs=1024, auto=1
    17:21:52.385 (loader):  gauge old value = 28
    17:21:52.390 (loader): flash, block=29, bs=1024, auto=1
    17:21:52.395 (loader):  gauge old value = 29
    17:21:52.400 (loader): flash, block=30, bs=1024, auto=1
    17:21:52.405 (loader):  gauge old value = 30
    17:21:52.409 (loader): flash, block=31, bs=1024, auto=1
    17:21:52.415 (loader):  gauge old value = 31
    17:21:52.422 (loader): remote cmd from 1620: "status"
    17:21:52.427 (loader): flash, block=32, bs=1024, auto=1
    17:21:52.428 (reboot 17): Status: 1, 1, 1, 5, 0, 1, C:\Users\kurte\AppData\Local\Temp\arduino_build_853169\, uncannyEyes.ino.hex
    17:21:52.431 (loader):  gauge old value = 32
    17:21:52.439 (loader): flash, block=33, bs=1024, auto=1
    17:21:52.444 (loader):  gauge old value = 33
    17:21:52.454 (loader): flash, block=34, bs=1024, auto=1
    17:21:52.461 (loader):  gauge old value = 34
    17:21:52.466 (loader): flash, block=35, bs=1024, auto=1
    17:21:52.470 (loader):  gauge old value = 35
    17:21:52.474 (loader): flash, block=36, bs=1024, auto=1
    17:21:52.478 (loader):  gauge old value = 36
    17:21:52.483 (loader): flash, block=37, bs=1024, auto=1
    17:21:52.487 (loader):  gauge old value = 37
    17:21:52.491 (loader): flash, block=38, bs=1024, auto=1
    17:21:52.495 (loader):  gauge old value = 38
    17:21:52.499 (loader): flash, block=39, bs=1024, auto=1
    17:21:52.503 (loader):  gauge old value = 39
    17:21:52.507 (loader): flash, block=40, bs=1024, auto=1
    17:21:52.511 (loader):  gauge old value = 40
    17:21:52.515 (loader): flash, block=41, bs=1024, auto=1
    17:21:52.519 (loader):  gauge old value = 41
    17:21:52.523 (loader): flash, block=42, bs=1024, auto=1
    17:21:52.527 (loader):  gauge old value = 42
    17:21:52.532 (loader): flash, block=43, bs=1024, auto=1
    17:21:52.536 (loader):  gauge old value = 43
    17:21:52.539 (loader): flash, block=44, bs=1024, auto=1
    17:21:52.543 (loader):  gauge old value = 44
    17:21:52.546 (loader): flash, block=45, bs=1024, auto=1
    17:21:52.550 (loader):  gauge old value = 45
    17:21:52.554 (loader): flash, block=46, bs=1024, auto=1
    17:21:52.558 (loader):  gauge old value = 46
    17:21:52.561 (loader): flash, block=47, bs=1024, auto=1
    17:21:52.564 (loader):  gauge old value = 47
    17:21:52.568 (loader): flash, block=48, bs=1024, auto=1
    17:21:52.571 (loader):  gauge old value = 48
    17:21:52.574 (loader): flash, block=49, bs=1024, auto=1
    17:21:52.579 (loader):  gauge old value = 49
    17:21:52.582 (loader): flash, block=50, bs=1024, auto=1
    17:21:52.586 (loader):  gauge old value = 50
    17:21:52.590 (loader): flash, block=51, bs=1024, auto=1
    17:21:52.593 (loader):  gauge old value = 51
    17:21:52.600 (loader): flash, block=52, bs=1024, auto=1
    17:21:52.604 (loader):  gauge old value = 52
    17:21:52.607 (loader): flash, block=53, bs=1024, auto=1
    17:21:52.611 (loader):  gauge old value = 53
    17:21:52.615 (loader): flash, block=54, bs=1024, auto=1
    17:21:52.619 (loader):  gauge old value = 54
    17:21:52.623 (loader): flash, block=55, bs=1024, auto=1
    17:21:52.628 (loader):  gauge old value = 55
    17:21:52.632 (loader): flash, block=56, bs=1024, auto=1
    17:21:52.635 (loader):  gauge old value = 56
    17:21:52.640 (loader): flash, block=57, bs=1024, auto=1
    17:21:52.644 (loader):  gauge old value = 57
    17:21:52.650 (loader): flash, block=58, bs=1024, auto=1
    17:21:52.654 (loader):  gauge old value = 58
    17:21:52.657 (loader): flash, block=59, bs=1024, auto=1
    17:21:52.661 (loader):  gauge old value = 59
    17:21:52.665 (loader): flash, block=60, bs=1024, auto=1
    17:21:52.668 (loader):  gauge old value = 60
    17:21:52.672 (loader): flash, block=61, bs=1024, auto=1
    17:21:52.676 (loader):  gauge old value = 61
    17:21:52.680 (loader): remote cmd from 1620: "status"
    17:21:52.685 (loader): flash, block=62, bs=1024, auto=1
    17:21:52.685 (reboot 17): Status: 1, 1, 1, 5, 0, 1, C:\Users\kurte\AppData\Local\Temp\arduino_build_853169\, uncannyEyes.ino.hex
    17:21:52.690 (loader):  gauge old value = 62
    17:21:52.695 (loader): flash, block=63, bs=1024, auto=1
    17:21:52.702 (loader):  gauge old value = 63
    17:21:52.707 (loader): flash, block=64, bs=1024, auto=1
    17:21:52.715 (loader):  gauge old value = 64
    17:21:52.721 (loader): flash, block=65, bs=1024, auto=1
    17:21:52.745 (loader):  gauge old value = 65
    17:21:52.750 (loader): flash, block=66, bs=1024, auto=1
    17:21:52.755 (loader):  gauge old value = 66
    17:21:52.758 (loader): flash, block=67, bs=1024, auto=1
    17:21:52.763 (loader):  gauge old value = 67
    17:21:52.767 (loader): flash, block=68, bs=1024, auto=1
    17:21:52.772 (loader):  gauge old value = 68
    17:21:52.776 (loader): flash, block=69, bs=1024, auto=1
    17:21:52.781 (loader):  gauge old value = 69
    17:21:52.785 (loader): flash, block=70, bs=1024, auto=1
    17:21:52.789 (loader):  gauge old value = 70
    17:21:52.794 (loader): flash, block=71, bs=1024, auto=1
    17:21:52.799 (loader):  gauge old value = 71
    17:21:52.809 (loader): flash, block=72, bs=1024, auto=1
    17:21:52.814 (loader):  gauge old value = 72
    17:21:52.818 (loader): flash, block=73, bs=1024, auto=1
    17:21:52.826 (loader):  gauge old value = 73
    17:21:52.830 (loader): flash, block=74, bs=1024, auto=1
    17:21:52.835 (loader):  gauge old value = 74
    17:21:52.837 (loader): flash, block=75, bs=1024, auto=1
    17:21:52.841 (loader):  gauge old value = 75
    17:21:52.845 (loader): flash, block=76, bs=1024, auto=1
    17:21:52.849 (loader):  gauge old value = 76
    17:21:52.852 (loader): flash, block=77, bs=1024, auto=1
    17:21:52.856 (loader):  gauge old value = 77
    17:21:52.859 (loader): flash, block=78, bs=1024, auto=1
    17:21:52.863 (loader):  gauge old value = 78
    17:21:52.867 (loader): flash, block=79, bs=1024, auto=1
    17:21:52.872 (loader):  gauge old value = 79
    17:21:52.876 (loader): flash, block=80, bs=1024, auto=1
    17:21:52.879 (loader):  gauge old value = 80
    17:21:52.883 (loader): flash, block=81, bs=1024, auto=1
    17:21:52.888 (loader):  gauge old value = 81
    17:21:52.892 (loader): flash, block=82, bs=1024, auto=1
    17:21:52.896 (loader):  gauge old value = 82
    17:21:52.900 (loader): flash, block=83, bs=1024, auto=1
    17:21:52.904 (loader):  gauge old value = 83
    17:21:52.908 (loader): flash, block=84, bs=1024, auto=1
    17:21:52.912 (loader):  gauge old value = 84
    17:21:52.916 (loader): flash, block=85, bs=1024, auto=1
    17:21:52.919 (loader):  gauge old value = 85
    17:21:52.923 (loader): flash, block=86, bs=1024, auto=1
    17:21:52.928 (loader):  gauge old value = 86
    17:21:52.933 (loader): remote cmd from 1620: "status"
    17:21:52.937 (loader): flash, block=87, bs=1024, auto=1
    17:21:52.938 (reboot 17): Status: 1, 1, 1, 5, 0, 1, C:\Users\kurte\AppData\Local\Temp\arduino_build_853169\, uncannyEyes.ino.hex
    17:21:52.942 (loader):  gauge old value = 87
    17:21:52.946 (loader): flash, block=88, bs=1024, auto=1
    17:21:52.950 (loader):  gauge old value = 88
    17:21:52.954 (loader): flash, block=89, bs=1024, auto=1
    17:21:52.960 (loader):  gauge old value = 89
    17:21:52.964 (loader): flash, block=90, bs=1024, auto=1
    17:21:52.968 (loader):  gauge old value = 90
    17:21:52.971 (loader): flash, block=91, bs=1024, auto=1
    17:21:52.976 (loader):  gauge old value = 91
    17:21:52.980 (loader): flash, block=92, bs=1024, auto=1
    17:21:52.984 (loader):  gauge old value = 92
    17:21:52.988 (loader): flash, block=93, bs=1024, auto=1
    17:21:52.989 (reboot 17): status read, retry 3
    17:21:52.989 (reboot 17): Success
    17:21:52.989 (reboot 17): Disconnect
    17:21:52.992 (loader):  gauge old value = 93
    17:21:52.996 (loader): flash, block=94, bs=1024, auto=1
    17:21:53.000 (loader):  gauge old value = 94
    17:21:53.004 (loader): remote connection 1620 closed
    17:21:53.028 (loader): remote connection 1640 closed
    17:21:53.035 (loader): flash, block=95, bs=1024, auto=1
    17:21:53.039 (loader):  gauge old value = 95
    17:21:53.043 (loader): flash, block=96, bs=1024, auto=1
    17:21:53.047 (loader):  gauge old value = 96
    17:21:53.054 (loader): flash, block=97, bs=1024, auto=1
    17:21:53.058 (loader):  gauge old value = 97
    17:21:53.062 (loader): flash, block=98, bs=1024, auto=1
    17:21:53.066 (loader):  gauge old value = 98
    17:21:53.070 (loader): flash, block=99, bs=1024, auto=1
    17:21:53.074 (loader):  gauge old value = 99
    17:21:53.079 (loader): flash, block=100, bs=1024, auto=1
    17:21:53.084 (loader):  gauge old value = 100
    17:21:53.088 (loader): flash, block=101, bs=1024, auto=1
    17:21:53.092 (loader):  gauge old value = 101
    17:21:53.096 (loader): flash, block=102, bs=1024, auto=1
    17:21:53.100 (loader):  gauge old value = 102
    17:21:53.105 (loader): flash, block=103, bs=1024, auto=1
    17:21:53.109 (loader):  gauge old value = 103
    17:21:53.113 (loader): flash, block=104, bs=1024, auto=1
    17:21:53.117 (loader):  gauge old value = 104
    17:21:53.121 (loader): flash, block=105, bs=1024, auto=1
    17:21:53.125 (loader):  gauge old value = 105
    17:21:53.128 (loader): flash, block=106, bs=1024, auto=1
    17:21:53.132 (loader):  gauge old value = 106
    17:21:53.136 (loader): flash, block=107, bs=1024, auto=1
    17:21:53.140 (loader):  gauge old value = 107
    17:21:53.144 (loader): flash, block=108, bs=1024, auto=1
    17:21:53.150 (loader):  gauge old value = 108
    17:21:53.154 (loader): flash, block=109, bs=1024, auto=1
    17:21:53.158 (loader):  gauge old value = 109
    17:21:53.159 (ports 5): WM_DEVICECHANGE DBT_DEVNODES_CHANGED
    17:21:53.160 (ports 5): nothing new, skipping HID & Ports enum
    17:21:53.163 (loader): flash, block=110, bs=1024, auto=1
    17:21:53.167 (loader):  gauge old value = 110
    17:21:53.170 (loader): flash, block=111, bs=1024, auto=1
    17:21:53.174 (loader):  gauge old value = 111
    17:21:53.204 (loader): flash, block=112, bs=1024, auto=1
    17:21:53.208 (loader):  gauge old value = 112
    17:21:53.210 (loader): flash, block=113, bs=1024, auto=1
    17:21:53.214 (loader):  gauge old value = 113
    17:21:53.217 (loader): flash, block=114, bs=1024, auto=1
    17:21:53.224 (loader):  gauge old value = 114
    17:21:53.227 (loader): flash, block=115, bs=1024, auto=1
    17:21:53.233 (loader):  gauge old value = 115
    17:21:53.236 (loader): flash, block=116, bs=1024, auto=1
    17:21:53.240 (loader):  gauge old value = 116
    17:21:53.243 (loader): flash, block=117, bs=1024, auto=1
    17:21:53.247 (loader):  gauge old value = 117
    17:21:53.251 (loader): flash, block=118, bs=1024, auto=1
    17:21:53.254 (loader):  gauge old value = 118
    17:21:53.258 (loader): flash, block=119, bs=1024, auto=1
    17:21:53.261 (loader):  gauge old value = 119
    17:21:53.265 (loader): flash, block=120, bs=1024, auto=1
    17:21:53.268 (loader):  gauge old value = 120
    17:21:53.271 (loader): flash, block=121, bs=1024, auto=1
    17:21:53.274 (loader):  gauge old value = 121
    17:21:53.278 (loader): flash, block=122, bs=1024, auto=1
    17:21:53.282 (loader):  gauge old value = 122
    17:21:53.286 (loader): flash, block=123, bs=1024, auto=1
    17:21:53.290 (loader):  gauge old value = 123
    17:21:53.293 (loader): flash, block=124, bs=1024, auto=1
    17:21:53.297 (loader):  gauge old value = 124
    17:21:53.301 (loader): flash, block=125, bs=1024, auto=1
    17:21:53.305 (loader):  gauge old value = 125
    17:21:53.309 (loader): flash, block=126, bs=1024, auto=1
    17:21:53.312 (loader):  gauge old value = 126
    17:21:53.315 (loader): flash, block=127, bs=1024, auto=1
    17:21:53.319 (loader):  gauge old value = 127
    17:21:53.322 (loader): flash, block=128, bs=1024, auto=1
    17:21:53.325 (loader):  gauge old value = 128
    17:21:53.329 (loader): flash, block=129, bs=1024, auto=1
    17:21:53.333 (loader):  gauge old value = 129
    17:21:53.337 (loader): flash, block=130, bs=1024, auto=1
    17:21:53.341 (loader):  gauge old value = 130
    17:21:53.345 (loader): flash, block=131, bs=1024, auto=1
    17:21:53.350 (loader):  gauge old value = 131
    17:21:53.353 (loader): flash, block=132, bs=1024, auto=1
    17:21:53.356 (loader):  gauge old value = 132
    17:21:53.360 (loader): flash, block=133, bs=1024, auto=1
    17:21:53.364 (loader):  gauge old value = 133
    17:21:53.367 (loader): flash, block=134, bs=1024, auto=1
    17:21:53.371 (loader):  gauge old value = 134
    17:21:53.374 (loader): flash, block=135, bs=1024, auto=1
    17:21:53.377 (loader):  gauge old value = 135
    17:21:53.381 (loader): flash, block=136, bs=1024, auto=1
    17:21:53.385 (loader):  gauge old value = 136
    17:21:53.389 (loader): flash, block=137, bs=1024, auto=1
    17:21:53.393 (loader):  gauge old value = 137
    17:21:53.396 (loader): flash, block=138, bs=1024, auto=1
    17:21:53.399 (loader):  gauge old value = 138
    17:21:53.403 (loader): flash, block=139, bs=1024, auto=1
    17:21:53.406 (loader):  gauge old value = 139
    17:21:53.410 (loader): flash, block=140, bs=1024, auto=1
    17:21:53.413 (loader):  gauge old value = 140
    17:21:53.417 (loader): flash, block=141, bs=1024, auto=1
    17:21:53.421 (loader):  gauge old value = 141
    17:21:53.424 (loader): flash, block=142, bs=1024, auto=1
    17:21:53.427 (loader):  gauge old value = 142
    17:21:53.430 (loader): flash, block=143, bs=1024, auto=1
    17:21:53.434 (loader):  gauge old value = 143
    17:21:53.437 (loader): flash, block=144, bs=1024, auto=1
    17:21:53.441 (loader):  gauge old value = 144
    17:21:53.444 (loader): flash, block=145, bs=1024, auto=1
    17:21:53.449 (loader):  gauge old value = 145
    17:21:53.452 (loader): flash, block=146, bs=1024, auto=1
    17:21:53.455 (loader):  gauge old value = 146
    17:21:53.458 (loader): flash, block=147, bs=1024, auto=1
    17:21:53.462 (loader):  gauge old value = 147
    17:21:53.466 (loader): flash, block=148, bs=1024, auto=1
    17:21:53.469 (loader):  gauge old value = 148
    17:21:53.473 (loader): flash, block=149, bs=1024, auto=1
    17:21:53.476 (loader):  gauge old value = 149
    17:21:53.479 (loader): flash, block=150, bs=1024, auto=1
    17:21:53.483 (loader):  gauge old value = 150
    17:21:53.486 (loader): flash, block=151, bs=1024, auto=1
    17:21:53.489 (loader):  gauge old value = 151
    17:21:53.493 (loader): flash, block=152, bs=1024, auto=1
    17:21:53.496 (loader):  gauge old value = 152
    17:21:53.499 (loader): flash, block=153, bs=1024, auto=1
    17:21:53.503 (loader):  gauge old value = 153
    17:21:53.506 (loader): flash, block=154, bs=1024, auto=1
    17:21:53.510 (loader):  gauge old value = 154
    17:21:53.513 (loader): flash, block=155, bs=1024, auto=1
    17:21:53.517 (loader):  gauge old value = 155
    17:21:53.520 (loader): flash, block=156, bs=1024, auto=1
    17:21:53.523 (loader):  gauge old value = 156
    17:21:53.526 (loader): flash, block=157, bs=1024, auto=1
    17:21:53.529 (loader):  gauge old value = 157
    17:21:53.533 (loader): flash, block=158, bs=1024, auto=1
    17:21:53.536 (loader):  gauge old value = 158
    17:21:53.539 (loader): flash, block=159, bs=1024, auto=1
    17:21:53.542 (loader):  gauge old value = 159
    17:21:53.546 (loader): flash, block=160, bs=1024, auto=1
    17:21:53.549 (loader):  gauge old value = 160
    17:21:53.552 (loader): flash, block=161, bs=1024, auto=1
    17:21:53.556 (loader):  gauge old value = 161
    17:21:53.559 (loader): flash, block=162, bs=1024, auto=1
    17:21:53.562 (loader):  gauge old value = 162
    17:21:53.566 (loader): flash, block=163, bs=1024, auto=1
    17:21:53.569 (loader):  gauge old value = 163
    17:21:53.572 (loader): flash, block=164, bs=1024, auto=1
    17:21:53.575 (loader):  gauge old value = 164
    17:21:53.579 (loader): flash, block=165, bs=1024, auto=1
    17:21:53.582 (loader):  gauge old value = 165
    17:21:53.586 (loader): flash, block=166, bs=1024, auto=1
    17:21:53.589 (loader):  gauge old value = 166
    17:21:53.593 (loader): flash, block=167, bs=1024, auto=1
    17:21:53.597 (loader):  gauge old value = 167
    17:21:53.600 (loader): flash, block=168, bs=1024, auto=1
    17:21:53.603 (loader):  gauge old value = 168
    17:21:53.607 (loader): flash, block=169, bs=1024, auto=1
    17:21:53.610 (loader):  gauge old value = 169
    17:21:53.613 (loader): flash, block=170, bs=1024, auto=1
    17:21:53.616 (loader):  gauge old value = 170
    17:21:53.620 (loader): flash, block=171, bs=1024, auto=1
    17:21:53.623 (loader):  gauge old value = 171
    17:21:53.626 (loader): flash, block=172, bs=1024, auto=1
    17:21:53.630 (loader):  gauge old value = 172
    17:21:53.633 (loader): flash, block=173, bs=1024, auto=1
    17:21:53.636 (loader):  gauge old value = 173
    17:21:53.639 (loader): flash, block=174, bs=1024, auto=1
    17:21:53.642 (loader):  gauge old value = 174
    17:21:53.646 (loader): flash, block=175, bs=1024, auto=1
    17:21:53.649 (loader):  gauge old value = 175
    17:21:53.652 (loader): flash, block=176, bs=1024, auto=1
    17:21:53.656 (loader):  gauge old value = 176
    17:21:53.659 (loader): flash, block=177, bs=1024, auto=1
    17:21:53.663 (loader):  gauge old value = 177
    17:21:53.666 (loader): flash, block=178, bs=1024, auto=1
    17:21:53.669 (loader):  gauge old value = 178
    17:21:53.673 (loader): flash, block=179, bs=1024, auto=1
    17:21:53.676 (loader):  gauge old value = 179
    17:21:53.679 (loader): flash, block=180, bs=1024, auto=1
    17:21:53.682 (loader):  gauge old value = 180
    17:21:53.686 (loader): flash, block=181, bs=1024, auto=1
    17:21:53.689 (loader):  gauge old value = 181
    17:21:53.692 (loader): flash, block=182, bs=1024, auto=1
    17:21:53.696 (loader):  gauge old value = 182
    17:21:53.699 (loader): flash, block=183, bs=1024, auto=1
    17:21:53.703 (loader):  gauge old value = 183
    17:21:53.706 (loader): flash, block=184, bs=1024, auto=1
    17:21:53.711 (loader):  gauge old value = 184
    17:21:53.714 (loader): flash, block=185, bs=1024, auto=1
    17:21:53.717 (loader):  gauge old value = 185
    17:21:53.721 (loader): flash, block=186, bs=1024, auto=1
    17:21:53.724 (loader):  gauge old value = 186
    17:21:53.727 (loader): flash, block=187, bs=1024, auto=1
    17:21:53.731 (loader):  gauge old value = 187
    17:21:53.734 (loader): flash, block=188, bs=1024, auto=1
    17:21:53.737 (loader):  gauge old value = 188
    17:21:53.740 (loader): flash, block=189, bs=1024, auto=1
    17:21:53.744 (loader):  gauge old value = 189
    17:21:53.747 (loader): flash, block=190, bs=1024, auto=1
    17:21:53.750 (loader):  gauge old value = 190
    17:21:53.754 (loader): flash, block=191, bs=1024, auto=1
    17:21:53.758 (loader):  gauge old value = 191
    17:21:53.761 (loader): flash, block=192, bs=1024, auto=1
    17:21:53.764 (loader):  gauge old value = 192
    17:21:53.773 (loader): sending reboot
    17:21:53.778 (loader): begin wait_until_offline
    17:21:53.783 (loader): offline, waited 0
    17:21:53.785 (ports 5): WM_DEVICECHANGE DBT_DEVICEREMOVECOMPLETE
    17:21:53.786 (ports 5): remove: loc=usb:0/140000/0/7/2
    17:21:53.786 (ports 5): usb_remove: usb:0/140000/0/7/2
    17:21:53.786 (ports 5): nothing new, skipping HID & Ports enum
    17:21:53.790 (loader): end operation, total time = 1.893 seconds
    17:21:53.797 (loader): set background IMG_REBOOT_OK
    17:21:53.807 (loader): redraw timer set, image 14 to show for 1200 ms
    17:21:53.922 (loader): HID/win32:  vid:0A5C pid:8502 ver:0000
    17:21:53.937 (loader): HID/win32:  vid:0A5C pid:8502 ver:0000
    17:21:53.941 (loader): HID/win32:  vid:0A5C pid:8502 ver:0000
    17:21:53.944 (loader): HID/win32:  vid:0A5C pid:8502 ver:0000
    17:21:53.948 (loader): HID/win32:  vid:046D pid:B01A ver:0003
    17:21:53.952 (loader): HID/win32:  vid:0A5C pid:8502 ver:0000
    17:21:53.956 (loader): HID/win32:  vid:0A5C pid:8502 ver:0000
    17:21:54.998 (loader): redraw, image 9
    17:21:55.169 (ports 5): WM_DEVICECHANGE DBT_DEVNODES_CHANGED
    17:21:55.170 (ports 5): nothing new, skipping HID & Ports enum
    17:21:55.473 (ports 5): purge, name=hid#vid_16c0&pid_0478 (Teensy 4-Beta2) Bootloader, loc=usb:0/140000/0/7/2, age=1.687 sec
    17:22:15.918 (ports 5): WM_DEVICECHANGE DBT_DEVICEARRIVAL
    17:22:15.919 (ports 5): nothing new, skipping HID & Ports enum
    17:22:15.920 (ports 5): WM_DEVICECHANGE DBT_DEVICEREMOVECOMPLETE
    17:22:15.920 (ports 5): nothing new, skipping HID & Ports enum
    17:22:16.447 (ports 5): WM_DEVICECHANGE DBT_DEVNODES_CHANGED
    17:22:16.448 (ports 5): nothing new, skipping HID & Ports enum
    17:22:18.201 (ports 5): WM_DEVICECHANGE DBT_DEVNODES_CHANGED
    17:22:18.203 (ports 5): nothing new, skipping HID & Ports enum
    I can reprogram it again with just one display connected and use my test program for the library and it works fine (have to hit program button to get working again after the crash)... To make sure it was not the two displays stopping the program from working, I then tried reprogramming using the uncanny...

    It crashed again... So to make sure that nothing major changed from @mjs513 version, I archived the sketch and included it...
    Attached Files Attached Files

  19. #3544
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    9,739
    Quote Originally Posted by pictographer View Post
    @defragster, thank you.

    The time appears to be set reasonably by the TeensyLoader. I modified the example to report the time during setup. The example does not recognize that the Teensy is synchronized until it gets time from the source it expects, even though it already has the time from the loader.

    If I understand correctly, the TeensyLoader wouldn't run if the Teensy were unplugged and replugged, so the Teensy would reflect the time as of last upload, not last start, so the Time library is still useful.
    AFAIK : TeensyLoader passes and sets the current time - but only during programming upload - not sure in what case it won't 'adjust' to the time of upload. After that the T4 RTC is on its own - when T4 loses power without VBat (or other than keeps RTC core alive).

    There was a posted sample that brings the 'current time' forward into the sketch - I didn't save the Post# - but here is a working sample of it in use.
    >> Compile time is saved/shown in setup().
    >> TeensyLoader sets PC time on upload - Auto or Button Press.
    >> T4 Time goes to Zero when RTC loses power and restarts there without another Upload or time source to feed from.
    Code:
    void setup() {
      Serial.begin(115200);
      while (!Serial && millis() < 4000 );
      Serial.println("\nCompile Time:: " __FILE__ " " __DATE__ " " __TIME__);
    }
    
    #include <time.h>
    void loop() {
      time_t tt,jj=0;
      tt = rtc_get();
      while ( tt == rtc_get() ) jj = micros();
      Serial.printf("@micros>>%u [ms>>%u] Time is %s", jj, millis(), ctime(&tt));
    }

  20. #3545
    Senior Member+ mjs513's Avatar
    Join Date
    Jul 2014
    Location
    New York
    Posts
    4,108
    @KurtE

    Just loaded your sketch as is with one minor change:
    Code:
        eye[e].display->initR(INITR_144GREENTAB);
    I ditched the offset for my displays.

    Well using your connections on the T4B2 with the white wire on bottom and the latest breakout board it worked without a problem. I could not duplicate the issues you are seeing. Again using you latest changes to SPI and ST7735 libraries.

  21. #3546
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    9,739
    Quote Originally Posted by KurtE View Post
    @mjs513 - @Paul - As mentioned in other thread.
    I was playing with the uncanny eyes as modified by @mjs513 to work with our ST7735_t3 library, the program is up at: https://forum.pjrc.com/threads/55735...l=1#post209650

    I made a few changes to his app on configuration as to work with your breakout boards, so configured the 2nd display to use pin 23(MCLK) and reset pin 20 (LRCLK)... Was working. Then made a code change to try it out and then when it uploads,
    The Windows machine shows

    Then stopped being able to upload and startup that program...
    Was able to upload blink, after hitting program button. Then uploaded that app again... This time I had debug setup to Serial4:
    ...
    This time had what looks like some debug stuff at the end...

    Verbose info not sure if it will show much:
    ...

    I can reprogram it again with just one display connected and use my test program for the library and it works fine (have to hit program button to get working again after the crash)... To make sure it was not the two displays stopping the program from working, I then tried reprogramming using the uncanny...

    It crashed again... So to make sure that nothing major changed from @mjs513 version, I archived the sketch and included it...
    @KurtE - to confirm: This is a T4B2 MOD - either with White Wire or a PCB V#21 final T4 with wire internal?
    > It happens when NO UART Serial wires are connected
    > It does happen with a Single display?
    > Does the Display(s) have any pullups on SPI pins?

    Question: Does it Repro with NO display(s) physically plugged in? { I can try this }

  22. #3547
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    5,424
    @mjs513, @defragster @Paul
    Note: I hacked it up with the debug stuff @defragster mentioned in posting on other thread. And first time crashed, but then ran again with that installed and it appeared to run fine...
    Code:
    C:\Users\kurte\Documents\Arduino\uncannyEyes\uncannyEyes.ino Jul  7 2019 18:01:58
    
    ********
     T4 connected Serial_tt ******* debug_tt port
    
    
    C:\Users\kurte\Documents\Arduino\uncannyEyes\uncannyEyes.ino Jul  7 2019 18:01:58
    >>> Reason for 'reset': 1 IPP_RESET_B :: done Reason
    F_CPU==600000000   F_BUS==150000000 FreeMem(); 4293328812
    Init
    Create display #0
    Create display #1
    Reset displays
    Init ST77xx display #0
    Rotate
    Init ST77xx display #1
    Rotate
    done
    Display logo
    8
    8
    Almost like it hit some very specific memory alignment...

    Update: to questions above.
    a) As I mentioned on previous post - It started happening again on newer board (with white wire and flex connector)... But then I added your debug library and it no longer happened. Before after it stopped working I added the FTDI cable to Serial4 to see if it saw anything... This one never caused the brownout issue (same one Paul was originally using)... When I was in that crash state, it would reproduce even with the T4 not plugged into breakout board (so nothing connected).
    b) Right now it is running ok with 2 displays (both the ones different than Adafruit).
    c) When it did start crashing, I had swapped to use one ST7735 thats memory is same as adafruit. So I had changed the display table to add an option field, so could use two different INITR values...
    Will try that again... Runs fine right now with one of each, although one eye is not correct do to offsets.

    Will try that again

  23. #3548
    Senior Member+ mjs513's Avatar
    Join Date
    Jul 2014
    Location
    New York
    Posts
    4,108
    @KurtE

    Strange. I added in @defragster's debug and got this for output but its still running fine:
    Code:
    C:\Users\Merli\OneDrive\Desktop\uncannyEyes\uncannyEyes.ino Jul  7 2019 21:24:12
    
    ********
     T4 connected Serial_tt ******* debug_tt port
    
    
    C:\Users\Merli\OneDrive\Desktop\uncannyEyes\uncannyEyes.ino Jul  7 2019 21:24:12
    >>> Reason for 'reset': 1 IPP_RESET_B :: done Reason
    F_CPU==600000000   F_BUS==150000000 FreeMem(); 4293328804
    Init
    Create display #0
    Create display #1
    Reset displays
    Init ST77xx display #0
    Rotate
    Init ST77xx display #1
    Rotate
    done
    Display logo
    8
    8
    I am using two of the adafruit ST7735R displays (https://www.amazon.com/gp/product/B0...?ie=UTF8&psc=1). Don't have any other ones to test with. Which do you recommend for me to get to give it try, if you don't solve it first.

  24. #3549
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    5,424
    @mjs513...

    As I mentioned, I added the library and it is working fine and also tried programming int on the T4B2 Pre fixed/ribbon and it now runs as well. So somehow the condition maybe had to be just correct to mess it up...

    All of this to see about the possible ways of speeding things up... i.e. verified pushColor() did not work

  25. #3550
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    9,739
    @KurtE - Pulled the EYE sketch ZIP - and got these three lib ZIPs from KurtE github:
    Using library SPI at version 1.0 in folder: T:\tCode\libraries\SPI
    Using library Adafruit_GFX at version 1.5.5 in folder: T:\tCode\libraries\Adafruit_GFX
    Using library ST7735_t3 at version 1.0.0 in folder: T:\tCode\libraries\ST7735_t3
    T2B4 Mod on a breakout or just USB with no displays or UARTS - builds and uploads okay.
    Init
    Create display #0
    Create display #1
    Reset displays
    Init ST77xx display #0
    Rotate
    Init ST77xx display #1
    Rotate
    done
    Display logo
    8
    Then on Breakout with 7 Active UART Serial#'s from second T4 breakout and it uploads and runs the same - no issue.

    Seems like a build memory init setup issue - will have to test again with the next TD1.47 beta when our sources are updated and in sync.

Posting Permissions

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