Environment: Ubuntu 15.10, Arduino 1.6.7, both fully up-to-date.
I plug in the Teensy 3.1, which has a previous sketch on it (I forget what, but it prints something to Serial).
OK, so we know the Teensy is alive.
Now, I try to compile and load Blink (Examples > Teensy > Tutorial 1 > Blink).
When I hit the load icon, the little loader window comes up, but I get the following diagnostic message:
OK, so I press the button on the Teensy, the USB device changes to the Bootloader:
But nothing happens. Normally the loader window will briefly blink with something along the lines of "loading", which does not happen. Nor is the Blink sketch being loaded. If I power-cycle the Teensy, it (of course) comes back up running the old program.
No weird kernel modules are loaded, and the same machine has been able to upload sketches in the recent past. It's definitely not the cable, or the device would not be recognized at all!
Same behavior on a different (albeit still Ubuntu) machine, freshly installed.
No, I did not forget to change the led to pin 13!!!
Any ideas?
I plug in the Teensy 3.1, which has a previous sketch on it (I forget what, but it prints something to Serial).
Code:
# dmesg | tail -7
[17256.856155] usb 4-1: new full-speed USB device number 35 using uhci_hcd
[17257.024169] usb 4-1: New USB device found, idVendor=16c0, idProduct=0483
[17257.024177] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[17257.024182] usb 4-1: Product: USB Serial
[17257.024187] usb 4-1: Manufacturer: Teensyduino
[17257.024191] usb 4-1: SerialNumber: 243400
[17257.026455] cdc_acm 4-1:1.0: ttyACM0: USB ACM device
# lsusb | grep 16c0
Bus 004 Device 035: ID 16c0:0483 Van Ooijen Technische Informatica Teensyduino Serial
# dd if=/dev/ttyACM0 bs=1
init
29
^C10+0 records in
10+0 records out
10 bytes (10 B) copied, 2.28786 s, 0.0 kB/s
OK, so we know the Teensy is alive.
Now, I try to compile and load Blink (Examples > Teensy > Tutorial 1 > Blink).
When I hit the load icon, the little loader window comes up, but I get the following diagnostic message:
Code:
Sketch uses 9,464 bytes (3%) of program storage space. Maximum is 262,144 bytes.
Global variables use 2,064 bytes (3%) of dynamic memory, leaving 63,472 bytes for local variables. Maximum is 65,536 bytes.
Teensy did not respond to a USB-based request to automatically reboot.
Please press the PROGRAM MODE BUTTON on your Teensy to upload your sketch.
OK, so I press the button on the Teensy, the USB device changes to the Bootloader:
Code:
# dmesg | tail -6
[17669.904199] usb 4-1: USB disconnect, device number 35
[17670.392159] usb 4-1: new full-speed USB device number 36 using uhci_hcd
[17670.544259] usb 4-1: New USB device found, idVendor=16c0, idProduct=0478
[17670.544271] usb 4-1: New USB device strings: Mfr=0, Product=0, SerialNumber=1
[17670.544279] usb 4-1: SerialNumber: 00005F14
[17670.552818] hid-generic 0003:16C0:0478.0029: hidraw0: USB HID v1.11 Device [HID 16c0:0478] on usb-0000:00:1a.1-1/input0
# lsusb | grep 16c0
Bus 004 Device 036: ID 16c0:0478 Van Ooijen Technische Informatica Teensy Halfkay Bootloader
But nothing happens. Normally the loader window will briefly blink with something along the lines of "loading", which does not happen. Nor is the Blink sketch being loaded. If I power-cycle the Teensy, it (of course) comes back up running the old program.
No weird kernel modules are loaded, and the same machine has been able to upload sketches in the recent past. It's definitely not the cable, or the device would not be recognized at all!
Same behavior on a different (albeit still Ubuntu) machine, freshly installed.
No, I did not forget to change the led to pin 13!!!
Any ideas?
Last edited: