PDA

View Full Version : Trouble getting Teensy Loader to recognize Teensy 3



RobM
11-10-2012, 09:18 PM
I am running Ubuntu 12.10 (64 bit) with a the Teensy Loader 1.07 program.
The Loader fails to react to a Teensy 3 reset.

I am running the Teensy Loader from the arduino 1.0.2 (Beta 7)download from the Kickstarter site.

The entry /dev/ttyACM0 is being created when the Teensy is first plugged in, and this device seems to have the proper permissions.

"crw-rw-rw- 1 root dialout 166, 0 Nov 10 14:07 ttyACM0"

I have updated the /etc/udev/rules.d directory with the 49-teensy.rules file.

UBSYSTEMS=="usb", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789]?", MODE:="0666"
KERNEL=="ttyACM*", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789]?", MODE:="0666", ENV{ID_MM_DEVICE_IGNORE}="1"

When I push the reset button, the Teensy 3.0 resets and Halfkay is active as observed by the lsusb command.

robert@robert-Ubuntu:~$ lsusb
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 029: ID 16c0:0478 VOTI Teensy Halfkay Bootloader
Bus 002 Device 003: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 002 Device 004: ID 07d1:3c0a D-Link System DWA-140 RangeBooster N Adapter(rev.B2) [Ralink RT3072]
Bus 002 Device 005: ID 054c:00d7 Sony Corp.

Verbose output from Teensy Loader shows that it isn't receiving much:

01:57:04 PM: Teensy Loader 1.07, begin program
01:57:04 PM: File "Blink.cpp.hex". 8072 bytes, 13% used
01:57:04 PM: Listening for remote control on port 3149
01:57:04 PM: initialized, showing main window
01:57:07 PM: Verbose Info event


Unfortunately, the Teensy loader fails to respond. Can anyone help me with some some insight as to what might be wrong?

Thanks in advance.

Rob

RobM
11-12-2012, 06:30 AM
Problem resolve - cut and paste failure with the 49-teensy.rules file.