Forum Rule: Always post complete source code & details to reproduce any issue!
Page 1 of 3 1 2 3 LastLast
Results 1 to 25 of 60

Thread: Teensyduino 1.50 Released

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

    Teensyduino 1.50 Released

    Teensyduino 1.50 has been released.

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

    This is a detailed list of the changes since 1.49:


    • Support for Arduino 1.8.11
    • Fix soft reboot on Teensy 4.0
    • Fix 1 GHz in Tools > CPU Speed
    • Fix IntervalTimer minimum on Teensy 4.0 (KurtE)
    • Add defines for ethernet and PLLs
    • Add defines ARDUINO_TEENSY## for each board
    • Fix Printable.h with WiFiNANA lib on Teensy 4.0 (MichaelMeissner)
    • Minor fix to defines (Frank B)
    • Update ADC & ST7735_t3 libraries


    The last 3 items on this list were added after 1.50-beta1.

  2. #2
    Senior Member duff's Avatar
    Join Date
    Jan 2013
    Location
    Las Vegas
    Posts
    991
    Downloaded Arduino 1.8.11 twice and ran it with no problems then downloaded and installed this Teensyduino and when I opened Arduino it crashes with this error every time now for both Arduino's I downloaded:
    Process: Arduino [5606]
    Path: /private/var/folders/*/Arduino.app/Contents/MacOS/Arduino
    Identifier: cc.arduino.Arduino
    Version: ???
    Code Type: X86-64 (Native)
    Parent Process: ??? [1]
    Responsible: Arduino [5606]
    User ID: 501


    Date/Time: 2020-01-31 19:25:38.962 -0800
    OS Version: Mac OS X 10.13.6 (17G10021)
    Report Version: 12
    Anonymous UUID: A9BE6FF8-36FF-1512-5289-45EAC01D4BA7


    Sleep/Wake UUID: ECC6EA37-12E9-482C-8A4F-CBB0E5789FE3


    Time Awake Since Boot: 830000 seconds
    Time Since Wake: 7800 seconds


    System Integrity Protection: enabled


    Notes: Translocated Process


    Crashed Thread: 0


    Exception Type: EXC_CRASH (Code Signature Invalid)
    Exception Codes: 0x0000000000000000, 0x0000000000000000
    Exception Note: EXC_CORPSE_NOTIFY


    Termination Reason: Namespace CODESIGNING, Code 0x1


    kernel messages:


    VM Regions Near 0 (cr2):
    -->
    __TEXT 0000000108d07000-0000000108d0c000 [ 20K] r-x/r-x SM=COW S []


    Thread 0 Crashed:
    0 ??? 0x0000000111f5119c _dyld_start + 0


    Thread 0 crashed with X86 Thread State (64-bit):
    rax: 0x0000000000000000 rbx: 0x0000000000000000 rcx: 0x0000000000000000 rdx: 0x0000000000000000
    rdi: 0x0000000000000000 rsi: 0x0000000000000000 rbp: 0x0000000000000000 rsp: 0x00007ffee6ef8b18
    r8: 0x0000000000000000 r9: 0x0000000000000000 r10: 0x0000000000000000 r11: 0x0000000000000000
    r12: 0x0000000000000000 r13: 0x0000000000000000 r14: 0x0000000000000000 r15: 0x0000000000000000
    rip: 0x0000000111f5119c rfl: 0x0000000000000200 cr2: 0x0000000000000000

    Logical CPU: 0
    Error Code: 0x00000000
    Trap Number: 0




    Binary Images:
    0x108d07000 - 0x108d0bfff +??? (???) <2AE2040B-3408-3208-B101-5825B8F425F0> (null)
    0x111f50000 - 0x111f9aadf +??? (551.5) <ACC6AC7F-EAD9-340E-B2A8-AD26FE5B387B> (null)


    External Modification Summary:
    Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
    Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
    Calls made by all processes on this machine:
    task_for_pid: 74590183
    thread_create: 0
    thread_set_state: 0


    VM Region Summary:
    ReadOnly portion of Libraries: Total=452K resident=0K(0%) swapped_out_or_unallocated=452K(100%)
    Writable regions: Total=8404K written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=8404K(100%)

    VIRTUAL REGION
    REGION TYPE SIZE COUNT (non-coalesced)
    =========== ======= =======
    STACK GUARD 56.0M 2
    Stack 8192K 2
    __DATA 228K 4
    __LINKEDIT 132K 3
    __TEXT 320K 3
    shared memory 8K 3
    =========== ======= =======
    TOTAL 64.7M 11


    Model: MacBookPro9,2, BootROM 228.0.0.0.0, 2 processors, Intel Core i7, 2.9 GHz, 8 GB, SMC 2.2f44
    Graphics: Intel HD Graphics 4000, Intel HD Graphics 4000, Built-In
    Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54333531533643465238432D50422020
    Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54333531533643465238432D50422020
    AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xF5), Broadcom BCM43xx 1.0 (7.21.190.20.1a4)
    Bluetooth: Version 6.0.7f16, 3 services, 27 devices, 1 incoming serial ports
    Network Service: Wi-Fi, AirPort, en1
    Serial ATA Device: CT500MX500SSD1, 500.11 GB
    Serial ATA Device: MATSHITADVD-R UJ-8A8
    USB Device: USB 2.0 Bus
    USB Device: Hub
    USB Device: FaceTime HD Camera (Built-in)
    USB Device: USB 2.0 Bus
    USB Device: Hub
    USB Device: Hub
    USB Device: Apple Internal Keyboard / Trackpad
    USB Device: IR Receiver
    USB Device: BRCM20702 Hub
    USB Device: Bluetooth USB Host Controller
    USB Device: USB 3.0 Bus
    Thunderbolt Bus: MacBook Pro, Apple Inc., 25.1


  3. #3
    Senior Member
    Join Date
    Nov 2017
    Location
    Belgium
    Posts
    211
    Quote Originally Posted by duff View Post
    Downloaded Arduino 1.8.11 twice and ran it with no problems then downloaded and installed this Teensyduino and when I opened Arduino it crashes with this error every time now for both Arduino's I downloaded:
    MacBookPro8,2 OS X 10.13.6 (16G29)
    iMac12,2 OS X 10.13.6 (17G10021)

    Arduino 1.8.11 & TD1.50 is running fine on both systems.

  4. #4
    Senior Member duff's Avatar
    Join Date
    Jan 2013
    Location
    Las Vegas
    Posts
    991
    I get this error if I try from Terminal:
    LSOpenURLsWithRole() failed with error -10810 for the file /Users/duff/Downloads/Arduino.app.

  5. #5
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    21,288
    Quote Originally Posted by duff View Post
    I get this error if I try from Terminal:
    Does 1.50-beta1 work, or also crash?

    https://forum.pjrc.com/threads/59297...no-1-50-Beta-1

    I ran 1.50 here several times on my Macbook Air with Catalina 10.15.3. Started up properly every time. Compiler and uploads programs without error.

    Can you try downloading the 1.50 ZIP file without extracting? In Safari, control-click and select Download Linked File. Then in terminal, run "shasum Teensyduino_MacOS_Catalina.zip". If the ZIP file is intact, it should print this:

    Code:
    091ebac53174a5929d09a877bcc1ba4f83fba38e  Teensyduino_MacOS_Catalina.zip
    Last edited by PaulStoffregen; 02-01-2020 at 10:03 AM.

  6. #6
    Senior Member+ mjs513's Avatar
    Join Date
    Jul 2014
    Location
    New York
    Posts
    4,588
    Just downloaded and installed 1.50 and IDE 1.8.11 with no problems on a Win10x64 PC. Ran a test sketch using ST7735 library that I was working on ran with no issues.

    Just a couple of observations with the latest release:
    1. Not seeing multiple libraries but think that was corrected already can't remember anymore since I learned to ignore that message.
    2. Teensy 4 now identified: Using board 'teensy40' along with "-DARDUINO_TEENSY40".
    3. Compiles a lot faster on recompiles - did not it is now saying its using precompiled binaries.

  7. #7
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    6,085
    Installed on Windows 10 and on MAC Catalina with latest updates and it appears to run on both. Did not try to program Teensy yet on MAC, but the compiled Blink for T4 and it went all the way to Teensy app...

    On Windows, programmed T4 with sketch for RA8875... So far so good. As mentioned, not getting all of those duplicated messages with 1.8.11, but that was release note. I have not verified if I still get them when they are valid.

  8. #8
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    21,288
    Thanks for testing.

    Yup, Arduino fixed the bugs. I'm going to drop support for Arduino 1.8.10 in the next Teensyduino release.

  9. #9
    Senior Member
    Join Date
    Nov 2017
    Location
    Belgium
    Posts
    211
    Quote Originally Posted by neurofun View Post
    MacBookPro8,2 OS X 10.13.6 (16G29)
    iMac12,2 OS X 10.13.6 (17G10021)

    Arduino 1.8.11 & TD1.50 is running fine on both systems.
    I spoke too soon. After shutting down both macs and have a good night sleep, today arduino crashes on startup on both systems.
    Code:
    Process:               Arduino [917]
    Path:                  /Applications/Arduino.app/Contents/MacOS/Arduino
    Identifier:            cc.arduino.Arduino
    Version:               ???
    Code Type:             X86-64 (Native)
    Parent Process:        ??? [1]
    Responsible:           Arduino [917]
    User ID:               502
    
    Date/Time:             2020-02-01 15:14:03.529 +0100
    OS Version:            Mac OS X 10.13.6 (17G10021)
    Report Version:        12
    Anonymous UUID:        37A0F961-1C41-3A43-6AF6-9378166121D0
    
    
    Time Awake Since Boot: 550 seconds
    
    System Integrity Protection: enabled
    
    Crashed Thread:        0
    
    Exception Type:        EXC_CRASH (Code Signature Invalid)
    Exception Codes:       0x0000000000000000, 0x0000000000000000
    Exception Note:        EXC_CORPSE_NOTIFY
    
    Termination Reason:    Namespace CODESIGNING, Code 0x1
    
    kernel messages:
    
    VM Regions Near 0 (cr2):
    --> 
        __TEXT                 000000010e9cd000-000000010e9d2000 [   20K] r-x/r-x SM=COW  } []
    
    Thread 0 Crashed:
    0   ???                           	0x0000000113eb819c _dyld_start + 0
    
    Thread 0 crashed with X86 Thread State (64-bit):
      rax: 0x0000000000000000  rbx: 0x0000000000000000  rcx: 0x0000000000000000  rdx: 0x0000000000000000
      rdi: 0x0000000000000000  rsi: 0x0000000000000000  rbp: 0x0000000000000000  rsp: 0x00007ffee1232c30
       r8: 0x0000000000000000   r9: 0x0000000000000000  r10: 0x0000000000000000  r11: 0x0000000000000000
      r12: 0x0000000000000000  r13: 0x0000000000000000  r14: 0x0000000000000000  r15: 0x0000000000000000
      rip: 0x0000000113eb819c  rfl: 0x0000000000000200  cr2: 0x0000000000000000
      
    Logical CPU:     0
    Error Code:      0x00000000
    Trap Number:     0
    
    
    Binary Images:
           0x10e9cd000 -        0x10e9d1fff +??? (???) <2AE2040B-3408-3208-B101-5825B8F425F0> (null)
           0x113eb7000 -        0x113f01adf +??? (551.5) <ACC6AC7F-EAD9-340E-B2A8-AD26FE5B387B> (null)
    
    External Modification Summary:
      Calls made by other processes targeting this process:
        task_for_pid: 0
        thread_create: 0
        thread_set_state: 0
      Calls made by this process:
        task_for_pid: 0
        thread_create: 0
        thread_set_state: 0
      Calls made by all processes on this machine:
        task_for_pid: 37212
        thread_create: 0
        thread_set_state: 0
    
    VM Region Summary:
    ReadOnly portion of Libraries: Total=452K resident=0K(0%) swapped_out_or_unallocated=452K(100%)
    Writable regions: Total=8404K written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=8404K(100%)
     
                                    VIRTUAL   REGION 
    REGION TYPE                        SIZE    COUNT (non-coalesced) 
    ===========                     =======  ======= 
    STACK GUARD                       56.0M        2 
    Stack                             8192K        2 
    __DATA                             228K        4 
    __LINKEDIT                         132K        3 
    __TEXT                             320K        3 
    shared memory                        8K        3 
    ===========                     =======  ======= 
    TOTAL                             64.7M       11 
    
    Model: iMac12,2, BootROM IM121.004D.B00, 4 processors, Intel Core i5, 3,1 GHz, 24 GB, SMC 1.72f5
    Graphics: AMD Radeon HD 6970M, AMD Radeon HD 6970M, PCIe
    Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1333 MHz, 0x80CE, 0x4D34373142353237334448302D434B302020
    Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1333 MHz, 0x80CE, 0x4D34373142353237334448302D434B302020
    Memory Module: BANK 0/DIMM1, 8 GB, DDR3, 1333 MHz, 0x0198, 0x393955353432382D3031382E4130304C4620
    Memory Module: BANK 1/DIMM1, 8 GB, DDR3, 1333 MHz, 0x0198, 0x393955353432382D3031382E4130304C4620
    AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x9A), Atheros 9380: 4.0.74.0-P2P
    Bluetooth: Version 6.0.7f16, 3 services, 18 devices, 1 incoming serial ports
    Network Service: Wi-Fi, AirPort, en1
    Serial ATA Device: WDC WD30EFRX-68EUZN0, 3 TB
    Serial ATA Device: Samsung SSD 860 EVO 1TB, 1 TB
    Serial ATA Device: OPTIARC DVD RW AD-5690H
    USB Device: USB 2.0 Bus
    USB Device: FaceTime HD Camera (Built-in)
    USB Device: Hub
    USB Device: Keyboard Hub
    USB Device: USB-PS/2 Optical Mouse
    USB Device: Apple Keyboard
    USB Device: BRCM2046 Hub
    USB Device: Bluetooth USB Host Controller
    USB Device: USB 2.0 Bus
    USB Device: Hub
    USB Device: IR Receiver
    USB Device: Internal Memory Card Reader
    Thunderbolt Bus: iMac, Apple Inc., 25.1

  10. #10
    Senior Member
    Join Date
    Nov 2017
    Location
    Belgium
    Posts
    211
    Quote Originally Posted by neurofun View Post
    I spoke too soon. After shutting down both macs and have a good night sleep, today arduino crashes on startup on both systems.
    Same behaviour with 1.50-beta1.

  11. #11
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    6,085
    @nerufun - For what it is worth, I am running macOS Catalina 10.15.3 on Macbook Pro (Retina, 15 inch, early 2013), I shutdown the MAC and restarted and still runs.

    I am guessing you are running with the older MAC Installer version as it looks like you are running 10.13... ?

  12. #12
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    21,288
    Maybe these Mac crashes are from the Java JRE?

    Can you try running 1.49? Does it work on your Mac?

    Does a plain 1.8.11 from Arduino's website run or crash on your Mac?

  13. #13
    Senior Member duff's Avatar
    Join Date
    Jan 2013
    Location
    Las Vegas
    Posts
    991
    So I did finally got Teensyduino 1.5.0 to install correctly. For some reason my machine which is old (2012) and running Mac 10.13.4 Quarantines the Arduino ide when I download it. I checked with this command:
    Code:
    duff$ xattr /Users/duff/Downloads/Arduino.app
    com.apple.quarantine
    Now I can open and run Arduino ide fine before installing Teensyduino even though it is Quarantined. So to get Teensyduino to install and not have the Arduino crash I ran this command before installing:
    Code:
    duff$ sudo xattr -r -d com.apple.quarantine /Users/duff/Downloads/Arduino.app
    I not sure if this matters but when I downloaded and ran the Ardiono Pro Ide it really screwed with the Java version of Arduino. I would get errors that the board files where corrupted and had to be reinstalled and other things I can't remember now.

    I downloaded the Catilna Teensyduino and ran and got what looks like the right hash sum?:
    Code:
    duff$ shasum Teensyduino_MacOS_Catalina.zip
    091ebac53174a5929d09a877bcc1ba4f83fba38e  Teensyduino_MacOS_Catalina.zip
    Last edited by duff; 02-01-2020 at 06:13 PM. Reason: Hit post to soon

  14. #14
    Senior Member
    Join Date
    Nov 2017
    Location
    Belgium
    Posts
    211
    Quote Originally Posted by PaulStoffregen View Post
    Maybe these Mac crashes are from the Java JRE?

    Can you try running 1.49? Does it work on your Mac?
    1.49 runs fine with arduino 1.8.10 as does 1.50.
    But cannot install 1.49 on arduino 1.8.11 which I think is normal since arduino 1.8.11 is only supported by td1.50.

    Does a plain 1.8.11 from Arduino's website run or crash on your Mac?
    Plain 1.8.11 does not crash. After a reboot of the mac it still works fine.

    After installing TD1.50 it still doesn't crash. I can compile & upload.
    After quitting and restarting arduino, no crash and I can still compile & upload.
    After logout & login from finder, no crash and I can still compile & upload.
    After rebooting the mac, adruino crashes immediately upon start.

    iMac 2011 osx10.13.6

  15. #15
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    21,288
    Quote Originally Posted by neurofun View Post
    iMac 2011 osx10.13.6
    Can you run the Catalina 10.15 version on 10.13.6? Does it crash also?

    Maybe it's time to just completely retire the installer from MacOS?

  16. #16
    Senior Member duff's Avatar
    Join Date
    Jan 2013
    Location
    Las Vegas
    Posts
    991
    Quote Originally Posted by PaulStoffregen View Post
    Can you run the Catalina 10.15 version on 10.13.6? Does it crash also?

    Maybe it's time to just completely retire the installer from MacOS?
    Yes it does work on my 10.13.4 Mac with no crashes that I saw.

  17. #17
    Junior Member
    Join Date
    Jan 2020
    Location
    Toronto, Canada
    Posts
    10
    Just installed TD 1.50 and tested with T4 on Ubuntu 18.04.1 LTS x64 with Arduino IDE 1.8.11. No problem so far with compiling, uploading and running T4 with
    1. ESP8266 shield
    2. Ethernet shield
    3. HardwareSerial <-> USB (/dev/ttyACM0) <-> socat
    to provide communications and connect to Blynk / Internet.

  18. #18
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    21,288
    I tested the Catalina version on 10.12.6. Works fine.

    Sadly, I don't have any macs older than 10.12 (Sierra) but newer than 10.7 (Lion) testing, so I don't know how far back it works. It definitely does not work on 10.7. If anyone reading this has an old Mac running 10.8 to 10.11, please please please run the Catalina build and let me know if it works or fails on those older MacOS systems.

    I'm going to update the webpage now to at least say "10.12 to 10.15" for the new all-in-one copy.

  19. #19
    Senior Member
    Join Date
    Nov 2017
    Location
    Belgium
    Posts
    211
    Quote Originally Posted by PaulStoffregen View Post
    Can you run the Catalina 10.15 version on 10.13.6? Does it crash also?

    Maybe it's time to just completely retire the installer from MacOS?
    The Catalina 10.15 version runs without crashing, also after a system reboot.
    I can compile but not upload.
    Code:
    Opening Teensy Loader...
    Unable find Teensy Loader.  (p)  Is the Teensy Loader application running?

  20. #20
    Senior Member
    Join Date
    Nov 2017
    Location
    Belgium
    Posts
    211
    Previous post was referring to iMac12,2 OS X 10.13.6 (17G10021)

    different system, different result:
    MacBookPro8,2 OS X 10.13.6 (16G29)
    The Catalina 10.15 version runs without crashing, also after a system reboot.
    I can compile & upload.

  21. #21
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    21,288
    Quote Originally Posted by neurofun View Post
    Unable find Teensy Loader. (p) Is the Teensy Loader application running?
    Does the small Teensy Loader window appear?

    In other words, trying to understand whether the problem is that is can't run Teensy Loader at all, or if you are getting the Teensy Loader window on your desktop, but then Arduino can't communicate with it.

    If the Teensy Loader window does appear, does its bottom status bar change filenames as you compile different programs in Arduino?

  22. #22
    Senior Member
    Join Date
    Nov 2017
    Location
    Belgium
    Posts
    211
    Quote Originally Posted by PaulStoffregen View Post
    Does the small Teensy Loader window appear?
    No, the Teensy Loader window does not appear.
    There is no process "Teensy" visible in the Activity Monitor.

  23. #23
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    21,288
    Quote Originally Posted by neurofun View Post
    No, the Teensy Loader window does not appear.
    Could run Applications > Utilities > Console, then click Verify in Arduino? Do any errors get logged in the console application?

  24. #24
    Senior Member
    Join Date
    Nov 2017
    Location
    Belgium
    Posts
    211
    Quote Originally Posted by PaulStoffregen View Post
    Could run Applications > Utilities > Console, then click Verify in Arduino? Do any errors get logged in the console application?
    No errors in the console.

  25. #25
    Senior Member
    Join Date
    Nov 2017
    Location
    Belgium
    Posts
    211
    iMac12,2 OS X 10.13.6 (17G10021)

    Catalina 10.15 version -> show package content -> double click Teensy.app
    result:
    Click image for larger version. 

Name:	Screen Shot 2020-02-02 at 02.15.01.jpg 
Views:	18 
Size:	69.9 KB 
ID:	18927

Posting Permissions

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