Hi,
I have an issue with Hwi_create (), when called for the first time it works fine. I delete using Hwi_delete() and re-create using Hwi_create. I get the following error.
"E_alreadyDefined: Hwi already defined: intr# 6
xdc.runtime.Error.raise: terminating execution"
Following are the other details.
Bios version 6_32_01_38
Here is the code that i am using.
Hwi_Params_init (&intParams);
intParams.arg = (UInt32)instHandle;
intParams.enableInt = TRUE;
instHandle->hwiHandle = Hwi_create( 6,
Isr,
&intParams, NULL);
Hwi_delete(&(instHandle->hwiHandle));
Hwi_Params_init(&intParams);
intParams.arg = (UInt32)instHandle;
intParams.enableInt = TRUE;
instHandle->hwiHandle = Hwi_create( 6,
Isr,
&intParams, NULL);
Thanks,
Bharti