Teensyduino 1.25 Beta #1 Available

Status
Not open for further replies.
I tested on a Mac with El Capitan and I was able to reproduce the problem.

It's due to a bug in handling endpoint halting, deep in the Teensyduino USB stack. Until El Capitan, none of the operating systems have used this, so the bug went unnoticed all this time.

Well, actually, I noticed it a couple weeks ago by random chance while working on the MTP stuff. I fixed the bug as part of this initial MTP work. Here's the specific fix:

https://github.com/PaulStoffregen/c...117#diff-7b3a44510f0e4eee93c6b42a56b5b3b5L279

I just tested this with El Capitan. It does solve the problem.

If you'd like to try this now, right click (or control click) on Arduino and choose "Show Package Contents". Then navigate to Contents/Java/hardware/teensy/avr/cores/teensy3. You'll need to replace everything in that folder with the contents of this github repository. Use "Download ZIP" on the right hand side to download the whole thing.

https://github.com/PaulStoffregen/cores

Within the next couple weeks I'm going to put together a first beta for 1.26, which will have this fix.

I'm also going to try to find way to create a Yosemite and El Capitan compatible signatures without losing Snow Leopard and Lion compatibility. Unforunately, that's a *lot* harder than fixing USB bugs! Apple really makes it tough to build compatibly for their older systems, so I'm going to try to set up a build process using two macs....
 
Last edited:
That fix works perfectly, Paul! Thank you very much!

No more need to push the program knob on the teensy every time to upload a new sketch, the loader does its work now as before Capitan. And one can open and close the serial Monitor as often as one wants, the sketch continues running on the Teensy. :)
 
If anyone's still watching this thread and waiting for the El Capitan fixes, the wait is over!

https://forum.pjrc.com/threads/31043-Teensyduino-1-26-Beta-1-Available

For the dire message issue, you still have to run Arduino at least once before installing Teensyduino. Eventually I'll fix that signature issue too, but it's very difficult, so a fix is probably several months out. At least for now, just running Arduino once before running the installer works around the issue.

Please reply on that thread, if you have any feedback on how this works with El Capitan. I'm going to close this old thread.
 
Status
Not open for further replies.
Back
Top