sparkfun / Arduino_Boards

Board definitions for SparkFun-manufactured AVR, ARM, and ESP-based Arduino boards.
263 stars 125 forks source link

bossac not executable on Ubuntu 16.04 LTS #32

Closed gdsports closed 5 years ago

gdsports commented 6 years ago
Ubuntu 16.04 LTS

Arduino: 1.8.5 (Linux), Board: "SparkFun SAMD21 Mini Breakout"

Sketch uses 9440 bytes (3%) of program storage space. Maximum is 262144 bytes.
Forcing reset using 1200bps open/close on port /dev/ttyACM0
PORTS {/dev/ttyACM0, } / {/dev/ttyACM0, } => {}
...
PORTS {/dev/ttyACM0, } / {/dev/ttyACM0, } => {}
Uploading using selected port: /dev/ttyACM0
/home/me/arduino-1.8.5/portable/packages/SparkFun/tools/bossac/1.4.0/bossac -i -d --port=ttyACM0 -U true -i -e -w -v /tmp/arduino_build_180311/Blink.ino.bin -R 
java.io.IOException: Cannot run program "/home/me/arduino-1.8.5/portable/packages/SparkFun/tools/bossac/1.4.0/bossac": error=13, Permission denied

Setting the executable bits fixes the problem.

chmod +x ./portable/packages/SparkFun/tools/bossac/1.4.0/bossac
jimblom commented 5 years ago

Related to issue #33. This should be fixed with the latest updates to our samd core.