I checked the potential stack overflow and assertion. When the firmware got stuck, there is no info from the UART showing any assert failuer or stack overflow.
I try to get Tracealyzer working with IAR. It’s not working yet: Tracealyzer with IAR
Thanks!