4.4.3.5 Configuring Linux to Detect and Use FlashPro 6 Programmer Hardware
(Ask a Question)If you use Libero on a Linux operating system, perform the appropriate procedure to configure Linux to detect and use FlashPro 6 programmer hardware.
Important: The
fp6_env_install
script creates two files:cysub.conf
(located under/etc
) — This file contains the list of devices you wish to communicate with CYUSB suite for Linux. If the file does not exist, the only device is FlashPro 6. Otherwise, the device is appended to the existing file.88-cyusb.rules
(located under /etc/udev/rules.d/) — This file contains the udev rules for programming tools for allowing users to access the device withoutsudo
orroot
access.
Procedure for sudo Users (Preferred Usage)
To configure Linux to detect and use the FlashPro 6 programmer hardware, sudo users must perform the following procedure:
- At the prompt, type:
sudo -
- Change directory to <libero-install
path>/bin
cd <libero-install path>/bin
- Execute
fp6_env_install
- The
cyusb.conf
file is created under/etc
- The
88-cyusb.rules
file is created or modified under/etc/udev/rules.d
- The
- When the script finishes, unplug the FlashPro 6 hardware from the Linux server, and then plug the hardware back in. This enables the updates for the correct modules in the system.
Procedure for non-sudo Users (when Installing FlashPro 6 for the First Time)
To configure Linux to detect and use the FlashPro 6 programmer hardware when using FlashPro 6 for the first time, non-sudo users must perform the following procedure:
- Change directory to
<libero-install path>/bin
:cd <libero-install path>/bin
- Execute
fp6_env_install -t /tmp
- The
cyusb.conf
file is created or modified under/tmp
- The
88-cyusb.rules
file is created or modified under/tmp
- The
- After the files are created, ask a user with
sudo
access to copy the files.