HI - I've just downloaded the Arudino IDE, but am having trouble uploading a sketch. I dowloaded the intel curie board 2.02 and set the port to /dev/ttyACM0, but get the following errors: Sketch uses 48732 bytes (31%) of program storage space. Maximum is 155648 bytes. processing.app.debug.RunnerException at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:160) at cc.arduino.UploaderUtils.upload(UploaderUtils.java:78) at processing.app.SketchController.upload(SketchController.java:713) at processing.app.SketchController.exportApplet(SketchController.java:686) at processing.app.Editor$DefaultExportHandler.run(Editor.java:2168) at java.lang.Thread.run(Thread.java:748) Caused by: processing.app.SerialException: Error touching serial port '/dev/ttyACM0'. at processing.app.Serial.touchForCDCReset(Serial.java:107) at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:144) ... 5 more Caused by: jssc.SerialPortException: Port name - /dev/ttyACM0; Method name - openPort(); Exception type - Permission denied. at jssc.SerialPort.openPort(SerialPort.java:170) at processing.app.Serial.touchForCDCReset(Serial.java:101) ... 6 more Looking at /dev/ttyACM0 the default permissions don't allow non-root users to access this, so I changed the permissions to allow everyone to access the file, but then got the following error: Arduino: 1.8.5 (Linux), Board: "Arduino/Genuino 101" Build options changed, rebuilding all Sketch uses 48732 bytes (31%) of program storage space. Maximum is 155648 bytes. Starting download script... Flashing is taking longer than expected Try pressing MASTER_RESET button ERROR: Timed out waiting for Arduino 101 on /dev/ttyACM0 ERROR: Timed out waiting for Arduino 101 on /dev/ttyACM0 This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences Any suggestions? Thank you, Colin
See for example this: https://www.udoo.org/forum/threads/upload-to-curie-arduino-101-doesnt-work.7372 It is a known issue. Since you started with permission issues I would suggest you to remove IDE including your local app data and reinstall Arduino IDE. The first time uploading to Arduino starts it needs to update the firmware of the Arduino BLE.