Hi,

I have had a teensy 3.5 sitting on my desk for a long time acting as a mini keyboard for performing custom keyboard action.

Today it just gave up, I am trying to reprogram it, using both platform IO and Arduino IDE but they are both failing with the same error message:

HTML Code:
error sending reboot command (HID)
Teensy did not respond to a USB-based request to enter program mode.
Please press the PROGRAM MODE BUTTON on your Teensy to upload your sketch.
Needles to say nothing happens even if I press the reset button.

Below you can find the verbose information from teensy loader.

Any help is appreciated.

HTML Code:
12:09:38.454 (loader): Verbose Info event
12:10:07.121 (loader): file changed
12:10:07.143 (loader): File "sketch_apr10a.ino.hex". 29524 bytes, 6% used
12:10:07.234 (post_compile 9): Begin, version=1.45, high-res time
12:10:07.240 (loader): remote connection 1688 opened
12:10:07.249 (loader): remote cmd from 1688: "comment: Teensyduino 1.45 - WINDOWS (teensy_post_compile)"
12:10:07.249 (post_compile 9): Sending command: comment: Teensyduino 1.45 - WINDOWS (teensy_post_compile)
12:10:07.258 (loader): remote cmd from 1688: "status"
12:10:07.273 (loader): remote cmd from 1688: "dir:C:\Users\xxxxxxxxx\AppData\Local\Temp\arduino_build_312066\"
12:10:07.273 (post_compile 9): Status: 1, 1, 0, 0, 0, 0, C:\Users\xxxxxxxxx\AppData\Local\Temp\arduino_build_312066\, sketch_apr10a.ino.hex
12:10:07.273 (post_compile 9): Sending command: dir:C:\Users\xxxxxxxxx\AppData\Local\Temp\arduino_build_312066\
12:10:07.281 (loader): remote cmd from 1688: "file:sketch_apr10a.ino.hex"
12:10:07.281 (post_compile 9): Sending command: file:sketch_apr10a.ino.hex
12:10:07.305 (loader): File "sketch_apr10a.ino.hex". 29524 bytes, 6% used
12:10:07.324 (loader): remote cmd from 1688: "status"
12:10:07.341 (post_compile 9): Status: 1, 1, 0, 0, 0, 0, C:\Users\xxxxxxxxx\AppData\Local\Temp\arduino_build_312066\, sketch_apr10a.ino.hex
12:10:07.341 (post_compile 9): Disconnect
12:10:07.381 (loader): remote connection 1688 closed
12:10:07.541 (post_compile 10): Begin, version=1.45, high-res time
12:10:07.547 (loader): remote connection 1484 opened
12:10:07.554 (loader): remote cmd from 1484: "comment: Teensyduino 1.45 - WINDOWS (teensy_post_compile)"
12:10:07.554 (post_compile 10): Sending command: comment: Teensyduino 1.45 - WINDOWS (teensy_post_compile)
12:10:07.561 (loader): remote cmd from 1484: "status"
12:10:07.579 (loader): remote cmd from 1484: "dir:C:\Users\xxxxxxxxx\AppData\Local\Temp\arduino_build_312066\"
12:10:07.579 (post_compile 10): Status: 1, 1, 0, 0, 0, 0, C:\Users\xxxxxxxxx\AppData\Local\Temp\arduino_build_312066\, sketch_apr10a.ino.hex
12:10:07.579 (post_compile 10): Sending command: dir:C:\Users\xxxxxxxxx\AppData\Local\Temp\arduino_build_312066\
12:10:07.587 (loader): remote cmd from 1484: "file:sketch_apr10a.ino.hex"
12:10:07.587 (post_compile 10): Sending command: file:sketch_apr10a.ino.hex
12:10:07.604 (loader): File "sketch_apr10a.ino.hex". 29524 bytes, 6% used
12:10:07.621 (loader): remote cmd from 1484: "status"
12:10:07.639 (post_compile 10): Status: 1, 1, 0, 0, 0, 0, C:\Users\xxxxxxxxx\AppData\Local\Temp\arduino_build_312066\, sketch_apr10a.ino.hex
12:10:07.639 (post_compile 10): Disconnect
12:10:07.651 (post_compile 11): Running teensy_reboot: "C:\Program Files (x86)\Arduino\hardware\teensy\..\tools\teensy_reboot.exe" teensy_reboot.exe "-board=TEENSY35" "-port=usb:0/0/0/2/5/6" "-portlabel=hid#vid_16c0&pid_04d0 (Teensy 3.5) Keyboard" "-portprotocol=Teensy"
12:10:07.684 (loader): remote connection 1484 closed
12:10:07.699 (loader): remote connection 1484 opened
12:10:07.761 (reboot 12): Begin, version=1.45, high-res time
12:10:07.761 (reboot 12): location = usb:0/0/0/2/5/6
12:10:07.761 (reboot 12): portlabel = hid#vid_16c0&pid_04d0 (Teensy 3.5) Keyboard
12:10:07.761 (reboot 12): portprotocol = Teensy
12:10:07.761 (reboot 12): Only location usb:0/0/0/2/5/6 will be tried
12:10:07.761 (reboot 12): LoadLibrary cfgmgr32 ok
12:10:07.761 (reboot 12): LoadLibrary ntdll ok
12:10:07.766 (reboot 12): found_usb_device, id=\\?\usb#vid_16c0&pid_04d0#3434250#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
12:10:07.766 (reboot 12): found_usb_device, loc=usb:0/0/0/2/5/6    Port_#0001.Hub_#0004
12:10:07.766 (reboot 12): found_usb_device, hwid=USB\VID_16C0&PID_04D0&REV_0276
12:10:07.766 (reboot 12): found_usb_device, devinst=00000004
12:10:07.766 (reboot 12): add: loc=usb:0/0/0/2/5/6, class=USB, vid=16C0, pid=04D0, ver=0276, serial=3434250, dev=\\?\usb#vid_16c0&pid_04d0#3434250#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
12:10:07.766 (reboot 12): hiddev_from_devinst_list: iface=1
12:10:07.769 (reboot 12):   00000011: path=\\?\hid#vid_16c0&pid_04d0&mi_01#d&1f7eb452&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
12:10:07.774 (reboot 12): found_usb_device complete
12:10:07.776 (reboot 12): hid, found devinst=0000000F
12:10:07.776 (reboot 12): hid, found devinst=00000013
12:10:07.777 (reboot 12): hid, found devinst=00000011
12:10:07.785 (loader): remote connection 1584 opened
12:10:07.791 (reboot 12): found Teensy Loader, version 1.45
12:10:07.791 (reboot 12): Sending command: show:arduino_attempt_reboot
12:10:07.792 (loader): remote cmd from 1584: "show:arduino_attempt_reboot"
12:10:07.799 (loader): got request to show arduino rebooting message
12:10:07.813 (reboot 12): Sending command: comment: Teensyduino 1.45 - WINDOWS (teensy_reboot)
12:10:07.813 (loader): remote cmd from 1584: "comment: Teensyduino 1.45 - WINDOWS (teensy_reboot)"
12:10:07.821 (loader): remote cmd from 1584: "status"
12:10:07.837 (loader): remote cmd from 1584: "status"
12:10:07.837 (reboot 12): Status: 1, 1, 0, 0, 0, 0, C:\Users\xxxxxxxxx\AppData\Local\Temp\arduino_build_312066\, sketch_apr10a.ino.hex
12:10:07.837 (reboot 12): hid_send_feature
12:10:07.837 (reboot 12): error opening reboot command
12:10:07.854 (reboot 12): Status: 1, 1, 0, 0, 0, 0, C:\Users\xxxxxxxxx\AppData\Local\Temp\arduino_build_312066\, sketch_apr10a.ino.hex
12:10:07.854 (reboot 12): status read, retry 0
12:10:07.955 (loader): remote cmd from 1584: "status"
12:10:07.975 (reboot 12): Status: 1, 1, 0, 0, 0, 0, C:\Users\xxxxxxxxx\AppData\Local\Temp\arduino_build_312066\, sketch_apr10a.ino.hex
12:10:07.975 (reboot 12): status read, retry 1
12:10:08.076 (loader): remote cmd from 1584: "status"
12:10:08.091 (reboot 12): Status: 1, 1, 0, 0, 0, 0, C:\Users\xxxxxxxxx\AppData\Local\Temp\arduino_build_312066\, sketch_apr10a.ino.hex
12:10:08.091 (reboot 12): status read, retry 2
12:10:08.192 (loader): remote cmd from 1584: "status"
12:10:08.209 (reboot 12): Status: 1, 1, 0, 0, 0, 0, C:\Users\xxxxxxxxx\AppData\Local\Temp\arduino_build_312066\, sketch_apr10a.ino.hex
12:10:08.209 (reboot 12): status read, retry 3
12:10:08.310 (loader): remote cmd from 1584: "status"
12:10:08.327 (reboot 12): Status: 1, 1, 0, 0, 0, 0, C:\Users\xxxxxxxxx\AppData\Local\Temp\arduino_build_312066\, sketch_apr10a.ino.hex
12:10:08.327 (reboot 12): status read, retry 4
12:10:08.428 (loader): remote cmd from 1584: "status"
12:10:08.442 (reboot 12): Status: 1, 1, 0, 0, 0, 0, C:\Users\xxxxxxxxx\AppData\Local\Temp\arduino_build_312066\, sketch_apr10a.ino.hex
12:10:08.442 (reboot 12): status read, retry 5
12:10:08.542 (loader): remote cmd from 1584: "status"
12:10:08.557 (reboot 12): Status: 1, 1, 0, 0, 0, 0, C:\Users\xxxxxxxxx\AppData\Local\Temp\arduino_build_312066\, sketch_apr10a.ino.hex
12:10:08.557 (reboot 12): status read, retry 6
12:10:08.658 (loader): remote cmd from 1584: "status"
12:10:08.676 (reboot 12): Status: 1, 1, 0, 0, 0, 0, C:\Users\xxxxxxxxx\AppData\Local\Temp\arduino_build_312066\, sketch_apr10a.ino.hex
12:10:08.676 (reboot 12): status read, retry 7
12:10:08.777 (loader): remote cmd from 1584: "status"
12:10:08.796 (reboot 12): Status: 1, 1, 0, 0, 0, 0, C:\Users\xxxxxxxxx\AppData\Local\Temp\arduino_build_312066\, sketch_apr10a.ino.hex
12:10:08.796 (reboot 12): status read, retry 8
12:10:08.897 (loader): remote cmd from 1584: "status"
12:10:08.911 (reboot 12): Status: 1, 1, 0, 0, 0, 0, C:\Users\xxxxxxxxx\AppData\Local\Temp\arduino_build_312066\, sketch_apr10a.ino.hex
12:10:08.911 (reboot 12): status read, retry 9
12:10:09.011 (loader): remote cmd from 1584: "status"
12:10:09.027 (reboot 12): Status: 1, 1, 0, 0, 0, 0, C:\Users\xxxxxxxxx\AppData\Local\Temp\arduino_build_312066\, sketch_apr10a.ino.hex
12:10:09.027 (reboot 12): status read, retry 10
12:10:09.130 (loader): remote cmd from 1584: "status"
12:10:09.143 (reboot 12): Status: 1, 1, 0, 0, 0, 0, C:\Users\xxxxxxxxx\AppData\Local\Temp\arduino_build_312066\, sketch_apr10a.ino.hex
12:10:09.143 (reboot 12): status read, retry 11
12:10:09.244 (loader): remote cmd from 1584: "status"
12:10:09.262 (reboot 12): Status: 1, 1, 0, 0, 0, 0, C:\Users\xxxxxxxxx\AppData\Local\Temp\arduino_build_312066\, sketch_apr10a.ino.hex
12:10:09.262 (reboot 12): status read, retry 12
12:10:09.363 (loader): remote cmd from 1584: "status"
12:10:09.378 (reboot 12): Status: 1, 1, 0, 0, 0, 0, C:\Users\xxxxxxxxx\AppData\Local\Temp\arduino_build_312066\, sketch_apr10a.ino.hex
12:10:09.378 (reboot 12): status read, retry 13
12:10:09.479 (loader): remote cmd from 1584: "status"
12:10:09.495 (reboot 12): Status: 1, 1, 0, 0, 0, 0, C:\Users\xxxxxxxxx\AppData\Local\Temp\arduino_build_312066\, sketch_apr10a.ino.hex
12:10:09.495 (reboot 12): status read, retry 14
12:10:09.595 (loader): remote cmd from 1584: "status"
12:10:09.610 (reboot 12): Status: 1, 1, 0, 0, 0, 0, C:\Users\xxxxxxxxx\AppData\Local\Temp\arduino_build_312066\, sketch_apr10a.ino.hex
12:10:09.610 (reboot 12): status read, retry 15
12:10:09.711 (loader): remote cmd from 1584: "status"
12:10:09.726 (reboot 12): Status: 1, 1, 0, 0, 0, 0, C:\Users\xxxxxxxxx\AppData\Local\Temp\arduino_build_312066\, sketch_apr10a.ino.hex
12:10:09.726 (reboot 12): status read, retry 16
12:10:09.827 (loader): remote cmd from 1584: "status"
12:10:09.843 (reboot 12): Status: 1, 1, 0, 0, 0, 0, C:\Users\xxxxxxxxx\AppData\Local\Temp\arduino_build_312066\, sketch_apr10a.ino.hex
12:10:09.843 (reboot 12): status read, retry 17
12:10:09.944 (loader): remote cmd from 1584: "status"
12:10:09.959 (reboot 12): Status: 1, 1, 0, 0, 0, 0, C:\Users\xxxxxxxxx\AppData\Local\Temp\arduino_build_312066\, sketch_apr10a.ino.hex
12:10:09.959 (reboot 12): status read, retry 18
12:10:10.060 (loader): remote cmd from 1584: "status"
12:10:10.075 (reboot 12): Status: 1, 1, 0, 0, 0, 0, C:\Users\xxxxxxxxx\AppData\Local\Temp\arduino_build_312066\, sketch_apr10a.ino.hex
12:10:10.075 (reboot 12): status read, retry 19
12:10:10.175 (loader): remote cmd from 1584: "status"
12:10:10.189 (reboot 12): Status: 1, 1, 0, 0, 0, 0, C:\Users\xxxxxxxxx\AppData\Local\Temp\arduino_build_312066\, sketch_apr10a.ino.hex
12:10:10.189 (reboot 12): status read, retry 20
12:10:10.290 (loader): remote cmd from 1584: "status"
12:10:10.306 (reboot 12): Status: 1, 1, 0, 0, 0, 0, C:\Users\xxxxxxxxx\AppData\Local\Temp\arduino_build_312066\, sketch_apr10a.ino.hex
12:10:10.306 (reboot 12): status read, retry 21
12:10:10.407 (loader): remote cmd from 1584: "status"
12:10:10.423 (reboot 12): Status: 1, 1, 0, 0, 0, 0, C:\Users\xxxxxxxxx\AppData\Local\Temp\arduino_build_312066\, sketch_apr10a.ino.hex
12:10:10.423 (reboot 12): status read, retry 22
12:10:10.524 (loader): remote cmd from 1584: "status"
12:10:10.540 (reboot 12): Status: 1, 1, 0, 0, 0, 0, C:\Users\xxxxxxxxx\AppData\Local\Temp\arduino_build_312066\, sketch_apr10a.ino.hex
12:10:10.540 (reboot 12): status read, retry 23
12:10:10.641 (loader): remote cmd from 1584: "status"
12:10:10.659 (reboot 12): Status: 1, 1, 0, 0, 0, 0, C:\Users\xxxxxxxxx\AppData\Local\Temp\arduino_build_312066\, sketch_apr10a.ino.hex
12:10:10.659 (reboot 12): status read, retry 24
12:10:10.759 (loader): remote cmd from 1584: "status"
12:10:10.772 (reboot 12): Status: 1, 1, 0, 0, 0, 0, C:\Users\xxxxxxxxx\AppData\Local\Temp\arduino_build_312066\, sketch_apr10a.ino.hex
12:10:10.772 (reboot 12): status read, retry 25
12:10:10.879 (loader): remote cmd from 1584: "status"
12:10:10.896 (reboot 12): Status: 1, 1, 0, 0, 0, 0, C:\Users\xxxxxxxxx\AppData\Local\Temp\arduino_build_312066\, sketch_apr10a.ino.hex
12:10:10.896 (reboot 12): status read, retry 26
12:10:10.997 (loader): remote cmd from 1584: "status"
12:10:11.016 (reboot 12): Status: 1, 1, 0, 0, 0, 0, C:\Users\xxxxxxxxx\AppData\Local\Temp\arduino_build_312066\, sketch_apr10a.ino.hex
12:10:11.016 (reboot 12): status read, retry 27
12:10:11.116 (loader): remote cmd from 1584: "status"
12:10:11.131 (reboot 12): Status: 1, 1, 0, 0, 0, 0, C:\Users\xxxxxxxxx\AppData\Local\Temp\arduino_build_312066\, sketch_apr10a.ino.hex
12:10:11.131 (reboot 12): status read, retry 28
12:10:11.232 (loader): remote cmd from 1584: "status"
12:10:11.246 (reboot 12): Status: 1, 1, 0, 0, 0, 0, C:\Users\xxxxxxxxx\AppData\Local\Temp\arduino_build_312066\, sketch_apr10a.ino.hex
12:10:11.246 (reboot 12): status read, retry 29
12:10:11.347 (loader): remote cmd from 1584: "status"
12:10:11.364 (reboot 12): Status: 1, 1, 0, 0, 0, 0, C:\Users\xxxxxxxxx\AppData\Local\Temp\arduino_build_312066\, sketch_apr10a.ino.hex
12:10:11.364 (reboot 12): status read, retry 30
12:10:11.464 (loader): remote cmd from 1584: "status"
12:10:11.479 (reboot 12): Status: 1, 1, 0, 0, 0, 0, C:\Users\xxxxxxxxx\AppData\Local\Temp\arduino_build_312066\, sketch_apr10a.ino.hex
12:10:11.479 (reboot 12): status read, retry 31
12:10:11.580 (loader): remote cmd from 1584: "status"
12:10:11.594 (reboot 12): Status: 1, 1, 0, 0, 0, 0, C:\Users\xxxxxxxxx\AppData\Local\Temp\arduino_build_312066\, sketch_apr10a.ino.hex
12:10:11.594 (reboot 12): status read, retry 32
12:10:11.695 (loader): remote cmd from 1584: "status"
12:10:11.710 (reboot 12): Status: 1, 1, 0, 0, 0, 0, C:\Users\xxxxxxxxx\AppData\Local\Temp\arduino_build_312066\, sketch_apr10a.ino.hex
12:10:11.710 (reboot 12): status read, retry 33
12:10:11.811 (loader): remote cmd from 1584: "status"
12:10:11.825 (reboot 12): Status: 1, 1, 0, 0, 0, 0, C:\Users\xxxxxxxxx\AppData\Local\Temp\arduino_build_312066\, sketch_apr10a.ino.hex
12:10:11.825 (reboot 12): status read, retry 34
12:10:11.926 (loader): remote cmd from 1584: "status"
12:10:11.942 (reboot 12): Status: 1, 1, 0, 0, 0, 0, C:\Users\xxxxxxxxx\AppData\Local\Temp\arduino_build_312066\, sketch_apr10a.ino.hex
12:10:11.942 (reboot 12): status read, retry 35
12:10:12.043 (loader): remote cmd from 1584: "status"
12:10:12.057 (reboot 12): Status: 1, 1, 0, 0, 0, 0, C:\Users\xxxxxxxxx\AppData\Local\Temp\arduino_build_312066\, sketch_apr10a.ino.hex
12:10:12.057 (reboot 12): status read, retry 36
12:10:12.158 (loader): remote cmd from 1584: "status"
12:10:12.174 (reboot 12): Status: 1, 1, 0, 0, 0, 0, C:\Users\xxxxxxxxx\AppData\Local\Temp\arduino_build_312066\, sketch_apr10a.ino.hex
12:10:12.174 (reboot 12): status read, retry 37
12:10:12.275 (loader): remote cmd from 1584: "status"
12:10:12.293 (reboot 12): Status: 1, 1, 0, 0, 0, 0, C:\Users\xxxxxxxxx\AppData\Local\Temp\arduino_build_312066\, sketch_apr10a.ino.hex
12:10:12.293 (reboot 12): status read, retry 38
12:10:12.394 (loader): remote cmd from 1584: "status"
12:10:12.409 (reboot 12): Status: 1, 1, 0, 0, 0, 0, C:\Users\xxxxxxxxx\AppData\Local\Temp\arduino_build_312066\, sketch_apr10a.ino.hex
12:10:12.409 (reboot 12): status read, retry 39
12:10:12.509 (loader): remote cmd from 1584: "status"
12:10:12.524 (reboot 12): Status: 1, 1, 0, 0, 0, 0, C:\Users\xxxxxxxxx\AppData\Local\Temp\arduino_build_312066\, sketch_apr10a.ino.hex
12:10:12.524 (reboot 12): status read, retry 40
12:10:12.626 (loader): remote cmd from 1584: "status"
12:10:12.641 (reboot 12): Status: 1, 1, 0, 0, 0, 0, C:\Users\xxxxxxxxx\AppData\Local\Temp\arduino_build_312066\, sketch_apr10a.ino.hex
12:10:12.641 (reboot 12): status read, retry 41
12:10:12.742 (loader): remote cmd from 1584: "status"
12:10:12.756 (reboot 12): Status: 1, 1, 0, 0, 0, 0, C:\Users\xxxxxxxxx\AppData\Local\Temp\arduino_build_312066\, sketch_apr10a.ino.hex
12:10:12.756 (reboot 12): status read, retry 42
12:10:12.857 (loader): remote cmd from 1584: "status"
12:10:12.874 (reboot 12): Status: 1, 1, 0, 0, 0, 0, C:\Users\xxxxxxxxx\AppData\Local\Temp\arduino_build_312066\, sketch_apr10a.ino.hex
12:10:12.874 (reboot 12): status read, retry 43
12:10:12.974 (loader): remote cmd from 1584: "status"
12:10:12.991 (reboot 12): Status: 1, 1, 0, 0, 0, 0, C:\Users\xxxxxxxxx\AppData\Local\Temp\arduino_build_312066\, sketch_apr10a.ino.hex
12:10:12.991 (reboot 12): status read, retry 44
12:10:13.091 (loader): remote cmd from 1584: "status"
12:10:13.105 (reboot 12): Status: 1, 1, 0, 0, 0, 0, C:\Users\xxxxxxxxx\AppData\Local\Temp\arduino_build_312066\, sketch_apr10a.ino.hex
12:10:13.105 (reboot 12): status read, retry 45
12:10:13.205 (loader): remote cmd from 1584: "status"
12:10:13.220 (reboot 12): Status: 1, 1, 0, 0, 0, 0, C:\Users\xxxxxxxxx\AppData\Local\Temp\arduino_build_312066\, sketch_apr10a.ino.hex
12:10:13.220 (reboot 12): status read, retry 46
12:10:13.321 (loader): remote cmd from 1584: "status"
12:10:13.338 (reboot 12): Status: 1, 1, 0, 0, 0, 0, C:\Users\xxxxxxxxx\AppData\Local\Temp\arduino_build_312066\, sketch_apr10a.ino.hex
12:10:13.338 (reboot 12): status read, retry 47
12:10:13.439 (loader): remote cmd from 1584: "status"
12:10:13.453 (reboot 12): Status: 1, 1, 0, 0, 0, 0, C:\Users\xxxxxxxxx\AppData\Local\Temp\arduino_build_312066\, sketch_apr10a.ino.hex
12:10:13.453 (reboot 12): status read, retry 48
12:10:13.554 (loader): remote cmd from 1584: "status"
12:10:13.570 (reboot 12): Status: 1, 1, 0, 0, 0, 0, C:\Users\xxxxxxxxx\AppData\Local\Temp\arduino_build_312066\, sketch_apr10a.ino.hex
12:10:13.570 (reboot 12): status read, retry 49
12:10:13.671 (reboot 12): Teensy did not respond to a USB-based request to automatically reboot.
12:10:13.717 (loader): remote connection 1584 closed
12:10:13.732 (loader): remote connection 1484 closed