PaulStoffregen
Well-known member
Has anyone tried on a Pi 3 yet? (I only have Pi 1, Pi 2, Pi A+ and Pi Zero... no Pi 3 here)
I downloaded the installer and it appears to start and run fine on the C2.Is the installer able to run on C2, and at least show the intro page?
odroid@odroid64:~/arduino-1.6.9$ ./arduino
Picked up JAVA_TOOL_OPTIONS:
=============== DEBUG MESSAGE: Atomic load(jlong) unsupported on this platform ================
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGILL (0x4) at pc=0x00000006, pid=2359, tid=3795117168
#
# JRE version: Java(TM) SE Runtime Environment (8.0-b132) (build 1.8.0-b132)
# Java VM: Java HotSpot(TM) Client VM (25.0-b70 mixed mode linux-arm )
# Problematic frame:
# C 0x00000006
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/odroid/arduino-1.6.9/hs_err_pid2359.log
./arduino: line 34: 2359 Segmentation fault "$JAVA" "${JAVA_OPTIONS[@]}" processing.app.Base "$@"
odroid@odroid64:~/arduino-1.6.9$ ^C
odroid@odroid64:~/arduino-1.6.9$
Thanks,Yup, it's definitely an Arduino problem. But really, it may be out of their hands, as it looks like a Java JRE compatibility issue.
Any chance you could try running the installer anyway, just to see if it's able to recognize that folder as a valid copy of Arduino and complete the installation of all files?
odroid@odroid64:~/arduino-1.6.9$ ./arduino
Picked up JAVA_TOOL_OPTIONS:
=============== DEBUG MESSAGE: Atomic load(jlong) unsupported on this platform ================
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGILL (0x4) at pc=0x00000006, pid=4268, tid=3788280944
#
# JRE version: Java(TM) SE Runtime Environment (8.0-b132) (build 1.8.0-b132)
# Java VM: Java HotSpot(TM) Client VM (25.0-b70 mixed mode linux-arm )
# Problematic frame:
# C 0x00000006
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/odroid/arduino-1.6.9/hs_err_pid4268.log
./arduino: line 34: 4268 Segmentation fault "$JAVA" "${JAVA_OPTIONS[@]}" processing.app.Base "$@"
odroid@odroid64:~/arduino-1.6.9$ mv java/ java_save
odroid@odroid64:~/arduino-1.6.9$ ./arduino
Picked up JAVA_TOOL_OPTIONS:
java.lang.UnsatisfiedLinkError: /home/odroid/arduino-1.6.9/lib/liblistSerialsj.so: /home/odroid/arduino-1.6.9/lib/liblistSerialsj.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824)
at java.lang.Runtime.load0(Runtime.java:809)
at java.lang.System.load(System.java:1086)
at processing.app.Platform.loadLib(Platform.java:155)
at processing.app.Platform.<clinit>(Platform.java:150)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at processing.app.BaseNoGui.initPlatform(BaseNoGui.java:677)
at processing.app.Base.guardedMain(Base.java:151)
at processing.app.Base.main(Base.java:135)
/home/odroid/arduino-1.6.9/lib/liblistSerialsj.so: /home/odroid/arduino-1.6.9/lib/liblistSerialsj.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)
Cannot load native library /home/odroid/arduino-1.6.9/lib/liblistSerialsj.so
The program has terminated!
odroid@odroid64:~/arduino-1.6.9$
Another side note: More Arduino issue. ... I now start up Arduino, and the library manager complains ... how does one know if the libraries that the library manager says is out of date are actually valid updates which include the changes to make them properly work ... ?
Paul, I've just sent you a personal mail
The thing is that, in general, the Flightsim plugin seems to freeze when you have more than 16 datarefs or commands. The issue doesn't seem to be new and seems to be somewhere deep in the Flightsim USB stack.
In file included from C:\Users\Kurt\Documents\Arduino\GitHub\Teensy_USBToAX\Teensy_USBToAX.ino:11:0:
C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\EEPROM/EEPROM.h:151:20: warning: 'EEPROM' defined but not used [-Wunused-variable]
static EEPROMClass EEPROM;
^
usb_serial_flush_input();
Serial.clear();
For me, the usage is something like:
I am using an Odroid Xu4 (could be RPI) on a robot, and I am using a Teensy 3.2 to control the Dynamixel Servos, and maybe I choose to put the Teensy somewhere inside of the robot and I wish to update the program, without having to tear the robot apart.
So I connect to my robot using VNC, bring up the Arduino IDE, make the change and download the updated firmware...
Thanks, I might consider that on some projects. Luckily I have only broken 1 USB connector on Teensy.This doesn't have anything to do with the new software, but for future projects or if you tear your robot apart again it's fairly easy to setup an external USB port for the Teensy 3.2. Me and one of my friends soldered onto the pads on the back of the Teensy that break out the USB connection to install a external port on our quad copter project and it's saved us a bunch of time (and saved us from breaking any more USB connectors on Teensys). Just watch out for non-standard wire colors on external USB ports and use a short jumper of 24 gauge stranded from the Teensy to the USB cable (much easier to solder to the board than the wires inside the cable).
Hi, I'm trying to compile a program with Servo.h library, and arduino 1.6.9 gives me the following error
arduino-1.6.9\libraries\Servo\src/Servo.h:69:2: error: #error "This library only supports boards with an AVR, SAM or SAMD processor."
#error "This library only supports boards with an AVR, SAM or SAMD processor."
when i usearduino 1.6.8 compiled correctly.
Thought I would mention, that there is hope here , today I tried updating C2 to latest stuff (sudo apt-get update/upgrade/dist-upgrade), Arduino 1.6.9 still failed. I then downloaded Arduino nightly build (ARM version), and this now runs... So hopefully after Arduino does the next release and Teensyduino is reved for it...Arm install worked on Odroid C1. At least it installed and compiled code. I have not tried the download yet.
Also tried on Odroid C2 (arm64), arduino fails to load...
The 32bit arm "http://www.pjrc.com/teensy/td_129-be...stall.linuxarm" doesn't even throw an error, but just returns to prompt.