blob: baf970e2539b9261a189436a3d3d426df0c47ad3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
To upload bitfiles to the xula2 board, you first need to install the "xstools"
python package:
https://pypi.python.org/pypi/XsTools/
IMPORTANT: if you get the following error when using the xstest.py python tool
with a xula2 board on linux:
usb.core.USBError: [Errno 5] Input/output error
and then your board resets (LED turns off), then you probably need to first
upgrade the PIC microcontroller firmware:
sudo xsusbprg.py
If you get "ImportError: No module named core", you may have python-usb 0.x
installed instead of 1.0. You can install with pip instead:
sudo apt-get remove python-usb
sudo pip install pyusb --upgrade
|