- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
XHwIcap_Cf gInitializ e HWIcap Initializa tion failed
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-01-2012 10:50 AM
Hi,
I am trying to use the HWIcap but it fails when I initialize it. Here is part of the code:
#include "xparameters.h"
#include <xil_io.h>
#include <xstatus.h>
#include <stdlib.h>
#include "xhwicap_i.h"
#include "xhwicap.h"
static XHwIcap HwIcap;
int main(void)
{
int Status;
XHwIcap_Config *ConfigPtr;
ConfigPtr = XHwIcap_LookupConfig(XPAR_XPS_HWICAP_0_DEVICE_ID);
if (ConfigPtr == NULL){
print("HWICAP Lookup Config Failure\r\n");
return XST_FAILURE;
}
print("After HWICAP LookupConfig\r\n");
Status = XHwIcap_CfgInitialize(&HwIcap, ConfigPtr, ConfigPtr->BaseAddress);
if (Status != XST_SUCCESS) {
print("HWICAP Initialize Failure\r\n");
return XST_FAILURE;
}
print("HWICAP Initialized\r\n");
print("-- Exiting main() --\r\n");
return 0;
}
I am working with a Digilent Genesys Virtex 5 (xcVLX50T 1136). I have tried reducing the frecuency of HWIcap but still is not working. The version of the HWIcap is v5_00_a on ISE 12.3.
Thanks in advance,
Alan
Re: XHwIcap_Cf gInitializ e HWIcap Initializa tion failed
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-19-2012 09:57 PM
Hi, alan!
I'm a beginner in using HWICAP and may I ask you a question?
I got an error saying that XPAR_XPS_HWICAP_0_DEVICE_ID undeclared.
May I ask that have you ever met this problem and how did you solve it ?
Thank you very much!
Re: XHwIcap_Cf gInitializ e HWIcap Initializa tion failed
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-14-2012 02:03 PM
Alan,
have you checked if the hwicap device address is setup correctly? There is a button in EDK to check your design. Have you tried this already? You may post your mhs file for further investigations.
Kuziniezov,
it sounds like your Device_ID was not generated to your xparameters.h. Please try to export your design to the sdk from inside the EDK-IDE. You may also recompile your drivers, sometimes it does the trick for me.
Best regards,
Luke











