So i have recently tried to upload a bitstream to TinyFPGA Bx board and while i ran the “apio build” command, i get the following message:
~$ apio upload
[Mon Jun 11 21:00:04 2018] Processing TinyFPGA-B2
tinyfpgab -c /dev/ttyACM0 --program hardware.bin
TinyFPGA B-series Programmer CLI
Using device id 1209:2100
Programming /dev/ttyACM0 with hardware.bin
Error: [Errno 13] could not open port /dev/ttyACM0: [Errno 13] Permission denied: ‘/dev/ttyACM0’
scons: *** [upload] Error 1
========================= [ ERROR ] Took 0.33 seconds =========================
I used B2 board as in init file as it is same as Bx model. I am using linux(Ubuntu 18.04 LTS).
Looks like it has something to do with permissions. Being a new Linux user, i am bit of a noob. Can anyone help?