Teensy 4.0 command line loader

amensch

Well-known member
This is more of a linux question wrt. the Teensy command line loader. Using the 4.0, and we've recompiled to loader for a Tordex Colibri environment. Had it working great for 3.2. Now, getting this...
root@[111902180103]:~#teensy_loader_cli -mmcu=TEENSY40 -s -v -w Blink.ino.hex
Teensy Loader, Command Line, Version 2.1
Read "Blink.ino.hex": 13364 bytes, 0.7% usage
Unable to soft reboot with USB error: Success
Waiting for Teensy device...
(hint: press the reset button)
// Must hit the reset button
Found HalfKay Bootloader
Read "Blink.ino.hex": 13364 bytes, 0.7% usage
Programming...........
Booting



The active code in 49-teensy.rules looks like this:
ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789B]?", ENV{ID_MM_DEVICE_IGNORE}="1", ENV{ID_MM_PORT_IGNORE}="1"
ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789A]?", ENV{MTP_NO_PROBE}="1"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789ABCD]?", MODE:="0666", SYMLINK+="teensy%n"
KERNEL=="ttyACM*", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789B]?", MODE:="0666", SYMLINK+="teensy%n"


lsusb produces:
Bus 002 Device 004: ID 05a3:9310 ARC International
Bus 002 Device 006: ID 16c0:0483 Van Ooijen Technische Informatica Teensyduino Serial
Bus 002 Device 002: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 1bc7:0036 Telit Wireless Solutions
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

I poked around here https://www.pjrc.com/teensy/check_halfkay_linux.html
and here https://www.pjrc.com/teensy/loader_cli.html

and am surely missing something. Please, any ideas? Things to check?
Thank You,
John
 
Sorry Paul, That's what's got me. I'm not sure where the problem is, all looks good. Right up till the loader stops and asks you to hit the Teensy button.
I guess I need to dig into just what 49-teensy.rules does and go from there. Get out the linux bible.
Thanks, and keep going. These T4.0's are great, and I'm looking forward to playing with a 4.1 before too long!
Regaards,
John
 
Back
Top