I've tried using one Teensy 2.0 with 3 different mini USB cables, two different macs, a Windows desktop, and a Linux laptop. Programming the slow and fast LED blink hex files works, but when I try to program larger hex files, the download fails because the board disconnects from my macs at regular intervals (around 2s).
Here's the log:
The line "01:57:17.291 (loader): HID/macos: detach callback: is currently open device" is the point when the board seems to disconnect from the computer. I have no such problem with Linux or Windows. What could possibly be the problem here? I'm using the latest released versions of teensyloader (1.52 on MacOS).
My macs are running Catalina and Mojave. I had to use a hub with the machine running Mojave because it only has USB-C ports, while I connected directly to a USB port on the machine running Catalina. I tried both USB ports too, restarting my macs without opening windows automatically when restarting, etc.
Here's the log:
Code:
01:57:10.974 (loader): HID/macos: detach callback: is currently open device
01:57:11.006 (loader): HID/macos: attach callback
01:57:11.021 (loader): Device went offline
01:57:11.258 (loader): HID/macos: number of devices found = 1
01:57:11.268 (loader): HID/macos: vid=16C0, pid=0478, page=FF9C, usage=001B, ver=1.20
01:57:11.278 (loader): Device came online, code_size = 32256
01:57:11.286 (loader): Board is: Teensy 2.0 (ATMEGA32U4)
01:57:11.294 (loader): set background IMG_ONLINE
01:57:11.508 (loader): HID/macos: status: ok
01:57:13.149 (loader): HID/macos: detach callback: is currently open device
01:57:13.181 (loader): HID/macos: attach callback
01:57:13.258 (loader): Device went offline
01:57:13.509 (loader): HID/macos: number of devices found = 1
01:57:13.519 (loader): HID/macos: vid=16C0, pid=0478, page=FF9C, usage=001B, ver=1.20
01:57:13.528 (loader): Device came online, code_size = 32256
01:57:13.537 (loader): Board is: Teensy 2.0 (ATMEGA32U4)
01:57:13.545 (loader): set background IMG_ONLINE
01:57:13.758 (loader): HID/macos: status: ok
01:57:15.325 (loader): HID/macos: detach callback: is currently open device
01:57:15.358 (loader): HID/macos: attach callback
01:57:15.508 (loader): Device went offline
01:57:15.759 (loader): HID/macos: number of devices found = 1
01:57:15.770 (loader): HID/macos: vid=16C0, pid=0478, page=FF9C, usage=001B, ver=1.20
01:57:15.779 (loader): Device came online, code_size = 32256
01:57:15.787 (loader): Board is: Teensy 2.0 (ATMEGA32U4)
01:57:15.795 (loader): set background IMG_ONLINE
01:57:16.008 (loader): HID/macos: status: ok
01:57:17.291 (loader): HID/macos: detach callback: is currently open device
01:57:17.508 (loader): Device went offline
01:57:17.758 (loader): HID/macos: number of devices found = 0
01:57:17.768 (loader): HID/macos: no devices found (empty set)
The line "01:57:17.291 (loader): HID/macos: detach callback: is currently open device" is the point when the board seems to disconnect from the computer. I have no such problem with Linux or Windows. What could possibly be the problem here? I'm using the latest released versions of teensyloader (1.52 on MacOS).
My macs are running Catalina and Mojave. I had to use a hub with the machine running Mojave because it only has USB-C ports, while I connected directly to a USB port on the machine running Catalina. I tried both USB ports too, restarting my macs without opening windows automatically when restarting, etc.