Installation and Troubleshooting
kjinx at June 3rd, 2014 12:30 — #1
I have carefully followed the installation instructions for all the software components. The Board option "LightBlue Bean" is selected in Arduino IDE 1.0.5 (Teensyduino 1.19). There are (in the case of my Mac) 8 different serial ports listed under TOOLS > Serial Port: which have a "Bluetooth reference". I have tried all of them to no avail.
The error message is the same: Error communicating with Teensy Loader
In addition the teensyduino installer when runs says, "SELECT ARDUINO FOLDER"
This is of course very misleading because it doesn't want you to point at a folder at all, it wants you to
point at the Arduino.app package in the Applications folder. The "Arduino" folder, at least on the Mac
is located in the Documents folder and just used as the location for libraries. This needs to be
made clearer for inexperienced users. Very confusing.
Also when LightBlueBean-MacLoader-1.0.0.pkg is run ... it is "very unclear" what the installer is doing.
What does it install? Where does it install it? How does the Arduino 1.0.5 IDE know where it
is and how to connect to it? What pathnames are expected.
So I'm stuck. Obviously Arduino 1.0.5 is not communicating with the Teensy Loader.
robertv at June 3rd, 2014 17:21 — #2
I have the same issue as well, but just to add a note (which I've also replied to a different thread on this forum) is I'm running OS X 10.8.5 on my work system. On my home system where it is running 10.9.x, I have no issues with any of the software setup.
paulcheng at June 3rd, 2014 23:16 — #3
I have the same issue, and I am using OS X 10.8.5.
Dose this problem happen with OS 10.8.5 only?
codeandcircuit at June 5th, 2014 21:58 — #4
Same here. 10.8 gives this error. 10.9 works.
theevl at June 8th, 2014 12:00 — #5
I am running OS 10.6.8, and I am having "Error communicating with Teensy Loader" when i click "verify" or "upload".
this is what I get from the "copy error to clipboard":
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
Arduino: 1.0.5 (Mac OS X), Board: "LightBlue Bean"
Also, i get a pop-up with "JavaApplicationStub quit unexpectedly."
I do not see a new UI that looks like a BeanLoader or TeensyLoader or anything.
pasxa at June 19th, 2014 14:27 — #6
Does anyone found a solution?
Having the same issue Macbook Pro, OSX 10.8.5
mri at June 25th, 2014 05:49 — #7
Same problem here. OSX 10.8.5 and no real plans to update (as I don't like the cloud). I spend some time to see if I can get it running somehow. Still found nothing but:
- Selecting a different device using the Teensyduino loader (e.g. Teensy 2.0) seems to work.
- Enabling the full logging in the Arduino SW don't show any additional error messages.
It indicates that the problem is located in the Teenyduino<->Bean Loader. So my assumption is that the ball lays on the Punchthrough field. It could be a simple error. Like the installation path of the Bean-Loader contains a space:
And the boards.txt file points to it without " but that seems to be correct (I tried it with " and the Arduino SW complained about file not found).
versu at June 25th, 2014 12:23 — #8
It seems they have done that on purpose/mistake by compiling the app (Bean Loader.app) to 10.9 as minimum
(see picture by replacing the ** by tt)
Is there a place to report bugs or so?
mri at June 25th, 2014 13:05 — #9
Getting bored as I can't spend time to use the beans. So I spend time to see what can be done here.
Digging a bit deeper into the installed packages I found that strange looking Icon (OK, no screenshots as I'm still a newbie here and are not allowed to).
- Open Finder
- Go To --> Go To Folder... and enter the following path which leads you direct into the installed Arduino / Teensy Loader packages:
- Look at the Bean Loader Icon. Doesn't it look nice?
- Now click on the Crossed through Bean Loader. You'll get a nice error message.
Clearly it's Punchthroughs code causing the problem with us 10.8 users
But why stop here? Rightclick on the Bean Loader -> Show content (or so, using the German language) go into Contents and open the Info.plist in any editor (TextEdit will do). close to the end you'll find the following:
So now lets see if I can patch the Bean Loader installer to announce that 10.8 is sufficient. Stay tuned
No, it does not work Just tried to call the loader direct in a terminal window and it Segfaulted immediately. So Only Punchthrough or an update of teh operating system will help. Unless someone else has other ideas...
mri at June 25th, 2014 13:10 — #10
OK, you where first there! I haven't noticed your post. Do you think it's possible to patch the package to tell the OS it's OK to run the code without re-compile? I know the chances aren't big, but if they don't use fancy functions we might be lucky.
versu at June 25th, 2014 17:54 — #11
It would've taken seconds to fix if the application would've been open source It is also possible to patch the binary to avoid the check (at least to not abort for unexpected libsystem_c.dylib) but it will take awhile and it won't even assure a proper execution...
Definitely they should recompile the binary (/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/Bean Loader.app/Contents/MacOS/Bean Loader) against a lower system base.
mri at June 26th, 2014 03:08 — #12
It's really sad, that instead developing stuff for the beans we have to struggle with this. And looking at the Server where the Loader comes from indicates that this 10.9 was required since the initial versions they published there. And since punchthrough is working on other drivers I fear that we either can't use the beans or have to upgrade.
versu at June 26th, 2014 13:25 — #13
In their defense, I might say that they might don't have an easy way to support 10.8 after looking at the Bluetooth BLE API:
As of OS X v10.9 and iOS 6, Mac and iOS devices can also function as Bluetooth low energy peripherals, serving data to other devices, including other Mac and iOS devices.
Available in OS X v10.9 and later.
Let's see if they confirm the real reason soon, before we are "forced" to update in order to play
versu at June 26th, 2014 14:20 — #14
Well, actually, it should be possible to make it work from 10.7:
But because some methods are deprecated on 10.9 I guess they decided to just support 10.9...
mri at June 26th, 2014 15:22 — #15
Nice findings Versu!
But they seem to use fuctions available in OS X v10.9 and later. Like retrieveConnectedPeripheralsWithServices:
strings Bean\ Loader | grep retrieveConnectedPeripheralsWithServices
And if so the Installer should prevent the installation with a message that the software requires 10.9. On this way everyone knows what's up. Now lots of people scratching their head because the culprit seems to be the Teensy Loader. But lets hope that the don't go for the easy solution!
I posted a feature request at the 'Feature Suggestions' section here. Lets hope for an answer from PT.