PC not detecting Teensy 3.1 plugged in

Status
Not open for further replies.

Teenfor3

Well-known member
I have old Teensy3.1, I think it is 3.1 because 3.2 is not written on the back of it. It has been working for a few years OK until today (it is my demo box I use to try things out ?). I had it plugged into my PC for a few hours and made minor changes to program and all was OK, loaded them and they worked, then next when I was loading the program again after another minor change, something happened, ..... the last thing I remember seeing was "Erasing" on the screen, I think from the Teensyduino dialog box that comes up when loading. It didn't come up "Reboot OK" and program was not loaded. And at bottom of screen in red IDE told me no Teensy connected. ??? I tried pressing button on teensy, no good either. I tried several times again after PC restarts etc and still same PC is not detecting the "faulty" Teensy in "Device Manager" when plugged into a USB port. I tried other leads as well, and the Blink program etc, still not work. I tried several other Teensy3.2 on the PC using same leads and all work so leads and PC port must be OK.
Regards the "faulty" Teensy the only thing I have checked is, It is getting 5.0 volts at Vin pin and 3.3 volts at the 3.3V pins.
My PC is Win10, I am using Arduino 1.8.13 and Teensyduino 153. Is there anything else I can check..?????
 
There are other things you could check. If I was working with a prototype board, I would take the time to investigate. That might take several hours and special equipment to diagnose the problem, You have to ask yourself is it worth your time.
 
Yes, there probably other things I could check, but I have checked the leads and the PC port and Pressing the button on the board, I have also checked the 5V coming in on the USB and at Vin pin and also the 3.3 volt regulator must be working as 3.3volts are at the 3.3V pins. I have programmed other teensy3.2 with the same Blink program and all works with the other Teensy's. It is not a prototype board, it has worked for about 10 years and just suddenly gave up when I was reprogramming it yesterday, although I had programmed several times earlier in the day and all was OK. The bit I thought I was highlighting in my last post was the word "Erasing" came up I think as Teensyduino was loading the program and "Reboot OK" did not appear. I don't see the word "Erasing" when I am programming normally, except it comes up fast and I don't see it. I was wondering where this message comes from or did hit a wrong button or click something wrong on PC when loading program. The "faulty" Teensy doesn't show "Erasing" any more, it just behaves as though it was not plugged in. I assume the on board program is erased as it is doing nothing. Below I have copied the Verbose log from the Teensyduino when I now attempt to load the Blink program.

13:00:59.072 (post_compile 1): Begin, version=1.53, high-res time
13:00:59.210 (loader): Teensy Loader 1.53, begin program
13:00:59.265 (loader): File "Blinkxxx1.ino.hex". 8412 bytes, 3% used
13:00:59.277 (loader): Listening for remote control on port 3149
13:00:59.277 (loader): initialized, showing main window
13:00:59.386 (loader): remote connection 1356 opened
13:00:59.386 (loader): remote cmd from 1356: "comment: Teensyduino 1.53 - WINDOWS (teensy_post_compile)"
13:00:59.386 (post_compile 1): Sending command: comment: Teensyduino 1.53 - WINDOWS (teensy_post_compile)
13:00:59.387 (loader): remote cmd from 1356: "status"
13:00:59.389 (loader): HID/win32: vid:413C pid:2113 ver:3308
13:00:59.389 (loader): HID/win32: vid:413C pid:2113 ver:3308
13:00:59.390 (loader): HID/win32: vid:413C pid:2113 ver:3308
13:00:59.391 (loader): remote cmd from 1356: "dir:C:\Users\abc\AppData\Local\Temp\arduino_build_370782\"
13:00:59.391 (loader): remote cmd from 1356: "file:Blinkxxx1.ino.hex"
13:00:59.392 (post_compile 1): Status: 1, 0, 0, 0, 0, 0, C:\Users\abc\AppData\Local\Temp\arduino_build_370782\, Blinkxxx1.ino.hex
13:00:59.392 (post_compile 1): Sending command: dir:C:\Users\abc\AppData\Local\Temp\arduino_build_370782\
13:00:59.392 (post_compile 1): Sending command: file:Blinkxxx1.ino.hex
13:00:59.398 (loader): File "Blinkxxx1.ino.hex". 8412 bytes, 3% used
13:00:59.405 (loader): remote cmd from 1356: "status"
13:00:59.406 (loader): remote cmd from 1356: "auto:eek:n"
13:00:59.407 (post_compile 1): Status: 1, 0, 0, 0, 0, 0, C:\Users\abc\AppData\Local\Temp\arduino_build_370782\, Blinkxxx1.ino.hex
13:00:59.407 (post_compile 1): Sending command: auto:eek:n
13:00:59.408 (post_compile 1): Disconnect
13:00:59.422 (loader): remote connection 1356 closed
13:00:59.477 (post_compile 2): Begin, version=1.53, high-res time
13:00:59.542 (loader): remote connection 1360 opened
13:00:59.542 (loader): remote cmd from 1360: "comment: Teensyduino 1.53 - WINDOWS (teensy_post_compile)"
13:00:59.542 (loader): remote cmd from 1360: "status"
13:00:59.542 (loader): remote cmd from 1360: "dir:C:\Users\abc\AppData\Local\Temp\arduino_build_370782\"
13:00:59.542 (loader): remote cmd from 1360: "file:Blinkxxx1.ino.hex"
13:00:59.542 (loader): File "Blinkxxx1.ino.hex". 8412 bytes, 3% used
13:00:59.547 (post_compile 2): Sending command: comment: Teensyduino 1.53 - WINDOWS (teensy_post_compile)
13:00:59.549 (post_compile 2): Status: 1, 1, 0, 0, 0, 0, C:\Users\abc\AppData\Local\Temp\arduino_build_370782\, Blinkxxx1.ino.hex
13:00:59.549 (post_compile 2): Sending command: dir:C:\Users\abc\AppData\Local\Temp\arduino_build_370782\
13:00:59.549 (post_compile 2): Sending command: file:Blinkxxx1.ino.hex
13:00:59.558 (loader): remote cmd from 1360: "status"
13:00:59.564 (post_compile 2): Status: 1, 1, 0, 0, 0, 0, C:\Users\abc\AppData\Local\Temp\arduino_build_370782\, Blinkxxx1.ino.hex
13:00:59.564 (post_compile 2): Disconnect
13:00:59.589 (loader): remote connection 1360 closed
13:00:59.589 (loader): remote connection 1360 opened
13:00:59.589 (post_compile 3): Running teensy_reboot: "D:\MyProgramFiles\Arduino1813T153\arduino-1.8.13-windows\arduino-1.8.13\hardware\teensy\..\tools\teensy_reboot.exe" teensy_reboot.exe "-board=TEENSY32" "-port=usb:0/140000/0/6" "-portlabel=hid#vid_16c0&pid_0478 Bootloader" "-portprotocol=Teensy"
13:00:59.643 (reboot 4): Begin, version=1.53, high-res time
13:00:59.643 (reboot 4): location = usb:0/140000/0/6
13:00:59.643 (reboot 4): portlabel = hid#vid_16c0&pid_0478 Bootloader
13:00:59.643 (reboot 4): Only location usb:0/140000/0/6 will be tried
13:00:59.643 (reboot 4): portprotocol = Teensy
13:00:59.643 (reboot 4): LoadLibrary cfgmgr32 ok
13:00:59.643 (reboot 4): LoadLibrary ntdll ok
13:00:59.645 (reboot 4): nothing new, skipping HID & Ports enum
13:00:59.651 (loader): remote connection 1364 opened
13:00:59.653 (reboot 4): Disconnect
13:00:59.667 (loader): remote connection 1364 closed
13:00:59.667 (loader): remote connection 1360 closed
13:01:05.322 (loader): Verbose Info event





This is what is at bottom or Arduino IDE Screen.........................

Opening Teensy Loader...
Sketch uses 8408 bytes (3%) of program storage space. Maximum is 262144 bytes.
Global variables use 3120 bytes (4%) of dynamic memory, leaving 62416 bytes for local variables. Maximum is 65536 bytes.
D:\MyProgramFiles\Arduino1813T153\arduino-1.8.13-windows\arduino-1.8.13\hardware\teensy/../tools/teensy_post_compile -file=Blinkxxx1.ino -path=C:\Users\abc\AppData\Local\Temp\arduino_build_910137 -tools=D:\MyProgramFiles\Arduino1813T153\arduino-1.8.13-windows\arduino-1.8.13\hardware\teensy/../tools -board=TEENSY32 -reboot -port=usb:0/140000/0/6 -portlabel=hid#vid_16c0&pid_0478 Bootloader -portprotocol=Teensy
No Teensy boards were found on any USB ports of your computer.
Please press the PROGRAM MODE BUTTON on your Teensy to upload your sketch.
 
Maybe ESD killed on of the IC? Maybe the program button is has failed? Maybe the connector has failed. Who knows?

The last thing I would try before tossing it in the garbage is the following:

1. Unplug it.
2. Turn off your computer as disconnect power so it's really off.
3. Reboot, and compile your sketch.
4. Hold the program button down as you plug in the USB cable.
5. Release the program button.

If that doesn't work, Bin it. It's not worth your time.
 
Thanks for replies, I had tried your suggestion and read over the troubleshooting pages, but no further, just measured all the voltages on the board and all seem to be there. Still not found what caused the message "Erasing" just as the fault happened. I don't get it when programming others.... Is it a message from Teensyduino uploader and normally it happens so quick I don't see it..??
Anyway, I have replaced the Teensy in my demo trials box with a brand new 3.2 and this works OK.
This is the first one that has gone "faulty" in about 200 Teensy's I've used over the last 10 years..... so I think it is fair to say that Teensy products are reasonably reliable. Also most are programmed just once when the gadgets are built but this one has been programmed with "trials" umpteen times. I had an additional Adafruit USB breakout wired to the box so the USB on the actual teensy board was not taking all the physical abuse of plugging in and out. I have checked that out and fault is still there when programming into the USB port on the board.
 
Link below to forum thread on the MINI54.......
https://forum.pjrc.com/threads/27497-MINI54-Bringup

When I plug in teensy3.1 I see the 56us pulses on the reset pin. If I press the button the pulses disappear, and keep holding the button down the pulses still stay disappeared. If I let go the button the pulses reappear but pressing button again does not make them disappear. If I then unplug the teensy3.1 and plug it in again, I get the pulses again and pressing the button makes then go away again. So does that mean MINI54 is working..???
 
Have also checked....... USB Data+ and Data- continuity OK through the 2 x 33 ohm resistors and up to pin5 and pin6 of main chip. Also Id pin 4 of USB OK up to pin 23 main chip.
....... ????
 
Status
Not open for further replies.
Back
Top