I can't compile sketches for Arduino 101 on Ubuntu 16.04

Discussion in 'UDOO X86' started by dave234, Jun 12, 2019.

  1. dave234

    dave234 New Member

    Jun 12, 2019
    Likes Received:

    I have an UDOO x86 Ultra with Ubuntu 16.04 and I installed the Arduino IDE 1.8.9. The internal connection to the Arduino/Genuino 101 is found at port: /dev/ttyACM0 (Arduino/Genuino 101)

    My problem is, when I try to compile a sketch for the Arduino/Genuino 101, I receive the following error message:


    Arduino: 1.8.9 (Linux), Board: "Arduino/Genuino 101"

    Build options changed, rebuilding all
    fork/exec /home/dock/.arduino15/packages/Intel/tools/arc-elf32/1.6.9+1.0.1/bin/arc-elf32-g++: no such file or directory
    Error compiling for board Arduino/Genuino 101.

    This report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences.


    I need to use the Curie board to read sensor data through I2C and to control a stepper motor.
    I can compile and upload sketches to a normal Arduino/Genuino Uno without any problems.

    When I open the directory where the missing file should be, I find the following files:


    Can anyone please help me? I can't find anything for this problem that could help me.
  2. waltervl

    waltervl UDOOer

    Dec 12, 2015
    Likes Received:
  3. dave234

    dave234 New Member

    Jun 12, 2019
    Likes Received:
    Hi waltervl,

    Thanks for your reply. I already encountered this link and I already uninstalled and reinstalled the Arduino IDE. Unfortunately this did not help as the missing file was still not there.

    It is possible to compile the program with the Arduino Web Tool, but I would rather use the offline IDE.
    Do you have any experience with this problem?
  4. dave234

    dave234 New Member

    Jun 12, 2019
    Likes Received:

    I just deleted the Arduino IDE (as I already did before but this time I deleted the "~/.arduino15" directory) and after I re-installed the Arduino IDE, the "arc-elf32-g++" was there this time and I could compile and upload an example program.

    Thank you waltervl to make me re-install it even though I already tried this.

    It does not make any real sense as nothing is really different in the end, but it's working now.
    evaloverde and waltervl like this.
  5. Yolanday

    Yolanday UDOOer

    Dec 5, 2023
    Likes Received:
    Precautions for using stepper motors

    Stepper motor, also known as pulse motor, is an induction motor that involves a lot of professional knowledge such as machinery, motors, electronics and computers. When using stepper motors, you must understand the precautions for using stepper motors.

    Precautions for using stepper motors:
    1. Stepper motors are used in low speed situations - speed does not exceed 1,000 revolutions per minute (6,666 PPS at 0.9 degrees). It is best used between 1000 and 3000 PPS (0.9 degrees). It can be used here. Through a reduction device. At this time, the motor has high working efficiency and low noise;
    2. It is best not to use the full step state of the stepper motor, because the vibration is large in the full step state;
    3. For historical reasons, only motors with a rated voltage of 12V use 12V. The voltage value of other motors is not the control voltage. The control voltage can be selected according to the driver. Of course, the voltage of 12 V can also be used. in addition to the 12V constant voltage drive. Other driving power supplies, but the temperature increase should be considered;
    4. For loads with large rotational inertia, motors with large frame sizes should be selected;
    5. When the motor runs at a higher speed or with a large inertia load, it generally does not start at the working speed, but gradually increases the frequency and speed. The motor is not easy to lose synchronization. Secondly, it can reduce noise and improve the positioning accuracy of the stopper;
    6. When the precision is high, it should be solved by mechanical deceleration, increasing the motor speed or using a high-resolution driver;
    7. The motor should not operate in the vibration zone. If necessary, this can be solved by changing the voltage, current or adding damping;
    8. Motors operating below 600 PPS (0.9 degrees) should be driven by low current, large inductance and low voltage;
    9. The principle of selecting the motor first and then the driver should be followed.

Share This Page