Hi,
During testing with one of my application.
I got the following exception.
If watchdog is disabled it working fine.
Please check the attached exception detailes.
If any information regarding to this will be helpful.
Regards
Nikhil
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
During testing with one of my application.
I got the following exception.
If watchdog is disabled it working fine.
Please check the attached exception detailes.
If any information regarding to this will be helpful.
Regards
Nikhil
Hi Nikhil,
Did you attempt to register interrupt 113? If so, how did you do it? If you used a driverlib IntRegister (or some variant of it), please refer to https://e2e.ti.com/support/microcontrollers/other/f/908/t/849627
If that is not the issue, what version of TI-RTOS are you using? How are you setting up the watchdog?
Todd
Hi Todd,
I only trying to register USB interrupt as per the USB CDC example.
// Install interrupt handler.
m_HwiHandle = Hwi_create(INT_USB0, CdcExtension::HWInterruptHandler,NULL,&errorBlock);
VOID
CdcExtension::HWInterruptHandler(uintptr_t interruptInfo)
{
// Application is ignoring interrupt and passing to library for handling.
USB0DeviceIntHandler();
}
My Exception number is 3 and fault detailes are
TiRtos version is : 2.16.0.08
Regards
Nikhil
Hi Todd,
Thanks for the reply.
how to add IntRegister in disassembly?..
Only I can search the memory addresss..
If I commenting watchdog portion result will be like this.
Fault address detailes also attaching. But using this address also I cant locate the the code which cause the exception.
Regards
Nikhil
Hi Nikhil,
Does your call to Hwi_create return successfully? Or does it get an exception before that? Also, you said in your first post that it worked if you didn't use the watchdog, but is that not true anymore according to your last post?
Can you open your applications .map file and see if there are any interrupt registering functions being pulled into the application? You may have to search for 'int', 'interrupt', 'register' etc. If there are such functions, that would be bad as TIRTOS must manage all interrupts for it to function correctly.
Hi Todd,
Actually issue is due string descriptor variable is in local scope.
When its scope changed into globally issue is resolved..
Thanks for the support.
Regards
Nikhil