I have an application running on a 2642R1F, based on the simple_broadcaster example, advertising only as a beacon. It is based on SDK 5.10.0.48. When I build and download the application to debug, it will commonly (but not always) halt somewhere in the stack. The assembly code at the lock up point is as follows:
$C$L579:
1002de0e: 2800 cmp r0, #0
1002de10: D0FD beq $C$L579
Stepping through this code shows it always takes the branch and never leaves here.
Any insight or help with what got it to this point would be greatly appreciated.