Disabling Unhandled exception

ChibiOS public support forum for topics related to the STMicroelectronics STM32 family of micro-controllers.

Moderator: RoccoMarco

nikhilvr
Posts: 10
Joined: Wed Oct 22, 2014 5:18 am

Re: Disabling Unhandled exception

Post 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.
User avatar
Giovanni
Site Admin
Posts: 14892
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: Disabling Unhandled exception

Post by Giovanni »

Post the code of your ISRs.

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

Giovanni
nikhilvr
Posts: 10
Joined: Wed Oct 22, 2014 5:18 am

Re: Disabling Unhandled exception

Post 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.
Post Reply