Forum Discussion
Programming the Image Core: Error - quartus_cvp is not recognized as an internal command.
I'm trying to connect the Intel Cyclone 10 GX device to PCIe. When I execute the command described in the Intel manual:
quartus_cvp --vid=<Vendor ID> --did=<Device ID> xxx.core.rbf
The terminal presents me the following error:
'quartus_cvp' is not recognized as an internal command
or external, an operable program or a batch file.
Hi,
After further checking, it looks like quartus_cvp is no longer supported. Sorry for the inconvenience.
Could you try to restart your PC again and try to performed "cp <filename>.core.rbf /dev/altera_cvp"? I suspect that the PCIe link might be in used which cause the issue.
24 Replies
- JohnT_Altera
Regular Contributor
Hi,
Do you install Quartus in your system? May I know if you have setup your system environment? If yes, could you share with me your system environment?
- SATC
Occasional Contributor
- JohnT_Altera
Regular Contributor
HI,
Have performed the step below? You may refer to https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/ug/ug_cvp.pdf Chapter - Installing Jungo WinDriver in Linux Systems for more information
Installing Jungo WinDriver in Linux Systems
- Navigate to <Quartus Prime installation path>/quartus/drivers/wdrvr/linux<32 or 64> 2.
- Run the following commands:
- ./configure --disable-usb-support
- make
- su
- make install
- You can change the permissions for the device file. For example, chmod 666 /dev/windrvr6.
- For 64-bit Linux systems, set the Quartus_64BIT environment variable before you run quartus_cvp using the following command:
- export QUARTUS_64BIT=1
- You can use the quartus_cvp command to download *core .rbf files to your FPGA. The following table lists the quartus_cvp commands for all modes
- SATC
Occasional Contributor
Hi John, thank you for your attention,
Actually, I used the sample Linux driver source code provided by Intel to program a custom CvP driver. After follow the installation instruction of https://www.intel.com/content/www/us/en/programmable/support/support-resources/support-centers/devices/cfg-index/cfg-via-protocol.html, I tried execute the command quartus_cvp --vid=<Vendor ID> --did=<Device ID> xxx.core.rbf to to have access to the data passed to the pci through the board
- JohnT_Altera
Regular Contributor
Hi,
Since you are using the open source CvP driver, the instruction to performed it will be "cp <filename>.core.rbf /dev/altera_cvp". Please refer to README of the custom CvP driver source code folder.
- SATC
Occasional Contributor
In this case, when I apply the command have the error: insmod: ERROR: could not insert module ./altera_cvp.ko: Invalid module format
Makefile:12: recipe for target 'install' failed, as in the Figure. Even, making sure that the module is already inserted in the kernel (see Figure 2)
Figure 2:
- JohnT_Altera
Regular Contributor
Hi,
Could you try to install the Quartus CvP from the Quartus installation to see if you are facing any issue?
nstalling Jungo WinDriver in Linux Systems
- Navigate to <Quartus Prime installation path>/quartus/drivers/wdrvr/linux<32 or 64> 2.
- Run the following commands:
- ./configure --disable-usb-support
- make
- su
- make install
- You can change the permissions for the device file. For example, chmod 666 /dev/windrvr6.
- For 64-bit Linux systems, set the Quartus_64BIT environment variable before you run quartus_cvp using the following command:
- export QUARTUS_64BIT=1
- You can use the quartus_cvp command to download *core .rbf files to your FPGA. The following table lists the quartus_cvp commands for all modes
- SATC
Occasional Contributor
Ok, I reinstalled the Quartus and apparently no problem was identified for the make install.
However when I try to execute the commands for accessed the CvP driver through the device file located at /dev /Altera_cvp, making a copy with cp <filename>.core.rbf / to dev/altera_cvp I get this error: Could not create common file '/ dev / Alter_cvp': Device or resource is busy as is illustrate in Figure.
- JohnT_Altera
Regular Contributor
Hi,
May I know if you are able make install the official code from Quartus which utilized the "quartus_cvp" command?
- SATC
Occasional Contributor
What do you mean with the official Quartus code?
I downloaded the quartus prime software from the official website of intel and installed it. Then I compiled the Pci sample project and am trying to establish the pci connection
- JohnT_Altera
Regular Contributor
Hi,
I understand that you are using the open source code previously. If you go to <Quartus Prime installation path>/quartus/drivers/wdrvr/linux<32 or 64> then you will be able to make and configure the Official Quartus quartus_cvp command from the Quartus installation. Please follow the bellow step in order to install the PCIe driver before you are able to use quartus_cvp.
Installing Jungo WinDriver in Linux Systems
- Navigate to <Quartus Prime installation path>/quartus/drivers/wdrvr/linux<32 or 64>
- Run the following commands:
- ./configure --disable-usb-support
- make
- su
- make install
- You can change the permissions for the device file. For example, chmod 666 /dev/windrvr6.
- For 64-bit Linux systems, set the Quartus_64BIT environment variable before you run quartus_cvp using the following command:
- export QUARTUS_64BIT=1
- You can use the quartus_cvp command to download *core .rbf files to your FPGA. The following table lists the quartus_cvp commands for all modes
- SATC
Occasional Contributor
John, I don't have the driver folder in the Quartus installation path. I installed the jungo windriver and configured it similarly to the one you indicated, following the installation tutorial on the official website. But I still have the result of the previous answer