can't even get started

Status
Not open for further replies.

RLN37

Member
ok, maybe i'm just stupid. but i cannot get teensy 3.1 going in the teensyduino environment, in either osx or linux operating systems.
paul, you have great hardware, BUT. . . .
for the sake of your business, you simply must get your website cleaned up, and provide simple straightforward fool-proof instructions on how to use your teensy boards. especially in the arduino/teensyduino environment.
i have spent two days trying to it going, and i am totally frustrated.
i have tried it in osx and in 32-bit linux,
and all i find myself doing is going around and around in circles. i can't afford to waste so many hours getting teensy to operate as expected.
do your business a favor, and provide step-by-step instructions on how to get teensy 3.1 going in teensyduino.
i will be grateful, and i expect many others as well.
all that can happen is increased sales.
i expect to use hundreds of 3.1's IF i could get the first one to work.
i have tried two different 3.1's: one with a black button, one with white.
all i have to show for the HOURS invested in this is a big ZERO.
PLEASE improve your website. i am not a mind-reader.
thanks for your kind attention.
RLN37
 
@OP
As a non native English speaker I am wondering if placing brackets such as these
[grammar]
[/grammar]
around your message make it more readable ;-)
 
ok, maybe i'm just stupid. but i cannot get teensy 3.1 going in the teensyduino environment, in either osx or linux operating systems...
Ok, sounds like you are just starting microcontrollers world and you have no experience, it's normal have difficulties when you start something, but please stay calm, you will always find someone help you.
If you have used arduino in the past, using Teensy it's not so far away, I suggest you download a brand new Arduino IDE in a know location of your hard disk, then download Teensyduino installer, locate the arduino installation you previously installed and follow the Teensyduino installer indications.
This should go pretty straightforward, it worked with most users here.
Once installed you will open the modified arduino ide and go to Help->About Arduino.., you should get an image that tells you that Teensyduino it's installed.
Connect your microcontroller to your computer and let system install the correct driver.
Now open your 'board' menu, choose Teensy 3.1 (or 3.0 or LC, whatever you have), select the serial port used by your microcontroller.
If everything correct you can now play with your microcontroller, maybe start with the infamous blink example and modify the delay to see if all communicate as it should...
 
Last edited:
Yes, the entire website is need of a lot of work. We can chat about that, but first let's get you un-stuck.

Let's focus on this page:

https://www.pjrc.com/teensy/td_download.html

Step 1 is to download and extract the Arduino software. Did you get that far? After this, you should have the Arduino program. If you run it, you'll get a window blue/teal boards, a black stripe on the bottom, and the menus: File, Edit, Sketch, Tools, Help. That's the Arduino software. If you click the Tools > Boards menu, you'll see a list of all the types of boards it supports. A fresh copy of Arduino will not have Teensy on that list.

Step 2 is only needed on Linux. You just download that 49-teensy.rules rules file and copy it to /etc/udev/rules.d/. That step must be done with root permissions. Did you get this step done on your Linux machine? You can check by simply looking at the /etc/udev/rules.d/ directory. If there's a 49-teensy.rules file there, you did it. If not, you need to get that file copied there, because Linux by default has security measures than don't allow access to new USB devices.

Step 3 involves actually running the installer. On Linux, the file may need its "execute" permissions changed. Did you get the installer to appear? It looks exactly like the screenshot shown on that page, except the version numbers are newer. During the install, you'll need to select the location where your copy of Arduino exists. The installer tries to guess some of the most common places and automatically select them, if it can. If not, you'll need to use the drop-down and clicking on the folder names to navigate to where you put the extracted Arduino stuff.

After you've run the installer, when you run Arduino again, you'll see the Tools > Boards menu has Teensy. I'm guessing you didn't get that far.

I want to help you. I just don't know where in this process you got stuck. Hopefully this lengthy answer that tries to cover several parts will help?

We can also chat about improving the documentation. But first, let's get you un-stuck and able to use your Teensys!
 
Paul, Sumotoy:
Still not working. I am using my Apple laptop, because that SEEMS to be slightly more straightforward to work with in solving this problem, as compared to my Linux Mint system.
My install of arduino 1.6.5 appears to A-OK, and I am now seeing the Teensy boards when Boards are listed from the Tools drop-down.
(BTW here: which Port and which Programmer should I be selecting?)

As set up now, when I click verify, the test sketch appears to compile OK, so I push the little rest button and click on Download.
After a pause, I get this message: "Teensy did not respond to a USB-based request to automatically reboot. Please press the PROGRAM MODE BUTTON on your Teensy to upload your sketch."
And I have tried this with two different 3.1 units, one with a black button. one with white button (in case that is of interest).
Thanks for the help.
RLN37
 
As set up now, when I click verify, the test sketch appears to compile OK,

When it says the compile is ok, you should see a summary telling you how much memory was used. I can't see your screen, and it's important to check if you got to this point correctly. Can you copy and paste that info to a message here? Or take a screenshot and post it?

On Macs, use Command-Shift-3 to take a screenshot image. Or you can highlight the message with your mouse and use Command-C to copy from Arduino and then Command-V to paste the text when writing your message here on the forum.
 
Running OK on Mac now, but still problems on Linux Mint machine

When it says the compile is ok, you should see a summary telling you how much memory was used. I can't see your screen, and it's important to check if you got to this point correctly. Can you copy and paste that info to a message here? Or take a screenshot and post it?

On Macs, use Command-Shift-3 to take a screenshot image. Or you can highlight the message with your mouse and use Command-C to copy from Arduino and then Command-V to paste the text when writing your message here on the forum.


Paul - I have it working now on my MacBook, but still have a problem on the Linux Mint machine (where I would really like to be doing all my Teensy work). I have now loaded teensyduino.32bit, but where should this file reside? Linux demands to know. I have tried a few places, but none seems to produce an arduino-1.6.5 environment that includes the Teensy boards (like 3.1 that I am trying to standardize on now). Thanks for any advice.
 
On Linux, you install the appropriate Arduino libraries (using the same bitsize as you will use the Teensy). Then the file that you get from pjrc.com is an executable file. You need to manually change the mode of the file to executable and execute it. It will then ask you where the Arduino directory is, and what libraries to install.

In terms of 32 vs. 64 bit, unless you are running on old hardware (or specifically installed a 32-bit version of Linux), you likely want the 64-bit version. Some distributions like Ubuntu don't install the 32-bit libraries and support by default, and I believe Fedora 22 no longer provides them at all.

On Linux, you need to install UDEV rules so the system can auto-magically identify teensys when you connect. The file is at http://www.pjrc.com/teensy/49-teensy.rules, and on most systems, you need to install it in: /etc/udev/rules.d/49-teensy.rules. On some systems, it would be installed in /lib/udev/rules.d/49-teensy.rules instead.

I've had problems with some cheap USB hubs/switches when I plug the Teensy into the hub/switch, and it works better when I plug it into a USB 2.0 port on the machine.

The way I install Teensy, it goes something like (you only need to do the sudo cp line once):

Code:
$ tar -xJf arduino-1.6.5-linux64.tar.xz
$ mv arduino-1.6.5 teensy-1.24
$ chmod +x teensyduino.64bit
$ ./teensyduino.64bit
$ sudo cp 49-teensy.rules /etc/udev/rules.d/
 
Last edited:
it would be really great to have basic information in a sticky somewhere on the forum. also a link to the forum from the main page at PJRC would perhaps add to the clutter, but would save time for some folks. OP, I am also brand new to this stuff and it's frustrating to try new things and they don't just work right off the bat, but this stuff is a little more advanced than operating an iphone, patience and years of blood sweat and tears is the only way.
 
OK, so I get to the point where I execute teensyduino.32bit, and it asks where to install it, and I select the /arduino directory, and then it asks
which subdirectory under that - and there I have no idea. I have tried a couple it suggests, but nothing seems to work. I need some step-by-step direction at this point.
Thanks for you help.
RLN37
 
i had the same problem. you need to first install the arduino program. the installation directory of the arduino program is what teensyduino is looking for. give it that directory. if you have not installed arduino (the program from the official site) then go there and get the installer, and install it, quit the teensy software completely, and then execute teensyduino again...
 
I understand, and already did that

i had the same problem. you need to first install the arduino program. the installation directory of the arduino program is what teensyduino is looking for. give it that directory. if you have not installed arduino (the program from the official site) then go there and get the installer, and install it, quit the teensy software completely, and then execute teensyduino again...

I have teensyduino.32bit installed in the arduino-1.6.5 directory, and it's executable, as verified by using the 'Properties' command. So I execute it, and it appears to run OK, but wants to know where it should be installed. I select /arduino directory, but then it asks which subdir, and there I don't know how to respond. I have guessed at a couple of the suggestions, but get no positive result. So I am stuck at this point.
Thanks for your interest and your help.
RLN37
 
1) move teensyduino.32bit to practically any other directory on the hard drive, although not a sub-directory of ./arduino-1.6.5

2) verify that Arduino is installed (properly) by running it and seeing that you get an operable IDE which offers compile-able examples and everything.

3) execute teensyduino.32bit and show it where the Arduino install (which qualifies at step #2 above) is; at this point it should be only too happy to proceed for you.
 
So I execute it, and it appears to run OK, but wants to know where it should be installed. I select /arduino directory, but then it asks which subdir, and there I don't know how to respond.

Click the "Next" button to advance to the next stage of the installer, once you have selected the folder with Arduino 1.6.5.

The installer tries to assist you by keeping the Next button disabled when the currently selected dir does not contain a supported copy of Arduino. There is also a tiny question mark button which opens another window to show you the specific checks the installer is doing to verify if the dir you have selected is a known copy of Arduino. If you believe you have clicked the proper dir, but Next is still gray/disabled, that info will tell you why the installer does not recognize it.
 
Status
Not open for further replies.
Back
Top