Thank you for the tutorial. I tried to run the program following the contents of the document, but failed.
I successfully compiled 'VideoDemo.cpp'. However, when running the command, it appears that the 'NexysVideo' device cannot be found.
'ERROR: unable to open device'
I checked the device manager of Win10 and found that there is indeed no device named 'NexysVideo', only a device named 'Digilent USB Device'.
I have also tried using 'Digitent USB Device' or other names as device name parameters, but the same prompt indicates that the device cannot be found.
I think there is no problem with my board, and it can be recognized by Vivado normally and run the program.
I used Vivado to download the program, and I am not very familiar with Digilent's Adept Utility. Just in case, I downloaded the Adept Utility and tried the 'djtgcfg.exe enum', 'dadutil.exe enum', and 'dsumecfg.exe enum' commands, but it couldn't find the device either.
I am currently unable to confirm what parameters' DmgrOpen() 'requires.The device name, USB ID, or the device name displayed by windows,or something else.
Have you ever encountered the same problem? Is there a problem with my settings?
Thanks.😃
I have encountered the same problem.
The way I have resolved it in my Visual Studio C++ Console Application for Win32 was as follows:
1. I have obtained the number of Digilent devices by DmgrEnumDevices() API function.
2. If number of Digilent devices was 1 (the connected one) then I have obtained the device Info by DmgrGetDvc() API function called with first parameter equal to 0.
3. From obtained Digilent Device Information structure I have used the Device Name "szName" field to open the Device by the DmgrOpen() API function.
Can't build DPTI example project for Nexys Video use TCL file.
in FPGA
Posted
I have encountered the same problem.
The way I have resolved it in my Visual Studio C++ Console Application for Win32 was as follows:
1. I have obtained the number of Digilent devices by DmgrEnumDevices() API function.
2. If number of Digilent devices was 1 (the connected one) then I have obtained the device Info by DmgrGetDvc() API function called with first parameter equal to 0.
3. From obtained Digilent Device Information structure I have used the Device Name "szName" field to open the Device by the DmgrOpen() API function.
The rest of application was like in Tutorial.
Good luck.
Â