Tool/software: TI-RTOS
My application uses the CC2640R2 and is based on the on-chip OAD peripheral.
I'm using simplelink_cc2640r2_sdk_1_50_00_58 with CCS.
As part of the error handling functions, I want to "reset" the device if certain failures occur.
To do this, I installed my own exception handler, where I call "HCI_EXT_ResetSystemCmd(HCI_EXT_RESET_SYSTEM_HARD)".
(I used this technique on an earlier device with no problem, but it wasn't using OAD, and used an earlier version of TI-RTOS)
In testing, I can force an exception, and see the code stall at the first "while" (when it is uncommented).
When the first "while" is commented, I expect the system to "reset" (as if the app's main is called...) and the second "while" to never be reached.
However, if I force an exception with the first "while" commented out, the system doesn't reset and the system stalls at the second "while".
Is there a different method needed to "re-start" an app that uses OAD?
Thanks!