Teensy++ 2.0 online/offline endless loop

Status
Not open for further replies.

gogfried

New member
Hi all, strugling really bad with programming my Teensy board. Went through all of this https://www.pjrc.com/teensy/troubleshoot.html 10 times. Tried different computers and USB cables. The issue persists.

Hardware
  • Teensy++ 2.0 (AT90USB1286)
  • MacBook Pro (13 Inch, Mid 2009) or MacBook Pro (15 Inch, Late 2016)

Software
  • Teensy Loader / Teensyduino 1.40
  • Arduino IDE 1.8.5

When I first connected my Teensy the LED blink example was running fine (= LED blinking). Since I programmed it for the first time (with another simple example program) the board is in some sort of endless loop. Connecting and disconnecting all the time. Seems like with a lot of luck I managed to get the blink example back on it (=LED blinks again), but still it connects and disconnects all the time and I'm not able to work with it normally.

I also have a Teensy 3.1 which I can program just fine using my MacBook + the same cable.

Code:
11:59:07.224: Teensy Loader 1.40, begin program
11:59:07.309: File "Blink.pde.hex". 2880 bytes, 2% used
11:59:07.313: Listening for remote control on port 3149
11:59:07.314: initialized, showing main window
11:59:07.473: remote connection opened
11:59:07.474: remote cmd: "comment: Teensyduino 1.40 - MACOSX (teensy_post_compile)"
11:59:07.476: remote cmd: "status"
11:59:07.482: HID/macos: no devices found
11:59:07.484: status data sent
11:59:07.493: remote cmd: "auto:on"
11:59:07.509: remote connection closed
11:59:07.548: remote connection opened
11:59:07.551: remote cmd: "comment: Teensyduino 1.40 - MACOSX (teensy_post_compile)"
11:59:07.553: remote cmd: "status"
11:59:07.554: status data sent
11:59:07.567: remote connection closed
11:59:07.575: remote connection opened
11:59:07.578: remote cmd: "show:arduino_attempt_reboot"
11:59:07.580: got request to show arduino rebooting message
11:59:07.587: remote cmd: "comment: Teensyduino 1.40 - MACOSX (teensy_reboot)"
11:59:07.588: remote cmd: "status"
11:59:07.590: status data sent
11:59:07.591: remote cmd: "status"
11:59:07.593: status data sent
11:59:07.700: remote cmd: "status"
11:59:07.703: status data sent
11:59:07.809: remote cmd: "status"
11:59:07.811: status data sent
11:59:07.914: remote cmd: "status"
11:59:07.917: status data sent
11:59:08.020: remote cmd: "status"
11:59:08.022: status data sent
11:59:08.125: remote cmd: "status"
11:59:08.128: status data sent
11:59:08.231: remote cmd: "status"
11:59:08.232: status data sent
11:59:08.339: remote cmd: "status"
11:59:08.341: status data sent
11:59:08.447: remote cmd: "status"
11:59:08.449: status data sent
11:59:08.555: remote cmd: "status"
11:59:08.557: status data sent
11:59:08.660: remote cmd: "status"
11:59:08.663: status data sent
11:59:08.768: remote cmd: "status"
11:59:08.771: status data sent
11:59:08.876: remote cmd: "status"
11:59:08.878: status data sent
11:59:08.981: remote cmd: "status"
11:59:08.983: status data sent
11:59:09.086: remote cmd: "status"
11:59:09.088: status data sent
11:59:09.191: remote cmd: "status"
11:59:09.193: status data sent
11:59:09.294: remote cmd: "status"
11:59:09.296: status data sent
11:59:09.397: remote cmd: "status"
11:59:09.399: status data sent
11:59:09.500: remote cmd: "status"
11:59:09.502: status data sent
11:59:09.606: remote cmd: "status"
11:59:09.608: status data sent
11:59:09.714: remote cmd: "status"
11:59:09.716: status data sent
11:59:09.817: remote cmd: "status"
11:59:09.819: status data sent
11:59:09.923: remote cmd: "status"
11:59:09.925: status data sent
11:59:10.031: remote cmd: "status"
11:59:10.033: status data sent
11:59:10.136: remote cmd: "status"
11:59:10.138: status data sent
11:59:10.244: remote cmd: "status"
11:59:10.246: status data sent
11:59:10.349: remote cmd: "status"
11:59:10.351: status data sent
11:59:10.456: remote cmd: "status"
11:59:10.459: status data sent
11:59:10.563: remote cmd: "status"
11:59:10.565: status data sent
11:59:10.671: remote cmd: "status"
11:59:10.673: status data sent
11:59:10.779: remote cmd: "status"
11:59:10.781: status data sent
11:59:10.887: remote cmd: "status"
11:59:10.889: status data sent
11:59:10.995: remote cmd: "status"
11:59:10.997: status data sent
11:59:11.103: remote cmd: "status"
11:59:11.105: status data sent
11:59:11.207: remote cmd: "status"
11:59:11.210: status data sent
11:59:11.316: remote cmd: "status"
11:59:11.317: status data sent
11:59:11.421: remote cmd: "status"
11:59:11.423: status data sent
11:59:11.528: remote cmd: "status"
11:59:11.530: status data sent
11:59:11.631: remote cmd: "status"
11:59:11.633: status data sent
11:59:11.737: remote cmd: "status"
11:59:11.740: status data sent
11:59:11.745: HID/macos: attach callback
11:59:11.814: Device came online, code_size = 130048
11:59:11.816: Board is: Teensy++ 2.0 (AT90USB1286)
11:59:11.820: File "Blink.pde.hex". 2880 bytes, 2% used
11:59:11.823: set background IMG_ONLINE
11:59:11.830: File "Blink.pde.hex". 2880 bytes, 2% used
11:59:11.834: elf size appears to be 130048
11:59:11.835: elf binary data matches hex file
11:59:11.836: Code size from .elf file = 130048
11:59:11.838: begin operation
11:59:11.888: remote cmd: "status"
11:59:11.890: status data sent
11:59:11.891: flash, block=0, bs=256, auto=1
11:59:11.968: program: write error
11:59:11.970: HID/macos: status: ok
11:59:11.983: end operation, total time = 0.144 seconds
11:59:11.986: set background IMG_DOWNLOAD_ERROR
11:59:11.990: redraw timer set, image 11 to show for 4000 ms
11:59:11.999: remote cmd: "status"
11:59:12.001: HID/macos: detach callback: is currently open device
11:59:12.007: Device went offline
11:59:12.011: status data sent
11:59:12.013: HID/macos: attach callback
11:59:12.136: remote connection closed
11:59:12.141: HID/macos: number of devices found = 1
11:59:12.143: HID/macos: vid=16C0, pid=0478, page=FF9C, usage=001C, ver=1.20
11:59:12.144: Device came online, code_size = 130048
11:59:12.146: Board is: Teensy++ 2.0 (AT90USB1286)
11:59:12.149: File "Blink.pde.hex". 2880 bytes, 2% used
11:59:12.313: HID/macos: status: ok
11:59:12.563: HID/macos: detach callback: is currently open device
11:59:12.571: HID/macos: attach callback
11:59:12.574: Device went offline
11:59:12.812: HID/macos: number of devices found = 1
11:59:12.814: HID/macos: vid=FFFFFFFF, pid=FFFFFFFF, page=FFFFFFFF, usage=FFFFFFFF, ver=0.00
11:59:12.815: HID/macos: none of the devices had known usage
11:59:13.075: HID/macos: detach callback: is NOT currently open device
11:59:15.951: Verbose Info event
11:59:16.018: redraw, image 9
11:59:18.181: HID/macos: attach callback
11:59:18.313: Device came online, code_size = 130048
11:59:18.317: Board is: Teensy++ 2.0 (AT90USB1286)
11:59:18.322: File "Blink.pde.hex". 2880 bytes, 2% used
11:59:18.328: set background IMG_ONLINE
11:59:18.415: HID/macos: detach callback: is currently open device
11:59:18.447: HID/macos: attach callback
11:59:18.563: HID/macos: status: disconnected
11:59:18.566: Device went offline
11:59:18.681: HID/macos: detach callback: is NOT currently open device
11:59:18.713: HID/macos: attach callback
11:59:18.813: HID/macos: number of devices found = 1
11:59:18.816: HID/macos: vid=16C0, pid=0478, page=FF9C, usage=001C, ver=1.20
11:59:18.819: Device came online, code_size = 130048
11:59:18.822: Board is: Teensy++ 2.0 (AT90USB1286)
11:59:18.827: File "Blink.pde.hex". 2880 bytes, 2% used
11:59:18.831: set background IMG_ONLINE
11:59:18.948: HID/macos: detach callback: is currently open device
11:59:18.980: HID/macos: attach callback
11:59:19.063: HID/macos: status: disconnected
11:59:19.066: Device went offline
11:59:19.215: HID/macos: detach callback: is NOT currently open device
11:59:19.247: HID/macos: attach callback
11:59:19.313: HID/macos: number of devices found = 1
11:59:19.317: HID/macos: vid=16C0, pid=0478, page=FF9C, usage=001C, ver=1.20
11:59:19.319: Device came online, code_size = 130048
11:59:19.322: Board is: Teensy++ 2.0 (AT90USB1286)
11:59:19.327: File "Blink.pde.hex". 2880 bytes, 2% used
11:59:19.331: set background IMG_ONLINE
11:59:19.484: HID/macos: detach callback: is currently open device
11:59:19.516: HID/macos: attach callback
11:59:19.563: HID/macos: status: disconnected
11:59:19.566: Device went offline
11:59:19.750: HID/macos: detach callback: is NOT currently open device
11:59:19.783: HID/macos: attach callback
11:59:19.813: HID/macos: number of devices found = 1
11:59:19.817: HID/macos: vid=16C0, pid=0478, page=FF9C, usage=001C, ver=1.20
11:59:19.819: Device came online, code_size = 130048
11:59:19.822: Board is: Teensy++ 2.0 (AT90USB1286)
11:59:19.827: File "Blink.pde.hex". 2880 bytes, 2% used
11:59:19.832: set background IMG_ONLINE
11:59:20.017: HID/macos: detach callback: is currently open device
11:59:20.049: HID/macos: attach callback
11:59:20.063: HID/macos: status: disconnected
11:59:20.066: Device went offline
11:59:20.285: HID/macos: detach callback: is NOT currently open device
11:59:20.314: HID/macos: number of devices found = 0
11:59:20.317: HID/macos: no devices found (empty set)
11:59:20.322: HID/macos: attach callback
11:59:20.553: HID/macos: detach callback: is NOT currently open device
11:59:20.585: HID/macos: attach callback
11:59:20.813: Device came online, code_size = 130048
11:59:20.816: Board is: Teensy++ 2.0 (AT90USB1286)
11:59:20.822: File "Blink.pde.hex". 2880 bytes, 2% used
11:59:20.828: set background IMG_ONLINE
11:59:20.839: HID/macos: detach callback: is currently open device
11:59:20.857: HID/macos: attach callback
11:59:21.063: HID/macos: status: disconnected
11:59:21.067: Device went offline
11:59:21.087: HID/macos: detach callback: is NOT currently open device
11:59:21.119: HID/macos: attach callback
11:59:21.313: HID/macos: number of devices found = 1
11:59:21.316: HID/macos: vid=16C0, pid=0478, page=FF9C, usage=001C, ver=1.20
11:59:21.319: Device came online, code_size = 130048
11:59:21.322: Board is: Teensy++ 2.0 (AT90USB1286)
11:59:21.327: File "Blink.pde.hex". 2880 bytes, 2% used
11:59:21.331: set background IMG_ONLINE
11:59:21.353: HID/macos: detach callback: is currently open device
11:59:21.384: HID/macos: attach callback
11:59:21.563: HID/macos: status: disconnected
11:59:21.566: Device went offline
11:59:21.619: HID/macos: detach callback: is NOT currently open device
11:59:21.651: HID/macos: attach callback
11:59:21.812: HID/macos: number of devices found = 1
11:59:21.816: HID/macos: vid=16C0, pid=0478, page=FF9C, usage=001C, ver=1.20
11:59:21.819: Device came online, code_size = 130048
11:59:21.821: Board is: Teensy++ 2.0 (AT90USB1286)
11:59:21.827: File "Blink.pde.hex". 2880 bytes, 2% used
11:59:21.831: set background IMG_ONLINE
11:59:21.887: HID/macos: detach callback: is currently open device
11:59:21.920: HID/macos: attach callback
11:59:22.063: HID/macos: status: disconnected
11:59:22.066: Device went offline
11:59:22.155: HID/macos: detach callback: is NOT currently open device
11:59:22.188: HID/macos: attach callback
11:59:22.313: HID/macos: number of devices found = 1
11:59:22.316: HID/macos: vid=16C0, pid=0478, page=FF9C, usage=001C, ver=1.20
11:59:22.319: Device came online, code_size = 130048
11:59:22.322: Board is: Teensy++ 2.0 (AT90USB1286)
11:59:22.327: File "Blink.pde.hex". 2880 bytes, 2% used
11:59:22.332: set background IMG_ONLINE
11:59:22.424: HID/macos: detach callback: is currently open device
11:59:22.455: HID/macos: attach callback
11:59:22.563: HID/macos: status: disconnected
11:59:22.585: Device went offline
11:59:22.691: HID/macos: detach callback: is NOT currently open device
11:59:22.812: HID/macos: number of devices found = 0
11:59:22.815: HID/macos: no devices found (empty set)
11:59:27.825: HID/macos: attach callback
11:59:28.059: HID/macos: detach callback: is NOT currently open device
11:59:28.091: HID/macos: attach callback
11:59:28.313: Device came online, code_size = 130048
11:59:28.315: Board is: Teensy++ 2.0 (AT90USB1286)
11:59:28.320: File "Blink.pde.hex". 2880 bytes, 2% used
11:59:28.325: set background IMG_ONLINE
11:59:28.338: HID/macos: detach callback: is currently open device
11:59:28.363: HID/macos: attach callback
11:59:28.562: HID/macos: status: disconnected
11:59:28.565: Device went offline
11:59:28.594: HID/macos: detach callback: is NOT currently open device
11:59:28.625: HID/macos: attach callback
11:59:28.817: HID/macos: number of devices found = 1
11:59:28.820: HID/macos: vid=16C0, pid=0478, page=FF9C, usage=001C, ver=1.20
11:59:28.822: Device came online, code_size = 130048
11:59:28.823: Board is: Teensy++ 2.0 (AT90USB1286)
11:59:28.827: File "Blink.pde.hex". 2880 bytes, 2% used
11:59:28.832: set background IMG_ONLINE
11:59:28.861: HID/macos: detach callback: is currently open device
11:59:29.062: HID/macos: status: disconnected
11:59:29.065: Device went offline
11:59:29.315: HID/macos: number of devices found = 0
11:59:29.332: HID/macos: no devices found (empty set)
11:59:33.993: HID/macos: attach callback
11:59:34.063: Device came online, code_size = 130048
11:59:34.066: Board is: Teensy++ 2.0 (AT90USB1286)
11:59:34.071: File "Blink.pde.hex". 2880 bytes, 2% used
11:59:34.075: set background IMG_ONLINE
11:59:34.228: HID/macos: detach callback: is currently open device
11:59:34.312: HID/macos: status: disconnected
11:59:34.315: Device went offline
11:59:34.562: HID/macos: number of devices found = 0
11:59:34.566: HID/macos: no devices found (empty set)
11:59:39.363: HID/macos: attach callback
11:59:39.563: Device came online, code_size = 130048
11:59:39.566: Board is: Teensy++ 2.0 (AT90USB1286)
11:59:39.570: File "Blink.pde.hex". 2880 bytes, 2% used
11:59:39.575: set background IMG_ONLINE
11:59:39.597: HID/macos: detach callback: is currently open device
11:59:39.628: HID/macos: attach callback
11:59:39.812: HID/macos: status: disconnected
11:59:39.815: Device went offline
11:59:39.865: HID/macos: detach callback: is NOT currently open device
11:59:39.896: HID/macos: attach callback
11:59:40.062: HID/macos: number of devices found = 1
11:59:40.065: HID/macos: vid=16C0, pid=0478, page=FF9C, usage=001C, ver=1.20
11:59:40.068: Device came online, code_size = 130048
11:59:40.070: Board is: Teensy++ 2.0 (AT90USB1286)
11:59:40.075: File "Blink.pde.hex". 2880 bytes, 2% used
11:59:40.079: set background IMG_ONLINE
11:59:40.131: HID/macos: detach callback: is currently open device
11:59:40.163: HID/macos: attach callback
11:59:40.312: HID/macos: status: disconnected
11:59:40.315: Device went offline
11:59:40.399: HID/macos: detach callback: is NOT currently open device
11:59:40.431: HID/macos: attach callback
11:59:40.562: HID/macos: number of devices found = 1
11:59:40.565: HID/macos: vid=16C0, pid=0478, page=FF9C, usage=001C, ver=1.20
11:59:40.568: Device came online, code_size = 130048
11:59:40.570: Board is: Teensy++ 2.0 (AT90USB1286)
11:59:40.575: File "Blink.pde.hex". 2880 bytes, 2% used
11:59:40.579: set background IMG_ONLINE
11:59:40.667: HID/macos: detach callback: is currently open device
11:59:40.699: HID/macos: attach callback
11:59:40.812: HID/macos: status: disconnected
11:59:40.815: Device went offline
11:59:40.935: HID/macos: detach callback: is NOT currently open device
11:59:40.967: HID/macos: attach callback
11:59:41.062: HID/macos: number of devices found = 1
11:59:41.066: HID/macos: vid=16C0, pid=0478, page=FF9C, usage=001C, ver=1.20
11:59:41.068: Device came online, code_size = 130048
11:59:41.070: Board is: Teensy++ 2.0 (AT90USB1286)
11:59:41.075: File "Blink.pde.hex". 2880 bytes, 2% used
11:59:41.079: set background IMG_ONLINE
11:59:41.203: HID/macos: detach callback: is currently open device
11:59:41.312: HID/macos: status: disconnected
11:59:41.315: Device went offline
11:59:41.562: HID/macos: number of devices found = 0
11:59:41.565: HID/macos: no devices found (empty set)

I would be so glad about any sort of advice? What am I missing?
 
Last edited:
Did you get the teensy from "approved" teensy distributor? there are a lot of counterfeit Teensy 2 and ++2 .
maybe attach a photo of your board
 
Status
Not open for further replies.
Back
Top