Difference between revisions of "PC Drivers"
m |
m (→JTAG Kabel in Linux) |
||
(35 intermediate revisions by 2 users not shown) | |||
Line 19: | Line 19: | ||
This LogicBox uses a USB 2.0 chip from Cypress. | This LogicBox uses a USB 2.0 chip from Cypress. | ||
− | == Windows == | + | == Windows 7 == |
New driver for Windows 7 64-Bits with Digital Signature! | New driver for Windows 7 64-Bits with Digital Signature! | ||
[http://www.physi.uni-heidelberg.de/~rubio/files/LogicBox/Driver/DL706_709_Windows.zip Windows XP/7/32-Bits/64-Bits Installer] | [http://www.physi.uni-heidelberg.de/~rubio/files/LogicBox/Driver/DL706_709_Windows.zip Windows XP/7/32-Bits/64-Bits Installer] | ||
+ | |||
+ | == Windows 10 home == | ||
+ | |||
+ | If your windows is home edition, for other version read down. | ||
+ | |||
+ | |||
+ | toubleshoots-> Advanced options -> UEFI Firmware settings | ||
+ | |||
+ | |||
+ | 1° go to the UEFI Firmware settings in BIOS and disable Security Boot Configuration. This step must be done to avoid errors in step 2 | ||
+ | |||
+ | Security -> Security Boot Configuration -> Change to Customization | ||
+ | |||
+ | 2° disable the integrity checks and go to driver test SIGNING mode. Open cmd as administrator and run: | ||
+ | |||
+ | bcdedit.exe -set loadoptions DISABLE_INTEGRITY_CHECKS | ||
+ | bcdedit.exe -set TESTSIGNING ON | ||
+ | |||
+ | 3° install the driver (may require a restart, you have to see that the laptop is in test mode, see desktop bottom corner!) | ||
+ | |||
+ | 4° Open the device manager, an look for a unknown/other device called DL706/DL709, right click it and select Update Driver Software | ||
+ | |||
+ | 5° Select Browse my computer for driver software | ||
+ | |||
+ | 6° Navigate to the folder FX2Driver_Install\whl\x64 for windows 8 64-bits or FX2Driver_Install\whl\x86 for windows 8 32-bits and click Next | ||
+ | |||
+ | 7° Select Install this driver software anyway and that is all. | ||
+ | |||
+ | 8° Go again to UEFY Firmware Settings and reset to default the Secure boot Configuration | ||
+ | |||
+ | == Windows 8/10 educational or professional == | ||
+ | |||
+ | The digital Signature for windows 7 is not working under windows 8/10. In order to install an unsigned driver, you have to start Windows in "Disable Driver Signature Enforcement" mode. After that, the driver can be installed and the next time you start Windows the "Driver Signature Enforcement" will be enable again, but the driver will still work. | ||
+ | |||
+ | |||
+ | |||
+ | 1° Download the installation files and extract it. Do not run the install.bat | ||
+ | |||
+ | [http://www.physi.uni-heidelberg.de/~rubio/files/LogicBox/Driver/DL706_709_Windows.zip Windows XP/7/32-Bits/64-Bits Installer] | ||
+ | |||
+ | |||
+ | 2° Click restart and push the key shift at the same time, windows will show this window, click trobleshoot | ||
+ | |||
+ | [[File:win8_drivers_1.gif|200px]] | ||
+ | |||
+ | |||
+ | 3° click advanced options | ||
+ | |||
+ | [[File:win8_drivers_2.gif|200px]] | ||
+ | |||
+ | |||
+ | 4° click startup settings | ||
+ | |||
+ | [[File:win8_drivers_3.gif|200px]] | ||
+ | |||
+ | |||
+ | 5° click restart button | ||
+ | |||
+ | [[File:win8_drivers_4.gif|200px]] | ||
+ | |||
+ | |||
+ | 6° Choose disable driver signature enforcement | ||
+ | |||
+ | [[File:win8_drivers_5.gif|200px]] | ||
+ | |||
+ | |||
+ | 7° Open the device manager, an look for a unknown device called DL706, right click it and select Update Driver Software | ||
+ | |||
+ | |||
+ | 8° Select Browse my computer for driver software | ||
+ | |||
+ | |||
+ | 9° Navigate to the folder FX2Driver_Install\whl\x64 for windows 8 64-bits or FX2Driver_Install\whl\x86 for windows 8 32-bits and click Next | ||
+ | |||
+ | |||
+ | 10° Select Install this driver software anyway and that is all. | ||
+ | |||
+ | [[File:win8_drivers_6.png|200px]] | ||
== Linux == | == Linux == | ||
Line 39: | Line 117: | ||
sudo apt-get install subversion | sudo apt-get install subversion | ||
− | svn checkout http://hwstar.physi.uni-heidelberg.de/svn/LB_C++/ | + | svn checkout http://hwstar.physi.uni-heidelberg.de/svn/LB_C++/trunk/ |
Make the LogicBox accessible to all users | Make the LogicBox accessible to all users | ||
− | echo SUBSYSTEMS=='"'usb'"', ATTRS{idVendor}=='"'16dc'"', ATTRS{idProduct}=='"'0013'"', GROUP='"'plugdev'"', MODE='"' | + | echo SUBSYSTEMS=='"'usb'"', ATTRS{idVendor}=='"'16dc'"', ATTRS{idProduct}=='"'0013'"', GROUP='"'plugdev'"', MODE='"'0666'"' > 20-LogicBox.rules |
− | echo SUBSYSTEMS=='"'usb'"', ATTRS{idVendor}=='"'0403'"', ATTRS{idProduct}=='"'6001'"', GROUP='"'plugdev'"', MODE='"' | + | echo SUBSYSTEMS=='"'usb'"', ATTRS{idVendor}=='"'0403'"', ATTRS{idProduct}=='"'6001'"', GROUP='"'plugdev'"', MODE='"'0666'"' >> 20-LogicBox.rules |
+ | echo SUBSYSTEMS=='"'usb'"', ATTRS{idVendor}=='"'0403'"', ATTRS{idProduct}=='"'b990'"', GROUP='"'plugdev'"', MODE='"'0666'"' >> 20-LogicBox.rules | ||
sudo mv 20-LogicBox.rules /etc/udev/rules.d/ | sudo mv 20-LogicBox.rules /etc/udev/rules.d/ | ||
Check the libusb installation library | Check the libusb installation library | ||
− | Check the LogicBox. It should show one USB device with ID 0013:16dc | + | Check the LogicBox. It should show one USB device with ID 0013:16dc or ID 6001:b990 |
lsusb | lsusb | ||
+ | If this doesn't help, add following 2 lines to a file like /etc/udev/rules.d/NM-my_usb.rules | ||
− | + | where NM is some two-digit number, like 30. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="16dc", ATTRS{idProduct}=="0013", MODE="0666", RUN+="/usr/bin/logger allowing access to: $devpath" | ||
+ | ACTION=="add", KERNEL=="ttyUSB*", SUBSYSTEM=="tty", ATTRS{idVendor}=="16dc", ATTRS{idProduct}=="0013", MODE="0666", RUN+="/usr/bin/logger allowing access to: $devpath" | ||
− | + | = JTAG Kabel in Linux = | |
+ | [http://www.george-smart.co.uk/wiki/Xilinx_JTAG_Linux Here are the instructions how to install the JTAG driver and software on a Linux PC.] or [[Media:Xilinx_JTAG_Linux_George_Smart.pdf | here]] | ||
− | + | On a Windows PC up to Windows 7 is the installation simple, on Windows 10 is to our experience impossible. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | If the PC will be used ''only'' for ''programming'' and '''not''' for ''compilation'', select '''Lab Tools''' in the installation process! |
Latest revision as of 13:28, 31 May 2019
The LogicBox communicates with the PC through a USB interface. Depending on the LogicBox model different drivers will be needed. The main platform supported is windows. Even though there are drivers and software for Linux (for the LogicBox DL701 and DL708) we cannot help if you are having troubles with it.
Contents
DL701 and DL708
This LogicBox uses a USB 1.1 chip from FTDI. This LogicBox model works under Linux, Mac and Windows.
Windows XP/7/32-Bits/64-Bits Installer
DL706 and DL709
This LogicBox uses a USB 2.0 chip from Cypress.
Windows 7
New driver for Windows 7 64-Bits with Digital Signature!
Windows XP/7/32-Bits/64-Bits Installer
Windows 10 home
If your windows is home edition, for other version read down.
toubleshoots-> Advanced options -> UEFI Firmware settings
1° go to the UEFI Firmware settings in BIOS and disable Security Boot Configuration. This step must be done to avoid errors in step 2
Security -> Security Boot Configuration -> Change to Customization
2° disable the integrity checks and go to driver test SIGNING mode. Open cmd as administrator and run:
bcdedit.exe -set loadoptions DISABLE_INTEGRITY_CHECKS bcdedit.exe -set TESTSIGNING ON
3° install the driver (may require a restart, you have to see that the laptop is in test mode, see desktop bottom corner!)
4° Open the device manager, an look for a unknown/other device called DL706/DL709, right click it and select Update Driver Software
5° Select Browse my computer for driver software
6° Navigate to the folder FX2Driver_Install\whl\x64 for windows 8 64-bits or FX2Driver_Install\whl\x86 for windows 8 32-bits and click Next
7° Select Install this driver software anyway and that is all.
8° Go again to UEFY Firmware Settings and reset to default the Secure boot Configuration
Windows 8/10 educational or professional
The digital Signature for windows 7 is not working under windows 8/10. In order to install an unsigned driver, you have to start Windows in "Disable Driver Signature Enforcement" mode. After that, the driver can be installed and the next time you start Windows the "Driver Signature Enforcement" will be enable again, but the driver will still work.
1° Download the installation files and extract it. Do not run the install.bat Windows XP/7/32-Bits/64-Bits Installer 2° Click restart and push the key shift at the same time, windows will show this window, click trobleshoot 3° click advanced options 4° click startup settings 5° click restart button 6° Choose disable driver signature enforcement 7° Open the device manager, an look for a unknown device called DL706, right click it and select Update Driver Software 8° Select Browse my computer for driver software 9° Navigate to the folder FX2Driver_Install\whl\x64 for windows 8 64-bits or FX2Driver_Install\whl\x86 for windows 8 32-bits and click Next 10° Select Install this driver software anyway and that is all.
Linux
The LogicBox is now running under Linux. All test are done with ubuntu but should work with others Linux distributions. The open source library "libusb " is used in order to control the LogicBox. To install the library and give access to the LogicBox to all user follow this installations instructions:
Install the libusb library
sudo apt-get install libusb-dev libusb-1.0-0-dev libusb-1.0-0
Install the C++ compiler
sudo apt-get install g++
Install the LogicBox source code
sudo apt-get install subversion svn checkout http://hwstar.physi.uni-heidelberg.de/svn/LB_C++/trunk/
Make the LogicBox accessible to all users
echo SUBSYSTEMS=='"'usb'"', ATTRS{idVendor}=='"'16dc'"', ATTRS{idProduct}=='"'0013'"', GROUP='"'plugdev'"', MODE='"'0666'"' > 20-LogicBox.rules echo SUBSYSTEMS=='"'usb'"', ATTRS{idVendor}=='"'0403'"', ATTRS{idProduct}=='"'6001'"', GROUP='"'plugdev'"', MODE='"'0666'"' >> 20-LogicBox.rules echo SUBSYSTEMS=='"'usb'"', ATTRS{idVendor}=='"'0403'"', ATTRS{idProduct}=='"'b990'"', GROUP='"'plugdev'"', MODE='"'0666'"' >> 20-LogicBox.rules sudo mv 20-LogicBox.rules /etc/udev/rules.d/
Check the libusb installation library
Check the LogicBox. It should show one USB device with ID 0013:16dc or ID 6001:b990
lsusb
If this doesn't help, add following 2 lines to a file like /etc/udev/rules.d/NM-my_usb.rules
where NM is some two-digit number, like 30.
ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="16dc", ATTRS{idProduct}=="0013", MODE="0666", RUN+="/usr/bin/logger allowing access to: $devpath" ACTION=="add", KERNEL=="ttyUSB*", SUBSYSTEM=="tty", ATTRS{idVendor}=="16dc", ATTRS{idProduct}=="0013", MODE="0666", RUN+="/usr/bin/logger allowing access to: $devpath"
JTAG Kabel in Linux
Here are the instructions how to install the JTAG driver and software on a Linux PC. or here
On a Windows PC up to Windows 7 is the installation simple, on Windows 10 is to our experience impossible.
If the PC will be used only for programming and not for compilation, select Lab Tools in the installation process!