Teensy 3.6 IDE

Status
Not open for further replies.

caliope

Member
Brand new here.

I am in search of an IDE which will communicate/program the Teensy 3.6.

Programmers NotePad/WinAVR cannot get past this error on my Windows 10 64 bit computer:

Code:
> "make.exe" all
      0 [main] sh 10828 sync_with_child: child 8444(0x174) died before initialization with status code 0xC0000142
   8406 [main] sh 10828 sync_with_child: *** child state waiting for longjmp
/usr/bin/sh: fork: Resource temporarily unavailable
      0 [main] sh 2472 sync_with_child: child 10664(0x174) died before initialization with status code 0xC0000142
   2418 [main] sh 2472 sync_with_child: *** child state waiting for longjmp
/usr/bin/sh: fork: Resource temporarily unavailable

Internet has several posts trying to resolve this, with little success. I suspect it may be a Windows 10 issue as the references start at Windows 8.1

I want to think there is a more modern IDE available than circa 2010 with WINAVR, and gcc 4.3.x (2008) http://https://gcc.gnu.org/releases.html

Can Atmel 7 help here? I think not, since Teensy 3.6 is not an Atmel chip.

I have tried to follow the xx_Duino path, but it seems extraordinarily complex https://www.pjrc.com/teensy/td_download.html

Comments are certainly welcome
 
I'm a fan of the Arduino environment.

Just download and install the latest Arduino IDE from here https://www.arduino.cc/en/Main/Software, then download and run the Teensyduino file from here https://forum.pjrc.com/threads/46881-Teensyduino-1-40-Released.

The Teensyduino file is like an "enhancement" program that makes all the Teensy boards compatible with the Arduino IDE. You select the Teensy 3.6 board from "Tools" then "Board".

This IDE has a two "one touch" buttons in the top left corner. The first button will simply compile and let you know of any code errors. The second button will both compile and download the code (assuming the Teensy board is connected to a USB port). The first time you use this, you don't see a COM port allocated, but with inclusion of the "Serial.begin" statement, then a serial COM port will be recognised. Plenty of examples in this forum of code using the serial features - the serial monitor in the IDE is also useful for diagnostic messages etc.
 
Last edited:
At least as a starting point you want the Arduino + teensyduino install

Having done that there are a range of ways to program from your preferred IDE but the easy install methods for them all assume an existing arduino build chain (and also proves hardware is all good). Can't vouch for them but have seen discussion around use of Eclipse, MS visual studio and assorted text editors with arduino (and therefore Teensy).
 
Arduino and TeensyDuino is the best start - and easy to get up and running.

I just got a new computer - windows 10 - updated it to the just released Fall Creators Update version. Unzipped the 1.8.5 Arduino IDE to the C:\, then ran v1.40 of TeensyduinoInstall to that folder and was up and running on a T_3.6. Pulled a library from GitHub to my sketchbook\libraries folder and example from that library compiled and is running first time.

So the best way to start - and not a bad way to run. Forum support hinges on the IDE - you can swap in the external editor of your choice - but the toolchain setup and usage is good and reliable.
 
You don't need to give up Programmers NotePad. In Arduino's File > Preferences is an option to use an external editor. It disables Arduino's editor and puts Arduino into a mode where it monitors the files for changes. So you can edit from the comfort of your favorite editor, and just click Upload in Arduino when you're ready to run the code.
 
Status
Not open for further replies.
Back
Top