Arduino IDE 2.0.0 selection USB port when using 2 Teensy4.0 parallel

Hello,
I have two Teensy4.0 connected on my WIN10 PC via USB, one on COM7 the other on COM9.
Either I select COM7 (USB: 100002/0/0/6) or COM9 (USB: 80001/3/0/2) under "Tools > Ports(Teensy)" the program will be uploaded to COM9 (USB: 80001/3/0/2).

The Output message on the Arduino IDE is:
Found 2 Teensy boards, but using auto-search to find board for upload.
Please use Tools > Ports(Teensy) to select the specific board.

Does anyone have an idea where to disable auto-search or is any other setting wrong?

Verbose Info Teensy Loader 1.5.7
08:28:08.084 (reboot 44): location = usb:80001/3/0/2
08:28:08.084 (reboot 44): portlabel = {serial.port.label}
08:28:08.084 (reboot 44): portprotocol = {serial.port.protocol}
08:28:08.084 (reboot 44): LoadLibrary cfgmgr32 ok
08:28:08.084 (reboot 44): LoadLibrary ntdll ok
08:28:08.085 (reboot 44): found_usb_device, id=\\?\usb#vid_16c0&pid_0483#11543960#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
08:28:08.085 (reboot 44): found_usb_device, loc=usb:10002/0/0/6 Port_#0006.Hub_#0001
08:28:08.085 (reboot 44): found_usb_device, devinst=00000003
08:28:08.085 (reboot 44): found_usb_device, hwid=USB\VID_16C0&PID_0483&REV_0279
08:28:08.085 (reboot 44): add: loc=usb:10002/0/0/6, class=USB, vid=16C0, pid=0483, ver=0279, serial=11543960, dev=\\?\usb#vid_16c0&pid_0483#11543960#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
08:28:08.085 (reboot 44): comport_from_devinst_list attempt
08:28:08.085 (reboot 44): found Ports in classguid_list at index=1
08:28:08.085 (reboot 44): port COM7 found from devnode
08:28:08.085 (reboot 44): found_usb_device complete
08:28:08.085 (reboot 44): found_usb_device, id=\\?\usb#vid_16c0&pid_0483#10124930#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
08:28:08.085 (reboot 44): found_usb_device, loc=usb:80001/3/0/2 Port_#0002.Hub_#0002
08:28:08.085 (reboot 44): found_usb_device, devinst=00000005
08:28:08.085 (reboot 44): found_usb_device, hwid=USB\VID_16C0&PID_0483&REV_0279
08:28:08.085 (reboot 44): add: loc=usb:80001/3/0/2, class=USB, vid=16C0, pid=0483, ver=0279, serial=10124930, dev=\\?\usb#vid_16c0&pid_0483#10124930#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
08:28:08.085 (reboot 44): comport_from_devinst_list attempt
08:28:08.085 (reboot 44): found Ports in classguid_list at index=1
08:28:08.085 (reboot 44): port COM9 found from devnode
08:28:08.085 (reboot 44): found_usb_device complete
08:28:08.086 (reboot 44): usb scan found 2 devices
 
Hello,
I have two Teensy4.0 connected on my WIN10 PC via USB, one on COM7 the other on COM9.
Either I select COM7 (USB: 100002/0/0/6) or COM9 (USB: 80001/3/0/2) under "Tools > Ports(Teensy)" the program will be uploaded to COM9 (USB: 80001/3/0/2).

The Output message on the Arduino IDE is:
Found 2 Teensy boards, but using auto-search to find board for upload.
Please use Tools > Ports(Teensy) to select the specific board.

...

I have seen this message on IDE 2 with T_4.1's also. Though not understood or looked into it or made note of it. I just pushed Button and ignored with other task at hand or ...

Assumed it was confusion with some other connected USB Serial program on 'other port'? Is there only a single IDE 2.0 sketch window open? Any other active Serial Monitor programs?
 
I have seen this message on IDE 2 with T_4.1's also. Though not understood or looked into it or made note of it. I just pushed Button and ignored with other task at hand or ...

Assumed it was confusion with some other connected USB Serial program on 'other port'? Is there only a single IDE 2.0 sketch window open? Any other active Serial Monitor programs?

Hello,
there are no other Serial Monitor programs active.
It doesn't matter if there is just a single IDE 2.0 sketch window open or two. I tested both, the upload always goes to COM9
 
I don't know why this is happening. But I can comment on this:

Code:
08:28:08.084 (reboot 44): location = usb:80001/3/0/2

This line in the log data means Arduino 2.0.0 told teensy_post_compile.exe (which runs teensy_reboot.exe) to reboot the Teensy board at hardware location "usb:80001/3/0/2". I can't explain why it would do that, if you had selected the board at location "usb:10002/0/0/6" in the IDE.

The only info I can really confirm here is the IDE asked the Teensy support software to reboot hardware at "usb:80001/3/0/2". It wasn't a decision made or automatic search within the Teensy platform software. IDE 2.0.0 explicitly told the Teensy software to use "usb:80001/3/0/2".
 
Any chance you can post screenshots? I'm pretty sure this is an Arduino IDE 2.0.0, but it's difficult to even begin to describe it without the ability to see what happened on the screen, specifically how "usb:10002/0/0/6" was selected and what sort of visual feedback IDE 2.0.0 gave you before it told the Teensy software to use "usb:80001/3/0/2".
 
I just got this repro first try two powered T_4.1's, Windows 11:
ide2_t41NoGo.jpg

Powered second T_4.1 - and it was NOT picked up in Teensy Ports, but Seems both Com20/Com22 were in 'Serial' - Hit Button to put Code on (not sure what sketch was there before).
Here is the TODAY part of Loader Verbose from that timestamp - Button then Program and failed:
Code:
"C:\\Users\\Tim\\AppData\\Local\\Arduino15\\packages\\teensy\\tools\\teensy-tools\\1.58.0-beta2/teensy_size" "C:\\Users\\Tim\\AppData\\Local\\Temp\\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B/T4MemInfo.ino.elf"
Memory Usage on Teensy 4.1:
  FLASH: code:38684, data:8088, headers:8520   free for files:8071172
   RAM1: variables:8992, code:33760, padding:31776   free for local variables:449760
   RAM2: variables:12384  free for malloc/new:511904
"C:\\Users\\Tim\\AppData\\Local\\Arduino15\\packages\\teensy\\tools\\teensy-tools\\1.58.0-beta2/stdout_redirect" "C:\\Users\\Tim\\AppData\\Local\\Temp\\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B/T4MemInfo.ino.lst" "C:\\Users\\Tim\\AppData\\Local\\Arduino15\\packages\\teensy\\tools\\teensy-compile\\11.3.1-beta1/arm/bin/arm-none-eabi-objdump" -d -S -C "C:\\Users\\Tim\\AppData\\Local\\Temp\\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B/T4MemInfo.ino.elf"

"C:\Users\Tim\AppData\Local\Arduino15\packages\teensy\tools\teensy-tools\1.58.0-beta2/teensy_post_compile" "-file=T4MemInfo.ino" "-path=C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B" "-tools=C:\Users\Tim\AppData\Local\Arduino15\packages\teensy\tools\teensy-tools\1.58.0-beta2" "-board=TEENSY41" -reboot "-port=usb:0/140000/0/6/1/3" "-portlabel={serial.port.label}" "-portprotocol={serial.port.protocol}"
Found 2 Teensy boards, but using auto-search to find board for upload.
Please use Tools > Ports(Teensy) to select the specific board.

Code:
11:54:12.981 (loader): handle 5a0
11:54:12.981 (loader): Device came online, code_size = 100
11:54:12.982 (loader): Board is: NXP IMXRT1062 ROM
11:54:12.982 (loader): begin operation
11:54:13.025 (loader): File "C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B\T4MemInfo.ino.hex", 55296 bytes
11:54:13.041 (loader): File "C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B\T4MemInfo.ino.ehex", 55296 bytes, and 5536 loader utility
11:54:13.041 (loader): ehex is valid, key hash: 85A79CC1 B7C7F866 7F5BB3ED 0F9C9BA5 B4149EE2 72846D35 86B63863 B0699942
11:54:13.042 (loader): File "T4MemInfo.ino.hex". 55296 bytes
11:54:13.043 (loader): set background IMG_ONLINE
11:54:13.047 (loader): nxp_write: success
11:54:13.050 (loader): HAB locked secure mode
11:54:13.052 (loader): sending ehex loader utility, 5536 bytes
11:54:13.052 (loader): nxp_write: success
11:54:13.052 (loader): nxp_write: success
11:54:13.052 (loader): nxp_write: success
11:54:13.053 (loader): nxp_write: success
11:54:13.053 (loader): nxp_write: success
11:54:13.053 (loader): nxp_write: success
11:54:13.053 (loader): nxp_write: success
11:54:13.057 (loader): run it..
11:54:13.057 (loader): nxp_write: success
11:54:13.072 (loader): ehex loader utility sucessfully started
11:54:13.072 (loader): end operation, total time = 0.090 seconds
11:54:13.079 (loader): redraw timer set, image 80 to show for 2000 ms
11:54:13.230 (loader): HID/win32:  vid:046D pid:C52B ver:1211  usb:0/140000/0/9/4/2/4
11:54:13.231 (loader): HID/win32:  vid:046D pid:C52B ver:1211  usb:0/140000/0/9/4/2/4
11:54:13.231 (loader): HID/win32:  vid:046D pid:C52B ver:1211  usb:0/140000/0/9/4/2/4
11:54:13.232 (loader): HID/win32:  vid:046D pid:C52B ver:1211  usb:0/140000/0/9/4/2/3
11:54:13.232 (loader): HID/win32:  vid:046D pid:C52B ver:1211  usb:0/140000/0/9/4/2/4
11:54:13.232 (loader): HID/win32:  vid:046D pid:C52B ver:1211  usb:0/140000/0/9/4/2/3
11:54:13.232 (loader): HID/win32:  vid:046D pid:C52B ver:1211  usb:0/140000/0/9/4/2/3
11:54:13.233 (loader): HID/win32:  vid:046D pid:C52B ver:1211  usb:0/140000/0/9/4/2/4
11:54:13.481 (loader): encryption is required, public key hash: 85A79CC1 B7C7F866 7F5BB3ED 0F9C9BA5 B4149EE2 72846D35 86B63863 B0699942
11:54:13.481 (loader): secure mode is locked: this is Lockable Teensy
11:54:13.481 (loader): Device came online, code_size = 8126464
11:54:13.481 (loader): Board is: Teensy 4.1 (IMXRT1062), version 1.08
11:54:13.490 (loader): File "C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B\T4MemInfo.ino.hex", 55296 bytes
11:54:13.496 (loader): File "C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B\T4MemInfo.ino.ehex", 55296 bytes, and 5536 loader utility
11:54:13.496 (loader): ehex is valid, key hash: 85A79CC1 B7C7F866 7F5BB3ED 0F9C9BA5 B4149EE2 72846D35 86B63863 B0699942
11:54:13.496 (loader): File "T4MemInfo.ino.hex". 55296 bytes, 1% used
11:54:13.497 (loader): File "T4MemInfo.ino.hex" opened, but "T4MemInfo.ino.ehex" will actually be used
11:54:13.521 (loader): set background IMG_ONLINE
11:54:13.532 (loader): File "C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B\T4MemInfo.ino.hex", 55296 bytes
11:54:13.538 (loader): File "C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B\T4MemInfo.ino.ehex", 55296 bytes, and 5536 loader utility
11:54:13.538 (loader): ehex is valid, key hash: 85A79CC1 B7C7F866 7F5BB3ED 0F9C9BA5 B4149EE2 72846D35 86B63863 B0699942
11:54:13.538 (loader): File "T4MemInfo.ino.hex". 55296 bytes, 1% used
11:54:13.538 (loader): File "T4MemInfo.ino.hex" opened, but "T4MemInfo.ino.ehex" will actually be used
11:54:13.572 (loader): elf appears to be for Teensy 4.1 (IMXRT1062) (8126464 bytes)
11:54:13.572 (loader): elf binary data matches hex file
11:54:13.572 (loader): elf file is for Teensy 4.1 (IMXRT1062)
11:54:13.573 (loader): using encrypted ehex (required - secure mode is locked)
11:54:13.594 (loader): begin operation
11:54:13.659 (loader): flash, block=0, bs=1024, auto=1
11:54:13.659 (loader): flash, block=1, bs=1024, auto=1
11:54:13.660 (loader): flash, block=2, bs=1024, auto=1
11:54:19.295 (loader): flash, block=3, bs=1024, auto=1
11:54:19.295 (loader): flash, block=4, bs=1024, auto=1
11:54:19.299 (loader): flash, block=5, bs=1024, auto=1
11:54:19.301 (loader): flash, block=6, bs=1024, auto=1
11:54:19.302 (loader): flash, block=7, bs=1024, auto=1
11:54:19.332 (loader): flash, block=8, bs=1024, auto=1
11:54:19.333 (loader): flash, block=9, bs=1024, auto=1
11:54:19.362 (loader): flash, block=10, bs=1024, auto=1
11:54:19.363 (loader): flash, block=11, bs=1024, auto=1
11:54:19.394 (loader): flash, block=12, bs=1024, auto=1
11:54:19.395 (loader): flash, block=13, bs=1024, auto=1
11:54:19.425 (loader): flash, block=14, bs=1024, auto=1
11:54:19.428 (loader): flash, block=15, bs=1024, auto=1
11:54:19.457 (loader): flash, block=16, bs=1024, auto=1
11:54:19.459 (loader): flash, block=17, bs=1024, auto=1
11:54:19.488 (loader): flash, block=18, bs=1024, auto=1
11:54:19.490 (loader): flash, block=19, bs=1024, auto=1
11:54:19.519 (loader): flash, block=20, bs=1024, auto=1
11:54:19.521 (loader): flash, block=21, bs=1024, auto=1
11:54:19.552 (loader): flash, block=22, bs=1024, auto=1
11:54:19.553 (loader): flash, block=23, bs=1024, auto=1
11:54:19.583 (loader): flash, block=24, bs=1024, auto=1
11:54:19.585 (loader): flash, block=25, bs=1024, auto=1
11:54:19.614 (loader): flash, block=26, bs=1024, auto=1
11:54:19.615 (loader): flash, block=27, bs=1024, auto=1
11:54:19.649 (loader): flash, block=28, bs=1024, auto=1
11:54:19.650 (loader): flash, block=29, bs=1024, auto=1
11:54:19.651 (loader): flash, block=30, bs=1024, auto=1
11:54:19.675 (loader): flash, block=31, bs=1024, auto=1
11:54:19.678 (loader): flash, block=32, bs=1024, auto=1
11:54:19.680 (loader): flash, block=33, bs=1024, auto=1
11:54:19.706 (loader): flash, block=34, bs=1024, auto=1
11:54:19.707 (loader): flash, block=35, bs=1024, auto=1
11:54:19.737 (loader): flash, block=36, bs=1024, auto=1
11:54:19.738 (loader): flash, block=37, bs=1024, auto=1
11:54:19.774 (loader): flash, block=38, bs=1024, auto=1
11:54:19.774 (loader): flash, block=39, bs=1024, auto=1
11:54:19.778 (loader): flash, block=40, bs=1024, auto=1
11:54:19.779 (loader): flash, block=41, bs=1024, auto=1
11:54:19.799 (loader): flash, block=42, bs=1024, auto=1
11:54:19.801 (loader): flash, block=43, bs=1024, auto=1
11:54:19.830 (loader): flash, block=44, bs=1024, auto=1
11:54:19.832 (loader): flash, block=45, bs=1024, auto=1
11:54:19.862 (loader): flash, block=46, bs=1024, auto=1
11:54:19.863 (loader): flash, block=47, bs=1024, auto=1
11:54:19.892 (loader): flash, block=48, bs=1024, auto=1
11:54:19.895 (loader): flash, block=49, bs=1024, auto=1
11:54:19.897 (loader): flash, block=50, bs=1024, auto=1
11:54:19.923 (loader): flash, block=51, bs=1024, auto=1
11:54:19.924 (loader): flash, block=52, bs=1024, auto=1
11:54:19.954 (loader): flash, block=53, bs=1024, auto=1
11:54:19.980 (loader): sending reboot
11:54:19.980 (loader): begin wait_until_offline
11:54:20.032 (loader): offline, waited 1
11:54:20.032 (loader): end operation, total time = 6.438 seconds
11:54:20.033 (loader): set background IMG_REBOOT_OK
11:54:20.035 (loader): redraw timer set, image 14 to show for 1200 ms
11:54:20.228 (loader): HID/win32:  vid:046D pid:C52B ver:1211  usb:0/140000/0/9/4/2/4
11:54:20.229 (loader): HID/win32:  vid:046D pid:C52B ver:1211  usb:0/140000/0/9/4/2/4
11:54:20.229 (loader): HID/win32:  vid:046D pid:C52B ver:1211  usb:0/140000/0/9/4/2/4
11:54:20.230 (loader): HID/win32:  vid:046D pid:C52B ver:1211  usb:0/140000/0/9/4/2/3
11:54:20.230 (loader): HID/win32:  vid:046D pid:C52B ver:1211  usb:0/140000/0/9/4/2/4
11:54:20.230 (loader): HID/win32:  vid:046D pid:C52B ver:1211  usb:0/140000/0/9/4/2/3
11:54:20.231 (loader): HID/win32:  vid:046D pid:C52B ver:1211  usb:0/140000/0/9/4/2/3
11:54:20.231 (loader): HID/win32:  vid:046D pid:C52B ver:1211  usb:0/140000/0/9/4/2/4
11:54:21.227 (loader): redraw, image 9
11:54:51.479 (loader): file changed
11:54:51.489 (loader): File "C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B\T4MemInfo.ino.hex", 55296 bytes
11:54:51.489 (post_compile 21): Begin, version=1.58-beta2, high-res time
11:54:51.496 (loader): File "C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B\T4MemInfo.ino.ehex", 55296 bytes, and 5536 loader utility
11:54:51.496 (loader): ehex is valid, key hash: 85A79CC1 B7C7F866 7F5BB3ED 0F9C9BA5 B4149EE2 72846D35 86B63863 B0699942
11:54:51.496 (loader): File "T4MemInfo.ino.hex". 55296 bytes
11:54:51.501 (loader): remote connection 1476 opened
11:54:51.502 (post_compile 21): ARDUINO_USER_AGENT = "arduino-cli/0.27.1 arduino-ide/2.0.0 grpc-node-js/1.6.7"
11:54:51.502 (post_compile 21): Sending command: comment: Teensyduino 1.58-beta2 - WINDOWS (teensy_post_compile)
11:54:51.506 (loader): remote cmd from 1476: "comment: Teensyduino 1.58-beta2 - WINDOWS (teensy_post_compile)"
11:54:51.507 (loader): remote cmd from 1476: "status"
11:54:51.510 (loader): remote cmd from 1476: "dir:C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B\"
11:54:51.511 (post_compile 21): Status: 1, 1, 0, 7, 0, 0, C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B\, T4MemInfo.ino.hex
11:54:51.511 (post_compile 21): Sending command: dir:C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B\
11:54:51.511 (post_compile 21): Sending command: file:T4MemInfo.ino.hex
11:54:51.511 (loader): remote cmd from 1476: "file:T4MemInfo.ino.hex"
11:54:51.520 (loader): File "C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B\T4MemInfo.ino.hex", 55296 bytes
11:54:51.526 (loader): File "C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B\T4MemInfo.ino.ehex", 55296 bytes, and 5536 loader utility
11:54:51.526 (loader): ehex is valid, key hash: 85A79CC1 B7C7F866 7F5BB3ED 0F9C9BA5 B4149EE2 72846D35 86B63863 B0699942
11:54:51.526 (loader): File "T4MemInfo.ino.hex". 55296 bytes
11:54:51.532 (loader): remote cmd from 1476: "status"
11:54:51.537 (post_compile 21): Status: 1, 1, 0, 7, 0, 0, C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B\, T4MemInfo.ino.hex
11:54:51.537 (post_compile 21): Disconnect
11:54:51.550 (loader): remote connection 1476 closed
11:54:53.574 (post_compile 22): Begin, version=1.58-beta2, high-res time
11:54:53.577 (loader): remote connection 1368 opened
11:54:53.577 (post_compile 22): ARDUINO_USER_AGENT = "arduino-cli/0.27.1 arduino-ide/2.0.0 grpc-node-js/1.6.7"
11:54:53.577 (post_compile 22): Sending command: comment: Teensyduino 1.58-beta2 - WINDOWS (teensy_post_compile)
11:54:53.577 (loader): remote cmd from 1368: "comment: Teensyduino 1.58-beta2 - WINDOWS (teensy_post_compile)"
11:54:53.578 (loader): remote cmd from 1368: "status"
11:54:53.584 (loader): remote cmd from 1368: "dir:C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B\"
11:54:53.584 (post_compile 22): Status: 1, 1, 0, 7, 0, 0, C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B\, T4MemInfo.ino.hex
11:54:53.584 (post_compile 22): Sending command: dir:C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B\
11:54:53.584 (post_compile 22): Sending command: file:T4MemInfo.ino.hex
11:54:53.584 (loader): remote cmd from 1368: "file:T4MemInfo.ino.hex"
11:54:53.595 (loader): File "C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B\T4MemInfo.ino.hex", 55296 bytes
11:54:53.602 (loader): File "C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B\T4MemInfo.ino.ehex", 55296 bytes, and 5536 loader utility
11:54:53.603 (loader): ehex is valid, key hash: 85A79CC1 B7C7F866 7F5BB3ED 0F9C9BA5 B4149EE2 72846D35 86B63863 B0699942
11:54:53.603 (loader): File "T4MemInfo.ino.hex". 55296 bytes
11:54:53.608 (loader): remote cmd from 1368: "status"
11:54:53.613 (post_compile 22): Status: 1, 1, 0, 7, 0, 0, C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B\, T4MemInfo.ino.hex
11:54:53.613 (post_compile 22): Disconnect
11:54:53.623 (loader): remote connection 1368 closed
11:54:53.624 (post_compile 23): Running teensy_reboot: "C:\Users\Tim\AppData\Local\Arduino15\packages\teensy\tools\teensy-tools\1.58.0-beta2\teensy_reboot.exe" teensy_reboot.exe "-board=TEENSY41" "-port=usb:0/140000/0/6/1/3" "-portlabel={serial.port.label}" "-portprotocol={serial.port.protocol}"
11:54:53.624 (loader): remote connection 1368 opened
11:54:53.695 (reboot 24): Begin, version=1.58-beta2, high-res time
11:54:53.695 (reboot 24): location = usb:0/140000/0/6/1/3
11:54:53.695 (reboot 24): portlabel = {serial.port.label}
11:54:53.695 (reboot 24): portprotocol = {serial.port.protocol}
11:54:53.695 (reboot 24): LoadLibrary cfgmgr32 ok
11:54:53.695 (reboot 24): LoadLibrary ntdll ok
11:54:53.698 (reboot 24): found_usb_device, id=\\?\usb#vid_16c0&pid_0483#8983390#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
11:54:53.698 (reboot 24): found_usb_device, loc=usb:0/140000/0/6/1/3    Port_#0003.Hub_#0010
11:54:53.698 (reboot 24): found_usb_device, hwid=USB\VID_16C0&PID_0483&REV_0280
11:54:53.698 (reboot 24): found_usb_device, devinst=00000004
11:54:53.698 (reboot 24): add: loc=usb:0/140000/0/6/1/3, class=USB, vid=16C0, pid=0483, ver=0280, serial=8983390, dev=\\?\usb#vid_16c0&pid_0483#8983390#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
11:54:53.698 (reboot 24):   comport_from_devinst_list attempt
11:54:53.698 (reboot 24):   found Ports in classguid_list at index=1
11:54:53.698 (reboot 24):   port COM22 found from devnode
11:54:53.698 (reboot 24): found_usb_device complete
11:54:53.698 (reboot 24): found_usb_device, id=\\?\usb#vid_16c0&pid_0483#12167530#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
11:54:53.698 (reboot 24): found_usb_device, loc=usb:0/140000/0/6/1/4    Port_#0004.Hub_#0010
11:54:53.698 (reboot 24): found_usb_device, devinst=00000006
11:54:53.698 (reboot 24): found_usb_device, hwid=USB\VID_16C0&PID_0483&REV_0280
11:54:53.698 (reboot 24): add: loc=usb:0/140000/0/6/1/4, class=USB, vid=16C0, pid=0483, ver=0280, serial=12167530, dev=\\?\usb#vid_16c0&pid_0483#12167530#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
11:54:53.698 (reboot 24):   comport_from_devinst_list attempt
11:54:53.698 (reboot 24):   found Ports in classguid_list at index=1
11:54:53.698 (reboot 24):   port COM20 found from devnode
11:54:53.698 (reboot 24): found_usb_device complete
11:54:53.701 (reboot 24): usb scan found 2 devices
11:54:53.703 (loader): remote connection 1424 opened
11:54:53.704 (reboot 24): found Teensy Loader, version 1.58
11:54:53.704 (reboot 24): Sending command: show:arduino_attempt_reboot
11:54:53.704 (loader): remote cmd from 1424: "show:arduino_attempt_reboot"
11:54:53.704 (loader): got request to show arduino rebooting message
11:54:53.705 (loader): remote cmd from 1424: "comment: Teensyduino 1.58-beta2 - WINDOWS (teensy_reboot)"
11:54:53.705 (loader): remote cmd from 1424: "status"
11:54:53.705 (reboot 24): Sending command: comment: Teensyduino 1.58-beta2 - WINDOWS (teensy_reboot)
11:54:53.711 (reboot 24): Status: 1, 1, 0, 7, 0, 0, C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B\, T4MemInfo.ino.hex
11:54:53.711 (reboot 24): do_reset (serial) COM20
11:54:53.715 (loader): remote cmd from 1424: "status"
11:54:53.720 (reboot 24): Status: 1, 1, 0, 7, 0, 0, C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B\, T4MemInfo.ino.hex
11:54:53.720 (reboot 24): status read, retry 0
11:54:53.825 (loader): remote cmd from 1424: "status"
11:54:53.830 (reboot 24): Status: 1, 1, 0, 7, 0, 0, C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B\, T4MemInfo.ino.hex
11:54:53.830 (reboot 24): status read, retry 1
11:54:53.946 (loader): remote cmd from 1424: "status"
11:54:53.975 (reboot 24): Status: 1, 1, 0, 7, 0, 0, C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B\, T4MemInfo.ino.hex
11:54:53.975 (reboot 24): status read, retry 2
11:54:54.089 (loader): remote cmd from 1424: "status"
11:54:54.093 (loader): handle 6ac
11:54:54.093 (loader): Device came online, code_size = 100
11:54:54.093 (loader): Board is: NXP IMXRT1062 ROM
11:54:54.093 (loader): begin operation
11:54:54.107 (loader): File "C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B\T4MemInfo.ino.hex", 55296 bytes
11:54:54.116 (loader): File "C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B\T4MemInfo.ino.ehex", 55296 bytes, and 5536 loader utility
11:54:54.117 (loader): ehex is valid, key hash: 85A79CC1 B7C7F866 7F5BB3ED 0F9C9BA5 B4149EE2 72846D35 86B63863 B0699942
11:54:54.117 (loader): File "T4MemInfo.ino.hex". 55296 bytes
11:54:54.117 (loader): set background IMG_ONLINE
11:54:54.119 (reboot 24): Status: 1, 1, 1, 8, 0, 8, C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B\, T4MemInfo.ino.hex
11:54:54.126 (loader): nxp_write: success
11:54:54.128 (loader): HAB locked secure mode
11:54:54.130 (loader): sending ehex loader utility, 5536 bytes
11:54:54.130 (loader): nxp_write: success
11:54:54.130 (loader): nxp_write: success
11:54:54.131 (loader): nxp_write: success
11:54:54.131 (loader): nxp_write: success
11:54:54.131 (loader): nxp_write: success
11:54:54.132 (loader): nxp_write: success
11:54:54.132 (loader): nxp_write: success
11:54:54.134 (loader): run it..
11:54:54.134 (loader): nxp_write: success
11:54:54.149 (loader): ehex loader utility sucessfully started
11:54:54.149 (loader): end operation, total time = 0.056 seconds
11:54:54.151 (loader): redraw timer set, image 80 to show for 2000 ms
11:54:54.182 (loader): remote cmd from 1424: "status"
11:54:54.183 (loader): HID/win32:  vid:046D pid:C52B ver:1211  usb:0/140000/0/9/4/2/4
11:54:54.184 (loader): HID/win32:  vid:046D pid:C52B ver:1211  usb:0/140000/0/9/4/2/4
11:54:54.184 (loader): HID/win32:  vid:046D pid:C52B ver:1211  usb:0/140000/0/9/4/2/4
11:54:54.185 (loader): HID/win32:  vid:046D pid:C52B ver:1211  usb:0/140000/0/9/4/2/3
11:54:54.185 (loader): HID/win32:  vid:046D pid:C52B ver:1211  usb:0/140000/0/9/4/2/4
11:54:54.185 (loader): HID/win32:  vid:046D pid:C52B ver:1211  usb:0/140000/0/9/4/2/3
11:54:54.186 (loader): HID/win32:  vid:046D pid:C52B ver:1211  usb:0/140000/0/9/4/2/3
11:54:54.186 (loader): HID/win32:  vid:046D pid:C52B ver:1211  usb:0/140000/0/9/4/2/4
11:54:54.187 (reboot 24): Status: 1, 1, 0, 8, 0, 0, C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B\, T4MemInfo.ino.hex
11:54:54.187 (reboot 24): status read, retry 3
11:54:54.187 (reboot 24): Disconnect
11:54:54.187 (reboot 24): Success
11:54:54.214 (loader): remote connection 1424 closed
11:54:54.217 (loader): remote connection 1368 closed
11:54:54.522 (loader): encryption is required, public key hash: 85A79CC1 B7C7F866 7F5BB3ED 0F9C9BA5 B4149EE2 72846D35 86B63863 B0699942
11:54:54.522 (loader): secure mode is locked: this is Lockable Teensy
11:54:54.522 (loader): Device came online, code_size = 8126464
11:54:54.522 (loader): Board is: Teensy 4.1 (IMXRT1062), version 1.08
11:54:54.533 (loader): File "C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B\T4MemInfo.ino.hex", 55296 bytes
11:54:54.541 (loader): File "C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B\T4MemInfo.ino.ehex", 55296 bytes, and 5536 loader utility
11:54:54.541 (loader): ehex is valid, key hash: 85A79CC1 B7C7F866 7F5BB3ED 0F9C9BA5 B4149EE2 72846D35 86B63863 B0699942
11:54:54.541 (loader): File "T4MemInfo.ino.hex". 55296 bytes, 1% used
11:54:54.541 (loader): File "T4MemInfo.ino.hex" opened, but "T4MemInfo.ino.ehex" will actually be used
11:54:54.584 (loader): set background IMG_ONLINE
11:54:54.610 (loader): File "C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B\T4MemInfo.ino.hex", 55296 bytes
11:54:54.620 (loader): File "C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B\T4MemInfo.ino.ehex", 55296 bytes, and 5536 loader utility
11:54:54.620 (loader): ehex is valid, key hash: 85A79CC1 B7C7F866 7F5BB3ED 0F9C9BA5 B4149EE2 72846D35 86B63863 B0699942
11:54:54.620 (loader): File "T4MemInfo.ino.hex". 55296 bytes, 1% used
11:54:54.620 (loader): File "T4MemInfo.ino.hex" opened, but "T4MemInfo.ino.ehex" will actually be used
11:54:54.661 (loader): elf appears to be for Teensy 4.1 (IMXRT1062) (8126464 bytes)
11:54:54.661 (loader): elf binary data matches hex file
11:54:54.661 (loader): elf file is for Teensy 4.1 (IMXRT1062)
11:54:54.662 (loader): using encrypted ehex (required - secure mode is locked)
11:54:54.685 (loader): begin operation
11:54:54.805 (loader): flash, block=0, bs=1024, auto=1
11:54:54.808 (loader): flash, block=1, bs=1024, auto=1
11:54:54.809 (loader): flash, block=2, bs=1024, auto=1
11:54:55.070 (loader): flash, block=3, bs=1024, auto=1
11:54:55.071 (loader): flash, block=4, bs=1024, auto=1
11:54:55.117 (loader): flash, block=5, bs=1024, auto=1
11:54:55.127 (loader): flash, block=6, bs=1024, auto=1
11:54:55.152 (loader): flash, block=7, bs=1024, auto=1
11:54:55.168 (loader): flash, block=8, bs=1024, auto=1
11:54:55.173 (loader): flash, block=9, bs=1024, auto=1
11:54:55.181 (loader): flash, block=10, bs=1024, auto=1
11:54:55.189 (loader): flash, block=11, bs=1024, auto=1
11:54:55.198 (loader): flash, block=12, bs=1024, auto=1
11:54:55.210 (loader): flash, block=13, bs=1024, auto=1
11:54:55.226 (loader): flash, block=14, bs=1024, auto=1
11:54:55.240 (loader): flash, block=15, bs=1024, auto=1
11:54:55.254 (loader): flash, block=16, bs=1024, auto=1
11:54:55.263 (loader): flash, block=17, bs=1024, auto=1
11:54:55.267 (loader): flash, block=18, bs=1024, auto=1
11:54:55.269 (loader): flash, block=19, bs=1024, auto=1
11:54:55.273 (loader): flash, block=20, bs=1024, auto=1
11:54:55.277 (loader): flash, block=21, bs=1024, auto=1
11:54:55.283 (loader): flash, block=22, bs=1024, auto=1
11:54:55.287 (loader): flash, block=23, bs=1024, auto=1
11:54:55.290 (loader): flash, block=24, bs=1024, auto=1
11:54:55.295 (loader): flash, block=25, bs=1024, auto=1
11:54:55.298 (loader): flash, block=26, bs=1024, auto=1
11:54:55.302 (loader): flash, block=27, bs=1024, auto=1
11:54:55.308 (loader): flash, block=28, bs=1024, auto=1
11:54:55.317 (loader): flash, block=29, bs=1024, auto=1
11:54:55.328 (loader): flash, block=30, bs=1024, auto=1
11:54:55.340 (loader): flash, block=31, bs=1024, auto=1
11:54:55.346 (loader): flash, block=32, bs=1024, auto=1
11:54:55.350 (loader): flash, block=33, bs=1024, auto=1
11:54:55.353 (loader): flash, block=34, bs=1024, auto=1
11:54:55.355 (loader): flash, block=35, bs=1024, auto=1
11:54:55.358 (loader): flash, block=36, bs=1024, auto=1
11:54:55.362 (loader): flash, block=37, bs=1024, auto=1
11:54:55.366 (loader): flash, block=38, bs=1024, auto=1
11:54:55.370 (loader): flash, block=39, bs=1024, auto=1
11:54:55.373 (loader): flash, block=40, bs=1024, auto=1
11:54:55.378 (loader): flash, block=41, bs=1024, auto=1
11:54:55.381 (loader): flash, block=42, bs=1024, auto=1
11:54:55.385 (loader): flash, block=43, bs=1024, auto=1
11:54:55.388 (loader): flash, block=44, bs=1024, auto=1
11:54:55.390 (loader): flash, block=45, bs=1024, auto=1
11:54:55.393 (loader): flash, block=46, bs=1024, auto=1
11:54:55.396 (loader): flash, block=47, bs=1024, auto=1
11:54:55.400 (loader): flash, block=48, bs=1024, auto=1
11:54:55.403 (loader): flash, block=49, bs=1024, auto=1
11:54:55.432 (loader): flash, block=50, bs=1024, auto=1
11:54:55.435 (loader): flash, block=51, bs=1024, auto=1
11:54:55.437 (loader): flash, block=52, bs=1024, auto=1
11:54:55.439 (loader): flash, block=53, bs=1024, auto=1
11:54:55.501 (loader): sending reboot
11:54:55.501 (loader): begin wait_until_offline
11:54:55.556 (loader): offline, waited 1
11:54:55.556 (loader): end operation, total time = 0.871 seconds
11:54:55.558 (loader): set background IMG_REBOOT_OK
11:54:55.564 (loader): redraw timer set, image 14 to show for 1200 ms
11:54:55.729 (loader): HID/win32:  vid:046D pid:C52B ver:1211  usb:0/140000/0/9/4/2/4
11:54:55.730 (loader): HID/win32:  vid:046D pid:C52B ver:1211  usb:0/140000/0/9/4/2/4
11:54:55.731 (loader): HID/win32:  vid:046D pid:C52B ver:1211  usb:0/140000/0/9/4/2/4
11:54:55.732 (loader): HID/win32:  vid:046D pid:C52B ver:1211  usb:0/140000/0/9/4/2/3
11:54:55.732 (loader): HID/win32:  vid:046D pid:C52B ver:1211  usb:0/140000/0/9/4/2/4
11:54:55.733 (loader): HID/win32:  vid:046D pid:C52B ver:1211  usb:0/140000/0/9/4/2/3
11:54:55.733 (loader): HID/win32:  vid:046D pid:C52B ver:1211  usb:0/140000/0/9/4/2/3
11:54:55.740 (loader): HID/win32:  vid:046D pid:C52B ver:1211  usb:0/140000/0/9/4/2/4
11:54:56.757 (loader): redraw, image 9
11:55:09.715 (loader): Verbose Info event
 
Just for completeness - selected OTHER T_4.1 and it repeats the issue:
ide2_t41NoGo2.jpg

IDE 2.0:
Code:
Memory Usage on Teensy 4.1:
  FLASH: code:38684, data:8088, headers:8520   free for files:8071172
   RAM1: variables:8992, code:33760, padding:31776   free for local variables:449760
   RAM2: variables:12384  free for malloc/new:511904
"C:\\Users\\Tim\\AppData\\Local\\Arduino15\\packages\\teensy\\tools\\teensy-tools\\1.58.0-beta2/stdout_redirect" "C:\\Users\\Tim\\AppData\\Local\\Temp\\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B/T4MemInfo.ino.lst" "C:\\Users\\Tim\\AppData\\Local\\Arduino15\\packages\\teensy\\tools\\teensy-compile\\11.3.1-beta1/arm/bin/arm-none-eabi-objdump" -d -S -C "C:\\Users\\Tim\\AppData\\Local\\Temp\\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B/T4MemInfo.ino.elf"

"C:\Users\Tim\AppData\Local\Arduino15\packages\teensy\tools\teensy-tools\1.58.0-beta2/teensy_post_compile" "-file=T4MemInfo.ino" "-path=C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B" "-tools=C:\Users\Tim\AppData\Local\Arduino15\packages\teensy\tools\teensy-tools\1.58.0-beta2" "-board=TEENSY41" -reboot "-port=usb:0/140000/0/6/1/4" "-portlabel={serial.port.label}" "-portprotocol={serial.port.protocol}"
Found 2 Teensy boards, but using auto-search to find board for upload.
Please use Tools > Ports(Teensy) to select the specific board.

And all the Verbose log from Clear to Upload:
Code:
00:44:06.315 (loader): file changed
00:44:06.352 (loader): File "C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B\T4MemInfo.ino.hex", 55296 bytes
00:44:06.363 (loader): File "C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B\T4MemInfo.ino.ehex", 55296 bytes, and 0 loader utility
00:44:06.365 (loader): ehex is valid, key hash: 85A79CC1 B7C7F866 7F5BB3ED 0F9C9BA5 B4149EE2 72846D35 86B63863 B0699942
00:44:06.368 (loader): File "T4MemInfo.ino.hex". 55296 bytes
00:44:06.449 (post_compile 25): Begin, version=1.58-beta2, high-res time
00:44:06.451 (loader): remote connection 1900 opened
00:44:06.452 (loader): remote cmd from 1900: "comment: Teensyduino 1.58-beta2 - WINDOWS (teensy_post_compile)"
00:44:06.453 (post_compile 25): ARDUINO_USER_AGENT = "arduino-cli/0.27.1 arduino-ide/2.0.0 grpc-node-js/1.6.7"
00:44:06.453 (post_compile 25): Sending command: comment: Teensyduino 1.58-beta2 - WINDOWS (teensy_post_compile)
00:44:06.453 (loader): remote cmd from 1900: "status"
00:44:06.459 (loader): remote cmd from 1900: "dir:C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B\"
00:44:06.459 (post_compile 25): Status: 1, 1, 0, 9, 0, 0, C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B\, T4MemInfo.ino.hex
00:44:06.459 (post_compile 25): Sending command: dir:C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B\
00:44:06.460 (loader): remote cmd from 1900: "file:T4MemInfo.ino.hex"
00:44:06.460 (post_compile 25): Sending command: file:T4MemInfo.ino.hex
00:44:06.471 (loader): File "C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B\T4MemInfo.ino.hex", 55296 bytes
00:44:06.480 (loader): File "C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B\T4MemInfo.ino.ehex", 55296 bytes, and 5536 loader utility
00:44:06.481 (loader): ehex is valid, key hash: 85A79CC1 B7C7F866 7F5BB3ED 0F9C9BA5 B4149EE2 72846D35 86B63863 B0699942
00:44:06.482 (loader): File "T4MemInfo.ino.hex". 55296 bytes
00:44:06.488 (loader): remote cmd from 1900: "status"
00:44:06.495 (post_compile 25): Status: 1, 1, 0, 9, 0, 0, C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B\, T4MemInfo.ino.hex
00:44:06.495 (post_compile 25): Disconnect
00:44:06.508 (loader): remote connection 1900 closed
00:44:07.345 (post_compile 26): Begin, version=1.58-beta2, high-res time
00:44:07.349 (loader): remote connection 1332 opened
00:44:07.353 (loader): remote cmd from 1332: "comment: Teensyduino 1.58-beta2 - WINDOWS (teensy_post_compile)"
00:44:07.353 (post_compile 26): ARDUINO_USER_AGENT = "arduino-cli/0.27.1 arduino-ide/2.0.0 grpc-node-js/1.6.7"
00:44:07.353 (post_compile 26): Sending command: comment: Teensyduino 1.58-beta2 - WINDOWS (teensy_post_compile)
00:44:07.355 (loader): remote cmd from 1332: "status"
00:44:07.361 (loader): remote cmd from 1332: "dir:C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B\"
00:44:07.361 (post_compile 26): Status: 1, 1, 0, 9, 0, 0, C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B\, T4MemInfo.ino.hex
00:44:07.361 (post_compile 26): Sending command: dir:C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B\
00:44:07.365 (loader): remote cmd from 1332: "file:T4MemInfo.ino.hex"
00:44:07.365 (post_compile 26): Sending command: file:T4MemInfo.ino.hex
00:44:07.382 (loader): File "C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B\T4MemInfo.ino.hex", 55296 bytes
00:44:07.396 (loader): File "C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B\T4MemInfo.ino.ehex", 55296 bytes, and 5536 loader utility
00:44:07.400 (loader): ehex is valid, key hash: 85A79CC1 B7C7F866 7F5BB3ED 0F9C9BA5 B4149EE2 72846D35 86B63863 B0699942
00:44:07.408 (loader): File "T4MemInfo.ino.hex". 55296 bytes
00:44:07.423 (loader): remote cmd from 1332: "status"
00:44:07.435 (post_compile 26): Status: 1, 1, 0, 9, 0, 0, C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B\, T4MemInfo.ino.hex
00:44:07.435 (post_compile 26): Disconnect
00:44:07.447 (loader): remote connection 1332 closed
00:44:07.447 (post_compile 27): Running teensy_reboot: "C:\Users\Tim\AppData\Local\Arduino15\packages\teensy\tools\teensy-tools\1.58.0-beta2\teensy_reboot.exe" teensy_reboot.exe "-board=TEENSY41" "-port=usb:0/140000/0/6/1/4" "-portlabel={serial.port.label}" "-portprotocol={serial.port.protocol}"
00:44:07.451 (loader): remote connection 1332 opened
00:44:07.527 (reboot 28): Begin, version=1.58-beta2, high-res time
00:44:07.527 (reboot 28): location = usb:0/140000/0/6/1/4
00:44:07.527 (reboot 28): portlabel = {serial.port.label}
00:44:07.527 (reboot 28): portprotocol = {serial.port.protocol}
00:44:07.527 (reboot 28): LoadLibrary cfgmgr32 ok
00:44:07.527 (reboot 28): LoadLibrary ntdll ok
00:44:07.528 (reboot 28): found_usb_device, id=\\?\usb#vid_16c0&pid_0483#8983390#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
00:44:07.528 (reboot 28): found_usb_device, loc=usb:0/140000/0/6/1/3    Port_#0003.Hub_#0010
00:44:07.528 (reboot 28): found_usb_device, devinst=00000004
00:44:07.528 (reboot 28): found_usb_device, hwid=USB\VID_16C0&PID_0483&REV_0280
00:44:07.528 (reboot 28): add: loc=usb:0/140000/0/6/1/3, class=USB, vid=16C0, pid=0483, ver=0280, serial=8983390, dev=\\?\usb#vid_16c0&pid_0483#8983390#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
00:44:07.528 (reboot 28):   comport_from_devinst_list attempt
00:44:07.528 (reboot 28):   found Ports in classguid_list at index=1
00:44:07.528 (reboot 28):   port COM22 found from devnode
00:44:07.528 (reboot 28): found_usb_device complete
00:44:07.529 (reboot 28): found_usb_device, id=\\?\usb#vid_16c0&pid_0483#12167530#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
00:44:07.529 (reboot 28): found_usb_device, loc=usb:0/140000/0/6/1/4    Port_#0004.Hub_#0010
00:44:07.529 (reboot 28): found_usb_device, devinst=00000006
00:44:07.529 (reboot 28): found_usb_device, hwid=USB\VID_16C0&PID_0483&REV_0280
00:44:07.529 (reboot 28): add: loc=usb:0/140000/0/6/1/4, class=USB, vid=16C0, pid=0483, ver=0280, serial=12167530, dev=\\?\usb#vid_16c0&pid_0483#12167530#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
00:44:07.529 (reboot 28):   comport_from_devinst_list attempt
00:44:07.529 (reboot 28):   found Ports in classguid_list at index=1
00:44:07.529 (reboot 28):   port COM20 found from devnode
00:44:07.529 (reboot 28): found_usb_device complete
00:44:07.531 (reboot 28): usb scan found 2 devices
00:44:07.536 (loader): remote connection 1984 opened
00:44:07.539 (loader): remote cmd from 1984: "show:arduino_attempt_reboot"
00:44:07.539 (reboot 28): found Teensy Loader, version 1.58
00:44:07.539 (reboot 28): Sending command: show:arduino_attempt_reboot
00:44:07.542 (loader): got request to show arduino rebooting message
00:44:07.547 (reboot 28): Sending command: comment: Teensyduino 1.58-beta2 - WINDOWS (teensy_reboot)
00:44:07.547 (loader): remote cmd from 1984: "comment: Teensyduino 1.58-beta2 - WINDOWS (teensy_reboot)"
00:44:07.551 (loader): remote cmd from 1984: "status"
00:44:07.560 (reboot 28): Status: 1, 1, 0, 9, 0, 0, C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B\, T4MemInfo.ino.hex
00:44:07.560 (reboot 28): do_reset (serial) COM20
00:44:07.563 (loader): remote cmd from 1984: "status"
00:44:07.571 (reboot 28): Status: 1, 1, 0, 9, 0, 0, C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B\, T4MemInfo.ino.hex
00:44:07.571 (reboot 28): status read, retry 0
00:44:07.679 (loader): remote cmd from 1984: "status"
00:44:07.689 (reboot 28): Status: 1, 1, 0, 9, 0, 0, C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B\, T4MemInfo.ino.hex
00:44:07.689 (reboot 28): status read, retry 1
00:44:07.789 (loader): remote cmd from 1984: "status"
00:44:07.797 (loader): handle 5ec
00:44:07.803 (loader): Device came online, code_size = 100
00:44:07.808 (loader): Board is: NXP IMXRT1062 ROM
00:44:07.811 (loader): begin operation
00:44:07.826 (loader): File "C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B\T4MemInfo.ino.hex", 55296 bytes
00:44:07.838 (loader): File "C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B\T4MemInfo.ino.ehex", 55296 bytes, and 5536 loader utility
00:44:07.843 (loader): ehex is valid, key hash: 85A79CC1 B7C7F866 7F5BB3ED 0F9C9BA5 B4149EE2 72846D35 86B63863 B0699942
00:44:07.847 (loader): File "T4MemInfo.ino.hex". 55296 bytes
00:44:07.852 (loader): set background IMG_ONLINE
00:44:07.859 (reboot 28): Status: 1, 1, 1, 10, 0, 8, C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B\, T4MemInfo.ino.hex
00:44:07.869 (loader): nxp_write: success
00:44:07.873 (loader): HAB locked secure mode
00:44:07.878 (loader): sending ehex loader utility, 5536 bytes
00:44:07.883 (loader): nxp_write: success
00:44:07.887 (loader): nxp_write: success
00:44:07.893 (loader): nxp_write: success
00:44:07.899 (loader): nxp_write: success
00:44:07.904 (loader): nxp_write: success
00:44:07.910 (loader): nxp_write: success
00:44:07.915 (loader): nxp_write: success
00:44:07.919 (loader): run it..
00:44:07.925 (loader): nxp_write: success
00:44:07.939 (loader): ehex loader utility sucessfully started
00:44:07.948 (loader): end operation, total time = 0.133 seconds
00:44:07.959 (loader): redraw timer set, image 80 to show for 2000 ms
00:44:07.963 (loader): remote cmd from 1984: "status"
00:44:07.972 (loader): HID/win32:  vid:046D pid:C52B ver:1211  usb:0/140000/0/9/4/2/4
00:44:07.982 (loader): HID/win32:  vid:046D pid:C52B ver:1211  usb:0/140000/0/9/4/2/4
00:44:07.987 (loader): HID/win32:  vid:046D pid:C52B ver:1211  usb:0/140000/0/9/4/2/4
00:44:07.992 (loader): HID/win32:  vid:046D pid:C52B ver:1211  usb:0/140000/0/9/4/2/3
00:44:07.997 (loader): HID/win32:  vid:046D pid:C52B ver:1211  usb:0/140000/0/9/4/2/4
00:44:08.004 (loader): HID/win32:  vid:046D pid:C52B ver:1211  usb:0/140000/0/9/4/2/3
00:44:08.009 (loader): HID/win32:  vid:046D pid:C52B ver:1211  usb:0/140000/0/9/4/2/3
00:44:08.017 (loader): HID/win32:  vid:046D pid:C52B ver:1211  usb:0/140000/0/9/4/2/4
00:44:08.023 (reboot 28): Status: 1, 1, 0, 10, 0, 0, C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B\, T4MemInfo.ino.hex
00:44:08.023 (reboot 28): status read, retry 2
00:44:08.023 (reboot 28): Success
00:44:08.023 (reboot 28): Disconnect
00:44:08.050 (loader): remote connection 1984 closed
00:44:08.081 (loader): remote connection 1332 closed
00:44:08.320 (loader): encryption is required, public key hash: 85A79CC1 B7C7F866 7F5BB3ED 0F9C9BA5 B4149EE2 72846D35 86B63863 B0699942
00:44:08.337 (loader): secure mode is locked: this is Lockable Teensy
00:44:08.345 (loader): Device came online, code_size = 8126464
00:44:08.357 (loader): Board is: Teensy 4.1 (IMXRT1062), version 1.08
00:44:08.383 (loader): File "C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B\T4MemInfo.ino.hex", 55296 bytes
00:44:08.398 (loader): File "C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B\T4MemInfo.ino.ehex", 55296 bytes, and 5536 loader utility
00:44:08.410 (loader): ehex is valid, key hash: 85A79CC1 B7C7F866 7F5BB3ED 0F9C9BA5 B4149EE2 72846D35 86B63863 B0699942
00:44:08.423 (loader): File "T4MemInfo.ino.hex". 55296 bytes, 1% used
00:44:08.433 (loader): File "T4MemInfo.ino.hex" opened, but "T4MemInfo.ino.ehex" will actually be used
00:44:08.472 (loader): set background IMG_ONLINE
00:44:08.493 (loader): File "C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B\T4MemInfo.ino.hex", 55296 bytes
00:44:08.509 (loader): File "C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B\T4MemInfo.ino.ehex", 55296 bytes, and 5536 loader utility
00:44:08.518 (loader): ehex is valid, key hash: 85A79CC1 B7C7F866 7F5BB3ED 0F9C9BA5 B4149EE2 72846D35 86B63863 B0699942
00:44:08.526 (loader): File "T4MemInfo.ino.hex". 55296 bytes, 1% used
00:44:08.533 (loader): File "T4MemInfo.ino.hex" opened, but "T4MemInfo.ino.ehex" will actually be used
00:44:08.570 (loader): elf appears to be for Teensy 4.1 (IMXRT1062) (8126464 bytes)
00:44:08.577 (loader): elf binary data matches hex file
00:44:08.586 (loader): elf file is for Teensy 4.1 (IMXRT1062)
00:44:08.593 (loader): using encrypted ehex (required - secure mode is locked)
00:44:08.629 (loader): begin operation
00:44:08.684 (loader): flash, block=0, bs=1024, auto=1
00:44:08.694 (loader): flash, block=1, bs=1024, auto=1
00:44:08.702 (loader): flash, block=2, bs=1024, auto=1
00:44:09.004 (loader): flash, block=3, bs=1024, auto=1
00:44:09.046 (loader): flash, block=4, bs=1024, auto=1
00:44:09.109 (loader): flash, block=5, bs=1024, auto=1
00:44:09.165 (loader): flash, block=6, bs=1024, auto=1
00:44:09.190 (loader): flash, block=7, bs=1024, auto=1
00:44:09.708 (loader): flash, block=8, bs=1024, auto=1
00:44:09.769 (loader): flash, block=9, bs=1024, auto=1
00:44:09.787 (loader): flash, block=10, bs=1024, auto=1
00:44:09.841 (loader): flash, block=11, bs=1024, auto=1
00:44:09.880 (loader): flash, block=12, bs=1024, auto=1
00:44:09.909 (loader): flash, block=13, bs=1024, auto=1
00:44:09.970 (loader): flash, block=14, bs=1024, auto=1
00:44:09.995 (loader): flash, block=15, bs=1024, auto=1
00:44:10.019 (loader): flash, block=16, bs=1024, auto=1
00:44:10.155 (loader): flash, block=17, bs=1024, auto=1
00:44:10.190 (loader): flash, block=18, bs=1024, auto=1
00:44:10.218 (loader): flash, block=19, bs=1024, auto=1
00:44:10.292 (loader): flash, block=20, bs=1024, auto=1
00:44:10.352 (loader): flash, block=21, bs=1024, auto=1
00:44:10.373 (loader): flash, block=22, bs=1024, auto=1
00:44:10.401 (loader): flash, block=23, bs=1024, auto=1
00:44:10.445 (loader): flash, block=24, bs=1024, auto=1
00:44:10.488 (loader): flash, block=25, bs=1024, auto=1
00:44:10.562 (loader): flash, block=26, bs=1024, auto=1
00:44:10.667 (loader): flash, block=27, bs=1024, auto=1
00:44:10.689 (loader): flash, block=28, bs=1024, auto=1
00:44:10.714 (loader): flash, block=29, bs=1024, auto=1
00:44:10.742 (loader): flash, block=30, bs=1024, auto=1
00:44:10.773 (loader): flash, block=31, bs=1024, auto=1
00:44:10.790 (loader): flash, block=32, bs=1024, auto=1
00:44:10.807 (loader): flash, block=33, bs=1024, auto=1
00:44:10.820 (loader): flash, block=34, bs=1024, auto=1
00:44:10.830 (loader): flash, block=35, bs=1024, auto=1
00:44:10.841 (loader): flash, block=36, bs=1024, auto=1
00:44:10.849 (loader): flash, block=37, bs=1024, auto=1
00:44:10.857 (loader): flash, block=38, bs=1024, auto=1
00:44:10.868 (loader): flash, block=39, bs=1024, auto=1
00:44:10.876 (loader): flash, block=40, bs=1024, auto=1
00:44:10.885 (loader): flash, block=41, bs=1024, auto=1
00:44:10.894 (loader): flash, block=42, bs=1024, auto=1
00:44:10.904 (loader): flash, block=43, bs=1024, auto=1
00:44:10.912 (loader): flash, block=44, bs=1024, auto=1
00:44:10.920 (loader): flash, block=45, bs=1024, auto=1
00:44:10.929 (loader): flash, block=46, bs=1024, auto=1
00:44:10.939 (loader): flash, block=47, bs=1024, auto=1
00:44:10.947 (loader): flash, block=48, bs=1024, auto=1
00:44:10.955 (loader): flash, block=49, bs=1024, auto=1
00:44:10.965 (loader): flash, block=50, bs=1024, auto=1
00:44:10.975 (loader): flash, block=51, bs=1024, auto=1
00:44:10.984 (loader): flash, block=52, bs=1024, auto=1
00:44:10.992 (loader): flash, block=53, bs=1024, auto=1
00:44:11.032 (loader): sending reboot
00:44:11.041 (loader): begin wait_until_offline
00:44:11.050 (loader): offline, waited 0
00:44:11.059 (loader): end operation, total time = 2.423 seconds
00:44:11.070 (loader): set background IMG_REBOOT_OK
00:44:11.080 (loader): redraw timer set, image 14 to show for 1200 ms
00:44:11.093 (loader): HID/win32:  vid:046D pid:C52B ver:1211  usb:0/140000/0/9/4/2/4
00:44:11.101 (loader): HID/win32:  vid:046D pid:C52B ver:1211  usb:0/140000/0/9/4/2/4
00:44:11.109 (loader): HID/win32:  vid:046D pid:C52B ver:1211  usb:0/140000/0/9/4/2/4
00:44:11.120 (loader): HID/win32:  vid:046D pid:C52B ver:1211  usb:0/140000/0/9/4/2/3
00:44:11.128 (loader): HID/win32:  vid:046D pid:C52B ver:1211  usb:0/140000/0/9/4/2/4
00:44:11.137 (loader): HID/win32:  vid:046D pid:C52B ver:1211  usb:0/140000/0/9/4/2/3
00:44:11.148 (loader): HID/win32:  vid:046D pid:C52B ver:1211  usb:0/140000/0/9/4/2/3
00:44:11.157 (loader): HID/win32:  vid:046D pid:C52B ver:1211  usb:0/140000/0/9/4/2/4
00:44:12.280 (loader): redraw, image 9
 
Using @PerT's Mega Debug tip to LOG the process [Arduino-CLI-And-IDE-now-Released-Teensy-Supported!] this is the indicated process ... FWIW to Paul or @PerT?:
Wow 42MB! Closed IDE 2 - deleted the Log - opened IDE 2 and did BUILD ... 42MB! Even a ZIP is 3.5 MB! ... too big to upload ...
Code:
Shared OneDrive Link to ZIP: [URL="https://1drv.ms/u/s!AthxYKJqbfk_gWuiNRhr18g-WbcK?e=qA8VMG"]https://1drv.ms/... 2022-09-18_log.zip[/URL]

Code:
"C:\\Users\\Tim\\AppData\\Local\\Arduino15\\packages\\teensy\\tools\\teensy-tools\\1.58.0-beta2/teensy_size" "C:\\Users\\Tim\\AppData\\Local\\Temp\\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B/T4MemInfo.ino.elf"
Memory Usage on Teensy 4.1:
  FLASH: code:38684, data:8088, headers:8520   free for files:8071172
   RAM1: variables:8992, code:33760, padding:31776   free for local variables:449760
   RAM2: variables:12384  free for malloc/new:511904
"C:\\Users\\Tim\\AppData\\Local\\Arduino15\\packages\\teensy\\tools\\teensy-tools\\1.58.0-beta2/stdout_redirect" "C:\\Users\\Tim\\AppData\\Local\\Temp\\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B/T4MemInfo.ino.lst" "C:\\Users\\Tim\\AppData\\Local\\Arduino15\\packages\\teensy\\tools\\teensy-compile\\11.3.1-beta1/arm/bin/arm-none-eabi-objdump" -d -S -C "C:\\Users\\Tim\\AppData\\Local\\Temp\\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B/T4MemInfo.ino.elf"

"C:\Users\Tim\AppData\Local\Arduino15\packages\teensy\tools\teensy-tools\1.58.0-beta2/teensy_post_compile" "-file=T4MemInfo.ino" "-path=C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B" "-tools=C:\Users\Tim\AppData\Local\Arduino15\packages\teensy\tools\teensy-tools\1.58.0-beta2" "-board=TEENSY41" -reboot "-port=usb:0/140000/0/6/1/4" "-portlabel={serial.port.label}" "-portprotocol={serial.port.protocol}"
Found 2 Teensy boards, but using auto-search to find board for upload.
Please use Tools > Ports(Teensy) to select the specific board.

ide2_t41NoGo3.jpg
 
Last edited:
What happens if you run that teensy_post_compile command directly from the command line?

I can reproduce the bug, but I get the same results even if I use the tool directly without any involvement from Arduino IDE or Arduino CLI:

Code:
$ ./teensy-discovery.exe
HELLO 1 "foo"
{
"eventType": "hello",
"protocolVersion": 1,
"message": "OK"
}
START
{
"eventType": "start",
"message": "OK"
}
LIST
{
"eventType": "list",
"ports": [
{
"address": "usb:0/1A0000/0/1/5/1/1/1",
"label": "COM48 Serial",
"protocol": "teensy",
"protocolLabel": "Teensy Ports",
"properties": {
"modelID": "0x25",
"usbtype": "USB_SERIAL",
"serialNumber": "808370",
"name": "Teensy 4.1"
}
}
,
{
"address": "usb:0/1A0000/0/1/5/1/1/3",
"label": "COM39 Serial",
"protocol": "teensy",
"protocolLabel": "Teensy Ports",
"properties": {
"modelID": "0x25",
"usbtype": "USB_SERIAL",
"serialNumber": "808372",
"name": "Teensy 4.1"
}
}
]
}

Code:
$ "C:\Users\per\AppData\Local\Arduino15\packages\teensy\tools\teensy-tools\1.57.0/teensy_post_compile" "-file=Blink100.ino" "-path=C:\Users\per\AppData\Local\Temp\arduino-sketch-6717C3015F2FF1E337CF4409D3622858" "-tools=C:\Users\per\AppData\Local\Arduino15\packages\teensy\tools\teensy-tools\1.57.0" "-board=TEENSY41" -reboot "-port=usb:0/1A0000/0/1/5/1/1/1" "-portlabel={serial.port.label}" "-portprotocol={serial.port.protocol}" -v
Sending command: comment: Teensyduino 1.57 - WINDOWS (teensy_post_compile)
Sending command: dir:C:\Users\per\AppData\Local\Temp\arduino-sketch-6717C3015F2FF1E337CF4409D3622858\
Sending command: file:Blink100.ino.hex
location = usb:0/1A0000/0/1/5/1/1/1
portlabel = {serial.port.label}
portprotocol = {serial.port.protocol}
LoadLibrary cfgmgr32 ok
LoadLibrary ntdll ok
found_usb_device, id=\\?\usb#vid_16c0&pid_0483#8083720#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
found_usb_device, loc=usb:0/1A0000/0/1/5/1/1/3    Port_#0003.Hub_#0009
found_usb_device, hwid=USB\VID_16C0&PID_0483&REV_0280
found_usb_device, devinst=0000000a
add: loc=usb:0/1A0000/0/1/5/1/1/3, class=USB, vid=16C0, pid=0483, ver=0280, serial=8083720, dev=\\?\usb#vid_16c0&pid_0483#8083720#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
      0000000A, class=USB, id=USB\VID_16C0&PID_0483\8083720
        00000013, class=Ports, portname=COM39, id=USB\VID_16C0&PID_0483&MI_00\A&156F9E1A&1&0000
  comport_from_devinst_list attempt
  found Ports in classguid_list at index=1
  port COM39 found from devnode
found_usb_device complete
found_usb_device, id=\\?\usb#vid_16c0&pid_0483#8083700#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
found_usb_device, loc=usb:0/1A0000/0/1/5/1/1/1    Port_#0001.Hub_#0009
found_usb_device, hwid=USB\VID_16C0&PID_0483&REV_0280
found_usb_device, devinst=0000000b
add: loc=usb:0/1A0000/0/1/5/1/1/1, class=USB, vid=16C0, pid=0483, ver=0280, serial=8083700, dev=\\?\usb#vid_16c0&pid_0483#8083700#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
      0000000B, class=USB, id=USB\VID_16C0&PID_0483\8083700
        00000014, class=Ports, portname=COM48, id=USB\VID_16C0&PID_0483&MI_00\A&9ADBE26&0&0000
  comport_from_devinst_list attempt
  found Ports in classguid_list at index=1
  port COM48 found from devnode
found_usb_device complete
usb scan found 2 devices
Found 2 Teensy boards, but using auto-search to find board for upload.
Please use Tools > Ports(Teensy) to select the specific board.
found Teensy Loader, version 1.57
Sending command: show:arduino_attempt_reboot
Sending command: comment: Teensyduino 1.57 - WINDOWS (teensy_reboot)
do_reset (serial) COM48
status read, retry 0
status read, retry 1
status read, retry 2
status read, retry 3
Success

Code:
23:15:36.767 (post_compile 16): Begin, version=1.57, high-res time
23:15:36.769 (loader): remote connection 1532 opened
23:15:36.770 (loader): remote cmd from 1532: "comment: Teensyduino 1.57 - WINDOWS (teensy_post_compile)"
23:15:36.771 (post_compile 16): Sending command: comment: Teensyduino 1.57 - WINDOWS (teensy_post_compile)
23:15:36.771 (loader): remote cmd from 1532: "status"
23:15:36.779 (post_compile 16): Status: 1, 1, 0, 5, 0, 0, C:\Users\per\AppData\Local\Temp\arduino-sketch-6717C3015F2FF1E337CF4409D3622858\, Blink100.ino.hex
23:15:36.780 (post_compile 16): Sending command: dir:C:\Users\per\AppData\Local\Temp\arduino-sketch-6717C3015F2FF1E337CF4409D3622858\
23:15:36.801 (loader): remote cmd from 1532: "dir:C:\Users\per\AppData\Local\Temp\arduino-sketch-6717C3015F2FF1E337CF4409D3622858\"
23:15:36.803 (post_compile 16): Sending command: file:Blink100.ino.hex
23:15:36.803 (loader): remote cmd from 1532: "file:Blink100.ino.hex"
23:15:36.815 (loader): File "C:\Users\per\AppData\Local\Temp\arduino-sketch-6717C3015F2FF1E337CF4409D3622858\Blink100.ino.hex", 22528 bytes
23:15:36.816 (loader): File "Blink100.ino.hex". 22528 bytes
23:15:36.827 (loader): remote cmd from 1532: "status"
23:15:36.836 (post_compile 16): Status: 1, 1, 0, 5, 0, 0, C:\Users\per\AppData\Local\Temp\arduino-sketch-6717C3015F2FF1E337CF4409D3622858\, Blink100.ino.hex
23:15:36.836 (post_compile 16): Disconnect
23:15:36.855 (loader): remote connection 1532 closed
23:15:36.855 (post_compile 17): Running teensy_reboot: "C:\Users\per\AppData\Local\Arduino15\packages\teensy\tools\teensy-tools\1.57.0\teensy_reboot.exe" teensy_reboot.exe -v "-board=TEENSY41" "-port=usb:0/1A0000/0/1/5/1/1/1" "-portlabel={serial.port.label}" "-portprotocol={serial.port.protocol}"
23:15:36.858 (loader): remote connection 1532 opened
23:15:36.873 (reboot 18): Begin, version=1.57, high-res time
23:15:36.873 (reboot 18): location = usb:0/1A0000/0/1/5/1/1/1
23:15:36.873 (reboot 18): portlabel = {serial.port.label}
23:15:36.873 (reboot 18): portprotocol = {serial.port.protocol}
23:15:36.873 (reboot 18): LoadLibrary cfgmgr32 ok
23:15:36.873 (reboot 18): LoadLibrary ntdll ok
23:15:36.875 (reboot 18): found_usb_device, id=\\?\usb#vid_16c0&pid_0483#8083720#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
23:15:36.875 (reboot 18): found_usb_device, loc=usb:0/1A0000/0/1/5/1/1/3    Port_#0003.Hub_#0009
23:15:36.875 (reboot 18): found_usb_device, hwid=USB\VID_16C0&PID_0483&REV_0280
23:15:36.875 (reboot 18): found_usb_device, devinst=0000000a
23:15:36.875 (reboot 18): add: loc=usb:0/1A0000/0/1/5/1/1/3, class=USB, vid=16C0, pid=0483, ver=0280, serial=8083720, dev=\\?\usb#vid_16c0&pid_0483#8083720#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
23:15:36.875 (reboot 18):   comport_from_devinst_list attempt
23:15:36.875 (reboot 18):   found Ports in classguid_list at index=1
23:15:36.875 (reboot 18):   port COM39 found from devnode
23:15:36.875 (reboot 18): found_usb_device complete
23:15:36.876 (reboot 18): found_usb_device, id=\\?\usb#vid_16c0&pid_0483#8083700#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
23:15:36.876 (reboot 18): found_usb_device, loc=usb:0/1A0000/0/1/5/1/1/1    Port_#0001.Hub_#0009
23:15:36.876 (reboot 18): found_usb_device, hwid=USB\VID_16C0&PID_0483&REV_0280
23:15:36.876 (reboot 18): found_usb_device, devinst=0000000b
23:15:36.876 (reboot 18): add: loc=usb:0/1A0000/0/1/5/1/1/1, class=USB, vid=16C0, pid=0483, ver=0280, serial=8083700, dev=\\?\usb#vid_16c0&pid_0483#8083700#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
23:15:36.876 (reboot 18):   comport_from_devinst_list attempt
23:15:36.876 (reboot 18):   found Ports in classguid_list at index=1
23:15:36.876 (reboot 18):   port COM48 found from devnode
23:15:36.876 (reboot 18): found_usb_device complete
23:15:36.880 (reboot 18): usb scan found 2 devices
23:15:36.882 (loader): remote connection 704 opened
23:15:36.886 (reboot 18): found Teensy Loader, version 1.57
23:15:36.886 (reboot 18): Sending command: show:arduino_attempt_reboot
23:15:36.886 (loader): remote cmd from 704: "show:arduino_attempt_reboot"
23:15:36.889 (loader): got request to show arduino rebooting message
23:15:36.893 (loader): remote cmd from 704: "comment: Teensyduino 1.57 - WINDOWS (teensy_reboot)"
23:15:36.894 (reboot 18): Sending command: comment: Teensyduino 1.57 - WINDOWS (teensy_reboot)
23:15:36.896 (loader): remote cmd from 704: "status"
23:15:36.906 (reboot 18): Status: 1, 1, 0, 5, 0, 0, C:\Users\per\AppData\Local\Temp\arduino-sketch-6717C3015F2FF1E337CF4409D3622858\, Blink100.ino.hex
23:15:36.906 (reboot 18): do_reset (serial) COM48
23:15:36.934 (loader): remote cmd from 704: "status"
23:15:36.944 (reboot 18): Status: 1, 1, 0, 5, 0, 0, C:\Users\per\AppData\Local\Temp\arduino-sketch-6717C3015F2FF1E337CF4409D3622858\, Blink100.ino.hex
23:15:36.944 (reboot 18): status read, retry 0
23:15:37.045 (loader): remote cmd from 704: "status"
23:15:37.053 (reboot 18): Status: 1, 1, 0, 5, 0, 0, C:\Users\per\AppData\Local\Temp\arduino-sketch-6717C3015F2FF1E337CF4409D3622858\, Blink100.ino.hex
23:15:37.053 (reboot 18): status read, retry 1
23:15:37.154 (loader): remote cmd from 704: "status"
23:15:37.165 (reboot 18): Status: 1, 1, 0, 5, 0, 0, C:\Users\per\AppData\Local\Temp\arduino-sketch-6717C3015F2FF1E337CF4409D3622858\, Blink100.ino.hex
23:15:37.165 (reboot 18): status read, retry 2
23:15:37.285 (loader): secure mode can not be locked: this is Standard Teensy
23:15:37.290 (loader): encryption is possible on this Teensy, but not yet configured
23:15:37.292 (loader): but without secure mode locked, encryption will NOT be secure!
23:15:37.295 (loader): Device came online, code_size = 8126464
23:15:37.298 (loader): Board is: Teensy 4.1 (IMXRT1062), version 1.07
23:15:37.309 (loader): File "C:\Users\per\AppData\Local\Temp\arduino-sketch-6717C3015F2FF1E337CF4409D3622858\Blink100.ino.hex", 22528 bytes
23:15:37.312 (loader): File "Blink100.ino.hex". 22528 bytes, 0% used
23:15:37.347 (loader): set background IMG_ONLINE
23:15:37.361 (loader): File "C:\Users\per\AppData\Local\Temp\arduino-sketch-6717C3015F2FF1E337CF4409D3622858\Blink100.ino.hex", 22528 bytes
23:15:37.365 (loader): File "Blink100.ino.hex". 22528 bytes, 0% used
23:15:37.402 (loader): elf appears to be for Teensy 4.1 (IMXRT1062) (8126464 bytes)
23:15:37.406 (loader): elf binary data matches hex file
23:15:37.409 (loader): elf file is for Teensy 4.1 (IMXRT1062)
23:15:37.412 (loader): using hex file
23:15:37.451 (loader): begin operation
23:15:37.490 (loader): remote cmd from 704: "status"
23:15:37.495 (reboot 18): Status: 1, 1, 1, 6, 0, 1, C:\Users\per\AppData\Local\Temp\arduino-sketch-6717C3015F2FF1E337CF4409D3622858\, Blink100.ino.hex
23:15:37.501 (loader): flash, block=0, bs=1024, auto=1
23:15:37.506 (loader): flash, block=1, bs=1024, auto=1
23:15:37.511 (loader): flash, block=2, bs=1024, auto=1
23:15:37.681 (loader): remote cmd from 704: "status"
23:15:37.686 (loader): flash, block=3, bs=1024, auto=1
23:15:37.686 (reboot 18): Status: 1, 1, 1, 6, 0, 1, C:\Users\per\AppData\Local\Temp\arduino-sketch-6717C3015F2FF1E337CF4409D3622858\, Blink100.ino.hex
23:15:37.691 (loader): flash, block=4, bs=1024, auto=1
23:15:37.699 (loader): flash, block=5, bs=1024, auto=1
23:15:37.705 (loader): flash, block=6, bs=1024, auto=1
23:15:37.712 (loader): flash, block=7, bs=1024, auto=1
23:15:37.718 (loader): flash, block=8, bs=1024, auto=1
23:15:37.725 (loader): flash, block=9, bs=1024, auto=1
23:15:37.732 (loader): flash, block=10, bs=1024, auto=1
23:15:37.738 (loader): flash, block=11, bs=1024, auto=1
23:15:37.744 (loader): remote cmd from 704: "status"
23:15:37.749 (loader): flash, block=12, bs=1024, auto=1
23:15:37.749 (reboot 18): Status: 1, 1, 1, 6, 0, 1, C:\Users\per\AppData\Local\Temp\arduino-sketch-6717C3015F2FF1E337CF4409D3622858\, Blink100.ino.hex
23:15:37.755 (loader): flash, block=13, bs=1024, auto=1
23:15:37.763 (loader): flash, block=14, bs=1024, auto=1
23:15:37.769 (loader): flash, block=15, bs=1024, auto=1
23:15:37.776 (loader): flash, block=16, bs=1024, auto=1
23:15:37.783 (loader): flash, block=17, bs=1024, auto=1
23:15:37.789 (loader): flash, block=18, bs=1024, auto=1
23:15:37.795 (loader): flash, block=19, bs=1024, auto=1
23:15:37.802 (loader): flash, block=20, bs=1024, auto=1
23:15:37.809 (loader): remote cmd from 704: "status"
23:15:37.814 (loader): flash, block=21, bs=1024, auto=1
23:15:37.815 (reboot 18): Status: 1, 1, 1, 6, 0, 1, C:\Users\per\AppData\Local\Temp\arduino-sketch-6717C3015F2FF1E337CF4409D3622858\, Blink100.ino.hex
23:15:37.856 (loader): sending reboot
23:15:37.862 (loader): begin wait_until_offline
23:15:37.928 (loader): offline, waited 1
23:15:37.933 (loader): end operation, total time = 0.478 seconds
23:15:37.940 (loader): set background IMG_REBOOT_OK
23:15:37.950 (loader): redraw timer set, image 14 to show for 1200 ms
23:15:37.960 (loader): remote cmd from 704: "status"
23:15:37.968 (loader): HID/win32:  vid:046D pid:C52B ver:2410  usb:0/1A0000/0/1/5/1/1/4/6
23:15:37.978 (loader): HID/win32:  vid:046D pid:C52B ver:2410  usb:0/1A0000/0/1/5/1/1/4/6
23:15:37.985 (loader): HID/win32:  vid:046D pid:0AA7 ver:0031  usb:0/1A0000/0/1/5/1/4/1/4
23:15:37.994 (loader): HID/win32:  vid:04B4 pid:0101 ver:0001  usb:0/1A0000/0/1/5/1/2/3
23:15:38.002 (loader): HID/win32:  vid:046D pid:C52B ver:2410  usb:0/1A0000/0/1/5/1/1/4/6
23:15:38.011 (loader): HID/win32:  vid:046D pid:0AA7 ver:0031  usb:0/1A0000/0/1/5/1/4/1/4
23:15:38.019 (loader): HID/win32:  vid:046D pid:C52B ver:2410  usb:0/1A0000/0/1/5/1/1/4/5
23:15:38.027 (loader): HID/win32:  vid:046D pid:0AA7 ver:0031  usb:0/1A0000/0/1/5/1/4/1/4
23:15:38.034 (loader): HID/win32:  vid:046D pid:0AA7 ver:0031  usb:0/1A0000/0/1/5/1/4/1/4
23:15:38.042 (loader): HID/win32:  vid:046D pid:C52B ver:2410  usb:0/1A0000/0/1/5/1/1/4/5
23:15:38.050 (loader): HID/win32:  vid:046D pid:C52B ver:2410  usb:0/1A0000/0/1/5/1/1/4/5
23:15:38.058 (reboot 18): Status: 1, 1, 0, 6, 0, 0, C:\Users\per\AppData\Local\Temp\arduino-sketch-6717C3015F2FF1E337CF4409D3622858\, Blink100.ino.hex
23:15:38.058 (reboot 18): status read, retry 3
23:15:38.058 (reboot 18): Success
23:15:38.058 (reboot 18): Disconnect
23:15:38.092 (loader): remote connection 704 closed
23:15:38.101 (loader): remote connection 1532 closed
23:15:39.146 (loader): redraw, image 9

Now I run the same command except for the other:

Code:
$ "C:\Users\per\AppData\Local\Arduino15\packages\teensy\tools\teensy-tools\1.57.0/teensy_post_compile" "-file=Blink100.ino" "-path=C:\Users\per\AppData\Local\Temp\arduino-sketch-6717C3015F2FF1E337CF4409D3622858" "-tools=C:\Users\per\AppData\Local\Arduino15\packages\teensy\tools\teensy-tools\1.57.0" "-board=TEENSY41" -reboot "-port=usb:0/1A0000/0/1/5/1/1/3" "-portlabel={serial.port.label}" "-portprotocol={serial.port.protocol}" -v
Sending command: comment: Teensyduino 1.57 - WINDOWS (teensy_post_compile)
Sending command: dir:C:\Users\per\AppData\Local\Temp\arduino-sketch-6717C3015F2FF1E337CF4409D3622858\
Sending command: file:Blink100.ino.hex
location = usb:0/1A0000/0/1/5/1/1/3
portlabel = {serial.port.label}
portprotocol = {serial.port.protocol}
LoadLibrary cfgmgr32 ok
LoadLibrary ntdll ok
found_usb_device, id=\\?\usb#vid_16c0&pid_0483#8083720#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
found_usb_device, loc=usb:0/1A0000/0/1/5/1/1/3    Port_#0003.Hub_#0009
found_usb_device, hwid=USB\VID_16C0&PID_0483&REV_0280
found_usb_device, devinst=0000000a
add: loc=usb:0/1A0000/0/1/5/1/1/3, class=USB, vid=16C0, pid=0483, ver=0280, serial=8083720, dev=\\?\usb#vid_16c0&pid_0483#8083720#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
      0000000A, class=USB, id=USB\VID_16C0&PID_0483\8083720
        00000013, class=Ports, portname=COM39, id=USB\VID_16C0&PID_0483&MI_00\A&156F9E1A&1&0000
  comport_from_devinst_list attempt
  found Ports in classguid_list at index=1
  port COM39 found from devnode
found_usb_device complete
found_usb_device, id=\\?\usb#vid_16c0&pid_0483#8083700#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
found_usb_device, loc=usb:0/1A0000/0/1/5/1/1/1    Port_#0001.Hub_#0009
found_usb_device, hwid=USB\VID_16C0&PID_0483&REV_0280
found_usb_device, devinst=0000000b
add: loc=usb:0/1A0000/0/1/5/1/1/1, class=USB, vid=16C0, pid=0483, ver=0280, serial=8083700, dev=\\?\usb#vid_16c0&pid_0483#8083700#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
      0000000B, class=USB, id=USB\VID_16C0&PID_0483\8083700
        00000014, class=Ports, portname=COM48, id=USB\VID_16C0&PID_0483&MI_00\A&9ADBE26&0&0000
  comport_from_devinst_list attempt
  found Ports in classguid_list at index=1
  port COM48 found from devnode
found_usb_device complete
usb scan found 2 devices
Found 2 Teensy boards, but using auto-search to find board for upload.
Please use Tools > Ports(Teensy) to select the specific board.
found Teensy Loader, version 1.57
Sending command: show:arduino_attempt_reboot
Sending command: comment: Teensyduino 1.57 - WINDOWS (teensy_reboot)
do_reset (serial) COM48
status read, retry 0
status read, retry 1
status read, retry 2
status read, retry 3
Success

Code:
23:17:49.077 (post_compile 22): Begin, version=1.57, high-res time
23:17:49.078 (loader): remote connection 1320 opened
23:17:49.080 (loader): remote cmd from 1320: "comment: Teensyduino 1.57 - WINDOWS (teensy_post_compile)"
23:17:49.080 (post_compile 22): Sending command: comment: Teensyduino 1.57 - WINDOWS (teensy_post_compile)
23:17:49.081 (loader): remote cmd from 1320: "status"
23:17:49.121 (post_compile 22): Status: 1, 1, 0, 7, 0, 0, C:\Users\per\AppData\Local\Temp\arduino-sketch-C07FAAEDE731D2E852502627A5AC8813\, Blink1000.ino.hex
23:17:49.122 (post_compile 22): Sending command: dir:C:\Users\per\AppData\Local\Temp\arduino-sketch-6717C3015F2FF1E337CF4409D3622858\
23:17:49.130 (loader): remote cmd from 1320: "dir:C:\Users\per\AppData\Local\Temp\arduino-sketch-6717C3015F2FF1E337CF4409D3622858\"
23:17:49.132 (post_compile 22): Sending command: file:Blink100.ino.hex
23:17:49.132 (loader): remote cmd from 1320: "file:Blink100.ino.hex"
23:17:49.141 (loader): File "C:\Users\per\AppData\Local\Temp\arduino-sketch-6717C3015F2FF1E337CF4409D3622858\Blink100.ino.hex", 22528 bytes
23:17:49.143 (loader): File "Blink100.ino.hex". 22528 bytes
23:17:49.149 (loader): remote cmd from 1320: "status"
23:17:49.159 (post_compile 22): Status: 1, 1, 0, 7, 0, 0, C:\Users\per\AppData\Local\Temp\arduino-sketch-6717C3015F2FF1E337CF4409D3622858\, Blink100.ino.hex
23:17:49.159 (post_compile 22): Disconnect
23:17:49.182 (loader): remote connection 1320 closed
23:17:49.182 (post_compile 23): Running teensy_reboot: "C:\Users\per\AppData\Local\Arduino15\packages\teensy\tools\teensy-tools\1.57.0\teensy_reboot.exe" teensy_reboot.exe -v "-board=TEENSY41" "-port=usb:0/1A0000/0/1/5/1/1/3" "-portlabel={serial.port.label}" "-portprotocol={serial.port.protocol}"
23:17:49.185 (loader): remote connection 1320 opened
23:17:49.201 (reboot 24): Begin, version=1.57, high-res time
23:17:49.201 (reboot 24): location = usb:0/1A0000/0/1/5/1/1/3
23:17:49.201 (reboot 24): portlabel = {serial.port.label}
23:17:49.201 (reboot 24): portprotocol = {serial.port.protocol}
23:17:49.201 (reboot 24): LoadLibrary cfgmgr32 ok
23:17:49.201 (reboot 24): LoadLibrary ntdll ok
23:17:49.203 (reboot 24): found_usb_device, id=\\?\usb#vid_16c0&pid_0483#8083720#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
23:17:49.203 (reboot 24): found_usb_device, loc=usb:0/1A0000/0/1/5/1/1/3    Port_#0003.Hub_#0009
23:17:49.203 (reboot 24): found_usb_device, hwid=USB\VID_16C0&PID_0483&REV_0280
23:17:49.203 (reboot 24): found_usb_device, devinst=0000000a
23:17:49.203 (reboot 24): add: loc=usb:0/1A0000/0/1/5/1/1/3, class=USB, vid=16C0, pid=0483, ver=0280, serial=8083720, dev=\\?\usb#vid_16c0&pid_0483#8083720#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
23:17:49.203 (reboot 24):   comport_from_devinst_list attempt
23:17:49.203 (reboot 24):   found Ports in classguid_list at index=1
23:17:49.203 (reboot 24):   port COM39 found from devnode
23:17:49.203 (reboot 24): found_usb_device complete
23:17:49.204 (reboot 24): found_usb_device, id=\\?\usb#vid_16c0&pid_0483#8083700#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
23:17:49.204 (reboot 24): found_usb_device, loc=usb:0/1A0000/0/1/5/1/1/1    Port_#0001.Hub_#0009
23:17:49.204 (reboot 24): found_usb_device, hwid=USB\VID_16C0&PID_0483&REV_0280
23:17:49.204 (reboot 24): found_usb_device, devinst=0000000b
23:17:49.204 (reboot 24): add: loc=usb:0/1A0000/0/1/5/1/1/1, class=USB, vid=16C0, pid=0483, ver=0280, serial=8083700, dev=\\?\usb#vid_16c0&pid_0483#8083700#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
23:17:49.204 (reboot 24):   comport_from_devinst_list attempt
23:17:49.204 (reboot 24):   found Ports in classguid_list at index=1
23:17:49.204 (reboot 24):   port COM48 found from devnode
23:17:49.204 (reboot 24): found_usb_device complete
23:17:49.207 (reboot 24): usb scan found 2 devices
23:17:49.210 (loader): remote connection 1372 opened
23:17:49.212 (loader): remote cmd from 1372: "show:arduino_attempt_reboot"
23:17:49.212 (reboot 24): found Teensy Loader, version 1.57
23:17:49.212 (reboot 24): Sending command: show:arduino_attempt_reboot
23:17:49.214 (loader): got request to show arduino rebooting message
23:17:49.219 (loader): remote cmd from 1372: "comment: Teensyduino 1.57 - WINDOWS (teensy_reboot)"
23:17:49.219 (reboot 24): Sending command: comment: Teensyduino 1.57 - WINDOWS (teensy_reboot)
23:17:49.222 (loader): remote cmd from 1372: "status"
23:17:49.231 (reboot 24): Status: 1, 1, 0, 7, 0, 0, C:\Users\per\AppData\Local\Temp\arduino-sketch-6717C3015F2FF1E337CF4409D3622858\, Blink100.ino.hex
23:17:49.231 (reboot 24): do_reset (serial) COM48
23:17:49.256 (loader): remote cmd from 1372: "status"
23:17:49.265 (reboot 24): Status: 1, 1, 0, 7, 0, 0, C:\Users\per\AppData\Local\Temp\arduino-sketch-6717C3015F2FF1E337CF4409D3622858\, Blink100.ino.hex
23:17:49.265 (reboot 24): status read, retry 0
23:17:49.367 (loader): remote cmd from 1372: "status"
23:17:49.376 (reboot 24): Status: 1, 1, 0, 7, 0, 0, C:\Users\per\AppData\Local\Temp\arduino-sketch-6717C3015F2FF1E337CF4409D3622858\, Blink100.ino.hex
23:17:49.376 (reboot 24): status read, retry 1
23:17:49.491 (loader): remote cmd from 1372: "status"
23:17:49.501 (reboot 24): Status: 1, 1, 0, 7, 0, 0, C:\Users\per\AppData\Local\Temp\arduino-sketch-6717C3015F2FF1E337CF4409D3622858\, Blink100.ino.hex
23:17:49.501 (reboot 24): status read, retry 2
23:17:49.611 (loader): secure mode can not be locked: this is Standard Teensy
23:17:49.614 (loader): encryption is possible on this Teensy, but not yet configured
23:17:49.617 (loader): but without secure mode locked, encryption will NOT be secure!
23:17:49.620 (loader): Device came online, code_size = 8126464
23:17:49.623 (loader): Board is: Teensy 4.1 (IMXRT1062), version 1.07
23:17:49.635 (loader): File "C:\Users\per\AppData\Local\Temp\arduino-sketch-6717C3015F2FF1E337CF4409D3622858\Blink100.ino.hex", 22528 bytes
23:17:49.638 (loader): File "Blink100.ino.hex". 22528 bytes, 0% used
23:17:49.673 (loader): set background IMG_ONLINE
23:17:49.686 (loader): File "C:\Users\per\AppData\Local\Temp\arduino-sketch-6717C3015F2FF1E337CF4409D3622858\Blink100.ino.hex", 22528 bytes
23:17:49.690 (loader): File "Blink100.ino.hex". 22528 bytes, 0% used
23:17:49.724 (loader): elf appears to be for Teensy 4.1 (IMXRT1062) (8126464 bytes)
23:17:49.728 (loader): elf binary data matches hex file
23:17:49.731 (loader): elf file is for Teensy 4.1 (IMXRT1062)
23:17:49.735 (loader): using hex file
23:17:49.767 (loader): begin operation
23:17:49.806 (loader): remote cmd from 1372: "status"
23:17:49.812 (reboot 24): Status: 1, 1, 1, 8, 0, 1, C:\Users\per\AppData\Local\Temp\arduino-sketch-6717C3015F2FF1E337CF4409D3622858\, Blink100.ino.hex
23:17:49.819 (loader): flash, block=0, bs=1024, auto=1
23:17:49.824 (loader): flash, block=1, bs=1024, auto=1
23:17:49.830 (loader): flash, block=2, bs=1024, auto=1
23:17:50.028 (loader): remote cmd from 1372: "status"
23:17:50.038 (loader): flash, block=3, bs=1024, auto=1
23:17:50.038 (reboot 24): Status: 1, 1, 1, 8, 0, 1, C:\Users\per\AppData\Local\Temp\arduino-sketch-6717C3015F2FF1E337CF4409D3622858\, Blink100.ino.hex
23:17:50.048 (loader): flash, block=4, bs=1024, auto=1
23:17:50.056 (loader): flash, block=5, bs=1024, auto=1
23:17:50.062 (loader): flash, block=6, bs=1024, auto=1
23:17:50.067 (loader): flash, block=7, bs=1024, auto=1
23:17:50.074 (loader): flash, block=8, bs=1024, auto=1
23:17:50.081 (loader): flash, block=9, bs=1024, auto=1
23:17:50.087 (loader): flash, block=10, bs=1024, auto=1
23:17:50.093 (loader): flash, block=11, bs=1024, auto=1
23:17:50.098 (loader): flash, block=12, bs=1024, auto=1
23:17:50.104 (loader): remote cmd from 1372: "status"
23:17:50.110 (reboot 24): Status: 1, 1, 1, 8, 0, 1, C:\Users\per\AppData\Local\Temp\arduino-sketch-6717C3015F2FF1E337CF4409D3622858\, Blink100.ino.hex
23:17:50.110 (loader): flash, block=13, bs=1024, auto=1
23:17:50.116 (loader): flash, block=14, bs=1024, auto=1
23:17:50.123 (loader): flash, block=15, bs=1024, auto=1
23:17:50.129 (loader): flash, block=16, bs=1024, auto=1
23:17:50.137 (loader): flash, block=17, bs=1024, auto=1
23:17:50.143 (loader): flash, block=18, bs=1024, auto=1
23:17:50.150 (loader): flash, block=19, bs=1024, auto=1
23:17:50.157 (loader): flash, block=20, bs=1024, auto=1
23:17:50.163 (loader): flash, block=21, bs=1024, auto=1
23:17:50.170 (loader): remote cmd from 1372: "status"
23:17:50.176 (reboot 24): Status: 1, 1, 1, 8, 0, 1, C:\Users\per\AppData\Local\Temp\arduino-sketch-6717C3015F2FF1E337CF4409D3622858\, Blink100.ino.hex
23:17:50.205 (loader): sending reboot
23:17:50.212 (loader): begin wait_until_offline
23:17:50.276 (loader): offline, waited 1
23:17:50.281 (loader): end operation, total time = 0.510 seconds
23:17:50.287 (loader): set background IMG_REBOOT_OK
23:17:50.299 (loader): redraw timer set, image 14 to show for 1200 ms
23:17:50.309 (loader): remote cmd from 1372: "status"
23:17:50.317 (loader): HID/win32:  vid:046D pid:C52B ver:2410  usb:0/1A0000/0/1/5/1/1/4/6
23:17:50.326 (loader): HID/win32:  vid:046D pid:C52B ver:2410  usb:0/1A0000/0/1/5/1/1/4/6
23:17:50.334 (loader): HID/win32:  vid:046D pid:0AA7 ver:0031  usb:0/1A0000/0/1/5/1/4/1/4
23:17:50.342 (loader): HID/win32:  vid:04B4 pid:0101 ver:0001  usb:0/1A0000/0/1/5/1/2/3
23:17:50.350 (loader): HID/win32:  vid:046D pid:C52B ver:2410  usb:0/1A0000/0/1/5/1/1/4/6
23:17:50.359 (loader): HID/win32:  vid:046D pid:0AA7 ver:0031  usb:0/1A0000/0/1/5/1/4/1/4
23:17:50.367 (loader): HID/win32:  vid:046D pid:C52B ver:2410  usb:0/1A0000/0/1/5/1/1/4/5
23:17:50.377 (loader): HID/win32:  vid:046D pid:0AA7 ver:0031  usb:0/1A0000/0/1/5/1/4/1/4
23:17:50.385 (loader): HID/win32:  vid:046D pid:0AA7 ver:0031  usb:0/1A0000/0/1/5/1/4/1/4
23:17:50.425 (loader): HID/win32:  vid:046D pid:C52B ver:2410  usb:0/1A0000/0/1/5/1/1/4/5
23:17:50.439 (loader): HID/win32:  vid:046D pid:C52B ver:2410  usb:0/1A0000/0/1/5/1/1/4/5
23:17:50.448 (reboot 24): Status: 1, 1, 0, 8, 0, 0, C:\Users\per\AppData\Local\Temp\arduino-sketch-6717C3015F2FF1E337CF4409D3622858\, Blink100.ino.hex
23:17:50.448 (reboot 24): status read, retry 3
23:17:50.448 (reboot 24): Success
23:17:50.448 (reboot 24): Disconnect
23:17:50.482 (loader): remote connection 1372 closed
23:17:50.500 (loader): remote connection 1320 closed
23:17:51.492 (loader): redraw, image 9

In both cases, the upload was done to the board at usb:0/1A0000/0/1/5/1/1/1 I can only make it upload to the board at usb:0/1A0000/0/1/5/1/1/3 by unplugging the other board.
 
Good work @PerT - seems to point to PJRC tool issue, here too.

Seeing similar results with Two T_4.1's online and these two lines in a Win 11 PowerShell cmd window. Both T_4.1's are on the same hub:
Code:
C:\Users\Tim\AppData\Local\Arduino15\packages\teensy\tools\teensy-tools\1.58.0-beta2>"C:\Users\Tim\AppData\Local\Arduino15\packages\teensy\tools\teensy-tools\1.58.0-beta2/teensy_post_compile" "-file=T4MemInfo.ino" "-path=C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B" "-tools=C:\Users\Tim\AppData\Local\Arduino15\packages\teensy\tools\teensy-tools\1.58.0-beta2" "-board=TEENSY41" -reboot "-port=usb:[B][COLOR="#FF0000"]0/140000/0/6/1/4[/COLOR][/B]" "-portlabel={serial.port.label}" "-portprotocol={serial.port.protocol}"
[B]Found 2 Teensy boards, but using auto-search to find board for upload.[/B]
Please use Tools > Ports(Teensy) to select the specific board.

C:\Users\Tim\AppData\Local\Arduino15\packages\teensy\tools\teensy-tools\1.58.0-beta2>"C:\Users\Tim\AppData\Local\Arduino15\packages\teensy\tools\teensy-tools\1.58.0-beta2/teensy_post_compile" "-file=T4MemInfo.ino" "-path=C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B" "-tools=C:\Users\Tim\AppData\Local\Arduino15\packages\teensy\tools\teensy-tools\1.58.0-beta2" "-board=TEENSY41" -reboot "-port=usb:[B][COLOR="#FF0000"]0/140000/0/6/1/3"[/COLOR][/B] "-portlabel={serial.port.label}" "-portprotocol={serial.port.protocol}"
[B]Found 2 Teensy boards, but using auto-search to find board for upload.[/B]
Please use Tools > Ports(Teensy) to select the specific board.

Except BOTH show "Found 2 ..."

Here is the Verbose Log - too large so ZIP'd: View attachment LogOnlyOne.zip
These numbers don't match?
Code:
00:11:54.134 (loader): HID/win32:  vid:046D pid:C52B ver:1211  usb:0/140000/0/9/4/2/4
00:11:54.142 (loader): HID/win32:  vid:046D pid:C52B ver:1211  usb:0/140000/0/9/4/2/4
00:11:54.152 (loader): HID/win32:  vid:046D pid:C52B ver:1211  usb:0/140000/0/9/4/2/4
00:11:54.163 (loader): HID/win32:  vid:046D pid:C52B ver:1211  usb:0/140000/0/9/4/2/3
00:11:54.171 (loader): HID/win32:  vid:046D pid:C52B ver:1211  usb:0/140000/0/9/4/2/4
00:11:54.177 (loader): HID/win32:  vid:046D pid:C52B ver:1211  usb:0/140000/0/9/4/2/3
00:11:54.189 (loader): HID/win32:  vid:046D pid:C52B ver:1211  usb:0/140000/0/9/4/2/3
00:11:54.198 (loader): HID/win32:  vid:046D pid:C52B ver:1211  usb:0/140000/0/9/4/2/4


And BOTH above lines {/3 and /4} result in the same T_4.1 being programmed: 0/140000/0/6/1/4

Even if 0/140000/0/6/1/3 is powered down the /4 unit is programmed with BOTH lines - without notice that the specified /3 unit is not present.

AND: if /4 is powered down - BOTH lines then upload to the /3 unit - without notice that the specified /4 unit is not present.

Powering /4 back up with /3 also powered then it again only programs /4

Confirmed back in IDE 2 - with BOTH /3 and /4 online and selected in turn that upload only goes to the /4 T_4.1.

In case it shows anything, here are the final lines from IDE 2.0, where the above was copied from:
Code:
 ...
"C:\\Users\\Tim\\AppData\\Local\\Arduino15\\packages\\teensy\\tools\\teensy-tools\\1.58.0-beta2/teensy_secure" encrypthex TEENSY41 "C:\\Users\\Tim\\AppData\\Local\\Temp\\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B/T4MemInfo.ino.hex"
encrypting 47104 bytes to C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B/T4MemInfo.ino.ehex
"C:\\Users\\Tim\\AppData\\Local\\Arduino15\\packages\\teensy\\tools\\teensy-tools\\1.58.0-beta2/teensy_post_compile" -file=T4MemInfo.ino "-path=C:\\Users\\Tim\\AppData\\Local\\Temp\\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B" "-tools=C:\\Users\\Tim\\AppData\\Local\\Arduino15\\packages\\teensy\\tools\\teensy-tools\\1.58.0-beta2/" -board=TEENSY41
"C:\\Users\\Tim\\AppData\\Local\\Arduino15\\packages\\teensy\\tools\\teensy-tools\\1.58.0-beta2/stdout_redirect" "C:\\Users\\Tim\\AppData\\Local\\Temp\\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B/T4MemInfo.ino.sym" "C:\\Users\\Tim\\AppData\\Local\\Arduino15\\packages\\teensy\\tools\\teensy-compile\\11.3.1-beta1/arm/bin/arm-none-eabi-objdump" -t -C "C:\\Users\\Tim\\AppData\\Local\\Temp\\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B/T4MemInfo.ino.elf"
"C:\\Users\\Tim\\AppData\\Local\\Arduino15\\packages\\teensy\\tools\\teensy-tools\\1.58.0-beta2/teensy_size" "C:\\Users\\Tim\\AppData\\Local\\Temp\\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B/T4MemInfo.ino.elf"
Memory Usage on Teensy 4.1:
  FLASH: code:38684, data:8088, headers:8520   free for files:8071172
   RAM1: variables:8992, code:33760, padding:31776   free for local variables:449760
   RAM2: variables:12384  free for malloc/new:511904
"C:\\Users\\Tim\\AppData\\Local\\Arduino15\\packages\\teensy\\tools\\teensy-tools\\1.58.0-beta2/stdout_redirect" "C:\\Users\\Tim\\AppData\\Local\\Temp\\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B/T4MemInfo.ino.lst" "C:\\Users\\Tim\\AppData\\Local\\Arduino15\\packages\\teensy\\tools\\teensy-compile\\11.3.1-beta1/arm/bin/arm-none-eabi-objdump" -d -S -C "C:\\Users\\Tim\\AppData\\Local\\Temp\\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B/T4MemInfo.ino.elf"

"C:\Users\Tim\AppData\Local\Arduino15\packages\teensy\tools\teensy-tools\1.58.0-beta2/teensy_post_compile" "-file=T4MemInfo.ino" "-path=C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B" "-tools=C:\Users\Tim\AppData\Local\Arduino15\packages\teensy\tools\teensy-tools\1.58.0-beta2" "-board=TEENSY41" -reboot "-[B][COLOR="#FF0000"]port=usb:0/140000/0/6/1/4"[/COLOR][/B] "-portlabel={serial.port.label}" "-portprotocol={serial.port.protocol}"
Found 2 Teensy boards, but using auto-search to find board for upload.
Please use Tools > Ports(Teensy) to select the specific board.

Code:
"C:\\Users\\Tim\\AppData\\Local\\Arduino15\\packages\\teensy\\tools\\teensy-tools\\1.58.0-beta2/teensy_secure" encrypthex TEENSY41 "C:\\Users\\Tim\\AppData\\Local\\Temp\\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B/T4MemInfo.ino.hex"
encrypting 47104 bytes to C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B/T4MemInfo.ino.ehex
"C:\\Users\\Tim\\AppData\\Local\\Arduino15\\packages\\teensy\\tools\\teensy-tools\\1.58.0-beta2/teensy_post_compile" -file=T4MemInfo.ino "-path=C:\\Users\\Tim\\AppData\\Local\\Temp\\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B" "-tools=C:\\Users\\Tim\\AppData\\Local\\Arduino15\\packages\\teensy\\tools\\teensy-tools\\1.58.0-beta2/" -board=TEENSY41
"C:\\Users\\Tim\\AppData\\Local\\Arduino15\\packages\\teensy\\tools\\teensy-tools\\1.58.0-beta2/stdout_redirect" "C:\\Users\\Tim\\AppData\\Local\\Temp\\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B/T4MemInfo.ino.sym" "C:\\Users\\Tim\\AppData\\Local\\Arduino15\\packages\\teensy\\tools\\teensy-compile\\11.3.1-beta1/arm/bin/arm-none-eabi-objdump" -t -C "C:\\Users\\Tim\\AppData\\Local\\Temp\\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B/T4MemInfo.ino.elf"
"C:\\Users\\Tim\\AppData\\Local\\Arduino15\\packages\\teensy\\tools\\teensy-tools\\1.58.0-beta2/teensy_size" "C:\\Users\\Tim\\AppData\\Local\\Temp\\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B/T4MemInfo.ino.elf"
Memory Usage on Teensy 4.1:
  FLASH: code:38684, data:8088, headers:8520   free for files:8071172
   RAM1: variables:8992, code:33760, padding:31776   free for local variables:449760
   RAM2: variables:12384  free for malloc/new:511904
"C:\\Users\\Tim\\AppData\\Local\\Arduino15\\packages\\teensy\\tools\\teensy-tools\\1.58.0-beta2/stdout_redirect" "C:\\Users\\Tim\\AppData\\Local\\Temp\\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B/T4MemInfo.ino.lst" "C:\\Users\\Tim\\AppData\\Local\\Arduino15\\packages\\teensy\\tools\\teensy-compile\\11.3.1-beta1/arm/bin/arm-none-eabi-objdump" -d -S -C "C:\\Users\\Tim\\AppData\\Local\\Temp\\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B/T4MemInfo.ino.elf"

"C:\Users\Tim\AppData\Local\Arduino15\packages\teensy\tools\teensy-tools\1.58.0-beta2/teensy_post_compile" "-file=T4MemInfo.ino" "-path=C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B" "-tools=C:\Users\Tim\AppData\Local\Arduino15\packages\teensy\tools\teensy-tools\1.58.0-beta2" "-board=TEENSY41" -reboot "-[B][COLOR="#FF0000"]port=usb:0/140000/0/6/1/3"[/COLOR][/B] "-portlabel={serial.port.label}" "-portprotocol={serial.port.protocol}"
Found 2 Teensy boards, but using auto-search to find board for upload.
Please use Tools > Ports(Teensy) to select the specific board.

Moving the /3 unit off the common hub to a PC front port /8- gives same results with upload to /4 {BOTH IDE 2 and cmdline}:
Code:
"C:\Users\Tim\AppData\Local\Arduino15\packages\teensy\tools\teensy-tools\1.58.0-beta2/teensy_post_compile" "-file=T4MemInfo.ino" "-path=C:\Users\Tim\AppData\Local\Temp\arduino-sketch-980FD12D486BD1719B2CF41CF73CCE9B" "-tools=C:\Users\Tim\AppData\Local\Arduino15\packages\teensy\tools\teensy-tools\1.58.0-beta2" "-board=TEENSY41" -reboot "-[B][COLOR="#FF0000"]port=usb:0/140000/0/8"[/COLOR][/B] "-portlabel={serial.port.label}" "-portprotocol={serial.port.protocol}"
 
Last edited:
Have you found the solution? I have 2 teensy board, connected to PC in same time and the same problem((

2 Teensy online and the right one not getting programmed? More details might help figure out the issue. What is each Teensy. Does the Teensy Loader Verbose indicate the same USB port /# confusion?

No FIX solution seen yet with this rare case.

Workaround here is to use TyCommander Serial Monitor to intervene - Beta 3 thread has notes in this p#53: pjrc.com/threads/71693-Teensyduino-1-58-Beta-3
 
2 Teensy online and the right one not getting programmed?
Yes, one is T3.5 and other T4.1.
In my case it happens like this:
T4.1 is in bootloader mode, and i want to upload to T3.5. In board menu i choose right board and port.
изображение_2023-02-15_1451217.png
I want to upload, but it is not possible, i have always error, that compiled file is for T3.5, but connected board is T4.1
изображение_2023-02-15_1456430.png

Here is verbose output from loader
Code:
14:47:27.578 (post_compile 17): Begin, version=1.57, high-res time
14:47:27.579 (loader): remote connection 1528 opened
14:47:27.580 (loader): remote cmd from 1528: "comment: Teensyduino 1.57 - WINDOWS (teensy_post_compile)"
14:47:27.581 (post_compile 17): ARDUINO_USER_AGENT = "arduino-cli/0.29.0 arduino-ide/2.0.3 grpc-node-js/1.6.8"
14:47:27.581 (post_compile 17): Sending command: comment: Teensyduino 1.57 - WINDOWS (teensy_post_compile)
14:47:27.583 (loader): remote cmd from 1528: "status"
14:47:27.584 (loader): file changed
14:47:27.657 (loader): File "C:\Users\gonzales\AppData\Local\Temp\arduino-sketch-874CC91F9E80627DC630898A39899371\Master_v2.9.ino.hex", 406716 bytes
14:47:27.659 (loader): File "Master_v2.9.ino.hex". 406716 bytes, 5% used
14:47:27.687 (loader): remote cmd from 1528: "dir:C:\Users\gonzales\AppData\Local\Temp\arduino-sketch-874CC91F9E80627DC630898A39899371\"
14:47:27.687 (loader): remote cmd from 1528: "file:Master_v2.9.ino.hex"
14:47:27.687 (post_compile 17): Status: 1, 0, 1, 4, 0, 0, C:\Users\gonzales\AppData\Local\Temp\arduino-sketch-874CC91F9E80627DC630898A39899371\, Master_v2.9.ino.hex
14:47:27.687 (post_compile 17): Sending command: dir:C:\Users\gonzales\AppData\Local\Temp\arduino-sketch-874CC91F9E80627DC630898A39899371\
14:47:27.690 (post_compile 17): Sending command: file:Master_v2.9.ino.hex
14:47:27.755 (loader): File "C:\Users\gonzales\AppData\Local\Temp\arduino-sketch-874CC91F9E80627DC630898A39899371\Master_v2.9.ino.hex", 406716 bytes
14:47:27.757 (loader): File "Master_v2.9.ino.hex". 406716 bytes, 5% used
14:47:27.787 (loader): remote cmd from 1528: "status"
14:47:27.790 (post_compile 17): Status: 1, 0, 1, 4, 0, 0, C:\Users\gonzales\AppData\Local\Temp\arduino-sketch-874CC91F9E80627DC630898A39899371\, Master_v2.9.ino.hex
14:47:27.790 (post_compile 17): Disconnect
14:47:27.817 (loader): remote connection 1528 closed
14:47:28.234 (post_compile 18): Begin, version=1.57, high-res time
14:47:28.235 (loader): remote connection 1488 opened
14:47:28.237 (loader): remote cmd from 1488: "comment: Teensyduino 1.57 - WINDOWS (teensy_post_compile)"
14:47:28.238 (post_compile 18): ARDUINO_USER_AGENT = "arduino-cli/0.29.0 arduino-ide/2.0.3 grpc-node-js/1.6.8"
14:47:28.238 (post_compile 18): Sending command: comment: Teensyduino 1.57 - WINDOWS (teensy_post_compile)
14:47:28.239 (loader): remote cmd from 1488: "status"
14:47:28.242 (post_compile 18): Status: 1, 0, 1, 4, 0, 0, C:\Users\gonzales\AppData\Local\Temp\arduino-sketch-874CC91F9E80627DC630898A39899371\, Master_v2.9.ino.hex
14:47:28.242 (post_compile 18): Sending command: dir:C:\Users\gonzales\AppData\Local\Temp\arduino-sketch-874CC91F9E80627DC630898A39899371\
14:47:28.242 (loader): remote cmd from 1488: "dir:C:\Users\gonzales\AppData\Local\Temp\arduino-sketch-874CC91F9E80627DC630898A39899371\"
14:47:28.244 (loader): remote cmd from 1488: "file:Master_v2.9.ino.hex"
14:47:28.244 (post_compile 18): Sending command: file:Master_v2.9.ino.hex
14:47:28.320 (loader): File "C:\Users\gonzales\AppData\Local\Temp\arduino-sketch-874CC91F9E80627DC630898A39899371\Master_v2.9.ino.hex", 406716 bytes
14:47:28.324 (loader): File "Master_v2.9.ino.hex". 406716 bytes, 5% used
14:47:28.344 (loader): remote cmd from 1488: "status"
14:47:28.355 (post_compile 18): Status: 1, 0, 1, 4, 0, 0, C:\Users\gonzales\AppData\Local\Temp\arduino-sketch-874CC91F9E80627DC630898A39899371\, Master_v2.9.ino.hex
14:47:28.355 (post_compile 18): Disconnect
14:47:28.380 (loader): remote connection 1488 closed
14:47:28.380 (post_compile 19): Running teensy_reboot: "C:\Users\gonzales\AppData\Local\Arduino15\packages\teensy\tools\teensy-tools\1.57.2\teensy_reboot.exe" teensy_reboot.exe "-board=TEENSY35_V6" "-port=usb:10003/0/0/5/4" "-portlabel={serial.port.label}" "-portprotocol={serial.port.protocol}"
14:47:28.384 (loader): remote connection 1488 opened
14:47:28.397 (reboot 20): Begin, version=1.57, high-res time
14:47:28.397 (reboot 20): location = usb:10003/0/0/5/4
14:47:28.397 (reboot 20): portlabel = {serial.port.label}
14:47:28.397 (reboot 20): portprotocol = {serial.port.protocol}
14:47:28.397 (reboot 20): LoadLibrary cfgmgr32 ok
14:47:28.397 (reboot 20): LoadLibrary ntdll ok
14:47:28.399 (reboot 20): found_usb_device, id=\\?\usb#vid_16c0&pid_0483#11068960#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
14:47:28.399 (reboot 20): found_usb_device, loc=usb:10003/0/0/5/4    Port_#0004.Hub_#0003
14:47:28.399 (reboot 20): found_usb_device, devinst=00000001
14:47:28.399 (reboot 20): found_usb_device, hwid=USB\VID_16C0&PID_0483&REV_0276
14:47:28.399 (reboot 20): add: loc=usb:10003/0/0/5/4, class=Ports, vid=16C0, pid=0483, ver=0276, serial=11068960, dev=\\?\usb#vid_16c0&pid_0483#11068960#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
14:47:28.399 (reboot 20):   comport_from_devinst_list attempt
14:47:28.399 (reboot 20):   found Ports in classguid_list at index=0
14:47:28.399 (reboot 20):   port COM5 found from devnode
14:47:28.399 (reboot 20): found_usb_device complete
14:47:28.399 (reboot 20): found_usb_device, id=\\?\usb#vid_16c0&pid_0478#0011dba4#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
14:47:28.399 (reboot 20): found_usb_device, loc=usb:80001/3/0/1/1    Port_#0001.Hub_#0007
14:47:28.399 (reboot 20): found_usb_device, hwid=USB\VID_16C0&PID_0478&REV_0107
14:47:28.399 (reboot 20): found_usb_device, devinst=00000005
14:47:28.399 (reboot 20): add: loc=usb:80001/3/0/1/1, class=HID, vid=16C0, pid=0478, ver=0107, serial=0011dba4, dev=\\?\usb#vid_16c0&pid_0478#0011dba4#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
14:47:28.399 (reboot 20): hiddev_from_devinst_list: iface=0
14:47:28.400 (loader): remote connection 1504 opened
14:47:28.400 (reboot 20): found_usb_device complete
14:47:28.401 (reboot 20): hid, found devinst=0000000E
14:47:28.401 (reboot 20): usb scan found 2 devices
14:47:28.406 (loader): remote cmd from 1504: "show:arduino_attempt_reboot"
14:47:28.407 (reboot 20): found Teensy Loader, version 1.57
14:47:28.407 (reboot 20): Sending command: show:arduino_attempt_reboot
14:47:28.410 (loader): got request to show arduino rebooting message
14:47:28.410 (loader): remote cmd from 1504: "comment: Teensyduino 1.57 - WINDOWS (teensy_reboot)"
14:47:28.418 (reboot 20): Sending command: comment: Teensyduino 1.57 - WINDOWS (teensy_reboot)
14:47:28.423 (loader): remote cmd from 1504: "status"
14:47:28.424 (loader): remote cmd from 1504: "auto:on"
14:47:28.427 (reboot 20): Status: 1, 0, 1, 4, 0, 0, C:\Users\gonzales\AppData\Local\Temp\arduino-sketch-874CC91F9E80627DC630898A39899371\, Master_v2.9.ino.hex
14:47:28.427 (reboot 20): send: auto:on
14:47:28.427 (reboot 20): Sending command: auto:on
14:47:28.433 (reboot 20): Disconnect
14:47:28.505 (loader): File "C:\Users\gonzales\AppData\Local\Temp\arduino-sketch-874CC91F9E80627DC630898A39899371\Master_v2.9.ino.hex", 406716 bytes
14:47:28.512 (loader): File "Master_v2.9.ino.hex". 406716 bytes, 5% used
14:47:28.547 (loader): elf appears to be for Teensy 3.5 (MK64FX512) (524288 bytes)
14:47:28.554 (loader): elf binary data matches hex file
14:47:28.560 (loader): elf file is for Teensy 3.5 (MK64FX512)
14:47:28.563 (loader): Incompatible file, showing warning dialog
14:47:28.604 (loader): remote connection 1504 closed
14:47:28.604 (loader): remote connection 1488 closed
 
Yes, one is T3.5 and other T4.1.
In my case it happens like this:
T4.1 is in bootloader mode, and i want to upload to T3.5. In board menu i choose right board and port.
View attachment 30394
I want to upload, but it is not possible, i have always error, that compiled file is for T3.5, but connected board is T4.1
...

To clarify: Neither board was in bootloader when the Build and Upload was started?

If any board is Already in Bootloader then that is the one that Teensy Loader will see.
 
Back
Top