Main Menu

search

You are here

Teensy Installation - 2022

[last updated: 2022-08-05]
Arduino boards
Teensy home page
-----

  • (link to:) download Teensyduino
    click to save: "Linux Installer (x86 64 bit)"

  • On Tower Aug-2022:
    • Currently running Arduino IDE 1.8.19
      pjrc link above says current version of Teensyduino is 1.57, and is compatible with 1.8.19
    • Selected "Linux Installer (x86 64 bit)" - Save File
      filename: TeensyduinoInstall.linux64 saved to Downloads folder
      Moved file to .../microcontrollers/Arduio/documentation/...boards/Teensy
    • pjrc instructions then say:
        Download the Linux udev rules (link at the top of this page) and copy the file to /etc/udev/rules.d.
        sudo cp 00-teensy.rules /etc/udev/rules.d/
      • Clicked on: Linux udev rules at top right of page
        a text file opened
        right-click --> select all, right-click --> copy
        open text editor, right-click --> paste, save to .../...boards/Teensy with filename: 00-teensy.rules
        This is the filename that shows up in the URL when the text file opened from pjrc site
      • Opened terminal, navigated to ...boards/Teensy folder, executed:
          $ sudo cp 00-teensy.rules /etc/udev/rules.d/
          Executed without error.
    • pjrc instructions:
        Run the installer by adding execute permission and then execute it.
        chmod 755 TeensyduinoInstall.linux64
        ./TeensyduinoInstall.linux64
      • navigated to ...boards/Teensy folder and executed:
          $ chmod 755 TeensyduinoInstall.linux64
          $ ./TeensyduinoInstall.linux64
      • Dialogue opened, and second screen said there was an error (wrong size) in the rules file, and to fix it:
          $ sudo cp /tmp/00-teensy.rules /etc/udev/rules.d/
          command executed without error.
          dialogue box now says "udev rules are properly installed
      • Dialogue now says: select arduino folder, choose location to install teensyduino
        On my system, the arduino ide is installed in home/arduino-1.8.19. that's what I selected for the installer.
        Choose additional libraries: selected all
        clicked install, click done
    • Instructions on last dialogue screen said, to run a sketch on the Teensy:
      On first usage: click Verify in IDE, then press PB on Teensy
      On subsequent uploads, just press upload in IDE.
    • I created a test program in the IDE...
      Click: Tools --> board --> Teensyduino --> Teensy 4.0

    • 15-sec (then wait a minute) reset process?
    • tip from pjrc troubleshooting: https://www.pjrc.com/teensy/troubleshoot.html
      • The COM port (Windows) or Serial Device (Mac, Linux) appears only after Teensy begins running your program.
      • New Teensy's are pre-loaded with a blink program. When you first attach USB power, the board LED should blink.
      • I have (as of 08/22) 3 Teensy's: one ("Teensy-1") has headers soldered, and worked when I first tried it a couple of years ago. Now however, so far, I get no response.
        A second board ("Teensy-2") indeed blinks when I apply power: 3 longs, and 2 shorts, then stops.
        The third board ("Teensy-3") doesn't blink when power is applied.
      • When I plug in Teensy-2 (with blinks) or Teensy-3 (no blinks), IDE --> Tools --> Ports shows a port recognized.
        When I do $ lsusb, this line shows:
          Bus 003 Device 031: ID 16c0:0483 Van Ooijen Technische Informatica Teensyduino Serial

        Teensy-1 (with headers) shows nothing, no port in Tools, nothing in lsusb.

    -------------------------------------------------------------------------------------------

  • 2022-09-21 Arduino 2.0.0 on Tower:
    • from pjrc:
      Teensy is supported using Arduino’s Boards Manager. A separate installer is no longer needed.
      To install Teensy on Arduino IDE 2.0.0, click File > Preferences. In “Additional boards manager URLs”, copy this link:

    -------------------------------------------------------------------------------------------

  • On Dell Precision 4400 (est Feb-2020):
    it put it into Downloads folder
    note on pjrc gives list of Arduino versions that Teensyduino 1.49 supports. Be sure your version is supported
    • pjrc says: the install files likely will not be executable as downloaded
      $ cd /Downloads
      $ ls -l ... indeed confirms it is not executable
      $ sudo chmod 755 TeensyduinoInstall.linux64
      $ ./TeensyduinoInstall.linux64
      installer opens
      "choose Arduino location"
      But all options were greyed-out
      In my case, on this Dell 4400, it appears the Arduino 1.8.7 that I have is not supported, though it is on the list, but perhaps it was installed incorrectly.
      I proceeded to install latest version, 1.8.11
  • Download Linux udev rules (single-click upper right corner of pjrc page)
    This opens (link to:) teensy rules
    right-click on page, save-as (in Downloads folder) "49-teensy.rules"
    $ cd /Downloads
    $ sudo cp 49-teensy.rules /etc/udev/rules.d/49-teensy.rules
    disconnect and reconnect USB to Teensy board
  • from /home/Downloads,
    $ ./TeensyduinoInstall.linux64
    installer opens
    "choose Arduino location" - selected "home/arduino-1.8.11/"
    click next - libraries to Install - all - next - install
    "Finished - all files installed"
      message says:
      "to run sketch on Teensy:
      first usage: click 'verify', press pushbutton on board
      normal usage: click upload"

    click 'done'

  • ====================================

    Random Troubleshooting tips:
    The standard troubleshooting involves removing all connections from Teensy other than the USB cable. Then turn off Auto mode in Teensy Loader, and make sure you keep that little window visible. While watching that window, press the pushbutton on your Teensy. Hopefully the Teensy Loader window will respond.

    If you get no response in that window, that's certainly a very bad sign, but perhaps not all hope is lost. The next step is to cold boot your computer (remember, most PC keep their USB hardware active while the computer is "off"). Make sure Teensy isn't connected while you power up your PC. Get Teensy Loader back on your screen, with Auto mode turned off. Then hold the pushbutton while plugging in the USB cable. Hopefully when you release the button, Teensy Loader will detect your Teensy. If so, then immediately upload something simple like one of the LED blink examples.
    -------------------------------

.

.

.

eof