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

Thread: Teensyduino 1.47 Released

  1. #1
    Administrator Paul's Avatar
    Join Date
    Oct 2012
    Posts
    334

    Teensyduino 1.47 Released

    Teensyduino 1.47 has been released.

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

    1.47 is the first official release to support Teensy 4.0.


    However, not all libraries and features are supported on Teensy 4.0 yet. Here is a partial list of things known to not yet work on Teensy 4.0.

    OctoWS2811
    WS2812Serial
    PulsePosition
    USB types other than Serial
    Optimization with LTO
    legacy AVR register emulation
    FreqMeasureMulti
    SdFat
    Snooze
    TeensyThreads
    Wire slave (normal master mode works)

    My hope is to release 1.48 in early September, with most of the items on this list supported.

    If you encounter problems, please reply on this thread with details. Please include complete code and everything needed to reproduce the problem.

  2. #2
    Senior Member+
    Join Date
    Jul 2014
    Location
    New York
    Posts
    3,664
    Just did an install on a windows 10x64 and installed without a problem. As @defragster noted it did remember the last board selected, in my case it was a Teensy 4.

    One note though. On initial install it gave me the ERROR! message but I noticed in task manager there was a teensy_reboot.exe still running. One killed it the installed proceeded normally.

  3. #3
    Junior Member
    Join Date
    Aug 2019
    Posts
    8
    4.0 up and blinking! good to be back in the teensy world after an extended break. did you miss me?

    so.. it doesnt give me any USB type options: i.e. MIDI, HID. is that intentional?
    Last edited by reaganr; 08-14-2019 at 05:24 PM.

  4. #4
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    9,019
    Quote Originally Posted by mjs513 View Post
    Just did an install on a windows 10x64 and installed without a problem. As @defragster noted it did remember the last board selected, in my case it was a Teensy 4.

    One note though. On initial install it gave me the ERROR! message but I noticed in task manager there was a teensy_reboot.exe still running. One killed it the installed proceeded normally.
    Odd there was something orphaned/stuck? Before last two beta installs for sure I scanned TaskMan for Teensy processes and none survived closing IDE and TeensyLoader before install. That was with 1-3 or more T4's active and some half dozen IDE sketches open before.

    Download of Release 1.47 just completed - will update if anything shows up. This install will be after fresh reboot from Windows Updates so nothing arduino active ...

    < no news, but good update > :: Win 10 : installed 1.47 release no issue - IDE 1.8.9 started and did a blink and a primes sketch - then ili9341_t3 DemoSauce on the PJRC Purple OSH board ... ALL GOOD
    And > Three T4's online - picked the Teensy_ports one with twin SPI 0/1 ST7789's - ran 5 port Serial Test - All Good.


    OH - in the process for FUN :: On both those T4's I did a 15 second Restore after upload, then hit Program after Restore and the Sketch code went on again and came up running.
    > In both cases the IDE SerMon ( teensy_ports ) : shows Teensy as RawHid when it came back online - then Button did upload.
    Last edited by defragster; 08-14-2019 at 06:30 PM.

  5. #5
    I have arduino 1.8.9-3 installed on manjaro linux (arduino 1.8.9-3 is from the default manjaro repositories). When I run the teensyduino 1.47 installer, I cannot install because I see:

    Checking Arduino 1.8.9:
    version: "lib/version.txt" version matches
    file: "arduino" present
    file: "lib/jssc-2.8.0-arduino3.jar" present
    java: "lib/pde.jar" object: "processing/app/Base.class" wrong size, unsupported Arduino version
    Does not match Arduino 1.8.9

    What is the problem and how do I fix this? (BTW the lib/pde.jar was built on 5/20/2019)

    Thanks!

  6. #6
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    9,019
    Quote Originally Posted by pjkdeveloper View Post
    I have arduino 1.8.9-3 installed on manjaro linux (arduino 1.8.9-3 is from the default manjaro repositories). When I run the teensyduino 1.47 installer, I cannot install because I see:

    Checking Arduino 1.8.9:
    version: "lib/version.txt" version matches
    file: "arduino" present
    file: "lib/jssc-2.8.0-arduino3.jar" present
    java: "lib/pde.jar" object: "processing/app/Base.class" wrong size, unsupported Arduino version
    Does not match Arduino 1.8.9

    What is the problem and how do I fix this? (BTW the lib/pde.jar was built on 5/20/2019)

    Thanks!
    TeensyInstaller only works against 'Arduino Release' versions posted on their web site. Not daily builds and not any version that may have been 'tweaked' in a way to change the JAVA core files PJRC needs to trust to modify for chneges Teensy makes.

    The "arduino 1.8.9-3 is from the default manjaro repositories" seems to indicate it was 'tweaked' for the OS install - and as such it was modified and fails the version check before install of TeensyDuino.

  7. #7
    Ok, thank you for that! I will get rid of the manjaro repository install, and instead install from arduino.cc. I had read about that in the "known issues", but the only reason I thought it'd be ok in this instance was that the 1.8.8 install from the manjaro repositories and teensduino 1.4.5 worked just fine.....but I understand that things can change as you pointed out and will follow your advice.

    Thank you!

  8. #8

    DejaVu all over again

    I know this is a stupid operator issue.. but I seem to experience it a lot

    MacOS 10.14.6 Arduino 1.8.9, Teensy Loader 1.47, Teensy 4, Teensy Ports/...serial(Teensy 4.0")

    Causes Arduino to crash on second screwup.

    If you make a mistake that writes to much to the screen to fast and get:

    'Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space'

    you can recover by quickly closing the Arduino terminal window, fixing the error and then recompiling, reloading and opening the terminal.
    However, the next time you muck-up Arduino will freeze and your work can't be saved.

    Here is an oversimplified example to show the issue.
    1. Run it once. (Must open Arduino terminal window to start it after download)
    2. Close the terminal window.
    3. Comment the offending line in loop()
    4. Recompile, reload and run again, it works correctly.
    5. Uncomment the offending line and try again.
    6. At this point I get the freeze.

    Code:
    void setup() {
      Serial.begin(9600);
      while(!Serial)
       ;
      Serial.println("I'm starting up");
    }
    
    void loop() {
      Serial.println("DejaVu"); // comment and uncomment this line
    }

  9. #9
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    9,019
    Quote Originally Posted by bicycleguy View Post
    ... operator issue.. but I seem to experience it a lot

    MacOS 10.14.6 Arduino 1.8.9, Teensy Loader 1.47, Teensy 4, Teensy Ports/...serial(Teensy 4.0")

    Causes Arduino to crash on second screwup.

    If you make a mistake that writes to much to the screen to fast and get:

    'Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space'
    ...
    Very easy to do with the T4 not only passing in and out of loop() a few times faster than even a T_3.6 ( 20 million versus maybe 3 M ) - but the USB speed went from 12 Mbps to 480 Mbps …

    Paul improved the transfer to GUI speed a bit and removed it from JAVA to some degree - but still tweeks the IDE easily when not properly limited.

  10. #10
    Quote Originally Posted by defragster View Post
    Very easy to do with the T4 not only passing in and out of loop() a few times faster than even a T_3.6 ( 20 million versus maybe 3 M ) - but the USB speed went from 12 Mbps to 480 Mbps …

    Paul improved the transfer to GUI speed a bit and removed it from JAVA to some degree - but still tweeks the IDE easily when not properly limited.
    Seems funny it can recover once or twice, maybe just luck on what got clobbered. Probably good to save work and better to restart when this happens?

    Forgot to thank you and all the other 'volunteers' for helping make Pauls latest creation happen. I see lots of fun ahead with it!

  11. #11
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    9,019
    Quote Originally Posted by bicycleguy View Post
    Seems funny it can recover once or twice, maybe just luck on what got clobbered. Probably good to save work and better to restart when this happens?

    Forgot to thank you and all the other 'volunteers' for helping make Pauls latest creation happen. I see lots of fun ahead with it!
    >> One thing I found is Turning OFF the Teensy when being overly talkative - getting it off USB lets the computer clear up sooner/better with data while recompiling.

    Since it is buggy - it isn't exact - … as noted shutting it down ASAP allows immediate use. At some point the Heap Management of cycling buffers filling/displaying/dumping gets overwhelmed one could imagine some amount of recovery working - but at some point the recovery may just be orphaning memory and objects and it adds up.

    I tend to use TyCommander and it works as well or better - but it has issues as well - it runs fine and does a good job swapping buffers ( of adjustable size ) - but after some time of full or over speed it and Win 10 freezes/gets sluggish. It uses a 'library' "text Control" from whatever code base he has in play - so it could be refined with custom code - but not sure when that may happen.

  12. #12
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    20,301
    Quote Originally Posted by pjkdeveloper View Post
    I have arduino 1.8.9-3 installed on manjaro linux (arduino 1.8.9-3 is from the default manjaro repositories).....
    What is the problem and how do I fix this? (BTW the lib/pde.jar was built on 5/20/2019)
    Only the original software published by Arduino.cc is supported. The many distro-modified copies of Arduino are never supported.

    The installer tries to tell you this.

    Click image for larger version. 

Name:	linuxversions.png 
Views:	3 
Size:	43.1 KB 
ID:	17244

Posting Permissions

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