After some research and homework I came to know that digilent also provide different DCAP or APT dlls, for Software development in windows, along with very small demo projects in VC++ for every APT and the reference manuals, they all comprise to make "Digilent Adept SDK".
So I quickly opened the DACI(UART) demo in Visual Studio 2015, in order to communicate with my board over UART, I was able to implement Device Table and get the device name string, I also managed to open the device using DmgrOpen() Funtion and got a interface handle, but i can't seem to get the DaciEnable() to work, and using the DmgrGetLastError tells me that the device(Nexys4-DDR) is not supported for DACI, which is very improbable.
Then in hopes of troubleshooting the problem, I check for DmgrGetDtpCount() and I get the value '1', which I think means that there's one way to communicate with the device(which is not very informative), then I try DaciGetPortCount() which returns the value '0' to the pointer variable, which I think implies that there are NO DACI ports, :(.
But I can see that while debugging the code, during the DmgrOpen() Function call, VS loads two FTDI dlls, I'm stuck here for a while now.
And I hope that this question interests the experts at Digilent Forums, for I think they can see through this problem easily.
And I attached the cpp file, which I'm working on.
Question
subodh vashist
After some research and homework I came to know that digilent also provide different DCAP or APT dlls, for Software development in windows, along with very small demo projects in VC++ for every APT and the reference manuals, they all comprise to make "Digilent Adept SDK".
So I quickly opened the DACI(UART) demo in Visual Studio 2015, in order to communicate with my board over UART, I was able to implement Device Table and get the device name string, I also managed to open the device using DmgrOpen() Funtion and got a interface handle, but i can't seem to get the DaciEnable() to work, and using the DmgrGetLastError tells me that the device(Nexys4-DDR) is not supported for DACI, which is very improbable.
Then in hopes of troubleshooting the problem, I check for DmgrGetDtpCount() and I get the value '1', which I think means that there's one way to communicate with the device(which is not very informative), then I try DaciGetPortCount() which returns the value '0' to the pointer variable, which I think implies that there are NO DACI ports, :(.
But I can see that while debugging the code, during the DmgrOpen() Function call, VS loads two FTDI dlls, I'm stuck here for a while now.
And I hope that this question interests the experts at Digilent Forums, for I think they can see through this problem easily.
And I attached the cpp file, which I'm working on.
Thanks a lot !!
DaciDemo_modified.cpp
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.