local_dani_21
Well-known member
Hi
I have successfully installed teensy_loader_cli on a debian jessie machine to upload .hex-files to a USB-connected teensy 3.1. I would like to be able to «listen» on that USB serial port similar to the «Monitor» in the Arduino IDE.
According to http://playground.arduino.cc/Interfacing/LinuxTTY I try to connect looking in /var/log/messages for the right device:
So then I try to configure the device using
And then try to connect using
But I read nothing. Do you have any advice? Thank you!
Dani
PS: Sometimes, after resetting the teensy with the pushbutton (and being fast changing the device name), I read a few lines, but the transcript stops after one or two seconds. The baud rate is the same on both sides.
I have successfully installed teensy_loader_cli on a debian jessie machine to upload .hex-files to a USB-connected teensy 3.1. I would like to be able to «listen» on that USB serial port similar to the «Monitor» in the Arduino IDE.
According to http://playground.arduino.cc/Interfacing/LinuxTTY I try to connect looking in /var/log/messages for the right device:
Code:
Jun 3 14:21:52 pi2 kernel: [ 663.307763] usb 1-1.2: new full-speed USB device number 14 using dwc_otg
Jun 3 14:21:52 pi2 kernel: [ 663.429559] usb 1-1.2: New USB device found, idVendor=16c0, idProduct=0478
Jun 3 14:21:52 pi2 kernel: [ 663.448143] usb 1-1.2: New USB device strings: Mfr=0, Product=0, SerialNumber=1
Jun 3 14:21:52 pi2 kernel: [ 663.466803] usb 1-1.2: SerialNumber: 000163A9
Jun 3 14:21:52 pi2 kernel: [ 663.486669] hid-generic 0003:16C0:0478.0008: hidraw0: USB HID v1.11 Device [HID 16c0:0478] on usb-bcm2708_usb-1.2/input0
Jun 3 14:21:53 pi2 kernel: [ 664.629482] usb 1-1.2: USB disconnect, device number 14
Jun 3 14:21:53 pi2 kernel: [ 664.843781] usb 1-1.2: new full-speed USB device number 15 using dwc_otg
Jun 3 14:21:53 pi2 kernel: [ 664.967133] usb 1-1.2: New USB device found, idVendor=16c0, idProduct=0483
Jun 3 14:21:53 pi2 kernel: [ 664.985563] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jun 3 14:21:53 pi2 kernel: [ 665.004486] usb 1-1.2: Product: USB Serial
Jun 3 14:21:53 pi2 kernel: [ 665.020446] usb 1-1.2: Manufacturer: Teensyduino
Jun 3 14:21:53 pi2 kernel: [ 665.036615] usb 1-1.2: SerialNumber: 910490
Jun 3 14:21:53 pi2 kernel: [ 665.084384] cdc_acm 1-1.2:1.0: ttyACM0: USB ACM device
So then I try to configure the device using
Code:
stty -F /dev/ttyACM0 cs8 57600 ignbrk -brkint -icrnl -imaxbel -opost -onlcr -isig -icanon -iexten -echo -echoe -echok -echoctl -echoke noflsh -ixon -crtscts
And then try to connect using
Code:
tail -f /dev/ttyACM0
But I read nothing. Do you have any advice? Thank you!
Dani
PS: Sometimes, after resetting the teensy with the pushbutton (and being fast changing the device name), I read a few lines, but the transcript stops after one or two seconds. The baud rate is the same on both sides.
Last edited: