My TinyFPGA-BX board appears in lsusb as the following.
Bus 001 Device 008: ID 1d50:6130 OpenMoko, Inc.
I can build and upload code using command-line apio after having enabled the driver with the command:
apio drivers --serial-enable
(I also had to add my user to the 'dialout' group so I could write to the port)
In icestudio I ran the 'Enable Driver' option and can see a 80-fpga-fdti.rules file that looks like this:
ATTRS{idVendor}=="0483", ATTRS{idProduct}=="5740", ENV{ID_MM_DEVICE_IGNORE}="1"
# Disable ModemManager for TinyFPGA B2
ATTRS{idVendor}=="1209", ATTRS{idProduct}=="2100", ENV{ID_MM_DEVICE_IGNORE}="1"# Disable ModemManager for TinyFPGA BX
ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="6130", ENV{ID_MM_DEVICE_IGNORE}="1"# Disable ModemManager for iceFUN
ATTRS{idVendor}=="04d8", ATTRS{idProduct}=="ffee", ENV{ID_MM_DEVICE_IGNORE}="1"
But when I try to upload from icestudio I get a 'board TinyFPGA-BX not connected' error
APIO_HOME_DIR="/home/bruce/.icestudio/apio" PATH="/home/bruce/.icestudio/venv/bin:/tmp/.mount_bLTI5u/usr/bin:/tmp/.mount_bLTI5u/usr/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin" "/home/bruce/.icestudio/venv/bin/apio" upload --board TinyFPGA-BX --verbose-pnr -p "/tmp/icestudio-96127nNzXiEuiSYz"
(DEBUG) Profile path: /home/bruce/.icestudio/apio/profile.json
(DEBUG) Home_dir: /home/bruce/.icestudio/apio
(DEBUG) Profile path: /home/bruce/.icestudio/apio/profile.json
(DEBUG) Home_dir: /home/bruce/.icestudio/apio
(DEBUG) Run Command: lsusb
(DEBUG) System_base_dir: /home/bruce/.icestudio/apio/packages/tools-oss-cad-suite
(DEBUG) System bin dir: /home/bruce/.icestudio/apio/packages/tools-oss-cad-suite/bin
(DEBUG) Executable file: /home/bruce/.icestudio/apio/packages/tools-oss-cad-suite/bin/lsusb
Error: board TinyFPGA-BX not connected
The documentation says you can also enable the driver from apio using the command:
apio drivers --ftdi-enable
Which is different to the option I used with command-line apio where I specified serial rather than ftdi.
Any help it getting this setup would be appreciated.
My TinyFPGA-BX board appears in lsusb as the following.
Bus 001 Device 008: ID 1d50:6130 OpenMoko, Inc.I can build and upload code using command-line apio after having enabled the driver with the command:
apio drivers --serial-enable(I also had to add my user to the 'dialout' group so I could write to the port)
In icestudio I ran the 'Enable Driver' option and can see a 80-fpga-fdti.rules file that looks like this:
But when I try to upload from icestudio I get a 'board TinyFPGA-BX not connected' error
The documentation says you can also enable the driver from apio using the command:
apio drivers --ftdi-enableWhich is different to the option I used with command-line apio where I specified serial rather than ftdi.
Any help it getting this setup would be appreciated.