Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 3 of 3

Thread: Teensy 4.0 command line loader

  1. #1
    Join Date
    Jun 2018
    Northeast USA

    Teensy 4.0 command line loader

    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

    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
    and here

    and am surely missing something. Please, any ideas? Things to check?
    Thank You,

  2. #2
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    I don't understand the question. Everything you've described looks like it's working properly.

  3. #3
    Join Date
    Jun 2018
    Northeast USA
    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!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts