- (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
-------------------------------------------------------------------------------------------
- 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.
-------------------------------
.
.
.