Other Parts Discussed in Thread: CC2652R7, SYSCONFIG
A customer is enabling the installcode generated TCLK in the zed_doorlock example by calling Zstackapi_bdbSetActiveCentralizedLinkKeyReq at the end of zclSampleDoorLock_Init:
However the program hangs after the call and never returns. Using the ROV tool, the problem has been loacated at the call of HwiP_setFunc inside AESECB_startOperation in AESECBCC26XX.c. When step into this function, an exception occurs:
Using the assembly step into button, it can be found that the program was stuck in an infinite loop between 0x1002de0e and 0x1002de10. The exception view of the ROV Hwi looks as below:
And the two PC addresses point to HwiP_setFunc and AESECB_oneStepEncrypt:
The customer has done a few modifications to the example, such as the memory map, but I'm not sure which part caused this issue. Please help to locate the root cause of this, thanks!
BR,
Shuyang