Teensy LC not programming

Today all of a sudden my Teensy LC stopped programming. I haven't changed anything (hardware/software). Since then I've been scouring the forums for idea but nothing seems to work. I keep getting the message: 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.

Pressing the button reboots the teensy but then I get the same message when I try to program. I've tried both Auto and manual mode. I'm on Windows 10. I've also tried the suggestion here (https://forum.pjrc.com/threads/40632?p=126667&viewfull=1#post126667) to no avail.
 
Have you tried another USB cable, just in case the current one is only occasionally bad, maybe connectors not seated perfectly or oxidized a bit?
 
When "Pressing the button reboots the teensy" that only happens if the Teensy was programmed - because pushing the Button will leave it offline until it is programmed.

So, after that it should be that the new CODE is running on the Teensy?

If that is working as expected - it suggests the loaded code is taking the T_LC USB offline.

Do a Verify build of a sinple BLINK sketch - perhaps add this to setup:
Code:
void setup() {
  Serial.begin(115200);
  while (!Serial && millis() < 10000 );
  Serial.println("\n" __FILE__ " " __DATE__ " " __TIME__);
...
}

To see that code arrive and connect and then allow an auto program.
 
I know you said you didn't change anything, but the only plausible explanation for the condition where the pushbutton does reboot the main processor but does not put it into bootloader mode is a hardware failure in the communication between the 2 chips.
 
I know most of this has been said, but to reiterate what others have said:

a) Maybe post additional information, we know that it is windows 10 and an LC. But might help to know things like: what are you using to try to program it with? Arduino? Which version.
What were the USB settings for previous builds (i.e. did it include Serial in the USB type or ???)

b) Did you try a different USB cable? As mentioned, I have had a few times where one of the teeny boards did not like a specific USB cable. Which can happen if you grab a charge only one, or the contacts don't make good connections.

c) Does Windows see your teensy? Is there a com number generated? Can you see it in device manager?

d) Is the teensy app is running and you press the program button?
If you go to the help -> Verbose info menu item, does it show anything when you press the program button on the LC? If so maybe post it.

e) Have you tried rebooting? Maybe something interfering.
 
Got it working. Looks like it was some bad code. I had a Serial.println() in the wrong spot, so it was spamming the serial monitor almost every frame. This was keeping the port busy and the Teensy wouldn't program. Thank you for all the suggestions, everybody.
 
Nevermind. It worked for a minute. I've tried new cable and USB port. Getting this error:
Code:
Unable to open COM4 for reboot request
  Windows Error Info: Access is denied.
  more ideas... https://forum.pjrc.com/threads/40632?p=126667&viewfull=1#post126667
Teensy did not respond to a USB-based request to enter program mode.
Please press the PROGRAM MODE BUTTON on your Teensy to upload your sketch.

This is my code. Pretty simple

Code:
void setup()   {                
  Serial.begin(38400);
}

void loop()                     
{
  while(true)
  {
    Serial.println("Test");
    delay(1000);
  }
  
}

Here is verbose info from Teensy

Code:
11:14:42.814 (post_compile 1): Begin, version=1.57, high-res time
11:14:43.085 (loader): Teensy Loader 1.57, begin program
11:14:43.167 (loader): Listening for remote control on port 3149
11:14:43.168 (loader): initialized, showing main window
11:14:43.228 (loader): remote connection 1368 opened
11:14:43.228 (loader): remote cmd from 1368: "comment: Teensyduino 1.57 - WINDOWS (teensy_post_compile)"
11:14:43.228 (post_compile 1): Sending command: comment: Teensyduino 1.57 - WINDOWS (teensy_post_compile)
11:14:43.229 (loader): remote cmd from 1368: "status"
11:14:43.231 (loader): HID/win32:  vid:045E pid:028E ver:0000
11:14:43.234 (loader): remote cmd from 1368: "dir:C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\"
11:14:43.234 (loader): remote cmd from 1368: "file:serial_print.ino.hex"
11:14:43.234 (post_compile 1): Status: 0, 0, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_45206\, serial_print.ino.hex
11:14:43.234 (post_compile 1): Sending command: dir:C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\
11:14:43.234 (post_compile 1): Sending command: file:serial_print.ino.hex
11:14:43.238 (loader): File "C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\serial_print.ino.hex", 6296 bytes
11:14:43.238 (loader): File "serial_print.ino.hex". 6296 bytes
11:14:43.242 (loader): remote cmd from 1368: "status"
11:14:43.244 (loader): remote cmd from 1368: "auto:on"
11:14:43.244 (post_compile 1): Status: 1, 0, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:43.244 (post_compile 1): Sending command: auto:on
11:14:43.244 (post_compile 1): Disconnect
11:14:43.255 (loader): remote connection 1368 closed
11:14:43.433 (post_compile 2): Begin, version=1.57, high-res time
11:14:43.436 (loader): remote connection 1412 opened
11:14:43.436 (loader): remote cmd from 1412: "comment: Teensyduino 1.57 - WINDOWS (teensy_post_compile)"
11:14:43.436 (loader): remote cmd from 1412: "status"
11:14:43.436 (post_compile 2): Sending command: comment: Teensyduino 1.57 - WINDOWS (teensy_post_compile)
11:14:43.437 (loader): remote cmd from 1412: "dir:C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\"
11:14:43.438 (post_compile 2): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:43.438 (post_compile 2): Sending command: dir:C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\
11:14:43.438 (post_compile 2): Sending command: file:serial_print.ino.hex
11:14:43.438 (loader): remote cmd from 1412: "file:serial_print.ino.hex"
11:14:43.441 (loader): File "C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\serial_print.ino.hex", 6296 bytes
11:14:43.441 (loader): File "serial_print.ino.hex". 6296 bytes
11:14:43.445 (loader): remote cmd from 1412: "status"
11:14:43.446 (post_compile 2): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:43.446 (post_compile 2): Disconnect
11:14:43.457 (loader): remote connection 1412 closed
11:14:43.457 (loader): remote connection 1416 opened
11:14:43.457 (post_compile 3): Running teensy_reboot: "C:\Program Files (x86)\Arduino\hardware\teensy\..\tools\teensy_reboot.exe" teensy_reboot.exe "-board=TEENSYLC" "-port=usb:80000/1/0/3" "-portlabel=COM4 Serial" "-portprotocol=Teensy"
11:14:43.488 (reboot 4): Begin, version=1.57, high-res time
11:14:43.488 (reboot 4): location = usb:80000/1/0/3
11:14:43.488 (reboot 4): portlabel = COM4 Serial
11:14:43.488 (reboot 4): portprotocol = Teensy
11:14:43.488 (reboot 4): Only location usb:80000/1/0/3 will be tried
11:14:43.488 (reboot 4): LoadLibrary cfgmgr32 ok
11:14:43.488 (reboot 4): LoadLibrary ntdll ok
11:14:43.489 (reboot 4): found_usb_device, id=\\?\usb#vid_16c0&pid_0483#6766200#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
11:14:43.489 (reboot 4): found_usb_device, loc=usb:80000/1/0/3    Port_#0003.Hub_#0002
11:14:43.489 (reboot 4): found_usb_device, devinst=00000011
11:14:43.489 (reboot 4): found_usb_device, hwid=USB\VID_16C0&PID_0483&REV_0273
11:14:43.489 (reboot 4): add: loc=usb:80000/1/0/3, class=Ports, vid=16C0, pid=0483, ver=0273, serial=6766200, dev=\\?\usb#vid_16c0&pid_0483#6766200#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
11:14:43.489 (reboot 4):   comport_from_devinst_list attempt
11:14:43.489 (reboot 4):   found Ports in classguid_list at index=0
11:14:43.489 (reboot 4):   port COM4 found from devnode
11:14:43.489 (reboot 4): found_usb_device complete
11:14:43.492 (reboot 4): usb scan found 1 devices
11:14:43.494 (loader): remote connection 1412 opened
11:14:43.495 (loader): remote cmd from 1412: "show:arduino_attempt_reboot"
11:14:43.495 (loader): got request to show arduino rebooting message
11:14:43.495 (reboot 4): found Teensy Loader, version 1.57
11:14:43.495 (reboot 4): Sending command: show:arduino_attempt_reboot
11:14:43.496 (loader): remote cmd from 1412: "comment: Teensyduino 1.57 - WINDOWS (teensy_reboot)"
11:14:43.497 (reboot 4): Sending command: comment: Teensyduino 1.57 - WINDOWS (teensy_reboot)
11:14:43.497 (loader): remote cmd from 1412: "status"
11:14:43.498 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:43.498 (reboot 4): do_reset (serial) COM4
11:14:43.499 (loader): remote cmd from 1412: "status"
11:14:43.500 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:43.500 (reboot 4): status read, retry 0
11:14:43.600 (loader): remote cmd from 1412: "status"
11:14:43.601 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:43.601 (reboot 4): status read, retry 1
11:14:43.702 (loader): remote cmd from 1412: "status"
11:14:43.703 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:43.703 (reboot 4): status read, retry 2
11:14:43.804 (loader): remote cmd from 1412: "status"
11:14:43.805 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:43.805 (reboot 4): status read, retry 3
11:14:43.906 (loader): remote cmd from 1412: "status"
11:14:43.907 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:43.907 (reboot 4): status read, retry 4
11:14:44.008 (loader): remote cmd from 1412: "status"
11:14:44.009 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:44.009 (reboot 4): status read, retry 5
11:14:44.110 (loader): remote cmd from 1412: "status"
11:14:44.111 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:44.111 (reboot 4): status read, retry 6
11:14:44.212 (loader): remote cmd from 1412: "status"
11:14:44.213 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:44.213 (reboot 4): status read, retry 7
11:14:44.314 (loader): remote cmd from 1412: "status"
11:14:44.315 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:44.315 (reboot 4): status read, retry 8
11:14:44.416 (loader): remote cmd from 1412: "status"
11:14:44.417 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:44.417 (reboot 4): status read, retry 9
11:14:44.518 (loader): remote cmd from 1412: "status"
11:14:44.519 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:44.519 (reboot 4): status read, retry 10
11:14:44.619 (loader): remote cmd from 1412: "status"
11:14:44.620 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:44.620 (reboot 4): status read, retry 11
11:14:44.721 (loader): remote cmd from 1412: "status"
11:14:44.722 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:44.722 (reboot 4): status read, retry 12
11:14:44.822 (loader): remote cmd from 1412: "status"
11:14:44.823 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:44.823 (reboot 4): status read, retry 13
11:14:44.924 (loader): remote cmd from 1412: "status"
11:14:44.925 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:44.925 (reboot 4): status read, retry 14
11:14:46.160 (loader): remote cmd from 1412: "status"
11:14:46.162 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:46.162 (reboot 4): status read, retry 15
11:14:46.262 (loader): remote cmd from 1412: "status"
11:14:46.263 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:46.263 (reboot 4): status read, retry 16
11:14:46.364 (loader): remote cmd from 1412: "status"
11:14:46.366 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:46.366 (reboot 4): status read, retry 17
11:14:46.466 (loader): remote cmd from 1412: "status"
11:14:46.468 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:46.468 (reboot 4): status read, retry 18
11:14:46.568 (loader): remote cmd from 1412: "status"
11:14:46.569 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:46.569 (reboot 4): status read, retry 19
11:14:46.669 (loader): remote cmd from 1412: "status"
11:14:46.671 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:46.671 (reboot 4): status read, retry 20
11:14:46.771 (loader): remote cmd from 1412: "status"
11:14:46.773 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:46.773 (reboot 4): status read, retry 21
11:14:46.873 (loader): remote cmd from 1412: "status"
11:14:46.875 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:46.875 (reboot 4): status read, retry 22
11:14:46.975 (loader): remote cmd from 1412: "status"
11:14:46.977 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:46.977 (reboot 4): status read, retry 23
11:14:47.078 (loader): remote cmd from 1412: "status"
11:14:47.079 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:47.079 (reboot 4): status read, retry 24
11:14:47.180 (loader): remote cmd from 1412: "status"
11:14:47.181 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:47.181 (reboot 4): status read, retry 25
11:14:47.282 (loader): remote cmd from 1412: "status"
11:14:47.283 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:47.283 (reboot 4): status read, retry 26
11:14:47.383 (loader): remote cmd from 1412: "status"
11:14:47.384 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:47.384 (reboot 4): status read, retry 27
11:14:47.484 (loader): remote cmd from 1412: "status"
11:14:47.485 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:47.485 (reboot 4): status read, retry 28
11:14:47.585 (loader): remote cmd from 1412: "status"
11:14:47.586 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:47.586 (reboot 4): status read, retry 29
11:14:47.686 (loader): remote cmd from 1412: "status"
11:14:47.687 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:47.687 (reboot 4): status read, retry 30
11:14:47.787 (loader): remote cmd from 1412: "status"
11:14:47.788 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:47.788 (reboot 4): status read, retry 31
11:14:47.888 (loader): remote cmd from 1412: "status"
11:14:47.889 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:47.889 (reboot 4): status read, retry 32
11:14:47.990 (loader): remote cmd from 1412: "status"
11:14:47.991 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:47.991 (reboot 4): status read, retry 33
11:14:48.091 (loader): remote cmd from 1412: "status"
11:14:48.092 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:48.092 (reboot 4): status read, retry 34
11:14:48.192 (loader): remote cmd from 1412: "status"
11:14:48.193 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:48.193 (reboot 4): status read, retry 35
11:14:48.294 (loader): remote cmd from 1412: "status"
11:14:48.295 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:48.295 (reboot 4): status read, retry 36
11:14:48.395 (loader): remote cmd from 1412: "status"
11:14:48.396 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:48.396 (reboot 4): status read, retry 37
11:14:48.497 (loader): remote cmd from 1412: "status"
11:14:48.498 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:48.498 (reboot 4): status read, retry 38
11:14:48.599 (loader): remote cmd from 1412: "status"
11:14:48.600 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:48.600 (reboot 4): status read, retry 39
11:14:48.700 (loader): remote cmd from 1412: "status"
11:14:48.701 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:48.701 (reboot 4): status read, retry 40
11:14:48.802 (loader): remote cmd from 1412: "status"
11:14:48.803 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:48.803 (reboot 4): status read, retry 41
11:14:48.904 (loader): remote cmd from 1412: "status"
11:14:48.905 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:48.905 (reboot 4): status read, retry 42
11:14:49.006 (loader): remote cmd from 1412: "status"
11:14:49.007 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:49.007 (reboot 4): status read, retry 43
11:14:49.107 (loader): remote cmd from 1412: "status"
11:14:49.108 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:49.108 (reboot 4): status read, retry 44
11:14:49.209 (loader): remote cmd from 1412: "status"
11:14:49.210 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:49.210 (reboot 4): status read, retry 45
11:14:49.311 (loader): remote cmd from 1412: "status"
11:14:49.312 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:49.312 (reboot 4): status read, retry 46
11:14:49.412 (loader): remote cmd from 1412: "status"
11:14:49.413 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:49.413 (reboot 4): status read, retry 47
11:14:49.514 (loader): remote cmd from 1412: "status"
11:14:49.515 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:49.515 (reboot 4): status read, retry 48
11:14:49.616 (loader): remote cmd from 1412: "status"
11:14:49.617 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:49.617 (reboot 4): status read, retry 49
11:14:49.718 (loader): remote cmd from 1412: "status"
11:14:49.719 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:49.719 (reboot 4): status read, retry 50
11:14:49.820 (loader): remote cmd from 1412: "status"
11:14:49.821 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:49.821 (reboot 4): status read, retry 51
11:14:49.922 (loader): remote cmd from 1412: "status"
11:14:49.923 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:49.923 (reboot 4): status read, retry 52
11:14:50.023 (loader): remote cmd from 1412: "status"
11:14:50.024 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:50.024 (reboot 4): status read, retry 53
11:14:50.124 (loader): remote cmd from 1412: "status"
11:14:50.125 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:50.125 (reboot 4): status read, retry 54
11:14:50.226 (loader): remote cmd from 1412: "status"
11:14:50.227 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:50.227 (reboot 4): status read, retry 55
11:14:50.328 (loader): remote cmd from 1412: "status"
11:14:50.329 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:50.329 (reboot 4): status read, retry 56
11:14:50.430 (loader): remote cmd from 1412: "status"
11:14:50.431 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:50.431 (reboot 4): status read, retry 57
11:14:50.531 (loader): remote cmd from 1412: "status"
11:14:50.532 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:50.532 (reboot 4): status read, retry 58
11:14:50.633 (loader): remote cmd from 1412: "status"
11:14:50.635 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:50.635 (reboot 4): status read, retry 59
11:14:50.735 (loader): remote cmd from 1412: "status"
11:14:50.736 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:50.736 (reboot 4): status read, retry 60
11:14:50.837 (loader): remote cmd from 1412: "status"
11:14:50.838 (reboot 4): Status: 1, 1, 0, 0, 0, 0, C:\Users\VNUNIY~1\AppData\Local\Temp\arduino_build_980193\, serial_print.ino.hex
11:14:50.838 (reboot 4): status read, retry 61
11:14:50.938 (reboot 4): Teensy did not respond to a USB-based request to automatically reboot.
11:14:50.941 (loader): remote connection 1412 closed
11:14:50.944 (loader): remote connection 1416 closed
11:16:02.258 (loader): Verbose Info event
 
For "Access is denied.", first try rebooting your PC. You can also try looking for what's holding onto the port, but rebooting is simplest.
 
Note: If I have code, like you mentioned that is giving headaches to reprogram with.
I sometimes will insert the teensy into USB holding the program button down and release it after the usb is connected. This more or less bypasses your code.

With some of the newer Teensy models I will do the 15 second reboot of the teensy, and it will put back on the teensy the code that the teensy shipped with.

Security issue?

Could it be something else is automatically using COM4? When I have seen issues like this, I have done things like:
Go into windows and delete all of my unused old COM ports. Note: I always have to google to find out how to turn on seeing unused devices.

I have also at times changed the COM port number of a device to see if that helps.
Been awhile, but I believe you do it by opening device manager, finding your device under Ports and double click on it.
Then go to the port settings tab and click on advanced.
 
Back
Top