Page 2 of 2

Re: Disabling Unhandled exception

Posted: Wed Oct 22, 2014 1:53 pm
by nikhilvr
Im using ST link debugger.It doesnt have traceability option.

One thing I found is if any exception happens from any ISR, everything freezes.Is there any way to enable the interrupts after an exception happens? For me it is happpening from ISR not from thread.

Re: Disabling Unhandled exception

Posted: Wed Oct 22, 2014 1:57 pm
by Giovanni
Post the code of your ISRs.

Probably you have an I-Class function not within chSysLockFromISR() and chSysUnlockFromISR.

Giovanni

Re: Disabling Unhandled exception

Posted: Wed Oct 22, 2014 2:44 pm
by nikhilvr
All the ISR are defined by me.Im not using any os functions there.Im using STM standard library functions for interrupt generation.