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.
"ti.sysbios.family.arm.m3.Hwi: line 90: E_alreadyDefined: Hwi already defined: intr# 7 xdc.runtime.Error.raise: terminating execution" Could you please help me with this? Following are the other details. Platform : DM740 CCSV4, Bios version 6_21_01_16 Here is the code that i am using. Hwi_Params_init(&intParams); Hwi_Params_init(&intParams); Thanks, Sujith
intParams.arg = (UInt32)instHandle;
intParams.enableInt = TRUE;
instHandle->hwiHandle = Hwi_create( 0x7,
mainIsr,
&intParams, NULL);
Hwi_delete(&(instHandle->hwiHandle));
intParams.arg = (UInt32)instHandle;
intParams.enableInt = TRUE;
instHandle->hwiHandle = Hwi_create( 0x7,
mainIsr,
&intParams, NULL);